Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiEnvBase.hpp @ 611:2f716c0acb64
6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Summary: Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248]().
Reviewed-by: coleenp, swamyv
author | dcubed |
---|---|
date | Mon, 02 Mar 2009 14:05:07 -0700 |
parents | a61af66fc99e |
children | dcb15a6f342d |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiEnvBase.hpp Mon Mar 02 14:03:03 2009 -0700 +++ b/src/share/vm/prims/jvmtiEnvBase.hpp Mon Mar 02 14:05:07 2009 -0700 @@ -120,7 +120,7 @@ public: - bool is_valid() { return _magic == JVMTI_MAGIC; } + bool is_valid(); bool is_retransformable() { return _is_retransformable; }