# HG changeset patch # User twisti # Date 1355515877 28800 # Node ID c2e4165eeb14a7b813dc7339a64fa302b0879889 # Parent 8bc43f610c877f882944787221c9598f5a828d45# Parent 42c57756cf234541173be150e35bb54a78a8504f Merge diff -r 8bc43f610c87 -r c2e4165eeb14 hotspot/src/cpu/sparc/vm/templateInterpreter_sparc.cpp --- a/hotspot/src/cpu/sparc/vm/templateInterpreter_sparc.cpp Fri Dec 14 12:06:42 2012 -0800 +++ b/hotspot/src/cpu/sparc/vm/templateInterpreter_sparc.cpp Fri Dec 14 12:11:17 2012 -0800 @@ -434,7 +434,7 @@ // the frame is greater than one page in size, so check against // the bottom of the stack - __ cmp_and_brx_short(SP, Rscratch, Assembler::greater, Assembler::pt, after_frame_check); + __ cmp_and_brx_short(SP, Rscratch, Assembler::greaterUnsigned, Assembler::pt, after_frame_check); // the stack will overflow, throw an exception diff -r 8bc43f610c87 -r c2e4165eeb14 hotspot/src/share/vm/classfile/classLoaderData.cpp --- a/hotspot/src/share/vm/classfile/classLoaderData.cpp Fri Dec 14 12:06:42 2012 -0800 +++ b/hotspot/src/share/vm/classfile/classLoaderData.cpp Fri Dec 14 12:11:17 2012 -0800 @@ -167,16 +167,18 @@ ok = (objArrayOop)ok->obj_at(1); } + // Must handle over GC points + assert (last != NULL, "dependencies should be initialized"); + objArrayHandle last_handle(THREAD, last); + // Create a new dependency node with fields for (class_loader or mirror, next) objArrayOop deps = oopFactory::new_objectArray(2, CHECK); deps->obj_at_put(0, dependency()); - // Must handle over more GC points + // Must handle over GC points objArrayHandle new_dependency(THREAD, deps); // Add the dependency under lock - assert (last != NULL, "dependencies should be initialized"); - objArrayHandle last_handle(THREAD, last); locked_add_dependency(last_handle, new_dependency); }