mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +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
|
@ -612,21 +612,6 @@ extern "C" void events() {
|
|||
Events::print();
|
||||
}
|
||||
|
||||
// Given a heap address that was valid before the most recent GC, if
|
||||
// the oop that used to contain it is still live, prints the new
|
||||
// location of the oop and the address. Useful for tracking down
|
||||
// certain kinds of naked oop and oop map bugs.
|
||||
extern "C" void pnl(intptr_t old_heap_addr) {
|
||||
// Print New Location of old heap address
|
||||
Command c("pnl");
|
||||
#ifndef VALIDATE_MARK_SWEEP
|
||||
tty->print_cr("Requires build with VALIDATE_MARK_SWEEP defined (debug build) and RecordMarkSweepCompaction enabled");
|
||||
#else
|
||||
MarkSweep::print_new_location_of_heap_address((HeapWord*) old_heap_addr);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
extern "C" Method* findm(intptr_t pc) {
|
||||
Command c("findm");
|
||||
nmethod* nm = CodeCache::find_nmethod((address)pc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue