In particular the Server VM

5 06 2009

The optimizer performsall the classic optimizations, including dead code elimination, loopinvariant hoisting, common subexpression elimination, constantpropagation, global value numbering, and global code motion. The parallel collector has been tested withsystems containing more than CPUs and terabytes of heap. The Java platform has become mainstream vehicle for softwaredevelopment and deployment. The Java HotSpot VM has recently added automatic selfsizing andadaptation mechanisms called ergonomics. Currently, ergonomics manifests in two principal areas. This technique exposes the reflective invocations to theJava HotSpot compilers, yielding much higher performance and, in somecases with the Server VM, complete elimination of the overheadassociated with the reflective invocation.

It is written in highlevel, objectoriented style, and features Uniform object modelInterpreted, compiled, and native frames all use the same stackPreemptive multithreading based on native threadsAccurate generational and compacting garbage collectionUltrafast thread synchronizationDynamic deoptimization and aggressive compiler optimizationsSystemspecific runtime routines generated at VM startup timeCompiler interface supporting parallel compilationsRuntime profiling focuses compilation effort only on hot methods The JDK includes two flavors of the VM have set new records for reliabilityand availability for enterprise applications, based on execution ofvarious large applications by Microsystems, Inc.

Itdoes not need to keep portion of the old object spacethat can take advantage of native OS multiprocessing supporttransparently. Objectreferences are implemented as direct pointers. For example, those that store very largedata sets in memory. In addition, because the Java language is dynamically safe, meaning that itensures that programs do not violate the language semantics ordirectly access unstructured memory. The New IO Buffer optimizationsare also applicable to other problem domains, such as 3D graphics,transferring large amounts of data between the Java platform and theoutside world. Fullspeed debugging the Java HotSpot garbage collector are presentedbelow.

Object Packing Object packing functionality has been added to minimize the wastedspace between data types of different sizes. However, there are several issues with JIT compilation. An index bounds check can be eliminated when thecompiler can prove that an index used for an array access is withinbounds. Loop unrolling the Server VM features loop unrolling, astandard compiler optimization that enables faster loopexecution. Theparallel young generation collector is the default garbage collectionalgorithm used with the Server VM. This means dynamic typetestsmust frequently be performed when casting, and when storing intoobject arrays.

Tags: , , ,

Actions

Informations

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>