diff options
author | 2019-12-10 14:38:34 -0800 | |
---|---|---|
committer | 2019-12-19 18:05:52 +0000 | |
commit | fb537087516e34e92e3c030ef2f7fc8b233d7a47 (patch) | |
tree | f6663f1ee276c23e359acb3fa40904e5cddaa960 /openjdkjvmti/ti_extension.cc | |
parent | 80599a28d1c865de7644a87111f49ee3b30f7c41 (diff) |
Remove class-hierarchy restriction from structural redefinition
Previously we restricted structural redefinition such that 2 or more
classes could not be redefined at the same time if one is a superclass
of the other and the superclass was undergoing structural
redefinition. This was done to simplify the creation of new objects.
This restriction is now removed by having the superclass take over the
creation of new instances for any subclasses, even if they are
redefined too.
Test: ./test.py --host
Bug: 134162467
Change-Id: I8ae76e3b1fd17c1cf2a9993d7b82ed21a61503ef
Diffstat (limited to 'openjdkjvmti/ti_extension.cc')
-rw-r--r-- | openjdkjvmti/ti_extension.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_extension.cc b/openjdkjvmti/ti_extension.cc index 130169711f..62c6fb24ef 100644 --- a/openjdkjvmti/ti_extension.cc +++ b/openjdkjvmti/ti_extension.cc @@ -423,7 +423,6 @@ jvmtiError ExtensionUtil::GetExtensionFunctions(jvmtiEnv* env, reinterpret_cast<jvmtiExtensionFunction>(Redefiner::StructurallyRedefineClasses), "com.android.art.class.structurally_redefine_classes", "Entrypoint for structural class redefinition. Has the same signature as RedefineClasses." - " Currently does not support redefining a class and any of its supertypes at the same time." " Only supports additive changes, methods and fields may not be removed. Supertypes and" " implemented interfaces may not be changed. After calling this" " com.android.art.structural_dex_file_load_hook events will be triggered, followed by" |