src/share/vm/prims/jvmtiRedefineClasses.cpp

changeset 4492
8b46b0196eb0
parent 4490
5daaddd917a1
child 4495
8d1fb417a42d
     1.1 --- a/src/share/vm/prims/jvmtiRedefineClasses.cpp	Thu Jan 24 23:30:45 2013 -0800
     1.2 +++ b/src/share/vm/prims/jvmtiRedefineClasses.cpp	Fri Jan 25 10:04:08 2013 -0500
     1.3 @@ -3104,11 +3104,9 @@
     1.4    Klass* the_class_oop = java_lang_Class::as_Klass(the_class_mirror);
     1.5    instanceKlassHandle the_class = instanceKlassHandle(THREAD, the_class_oop);
     1.6  
     1.7 -#ifndef JVMTI_KERNEL
     1.8    // Remove all breakpoints in methods of this class
     1.9    JvmtiBreakpoints& jvmti_breakpoints = JvmtiCurrentBreakpoints::get_jvmti_breakpoints();
    1.10    jvmti_breakpoints.clearall_in_class_at_safepoint(the_class_oop);
    1.11 -#endif // !JVMTI_KERNEL
    1.12  
    1.13    if (the_class_oop == Universe::reflect_invoke_cache()->klass()) {
    1.14      // We are redefining java.lang.reflect.Method. Method.invoke() is

mercurial