JDK-8241065 : Shenandoah: remove leftover code after JDK-8231086
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11.0.9,14,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-03-16
  • Updated: 2024-11-20
  • Resolved: 2020-08-14
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 11 JDK 15 JDK 16
11.0.9Fixed 15.0.1Fixed 16 b12Fixed
Related Reports
Relates :  
Description
Static analyzers say these are unused:

class ShenandoahBarrierSet: public BarrierSet {
public:
  enum ArrayCopyStoreValMode {
    NONE,
    RESOLVE_BARRIER,
    EVAC_BARRIER
  };

 ... 
    template <class T> void
  write_ref_array_pre_work(T* src, T* dst, size_t count, bool dest_uninitialized);
  ...
}

Their last use was before JDK-8231086 landed. We can remove this cruft now.
Comments
Fix Request (11u) Same reason, applicability, results as for 15u backport.
18-08-2020

Fix Request (15u) This simplifies Shenandoah maintainability and provides the ground for subsequent backports. Patch applies cleanly to 15u, passes hotspot_gc_shenandoah, tier{1,2} with Shenandoah enabled. Patch is completely isolated in Shenandoah code.
17-08-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/0246e1be4d35 User: rkennke Date: 2020-08-14 17:55:31 +0000
14-08-2020