mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8253180: ZGC: Implementation of JEP 376: ZGC: Concurrent Thread-Stack Processing
Reviewed-by: stefank, pliden, rehn, neliasso, coleenp, smonteith
This commit is contained in:
parent
a2f651904d
commit
b9873e1833
131 changed files with 2428 additions and 572 deletions
|
@ -134,7 +134,7 @@ void VM_DeoptimizeAll::doit() {
|
|||
tcount = 0;
|
||||
int fcount = 0;
|
||||
// Deoptimize some selected frames.
|
||||
for(StackFrameStream fst(thread, false); !fst.is_done(); fst.next()) {
|
||||
for(StackFrameStream fst(thread, false /* update */, true /* process_frames */); !fst.is_done(); fst.next()) {
|
||||
if (fst.current()->can_be_deoptimized()) {
|
||||
if (fcount++ == fnum) {
|
||||
fcount = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue