mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-04 09:42:34 +00:00
8166501: compilation error in stackwalk.cpp on some gccs
Reviewed-by: coleenp
This commit is contained in:
parent
3953f5a523
commit
362c2a8f6d
@ -331,10 +331,12 @@ oop StackWalk::walk(Handle stackStream, jlong mode,
|
||||
assert (use_frames_array(mode), "Bad mode for get live frame");
|
||||
RegisterMap regMap(jt, true);
|
||||
LiveFrameStream stream(jt, ®Map);
|
||||
return fetchFirstBatch(stream, stackStream, mode, skip_frames, frame_count, start_index, frames_array, CHECK_NULL);
|
||||
return fetchFirstBatch(stream, stackStream, mode, skip_frames, frame_count,
|
||||
start_index, frames_array, THREAD);
|
||||
} else {
|
||||
JavaFrameStream stream(jt, mode);
|
||||
return fetchFirstBatch(stream, stackStream, mode, skip_frames, frame_count, start_index, frames_array, CHECK_NULL);
|
||||
return fetchFirstBatch(stream, stackStream, mode, skip_frames, frame_count,
|
||||
start_index, frames_array, THREAD);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user