RFR: 8005885: enhance PrintCodeCache to print more data [v4]

Yi-Fan Tsai duke at openjdk.java.net
Wed Feb 23 18:42:52 UTC 2022


On Wed, 23 Feb 2022 08:13:00 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> > Have you verified that this change doesn't break any tests?
> 
> Just wanted to mention that there are several tests that match the output of `-XX:+PrintCodeCache`, for example `test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java`. Please verify that they still work.

No regression was found in tier 2 and 3 tests, and the following tests all pass. There is no change in the output of `-XX:+PrintCodeCache` if `-XX:+Verbose` is not specified.


jtreg:test/hotspot/jtreg/compiler/codecache/CheckSegmentedCodeCache.java
jtreg:test/hotspot/jtreg/compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java
jtreg:test/hotspot/jtreg/compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java
jtreg:test/hotspot/jtreg/compiler/codecache/cli/TestSegmentedCodeCacheOption.java
jtreg:test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfo/Test.java
jtreg:test/hotspot/jtreg/vmTestbase/vm/compiler/CodeCacheInfoOnCompilation/Test.java
jtreg:test/jdk/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java

-------------

PR: https://git.openjdk.java.net/jdk/pull/7389


More information about the hotspot-compiler-dev mailing list