The accessFlags in field, method and klass should be only the ones that javac puts in the classfile. JVM state should be separated out to other flag or status bits, depending on whether they are read-only or, in the case of status flags, read-write. The read-write flags should be written atomically.
Adding flags to accessFlags for valhalla and other new projects in Amber, have exposed the need to fix this area of technical debt.
Adding flags to accessFlags for valhalla and other new projects in Amber, have exposed the need to fix this area of technical debt.
- relates to
-
JDK-8298475 Remove JVM_ACC_PROMOTED_FLAGS
-
- Resolved
-
-
JDK-8307533 Use atomic bitset functions for metadata flags
-
- Resolved
-
-
JDK-8292818 replace 96-bit representation for field metadata with variable-sized streams
-
- Resolved
-
-
JDK-8293117 Add atomic bitset functions
-
- Resolved
-
-
JDK-8339112 Move JVM Klass flags out of AccessFlags
-
- Resolved
-
-
JDK-8347147 [REDO] AccessFlags can be u2 in metadata
-
- Resolved
-
-
JDK-8339113 AccessFlags can be u2 in metadata
-
- Closed
-
(2 relates to)
1.
|
Move InstanceKlass::_misc_flags |
|
Resolved | Coleen Phillimore | |
2.
|
InstanceKlassMiscStatus is a bad name |
|
Resolved | Coleen Phillimore | |
3.
|
Move InstanceKlass writeable flags |
|
Resolved | Coleen Phillimore | |
4.
|
Move is_shared Klass flag |
|
Resolved | Coleen Phillimore | |
5.
|
Move InstanceKlass read-only flags |
|
Resolved | Coleen Phillimore | |
6.
|
Remove unused Method AccessFlags |
|
Resolved | Coleen Phillimore | |
7.
|
Move Method access flags |
|
Resolved | Coleen Phillimore | |
8.
|
Add warning to not create new ACC flags |
|
Resolved | Coleen Phillimore |