JDK 21 |
---|
21 b21Fixed |
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.
|