src/share/vm/runtime/jniHandles.cpp

changeset 2445
7246a374a9f2
parent 2314
f95d63e2154a
child 2467
9afee0b9fc1d
     1.1 --- a/src/share/vm/runtime/jniHandles.cpp	Mon Jan 10 09:23:20 2011 -0800
     1.2 +++ b/src/share/vm/runtime/jniHandles.cpp	Mon Jan 10 17:14:53 2011 -0500
     1.3 @@ -25,6 +25,7 @@
     1.4  #include "precompiled.hpp"
     1.5  #include "classfile/systemDictionary.hpp"
     1.6  #include "oops/oop.inline.hpp"
     1.7 +#include "prims/jvmtiTagMap.hpp"
     1.8  #include "runtime/jniHandles.hpp"
     1.9  #include "runtime/mutexLocker.hpp"
    1.10  #ifdef TARGET_OS_FAMILY_linux
    1.11 @@ -428,6 +429,12 @@
    1.12        break;
    1.13      }
    1.14    }
    1.15 +
    1.16 +  /*
    1.17 +   * JvmtiTagMap may also contain weak oops.  The iteration of it is placed
    1.18 +   * here so that we don't need to add it to each of the collectors.
    1.19 +   */
    1.20 +  JvmtiTagMap::weak_oops_do(is_alive, f);
    1.21  }
    1.22  
    1.23  

mercurial