EVALUATION
$ gamma -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+EnableMethodHandles -cp /java/devtools/share/junit/latest/junit.jar:. org.junit.runner.JUnitCore test.java.dyn.MethodHandlesTest
(dbx) where
current thread: t@2
[1] _waitid(0x0, 0x1dde, 0xfdedddd0, 0x3), at 0xfe12af95
[2] _waitpid(0x1dde, 0xfdedde90, 0x0), at 0xfe0d93bf
[3] waitpid(0x1dde, 0xfdedde90, 0x0), at 0xfe11c805
=>[4] os::fork_and_exec(cmd = 0xfeeca0bc "dbx - 7587"), line 6238 in "os_solaris.cpp"
[5] VMError::show_message_box(this = 0xfdede038, buf = 0xfeeca0bc "dbx - 7587", buflen = 2000), line 56 in "vmError_solaris.cpp"
[6] VMError::report_and_die(this = 0xfdede038), line 786 in "vmError.cpp"
[7] report_vm_error(file = 0xfed2b9ea "/home/ct232829/hotspot-comp/hotspot/src/share/vm/runtime/sharedRuntime.cpp", line = 426, error_msg = 0xfed2ba35 "assert(frame::verify_return_pc(return_address)) failed", detail_msg = 0xfed2ba6c "must be a return pc"), line 216 in "debug.cpp"
[8] SharedRuntime::raw_exception_handler_for_return_address(thread = 0x8080400, return_address = 0xfdede140 "\xc0\xb4\xf6\xec"), line 426 in "sharedRuntime.cpp"
[9] SharedRuntime::exception_handler_for_return_address(thread = 0x8080400, return_address = 0xfdede140 "\xc0\xb4\xf6\xec"), line 486 in "sharedRuntime.cpp"
[10] 0xfbce7959(0xecf6b4c0, 0xe52e0000, 0x400d, 0x0, 0x0, 0x0), at 0xfbce7959
(dbx) fr 8
Current function is SharedRuntime::raw_exception_handler_for_return_address
426 assert(frame::verify_return_pc(return_address), "must be a return pc");
(dbx) p findpc((long) return_address)
"Executing findpc"
0xfdede140 is pointing into the stack for thread: 0x08080400
"main" prio=3 tid=0x08080400 nid=0x2 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
JavaThread state: _thread_in_Java
Thread: 0x08080400 [0x 2] State: _running _has_called_back 0 _at_poll_safepoint 0
JavaThread state: _thread_in_Java
findpc((long ) return_address) = (void)
|