458 // For sharing -- fill in a list of known vtable pointers. |
458 // For sharing -- fill in a list of known vtable pointers. |
459 static void init_self_patching_vtbl_list(void** list, int count); |
459 static void init_self_patching_vtbl_list(void** list, int count); |
460 |
460 |
461 // Debugging |
461 // Debugging |
462 static bool verify_in_progress() { return _verify_in_progress; } |
462 static bool verify_in_progress() { return _verify_in_progress; } |
463 static void verify(VerifyOption option, const char* prefix, bool silent = VerifySilently); |
463 static void verify(VerifyOption option, const char* prefix); |
464 static void verify(const char* prefix, bool silent = VerifySilently) { |
464 static void verify(const char* prefix) { |
465 verify(VerifyOption_Default, prefix, silent); |
465 verify(VerifyOption_Default, prefix); |
466 } |
466 } |
467 static void verify(bool silent = VerifySilently) { |
467 static void verify() { |
468 verify("", silent); |
468 verify(""); |
469 } |
469 } |
470 |
470 |
471 static int verify_count() { return _verify_count; } |
471 static int verify_count() { return _verify_count; } |
472 // The default behavior is to call print_on() on gclog_or_tty. |
472 static void print_on(outputStream* st); |
473 static void print(); |
|
474 // The extended parameter determines which method on the heap will |
|
475 // be called: print_on() (extended == false) or print_extended_on() |
|
476 // (extended == true). |
|
477 static void print_on(outputStream* st, bool extended = false); |
|
478 static void print_heap_at_SIGBREAK(); |
473 static void print_heap_at_SIGBREAK(); |
479 static void print_heap_before_gc() { print_heap_before_gc(gclog_or_tty); } |
474 static void print_heap_before_gc(); |
480 static void print_heap_after_gc() { print_heap_after_gc(gclog_or_tty); } |
475 static void print_heap_after_gc(); |
481 static void print_heap_before_gc(outputStream* st, bool ignore_extended = false); |
|
482 static void print_heap_after_gc(outputStream* st, bool ignore_extended = false); |
|
483 |
476 |
484 // Change the number of dummy objects kept reachable by the full gc dummy |
477 // Change the number of dummy objects kept reachable by the full gc dummy |
485 // array; this should trigger relocation in a sliding compaction collector. |
478 // array; this should trigger relocation in a sliding compaction collector. |
486 debug_only(static bool release_fullgc_alot_dummy();) |
479 debug_only(static bool release_fullgc_alot_dummy();) |
487 // The non-oop pattern (see compiledIC.hpp, etc) |
480 // The non-oop pattern (see compiledIC.hpp, etc) |