hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 30773 3f15e2dc056b
parent 30764 fec48bf5a827
parent 30752 e8641f96a82b
child 31234 48000028382c
child 31041 7d59fa6a48f1
--- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp	Wed May 20 10:45:40 2015 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp	Thu May 21 21:17:56 2015 +0200
@@ -3993,8 +3993,8 @@
            the_class->get_cached_class_file_bytes()) {
     // The same class can be present twice in the scratch classes list or there
     // are multiple concurrent RetransformClasses calls on different threads.
-    // In such cases we have to deallocate scratch_class cached_class_file_bytes.
-    os::free(scratch_class->get_cached_class_file_bytes());
+    // In such cases we have to deallocate scratch_class cached_class_file.
+    os::free(scratch_class->get_cached_class_file());
   }
 
   // NULL out in scratch class to not delete twice.  The class to be redefined