JDK-8227103 : Shenandoah: Refactor ShenandoahNMethod in preparation of concurrent nmethod iteration
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-07-02
  • Updated: 2019-11-27
  • Resolved: 2019-11-27
Related Reports
Duplicate :  
Duplicate :  
Description
Refactor ShenandoahNMethod:

1) Refactor ShenandoahNMethod out of ShenandoahCodeRoots
2) Introduce ShenandoahNMethodTable, which replaces GrowableArray, to manage registered nmethods, in preparation for concurrent iteration
3) Encapsulate nmethod registering/unregistering inside ShenandoahNMethodTable.