JDK-8086252 : java/lang/invoke/MethodHandles/CatchExceptionTest.java: Out of space in CodeCache for adapters
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2015-06-09
  • Updated: 2015-06-10
  • Resolved: 2015-06-10
Related Reports
Duplicate :  
Description
The test failed during nightly testing:

----------System.err:(86/11178)----------
java.lang.InternalError: BMH.reinvoke=Lambda(a0:L/SpeciesData<LLLLLLLLLLL>,a1:L,a2:L,a3:I,a4:I,a5:I,a6:L,a7:L,a8:J,a9:L,a10:J,a11:L,a12:L,a13:L,a14:I,a15:L,a16:L,a17
...
Caused by: java.lang.VirtualMachineError: Out of space in CodeCache for adapters


May be we should increase space for adapters?
Comments
Good. Thanks.
10-06-2015

[~kvn] Adapter space size increase won't solve the problem. It'll just make the failure more unlikely to happen. The test stresses VM by querying MHs with random signatures, so it'll eventually overflow any space. Konstantin Shefov is working on a fix for the problem (see [1] for details) [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-June/034068.html
10-06-2015