mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer. Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
This commit is contained in:
parent
696ef20cb4
commit
6538c5134b
14 changed files with 60 additions and 80 deletions
|
@ -289,11 +289,6 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
// (A scavenge is a GC which is not a full GC.)
|
||||
virtual bool is_scavengable(const void *p) = 0;
|
||||
|
||||
// Returns "TRUE" if "p" is a method oop in the
|
||||
// current heap, with high probability. This predicate
|
||||
// is not stable, in general.
|
||||
bool is_valid_method(Method* p) const;
|
||||
|
||||
void set_gc_cause(GCCause::Cause v) {
|
||||
if (UsePerfData) {
|
||||
_gc_lastcause = _gc_cause;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue