6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
Summary: Fixes the nsk-jdi PIT failures introduced by fix for 6739363
Reviewed-by: kvn, coleenp
--- a/hotspot/src/share/vm/runtime/javaCalls.cpp Fri Dec 12 19:55:26 2008 -0800
+++ b/hotspot/src/share/vm/runtime/javaCalls.cpp Thu Dec 18 17:28:41 2008 -0800
@@ -504,7 +504,7 @@
intptr_t v = _value[p];
if (v != 0 ) {
size_t t = (size_t)v;
- bad = (t < (size_t)os::vm_page_size() ) || !(*(oop*)v)->is_oop_or_null(true);
+ bad = (t < (size_t)os::vm_page_size() ) || !Handle::raw_resolve((oop *)v)->is_oop_or_null(true);
if (CheckJNICalls && bad) {
ReportJNIFatalError((JavaThread*)_thread, "Bad JNI oop argument");
}