src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp

changeset 2958
1e3493ac2d11
parent 2314
f95d63e2154a
child 3732
f69a5d43dc19
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp	Mon May 23 16:42:14 2011 -0700
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/freeChunk.hpp	Fri May 27 10:23:03 2011 -0700
     1.3 @@ -114,17 +114,11 @@
     1.4      linkNext(ptr);
     1.5      if (ptr != NULL) ptr->linkPrev(this);
     1.6    }
     1.7 -  void linkAfterNonNull(FreeChunk* ptr) {
     1.8 -    assert(ptr != NULL, "precondition violation");
     1.9 -    linkNext(ptr);
    1.10 -    ptr->linkPrev(this);
    1.11 -  }
    1.12    void linkNext(FreeChunk* ptr) { _next = ptr; }
    1.13    void linkPrev(FreeChunk* ptr) {
    1.14      LP64_ONLY(if (UseCompressedOops) _prev = ptr; else)
    1.15      _prev = (FreeChunk*)((intptr_t)ptr | 0x1);
    1.16    }
    1.17 -  void clearPrev()              { _prev = NULL; }
    1.18    void clearNext()              { _next = NULL; }
    1.19    void markNotFree() {
    1.20      // Set _prev (klass) to null before (if) clearing the mark word below

mercurial