hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp
changeset 30161 73469ec877cd
parent 30160 513fbe5e7474
child 30558 baec90a2699f
--- a/hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp	Thu Apr 09 11:29:32 2015 +0200
+++ b/hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp	Thu Apr 09 11:30:37 2015 +0200
@@ -90,10 +90,10 @@
  public:
   template <typename T> bool operator()(T* p) const { return true; }
 };
-static AlwaysContains always_contains;
 
 template <bool nv, class OopClosureType>
 void InstanceRefKlass::oop_oop_iterate_ref_processing(oop obj, OopClosureType* closure) {
+  AlwaysContains always_contains;
   if (UseCompressedOops) {
     oop_oop_iterate_ref_processing_specialized<nv, narrowOop>(obj, closure, always_contains);
   } else {