JDK-8306851 : Move Method access flags
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-25
  • Updated: 2023-05-04
  • Resolved: 2023-05-01
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 21
21 b21Fixed
Description
The Method access flags require atomic access because they can be set and reset by multiple threads.  Some of the Method access flags are essentially const.  They're set during classfile parsing and not changed.

Move the const Method* access flags into constMethodFlags with the existing constMethod flags so they can be shared read-only.

Move the other Method* access flags into methodFlags as status flags that have atomic access.
Comments
Changeset: 316d303c Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2023-05-01 11:33:22 +0000 URL: https://git.openjdk.org/jdk/commit/316d303c1da550c9589c9be56b65650964e3886b
01-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13654 Date: 2023-04-25 19:09:23 +0000
26-04-2023