[9] RFR (S): 8068183: Add isTieredSupported method to c.o.j.t.Platforms

Filipp Zhinkin filipp.zhinkin at oracle.com
Wed Dec 24 14:22:19 UTC 2014

Hi all,

please review a new c.o.j.t.Platform's method "isTieredSupported"
which is aimed to report whether or not JVM supports tiered compilation
disregard to TieredCompilation flag's value.

Such functionality is required for Segmented Code Cache CLI tests [1]
and it would be useful in other cases too ([2] for instance).

In order to check if tiered compilation is supported we simply look to
"sun.management.compiler"property's valuewhich will contain
"Tiered Compilers" substring only when tiered compilation is supported [3].

Bug id: https://bugs.openjdk.java.net/browse/JDK-8068183
Webrev: http://cr.openjdk.java.net/~fzhinkin/8068183/webrev.00/
Testing: manual on localmachine using both client & server JVMs.


[2] https://bugs.openjdk.java.net/browse/JDK-8067823

More information about the hotspot-compiler-dev mailing list