comparison src/share/vm/runtime/jniHandles.cpp @ 2147:9afee0b9fc1d

7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220) Summary: Rebuild breakpoint cache at gc_epilogue instead of during oops_do Reviewed-by: dcubed, ysr, coleenp
author kamg
date Wed, 19 Jan 2011 13:51:53 -0800
parents 7246a374a9f2
children 1d1603768966
comparison
equal deleted inserted replaced
2146:2f33b03bd915 2147:9afee0b9fc1d
23 */ 23 */
24 24
25 #include "precompiled.hpp" 25 #include "precompiled.hpp"
26 #include "classfile/systemDictionary.hpp" 26 #include "classfile/systemDictionary.hpp"
27 #include "oops/oop.inline.hpp" 27 #include "oops/oop.inline.hpp"
28 #include "prims/jvmtiTagMap.hpp" 28 #include "prims/jvmtiExport.hpp"
29 #include "runtime/jniHandles.hpp" 29 #include "runtime/jniHandles.hpp"
30 #include "runtime/mutexLocker.hpp" 30 #include "runtime/mutexLocker.hpp"
31 #ifdef TARGET_OS_FAMILY_linux 31 #ifdef TARGET_OS_FAMILY_linux
32 # include "thread_linux.inline.hpp" 32 # include "thread_linux.inline.hpp"
33 #endif 33 #endif
429 break; 429 break;
430 } 430 }
431 } 431 }
432 432
433 /* 433 /*
434 * JvmtiTagMap may also contain weak oops. The iteration of it is placed 434 * JVMTI data structures may also contain weak oops. The iteration of them
435 * here so that we don't need to add it to each of the collectors. 435 * is placed here so that we don't need to add it to each of the collectors.
436 */ 436 */
437 JvmtiTagMap::weak_oops_do(is_alive, f); 437 JvmtiExport::weak_oops_do(is_alive, f);
438 } 438 }
439 439
440 440
441 jobject JNIHandleBlock::allocate_handle(oop obj) { 441 jobject JNIHandleBlock::allocate_handle(oop obj) {
442 assert(Universe::heap()->is_in_reserved(obj), "sanity check"); 442 assert(Universe::heap()->is_in_reserved(obj), "sanity check");