8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks

Reviewed-by: dholmes
This commit is contained in:
Roman Marchenko 2023-11-14 14:36:18 +00:00 committed by Yuri Nesterenko
parent 25f9af99be
commit 97ea5bf0ff

View File

@ -213,7 +213,8 @@ JvmtiEnvBase::JvmtiEnvBase(jint version) : _env_event_enable() {
_is_retransformable = true;
// all callbacks initially null
memset(&_event_callbacks,0,sizeof(jvmtiEventCallbacks));
memset(&_event_callbacks, 0, sizeof(jvmtiEventCallbacks));
memset(&_ext_event_callbacks, 0, sizeof(jvmtiExtEventCallbacks));
// all capabilities initially off
memset(&_current_capabilities, 0, sizeof(_current_capabilities));