-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 16
-
Component/s: hotspot
-
b26
I was looking through this code because of JDK-8061949 and want to do some minor cleanups.
1. There's a function in the wrong place (is_override)
2. methodHandles that use mh()->is_native(), with extra (),
3. some methods declared with TRAPS, that don't trap
4. some multi-clause conditionals with confusing formatting
5. extra InstanceKlass::cast() casts
6. some useless asserts
7. and potentially a bug with RedefineClasses where the method being added to the vtable may have been redefined in the constraint verification call. (noreg-hard)
1. There's a function in the wrong place (is_override)
2. methodHandles that use mh()->is_native(), with extra (),
3. some methods declared with TRAPS, that don't trap
4. some multi-clause conditionals with confusing formatting
5. extra InstanceKlass::cast() casts
6. some useless asserts
7. and potentially a bug with RedefineClasses where the method being added to the vtable may have been redefined in the constraint verification call. (noreg-hard)
- relates to
-
JDK-8256640 assert(!m->is_old() || ik()->is_being_redefined()) failed: old methods should not be in vtable
-
- Resolved
-
-
JDK-8256674 assert failed: "old methods should not be in vtable"
-
- Closed
-
-
JDK-8061949 klassVTable::initialize_vtable exhibits quadratic time complexity
-
- Closed
-