hotspot/src/share/vm/prims/unsafe.cpp
changeset 38014 8731fa11f766
parent 37267 ad8c0e8de29f
child 38060 954c9575f653
--- a/hotspot/src/share/vm/prims/unsafe.cpp	Tue Apr 19 14:53:33 2016 +0200
+++ b/hotspot/src/share/vm/prims/unsafe.cpp	Thu Apr 21 09:23:04 2016 -0400
@@ -934,7 +934,7 @@
   // this point.   The mirror and any instances of this class have to keep
   // it alive afterwards.
   if (anon_klass() != NULL) {
-    anon_klass->class_loader_data()->set_keep_alive(false);
+    anon_klass->class_loader_data()->dec_keep_alive();
   }
 
   // let caller initialize it as needed...