RFR: 8255038: Adjust adapter_code_size to account for -Xlog:methodhandles in debug builds

Claes Redestad redestad at openjdk.java.net
Tue Oct 20 10:00:18 UTC 2020


https://bugs.openjdk.java.net/browse/JDK-8254955 trimmed the space allocated for MethodHandleAdapterBlob, but my
analysis failed to account for added trace code information being generated when running with -Xlog:methodhandles (on
top of the extra tracing/debugging when running with -XX:+VerifyMethodHandles et.c.). This caused a failure in tier3
Windows ZGC tests.

Adjusting the debug size up a notch ensures we stay within bounds.

Testing: tier3

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

Commit messages:
 - Debug builds need a bit more size when -Xlog:methodhandles is used

Changes: https://git.openjdk.java.net/jdk/pull/761/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=761&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255038
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/761.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/761/head:pull/761

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


More information about the hotspot-compiler-dev mailing list