lambda-repo workaround [was Re: Can't get lambda forest to work]

Maurizio Cimadamore maurizio.cimadamore at
Thu Jun 17 03:42:31 PDT 2010

as you might now, there are problems in compiling and running code 
containing lambda. Those problems are not due to the lambda prototype 
itself; rather, they are caused by some missing bits in the jdk 
repository that we are going to push soon (those are required for 
hotspot to work correctly). As a result, any hotspot build >= b94 will 
fail with the following message:

Invalid layout of java.dyn.CallSite at target
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (javaClasses.cpp:48), pid=10544, tid=140152714426128
#  fatal error: Invalid layout of preloaded class
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (19.0-b01 mixed mode linux-amd64 )
# An error report file with more information is saved as:
# /home/aph/hs_err_pid10544.log
# If you would like to submit a bug report, please visit:

In order to get rid of this problem, an earlier hotspot (b93) needs to 
be used. A simple way to workaround this issue is to follow the 
procedure below:

*) 'cd' to the 'hotspot' folder of the lambda repository
*) type 'hg update jdk7-b93'
*) now 'cd' to the root of the lambda repository
*) start a full build (ensure that the build parameter 'BUILD_HOTSPOT' 
is set to 'true')

When the build completes you will have a full working lambda repository.

I hope this helps.


More information about the lambda-dev mailing list