RFE: Add compressed oops to VM info string
David Holmes
david.holmes at oracle.com
Thu Nov 10 03:19:35 PST 2011
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.
David
-----
> I've posted a patch [1], against hsx20's master. The files modified are
> still pretty much the same on hotspot-main's master.
>
> With the patch applied, "java -version" may show:
> OpenJDK 64-Bit Server VM (build 20.0-b11-internal, mixed mode,
> compressed oops)
> and what used to work still works:
> OpenJDK Client VM (build 20.0-b11-internal, mixed mode, sharing)
>
> P.S. Alibaba (Taobao)'s OCA is submitted already, still waiting for
> approval from Oracle.
>
> Regards,
> Kris Mok
> Software Engineer, Taobao (http://www.taobao.com)
>
> [1]: https://gist.github.com/1354299
More information about the hotspot-dev
mailing list