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:
Coleen Phillimore 2019-04-19 21:49:54 -07:00
parent a8a29bbae6
commit 6ebf2ce655
14 changed files with 184 additions and 24 deletions

View file

@ -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") \
\