mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248](). Reviewed-by: coleenp, swamyv
This commit is contained in:
parent
da3f81559f
commit
8aebf28301
4 changed files with 60 additions and 2 deletions
|
@ -120,7 +120,7 @@ class JvmtiEnvBase : public CHeapObj {
|
|||
|
||||
public:
|
||||
|
||||
bool is_valid() { return _magic == JVMTI_MAGIC; }
|
||||
bool is_valid();
|
||||
|
||||
bool is_retransformable() { return _is_retransformable; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue