JDK-6954108 : DYN_REGRESSION suite fails with "Invalid layout of preloaded class"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-05-20
  • Updated: 2012-03-22
  • Resolved: 2011-03-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
This started appearing regularly with the nightlies of May 12 on all
platforms when running MethodHandlesTest.  Is there a bug id so I can
mark the failures as known?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/tmp/jprt/P2/B/001332.et151817/source/src/share/vm/classfile/javaClasses.cpp:48), pid=20914, tid=2
#  fatal error: Invalid layout of preloaded class
#

See this page for some examples:

http://sqeweb.sfbay/nfs/results/vm/gtee/JDK7/NIGHTLY/VM/2010-05-18/Main_Baseline/new_unknown_failures.html
The failing test is

java/dyn/MethodHandlesTest.java

Comments
EVALUATION Fixed in b99 as part of JDK update 6939134.
30-03-2011

PUBLIC COMMENTS Changes for the following bug are in both jdk and hotspot repositories: 6939134: JSR 292 adjustments to method handle invocation In build 94, the JVM changes were promoted without the corresponding JDK changes. This should shake out properly in the next build. This problem only affects users who are using both of the following options: -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic For a workaround, please consult this email and the related thread: http://mail.openjdk.java.net/pipermail/mlvm-dev/2010-May/001728.html
23-05-2010