a techfocus media publication :: May 27, 2008 :: volume XI, no. 09

FROM THE EDITOR

Multi-threading sounds like all fun and games at first. Before you know it, however, with all those things happening at the same time, somebody gets their pointer stepped on and a fight breaks out.  This week, Bryon Moyer threads his way through the topic of dynamic analysis of Java code for multi-threaded applications.  Our latest feature has the details.

Thanks for reading! If there's anything we can do to make our publications more useful to you, please let us know at: comments@embeddedtechjournal.com. If you'd rather sound off in public, please post your comments or questions in our new Journal Forums.

Kevin Morris – Editor-in-Chief
Techfocus Media, Inc.

EVENTS and ANNOUNCEMENTS

NEW!! IC Journal - Do you love Embedded Tech Journal? We're happy to announce our new IC Design and Verification Journal.  It's just like Embedded Tech Journal except, you know, about ASICs and stuff. 
Subscribe today for free.

LATEST NEWS

May 27, 2008

RTI Real-Time Middleware Provides Greater Reliability, Flexibility for Distributed UAV Designs

VIA Unveils VIA OpenBook Mini-Note Reference Design

Freescale Unveils Next-Generation i.MX Processor for Portable Multimedia Devices

IR Expands SupIRBuck™ Family of Compact, High Density Integrated Regulators For Consumer Applications

May 23, 2008

Atmel and Industrial Software Technology Announce Java Support for AVR32 AP7 Application Processor Series

May 22, 2008

Industry Collaboration Marches Ahead With Official Release of DDR PHY Interface Specification Version 2.0 Accelerating DDR Memory System Development

New white paper examines expanding role of active RFID

New VIA EPIA M700 Mini-ITX Enables Brilliant Dual Digital Displays

Laird Technologies Announces New Wireless LAN Processor Modules with Configuration Options for Simple Wi-Fi Transition

VirtualLogix Meets New OMTP Mobile Security Requirements

May 21, 2008

45th Design Automation Conference Offers Diverse Line-up of 14 Workshops

NEC Electronics Introduces Cost-effective EMMA Digital SoCs for Next-Generation H.264 Video Standard

Arrow’s North American Components Business and ARM Team to Deliver ARM Technology to the Broad Custom Logic Market

45th Design Automation Conference to Host Six Collocated Events

NEC Electronics Introduces New 16-bit MCUs with Industry-Leading Low Power Consumption


Visit Techfocus Media

CURRENT FEATURE ARTICLES

Shared Responsibility
Dynamic Analysis for Race Conditions and Deadlocks in Java
(Bryon Moyer)
Special Recognition
A Neural Network for Embedded Systems
(Bryon Moyer)

Multicore Messaging Manifested
Polycore Implements MCAPI
(Bryon Moyer)
Coming to a Home Near You?
LONworks Implementations Spreading

(Bryon Moyer)
It’s the Parallelism, Stupid!
(Bryon Moyer)

Getting Back to a Simpler Life
A New Multicore Communications API is Ratified

(Bryon Moyer)

JOURNAL WEBCASTS

NEW!! CHALK TALK Creating Secure Mobile Devices With Open Kernel Labs OKL4. In this Chalk Talk, Amelia Dalton delves into the world of software security and microkernels in mobile devices with Gernot Heiser and Rob McCammon of Open Kernel Labs. (Open Kernel Labs)

CHALK TALK Low Power Design With Xilinx and Linear Technology. Join Amelia Dalton as she chats with Mark Moran of Xilinx and Afshin Odabaee of Linear Technology about low power FPGA based designs. (Xilinx)

CHALK TALK Designing Embedded Systems With Linux and low cost FPGAs. Join Amelia Dalton as she chats with industry experts about simplifying embedded systems design with Linux running on low-cost programmable system-on-chip platforms. (Xilinx)

CHALK TALK Lowest Total System Cost With Xilinx
Spartan-3
. Amelia Dalton chats with Mark Moran of Xilinx about reducing your overall system cost with Xilinx Spartan-3 family of FPGAs (Xilinx)


CHALK TALK Low Cost FPGA with Serdes Lattice ECP2M. Amelia Dalton talks with Bertrand Leigh of Lattice Semiconductor about low-cost FPGAs with multi-gigabit SerDes interface capability. (Lattice Semiconductor)

CHALK TALK Crossing the Gap between Algorithm and Hardware Implementation. Join Amelia Dalton as she learns how C++ and Catapult C Synthesis can accelerate the design, implementation, and verification of complex system-level algorithms. (Mentor Graphics)

[click here for more webcasts]

Shared Responsibility
Dynamic Analysis for Race Conditions and Deadlocks in Java
(Bryon Moyer)

Let’s face it: multi-threading has created some pains in the… well, as Forrest would say, butt-tox. You used to be able to write code assuming you had your own nice little sandbox, especially in a more protective language like Java, which allows you to be reasonably sure that some other schmo’s pointer won’t come weaseling its way onto your turf. But now you can have multiple threads that may want to get to the same pieces of data, so the threads have to learn how to play nice together, and that’s not always easy.

The issues all build on a few key concepts that at first blush seem so simple and straightforward. Then again, if they were, we wouldn’t be having this little chat, now, would we? So we’ll start at the start, or at least close. What’s the problem with multiple threads sharing data? Well, there’s the obvious first problem of only one entity having access to the data at a time, from a physical standpoint. An arbiter can generally handle this, granting memory access in turn to requesters. Yes, theoretically there’s some extremely tiny chance that two requests could happen at exactly the same attosecond causing some metastability-like confusion for an arbiter (even if you build in some kind of tie-breaking bias, you can always come up with some similar unlikely scenario), but – and this is key – that can generally be recovered from pretty easily. That’s not the big problem. [more]


You're receiving this newsletter because you subscribed at our web site www.embeddedtechjournal.com.
If someone forwarded this newsletter to you and you'd like to receive your own free subscription, go to: www.embeddedtechjournal.com/update.
If at any time, you would like to unsubscribe, click here. (But we hope you don't.)
If you have any questions or comments, send them to comments@embeddedtechjournal.com.

All material copyright © 2003-2008 techfocus media, inc. All rights reserved.
Privacy Statement