8312412: Uninitialized klassVtable::_verify_count field

Reviewed-by: shade, phh
This commit is contained in:
Elif Aslan 2024-06-07 19:32:57 +00:00 committed by Paul Hohensee
parent 17bd483ff0
commit c37d02aef3

View File

@ -54,6 +54,9 @@ class klassVtable {
klassVtable(Klass* klass, void* base, int length) : _klass(klass) {
_tableOffset = int((address)base - (address)klass);
_length = length;
#ifndef PRODUCT
_verify_count = 0;
#endif
}
// accessors