RFE: Add compressed oops to VM info string

Joe Darcy joe.darcy at oracle.com
Thu Nov 10 07:41:33 PST 2011


Hello,

On 11/10/2011 3:19 AM, David Holmes wrote:
> Hi Kris,
>
> On 10/11/2011 5:54 PM, Krystal Mok wrote:
>> Hi all,
>>
>> I'd like to propose to add "compressed oops" to the VM info string, so
>> that people using "java -version" can get a better understanding of the
>> ergonomics of the VM.
>
> You could make the same argument for showing what GC was selected, and 
> probably a number of other settings. Why should compressed oops be 
> special here? You can use -XX:+PrintFlagsFinal to see all the settings.

To me anyway, compressed oops status don't rise to the level of 
information that should be printed out by default by java -version.  
Without pretty detailed knowledge of the particulars of the 
optimization, it is not clear what the various settings mean.  This 
would be good information to make available under another flag though.

-Joe


More information about the hotspot-dev mailing list