mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8004132: SerialGC: ValidateMarkSweep broken when running GCOld
Remove bit-rotten ValidateMarkSweep functionality and flag. Reviewed-by: johnc, jmasa
This commit is contained in:
parent
86dd796322
commit
7cb614b0e5
13 changed files with 1 additions and 571 deletions
|
@ -411,7 +411,6 @@ HeapWord* CompactibleSpace::forward(oop q, size_t size,
|
|||
assert(q->forwardee() == NULL, "should be forwarded to NULL");
|
||||
}
|
||||
|
||||
VALIDATE_MARK_SWEEP_ONLY(MarkSweep::register_live_oop(q, size));
|
||||
compact_top += size;
|
||||
|
||||
// we need to update the offset table so that the beginnings of objects can be
|
||||
|
@ -470,13 +469,10 @@ void Space::adjust_pointers() {
|
|||
if (oop(q)->is_gc_marked()) {
|
||||
// q is alive
|
||||
|
||||
VALIDATE_MARK_SWEEP_ONLY(MarkSweep::track_interior_pointers(oop(q)));
|
||||
// point all the oops to the new location
|
||||
size_t size = oop(q)->adjust_pointers();
|
||||
VALIDATE_MARK_SWEEP_ONLY(MarkSweep::check_interior_pointers());
|
||||
|
||||
debug_only(prev_q = q);
|
||||
VALIDATE_MARK_SWEEP_ONLY(MarkSweep::validate_live_oop(oop(q), size));
|
||||
|
||||
q += size;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue