comparison src/share/vm/prims/jvmtiRedefineClasses.cpp @ 7951:8b46b0196eb0

8000692: Remove old KERNEL code Summary: Removed depreciated kernel VM source code from hotspot VM Reviewed-by: dholmes, acorn
author zgu
date Fri, 25 Jan 2013 10:04:08 -0500
parents 5daaddd917a1
children 8d1fb417a42d
comparison
equal deleted inserted replaced
7950:6cf2530f7fd3 7951:8b46b0196eb0
3102 3102
3103 oop the_class_mirror = JNIHandles::resolve_non_null(the_jclass); 3103 oop the_class_mirror = JNIHandles::resolve_non_null(the_jclass);
3104 Klass* the_class_oop = java_lang_Class::as_Klass(the_class_mirror); 3104 Klass* the_class_oop = java_lang_Class::as_Klass(the_class_mirror);
3105 instanceKlassHandle the_class = instanceKlassHandle(THREAD, the_class_oop); 3105 instanceKlassHandle the_class = instanceKlassHandle(THREAD, the_class_oop);
3106 3106
3107 #ifndef JVMTI_KERNEL
3108 // Remove all breakpoints in methods of this class 3107 // Remove all breakpoints in methods of this class
3109 JvmtiBreakpoints& jvmti_breakpoints = JvmtiCurrentBreakpoints::get_jvmti_breakpoints(); 3108 JvmtiBreakpoints& jvmti_breakpoints = JvmtiCurrentBreakpoints::get_jvmti_breakpoints();
3110 jvmti_breakpoints.clearall_in_class_at_safepoint(the_class_oop); 3109 jvmti_breakpoints.clearall_in_class_at_safepoint(the_class_oop);
3111 #endif // !JVMTI_KERNEL
3112 3110
3113 if (the_class_oop == Universe::reflect_invoke_cache()->klass()) { 3111 if (the_class_oop == Universe::reflect_invoke_cache()->klass()) {
3114 // We are redefining java.lang.reflect.Method. Method.invoke() is 3112 // We are redefining java.lang.reflect.Method. Method.invoke() is
3115 // cached and users of the cache care about each active version of 3113 // cached and users of the cache care about each active version of
3116 // the method so we have to track this previous version. 3114 // the method so we have to track this previous version.