JDK-8277372 : Add getters for BOT and card table members
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-11-18
  • Updated: 2024-02-06
  • Resolved: 2021-12-06
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 18
18 b27Fixed
Related Reports
Relates :  
Description
JDK-8272773 introduced a configurable card table size. Some enum constants were converted to statics.

Keeping their naming the same as before, they now contradict accepted coding style guidelines, e.g.

class ObjectStartArray {
  static uint block_shift;
  [...]
}

class CardTable {
  static uint  card_shift;
  [...]
}

and so on.

Change the code to use getters as expected for those.


Comments
Changeset: adf39522 Author: Vishal Chand <vishalchand2492@gmail.com> Committer: Thomas Schatzl <tschatzl@openjdk.org> Date: 2021-12-06 15:28:20 +0000 URL: https://git.openjdk.java.net/jdk/commit/adf39522c178b82dc73e341751b2d9aba984469d
06-12-2021