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
|
@ -524,6 +524,8 @@ class methodOopDesc : public oopDesc {
|
|||
void set_is_old() { _access_flags.set_is_old(); }
|
||||
bool is_obsolete() const { return access_flags().is_obsolete(); }
|
||||
void set_is_obsolete() { _access_flags.set_is_obsolete(); }
|
||||
// see the definition in methodOop.cpp for the gory details
|
||||
bool should_not_be_cached() const;
|
||||
|
||||
// JVMTI Native method prefixing support:
|
||||
bool is_prefixed_native() const { return access_flags().is_prefixed_native(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue