JDK-8237223 : Shenandoah: important flags should not be ergonomic for concurrent class unloading
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-15
  • Updated: 2022-02-24
  • Resolved: 2020-01-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14 JDK 15
14.0.1Fixed 15 b06Fixed
Related Reports
Relates :  
Relates :  
Description
SHENANDOAH_ERGO_ENABLE_FLAG opens these flags for user override, which would break:

void ShenandoahNormalMode::initialize_flags() const {
...
 if (ShenandoahConcurrentRoots::can_do_concurrent_class_unloading()) {
    SHENANDOAH_ERGO_ENABLE_FLAG(ShenandoahSuspendibleWorkers);
    SHENANDOAH_ERGO_DISABLE_FLAG(VerifyBeforeExit);
  }
...
Comments
Fix Request (14u) This fixes the UX bug in Shenandoah. Patch does not apply cleanly to 14u. RFR: https://mail.openjdk.java.net/pipermail/shenandoah-dev/2020-February/011416.html
06-02-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/d5c222f181b4 User: shade Date: 2020-01-15 20:38:35 +0000
15-01-2020