File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1065,12 +1065,10 @@ void G1CollectedHeap::do_full_collection(bool clear_all_soft_refs) {
10651065 // Currently, there is no facility in the do_full_collection(bool) API to notify
10661066 // the caller that the collection did not succeed (e.g., because it was locked
10671067 // out by the GC locker). So, right now, we'll ignore the return value.
1068- // When clear_all_soft_refs is set we want to do a maximal compaction
1069- // not leaving any dead wood.
1070- bool do_maximal_compaction = clear_all_soft_refs;
1071- bool dummy = do_full_collection (true , /* explicit_gc */
1072- clear_all_soft_refs,
1073- do_maximal_compaction);
1068+
1069+ do_full_collection (false , /* explicit_gc */
1070+ clear_all_soft_refs,
1071+ false /* do_maximal_compaction */ );
10741072}
10751073
10761074bool G1CollectedHeap::upgrade_to_full_collection () {
You can’t perform that action at this time.
0 commit comments