mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6599425: 4/3 OopMapCache::lookup() can cause later crash or assert() failure
Add should_not_be_cached() to markOop and methodOop and query that status inOopMapCache::lookup() Reviewed-by: coleenp, sspitsyn, jmasa
This commit is contained in:
parent
0f1d30354a
commit
f813016add
7 changed files with 71 additions and 14 deletions
|
@ -357,4 +357,7 @@ class markOopDesc: public oopDesc {
|
|||
|
||||
// Recover address of oop from encoded form used in mark
|
||||
inline void* decode_pointer() { if (UseBiasedLocking && has_bias_pattern()) return NULL; return clear_lock_bits(); }
|
||||
|
||||
// see the definition in markOop.cpp for the gory details
|
||||
bool should_not_be_cached() const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue