background preloader

Programming

Facebook Twitter

Xml

Design. Tutorial. Software. Threads. Editor. Java programming dynamics, Part 1: Java classes and class loading. This article kicks off a new series covering a family of topics that I call Java programming dynamics.

Java programming dynamics, Part 1: Java classes and class loading

These topics range from the basic structure of the Java binary class file format, through run-time metadata access using reflection, all the way to modifying and constructing new classes at run time. The common thread running through all this material is the idea that programming the Java platform is much more dynamic than working with languages that compile straight to native code. If you understand these dynamic aspects, you can do things with Java programming that can't be matched in any other mainstream programming language. In this article, I cover some of the basic concepts that underlie these dynamic features of the Java platform.

These concepts revolve around the binary format used to represent Java classes, including what happens when these classes are loaded into the JVM. Zone 2010. *** The CFP is extended to April 9th *** We would like to inform you that the call for papers for JavaZone 2010 will open January 22nd.

Zone 2010

To take place in Oslo, Norway, on September 8th-9th 2010, the conference will offer a combination of technical talks and panels in an informal atmosphere with an expected attendence of 2000. JavaZone 2010 will be the ninth consecutive JavaZone conference. Krishnan Viswanath's Blog: Hashmap Implementation. Posted by tchangu on June 18, 2005 at 10:40 AM PDT Always thought that the Hash implementations (table & map) used buckets that are prime in number.

Krishnan Viswanath's Blog: Hashmap Implementation

But recently, after digging around the source code to see what that default size resulted in a bit of a puzzling situation...