469 static void basic_type_classes_do(void f(Klass*));
470 static void basic_type_classes_do(KlassClosure* closure);
471 static void metaspace_pointers_do(MetaspaceClosure* it);
472
473 // Debugging
474 enum VERIFY_FLAGS {
475 Verify_Threads = 1,
476 Verify_Heap = 2,
477 Verify_SymbolTable = 4,
478 Verify_StringTable = 8,
479 Verify_CodeCache = 16,
480 Verify_SystemDictionary = 32,
481 Verify_ClassLoaderDataGraph = 64,
482 Verify_MetaspaceUtils = 128,
483 Verify_JNIHandles = 256,
484 Verify_CodeCacheOops = 512,
485 Verify_All = -1
486 };
487 static void initialize_verify_flags();
488 static bool should_verify_subset(uint subset);
489 static bool verify_in_progress() { return _verify_in_progress; }
490 static void verify(VerifyOption option, const char* prefix);
491 static void verify(const char* prefix) {
492 verify(VerifyOption_Default, prefix);
493 }
494 static void verify() {
495 verify("");
496 }
497
498 static int verify_count() { return _verify_count; }
499 static void print_on(outputStream* st);
500 static void print_heap_at_SIGBREAK();
501 static void print_heap_before_gc();
502 static void print_heap_after_gc();
503
504 // Change the number of dummy objects kept reachable by the full gc dummy
505 // array; this should trigger relocation in a sliding compaction collector.
506 debug_only(static bool release_fullgc_alot_dummy();)
507 // The non-oop pattern (see compiledIC.hpp, etc)
|
469 static void basic_type_classes_do(void f(Klass*));
470 static void basic_type_classes_do(KlassClosure* closure);
471 static void metaspace_pointers_do(MetaspaceClosure* it);
472
473 // Debugging
474 enum VERIFY_FLAGS {
475 Verify_Threads = 1,
476 Verify_Heap = 2,
477 Verify_SymbolTable = 4,
478 Verify_StringTable = 8,
479 Verify_CodeCache = 16,
480 Verify_SystemDictionary = 32,
481 Verify_ClassLoaderDataGraph = 64,
482 Verify_MetaspaceUtils = 128,
483 Verify_JNIHandles = 256,
484 Verify_CodeCacheOops = 512,
485 Verify_All = -1
486 };
487 static void initialize_verify_flags();
488 static bool should_verify_subset(uint subset);
489 static void disable_verify_subset(uint subset) { verify_flags &= ~subset; }
490 static bool verify_in_progress() { return _verify_in_progress; }
491 static void verify(VerifyOption option, const char* prefix);
492 static void verify(const char* prefix) {
493 verify(VerifyOption_Default, prefix);
494 }
495 static void verify() {
496 verify("");
497 }
498
499 static int verify_count() { return _verify_count; }
500 static void print_on(outputStream* st);
501 static void print_heap_at_SIGBREAK();
502 static void print_heap_before_gc();
503 static void print_heap_after_gc();
504
505 // Change the number of dummy objects kept reachable by the full gc dummy
506 // array; this should trigger relocation in a sliding compaction collector.
507 debug_only(static bool release_fullgc_alot_dummy();)
508 // The non-oop pattern (see compiledIC.hpp, etc)
|