mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8329088: Stack chunk thawing races with concurrent GC stack iteration
Reviewed-by: stefank, pchilanomate
This commit is contained in:
parent
c4fe5bf90c
commit
8bcd2e61ae
12 changed files with 85 additions and 77 deletions
|
@ -31,10 +31,10 @@ public final class StackChunk {
|
|||
private StackChunk parent;
|
||||
private int size; // in words
|
||||
private int sp; // in words
|
||||
private int argsize; // bottom stack-passed arguments, in words
|
||||
private int bottom; // in words
|
||||
|
||||
// The stack itself is appended here by the VM, as well as some injected fields
|
||||
|
||||
public StackChunk parent() { return parent; }
|
||||
public boolean isEmpty() { return sp >= (size - argsize); }
|
||||
public boolean isEmpty() { return sp == bottom; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue