changeset 505:c6065343356f

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
author poonam
date Thu, 18 Dec 2008 17:28:41 -0800
parents 80206b8a9128
children 8a25d96bcf08
files src/share/vm/runtime/javaCalls.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/javaCalls.cpp	Fri Dec 12 19:55:26 2008 -0800
+++ b/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");
         }