JDK-8323083 : [GenShen] Alloca avoidance, const-safety, interface decluttering in promotion budgeting
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-01-05
  • Updated: 2024-01-05
  • Resolved: 2024-01-05
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.
Other
repo-shenandoahFixed
Description
In code related to the computation of promotion budgets and region preselection for promotion:

1. avoid alloca, instead encapsulating region preselection using RAII pattern
2. const-safety and some additional asserts related to 1
3. declutter some method interfaces
4. expand some documentation comments
Comments
Commit: https://github.com/openjdk/shenandoah/commit/6cd8d04f283b1d0e65f40f816ccb10b9be59717c
05-01-2024

PR: https://github.com/openjdk/shenandoah/pull/381
05-01-2024