Class Data Sharing and Compiler Dependency

David Holmes david.holmes at
Mon Jul 2 00:56:40 PDT 2012

On 2/07/2012 4:34 PM, jam tech wrote:
> i see class data sharing disabled for COMPILER2(in arguments.cpp) . can any
> one help me knowing why its disabled for COMPILER2 , while its enabled in
> COMPILER1 , TIERED cases ?

AFAICS it is only -Xshare:dump that is "disabled"

This is not an authoritive history but ...

- CDS was initially only intended for client VM and not supported on server
- early TIERED compilation work enabled CDS
- hotspot has actually been building TIERED rather the COMPILER2 for a 
while now


More information about the hotspot-dev mailing list