If the hs101t004.java NSK test is modified to call System.gc() during its processing loop, then the jvmg VM will fail an assertion. ------- hs101t004.java ------- *** /tmp/sccs.QBaiGt Wed Nov 24 11:55:45 2004 --- hs101t004.java Wed Nov 24 11:37:03 2004 *************** *** 94,99 **** --- 94,100 ---- try { for (i = 0; flag && (i < numbers.length); i++) { numbers[i] = ackermann(3, i); + System.gc(); } } catch (StackOverflowError e) { // ignore java version "1.5.0_02-ea" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-ea-b03) Java HotSpot(TM) Client VM (build post_tiger-jvmg-debug, mixed mode) /net/producer/export3/dcubed/work/jdk/1.5.0-sparc/bin/java_g -XX:-PrintVMOptions -XX:CompileOnly=nsk -Xss2m -client-test -agentlib:HotSwap=-waittime=2\ package=nsk\ samples=100\ mode=compiled\ bci=call nsk.jvmti.scenarios.hotswap.HS101.hs101t004 # To suppress the following error report, specify this argument # after -XX: or in .hotspotrc: SuppressErrorAt=/nmethod.cpp:836] # # An unexpected error has been detected by HotSpot Virtual Machine: # # Internal Error (/export3/dcubed/work/build/post_tiger/src_ws/src/share/vm/code/nmethod.cpp, 836 [ Patched ]), pid=9944, tid=2 # # Java VM: Java HotSpot(TM) Client VM (post_tiger-jvmg-debug mixed mode) # # Error: assert(unloading_occurred,"should not reach here if no classes got unloaded") # An error report file with more information is saved as hs_err_pid9944.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Current thread is 2 Dumping core ... doit.ksh[86]: 9944 Abort(coredump) status=134
|