[jvm-l] Re: Tail calls again?

Tom Davies tgdavies at gmail.com
Sun Dec 13 03:44:51 PST 2009

Here's my version of Arnold's patch.

The changes were:

make/java/java/FILES_java.gmk -- addition of java/lang/ReflectiveOperationException.java broke context

src/share/classes/com/sun/tools/javac/jvm/ClassReader.java -- needed full package name for 'Version' in AttributeReader class (ctor and field), because I was using the OS X 1.6 JDK as my bootstrap JDK.

src/share/classes/com/sun/tools/javac/parser/JavacParser.java -- pass isTail to term3() near line 1029

src/cpu/x86/vm/sharedRuntime_x86_32.cpp --  change cast of 0 from intptr_t in 'cmpl(rax, (int32_t)0)' near line 2602

src/share/vm/c1/c1_FrameMap.cpp -- add cast to intx in 'MAX2(MinOutgoingArgStackSlotSize, (intx)4)'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jun042009-b59-tdavies.tgz
Type: application/octet-stream
Size: 108366 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20091213/5be84eaa/attachment-0001.obj 
-------------- next part --------------

Slightly off topic -- the JVM I build from bsd-port crashes with an exit status of 133 when I run a big web app (Atlassian Crucible) using it. This happens with the plain bsd-port -- nothing to do with this patch. Where should I look for a guide as to how to debug this sort of crash?


More information about the mlvm-dev mailing list