equal
deleted
inserted
replaced
2700 } |
2700 } |
2701 |
2701 |
2702 // Not unloading classes this cycle |
2702 // Not unloading classes this cycle |
2703 assert(!should_unload_classes(), "Inconsistency!"); |
2703 assert(!should_unload_classes(), "Inconsistency!"); |
2704 |
2704 |
|
2705 // If we are not unloading classes then add SO_AllCodeCache to root |
|
2706 // scanning options. |
|
2707 add_root_scanning_option(rso); |
|
2708 |
2705 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) { |
2709 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) { |
2706 // Include symbols, strings and code cache elements to prevent their resurrection. |
|
2707 add_root_scanning_option(rso); |
|
2708 set_verifying(true); |
2710 set_verifying(true); |
2709 } else if (verifying() && !should_verify) { |
2711 } else if (verifying() && !should_verify) { |
2710 // We were verifying, but some verification flags got disabled. |
2712 // We were verifying, but some verification flags got disabled. |
2711 set_verifying(false); |
2713 set_verifying(false); |
2712 // Exclude symbols, strings and code cache elements from root scanning to |
2714 // Exclude symbols, strings and code cache elements from root scanning to |