RFR(XXS): 8186667: InterpreterCodeSize overflows on AIX

Volker Simonis volker.simonis at gmail.com
Wed Aug 23 15:29:13 UTC 2017


Hi,

can somebody please review this tiny fix which only affects the ppc64 platforms:

http://cr.openjdk.java.net/~simonis/webrevs/2017/8186667/
https://bugs.openjdk.java.net/browse/JDK-8186667

The fix for JDK-8172020 increased some interpreter entry points
(notably the return entry points) considerably because it added
special handling for popframe/earlyreturn in cases where debugging is
enabled.

This was just enough to overflow the current InterpreterCodeSize on
AIX/ppc64 which was 230K until now:

# Internal Error (interpreter.hpp:105), pid=16449790, tid=258
# guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed:
not enough space for interpreter generation

Apparently we've only done debugging tests on jdk10 (and not jdk10-hs)
so we've only noticed this now after jdk10-hs was integrated into
jdk10.

As solution I propose to set InterpreterCodeSize to 256K on ppc64 to
be on the safe side again.

Thank you and best regards,
Volker


More information about the ppc-aix-port-dev mailing list