mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods Reviewed-by: jcbeyler, sspitsyn
This commit is contained in:
parent
a8a29bbae6
commit
6ebf2ce655
14 changed files with 184 additions and 24 deletions
|
@ -978,6 +978,10 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
|
|||
product(bool, VerifyMergedCPBytecodes, true, \
|
||||
"Verify bytecodes after RedefineClasses constant pool merging") \
|
||||
\
|
||||
product(bool, AllowRedefinitionToAddDeleteMethods, false, \
|
||||
"Allow redefinition to add and delete private static or " \
|
||||
"final methods for compatibility with old releases") \
|
||||
\
|
||||
develop(bool, TraceBytecodes, false, \
|
||||
"Trace bytecode execution") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue