Skip to content

Commit 97ea5bf

Browse files
Roman MarchenkoYuri Nesterenko
authored andcommitted
8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Reviewed-by: dholmes
1 parent 25f9af9 commit 97ea5bf

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
@@ -213,7 +213,8 @@ JvmtiEnvBase::JvmtiEnvBase(jint version) : _env_event_enable() {
213213
_is_retransformable = true;
214214

215215
// all callbacks initially null
216-
memset(&_event_callbacks,0,sizeof(jvmtiEventCallbacks));
216+
memset(&_event_callbacks, 0, sizeof(jvmtiEventCallbacks));
217+
memset(&_ext_event_callbacks, 0, sizeof(jvmtiExtEventCallbacks));
217218

218219
// all capabilities initially off
219220
memset(&_current_capabilities, 0, sizeof(_current_capabilities));

0 commit comments

Comments
 (0)