< prev index next >

src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp

Print this page

        

*** 114,128 **** // forwardee() will return NULL in the compaction phase as well. object->init_mark_raw(); } else { // Make sure object has the correct mark-word set or that it will be // fixed when restoring the preserved marks. ! assert(object->mark_raw() == markWord::prototype_for_object(object) || // Correct mark ! object->mark_raw().must_be_preserved(object) || // Will be restored by PreservedMarksSet (UseBiasedLocking && object->has_bias_pattern_raw()), // Will be restored by BiasedLocking "should have correct prototype obj: " PTR_FORMAT " mark: " PTR_FORMAT " prototype: " PTR_FORMAT, ! p2i(object), object->mark_raw().value(), markWord::prototype_for_object(object).value()); } assert(object->forwardee() == NULL, "should be forwarded to NULL"); } // Update compaction values. --- 114,128 ---- // forwardee() will return NULL in the compaction phase as well. object->init_mark_raw(); } else { // Make sure object has the correct mark-word set or that it will be // fixed when restoring the preserved marks. ! assert(object->mark_raw() == markWord::prototype_for_klass(object->klass()) || // Correct mark ! object->mark_must_be_preserved(object->mark_raw()) || // Will be restored by PreservedMarksSet (UseBiasedLocking && object->has_bias_pattern_raw()), // Will be restored by BiasedLocking "should have correct prototype obj: " PTR_FORMAT " mark: " PTR_FORMAT " prototype: " PTR_FORMAT, ! p2i(object), object->mark_raw().value(), markWord::prototype_for_klass(object->klass()).value()); } assert(object->forwardee() == NULL, "should be forwarded to NULL"); } // Update compaction values.
< prev index next >