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:
Daniel D. Daugherty 2008-03-12 18:07:46 -07:00
parent 0f1d30354a
commit f813016add
7 changed files with 71 additions and 14 deletions

View file

@ -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(); }