Skip to content

Commit 450c201

Browse files
Roman MarchenkoRealCLanger
authored andcommitted
8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ffafaf8009c19483b9a9b1c30401cf9a
1 parent 5025a97 commit 450c201

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hotspot/share/prims/jvmtiEnvBase.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ JvmtiEnvBase::JvmtiEnvBase(jint version) : _env_event_enable() {
207207
_is_retransformable = true;
208208

209209
// all callbacks initially NULL
210-
memset(&_event_callbacks,0,sizeof(jvmtiEventCallbacks));
210+
memset(&_event_callbacks, 0, sizeof(jvmtiEventCallbacks));
211+
memset(&_ext_event_callbacks, 0, sizeof(jvmtiExtEventCallbacks));
211212

212213
// all capabilities initially off
213214
memset(&_current_capabilities, 0, sizeof(_current_capabilities));

0 commit comments

Comments
 (0)