diff options
author | 2019-10-29 11:15:05 -0700 | |
---|---|---|
committer | 2019-11-16 00:26:03 +0000 | |
commit | 283bb322de84ac570b987c65a1015e2dbcbfad7c (patch) | |
tree | 18f5d68c78e56a2d398192c8340269a60706b7a0 /openjdkjvmti/events.h | |
parent | 2c5dfe16ab2b0f8fbd14dedc161eb4658a8673fc (diff) |
Initial support for adding virtuals with structural redefinition
Initial implementation of adding virtual methods and non-static fields
using structural redefinition. Currently this is limited to 'final',
non-finalizable classes. These restrictions will be removed or
loosened in the future.
All non-collected instances of the redefined class will be made
obsolete and reallocated. This can cause significant GC load.
This feature does not work with any of the -quick opcodes and should
only be used with dex files that haven't undergone dex2dex
compilation (that is --debuggable and BCP dex files).
Test: ./test.py --host
Bug: 134162467
Bug: 144168550
Change-Id: Ia401d97395cfe498eb849a661ea9a900dfaa6da3
Diffstat (limited to 'openjdkjvmti/events.h')
-rw-r--r-- | openjdkjvmti/events.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openjdkjvmti/events.h b/openjdkjvmti/events.h index c9d587af94..d4eb17137e 100644 --- a/openjdkjvmti/events.h +++ b/openjdkjvmti/events.h @@ -34,7 +34,7 @@ namespace openjdkjvmti { struct ArtJvmTiEnv; -class JvmtiAllocationListener; +class JvmtiEventAllocationListener; class JvmtiDdmChunkListener; class JvmtiGcPauseListener; class JvmtiMethodTraceListener; @@ -425,7 +425,7 @@ class EventHandler { // A union of all enabled events, anywhere. EventMask global_mask; - std::unique_ptr<JvmtiAllocationListener> alloc_listener_; + std::unique_ptr<JvmtiEventAllocationListener> alloc_listener_; std::unique_ptr<JvmtiDdmChunkListener> ddm_listener_; std::unique_ptr<JvmtiGcPauseListener> gc_pause_listener_; std::unique_ptr<JvmtiMethodTraceListener> method_trace_listener_; |