hotspot/src/share/vm/runtime/deoptimization.cpp
changeset 3171 aa289b22b577
parent 670 ddf3e9583f2f
child 3261 c7d5aae8d3f7
--- a/hotspot/src/share/vm/runtime/deoptimization.cpp	Fri Jun 05 10:25:39 2009 -0700
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp	Tue Jun 09 16:19:10 2009 -0700
@@ -933,7 +933,7 @@
   GrowableArray<MonitorInfo*>* monitors = cvf->monitors();
   for (int i = 0; i < monitors->length(); i++) {
     MonitorInfo* mon_info = monitors->at(i);
-    if (mon_info->owner() != NULL && !mon_info->eliminated()) {
+    if (!mon_info->eliminated() && mon_info->owner() != NULL) {
       objects_to_revoke->append(Handle(mon_info->owner()));
     }
   }