src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp

changeset 2301
9eecf81a02fb
parent 2294
4df7f8cba524
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp	Mon Nov 15 16:25:14 2010 -0800
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp	Tue Nov 16 13:58:48 2010 -0800
     1.3 @@ -1093,8 +1093,9 @@
     1.4  // perm_gen_verify_bit_map where we store the "deadness" information if
     1.5  // we did not sweep the perm gen in the most recent previous GC cycle.
     1.6  bool CompactibleFreeListSpace::obj_is_alive(const HeapWord* p) const {
     1.7 +  assert(SafepointSynchronize::is_at_safepoint() || !is_init_completed(),
     1.8 +         "Else races are possible");
     1.9    assert(block_is_obj(p), "The address should point to an object");
    1.10 -  assert(SafepointSynchronize::is_at_safepoint(), "Else races are possible");
    1.11  
    1.12    // If we're sweeping, we use object liveness information from the main bit map
    1.13    // for both perm gen and old gen.

mercurial