Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/methodOop.hpp @ 48:d8b3ef7ee3e5
6599425: 4/3 OopMapCache::lookup() can cause later crash or assert() failure
Summary: Add should_not_be_cached() to markOop and methodOop and query that status inOopMapCache::lookup()
Reviewed-by: coleenp, sspitsyn, jmasa
author | dcubed |
---|---|
date | Wed, 12 Mar 2008 18:07:46 -0700 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
47:2c106685d6d0 | 48:d8b3ef7ee3e5 |
---|---|
522 // RedefineClasses() support: | 522 // RedefineClasses() support: |
523 bool is_old() const { return access_flags().is_old(); } | 523 bool is_old() const { return access_flags().is_old(); } |
524 void set_is_old() { _access_flags.set_is_old(); } | 524 void set_is_old() { _access_flags.set_is_old(); } |
525 bool is_obsolete() const { return access_flags().is_obsolete(); } | 525 bool is_obsolete() const { return access_flags().is_obsolete(); } |
526 void set_is_obsolete() { _access_flags.set_is_obsolete(); } | 526 void set_is_obsolete() { _access_flags.set_is_obsolete(); } |
527 // see the definition in methodOop.cpp for the gory details | |
528 bool should_not_be_cached() const; | |
527 | 529 |
528 // JVMTI Native method prefixing support: | 530 // JVMTI Native method prefixing support: |
529 bool is_prefixed_native() const { return access_flags().is_prefixed_native(); } | 531 bool is_prefixed_native() const { return access_flags().is_prefixed_native(); } |
530 void set_is_prefixed_native() { _access_flags.set_is_prefixed_native(); } | 532 void set_is_prefixed_native() { _access_flags.set_is_prefixed_native(); } |
531 | 533 |