Skip to content
Permalink
Browse files

Automatic merge of jdk:master into master

  • Loading branch information
duke
duke committed Jul 21, 2020
2 parents 69e5e4b + 006d0bc commit a248690319bb50f73f1a898558d9b5fc11a4d4a0
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp
@@ -174,8 +174,8 @@ void ShenandoahControlThread::run_service() {
}

// Blow all soft references on this cycle, if handling allocation failure,
// or we are requested to do so unconditionally.
if (alloc_failure_pending || ShenandoahAlwaysClearSoftRefs) {
// either implicit or explicit GC request, or we are requested to do so unconditionally.
if (alloc_failure_pending || implicit_gc_requested || explicit_gc_requested || ShenandoahAlwaysClearSoftRefs) {
heap->soft_ref_policy()->set_should_clear_all_soft_refs(true);
}

0 comments on commit a248690

Please sign in to comment.
You can’t perform that action at this time.