-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
We may replace the non-default copy constructor and assignment with the default ones. This would also make the class TriviallyCopiable.
This change would also fix a build failure I'm getting with clang20:
/jdk/src/hotspot/share/oops/resolvedMethodEntry.cpp:43:12: error: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ResolvedMethodEntry' [-Werror,-Wnontrivial-memcall]
This change would also fix a build failure I'm getting with clang20:
/jdk/src/hotspot/share/oops/resolvedMethodEntry.cpp:43:12: error: first argument in call to 'memset' is a pointer to non-trivially copyable type 'ResolvedMethodEntry' [-Werror,-Wnontrivial-memcall]
- caused by
-
JDK-8293980 Resolve CONSTANT_FieldRef at CDS dump time
-
- Resolved
-
-
JDK-8309634 Resolve CONSTANT_MethodRef at CDS dump time
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/26818