8166501: compilation error in stackwalk.cpp on some gccs

Reviewed-by: coleenp
This commit is contained in:
Brent Christian 2016-09-22 10:24:25 -07:00
parent 3953f5a523
commit 362c2a8f6d

View File

@ -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, &regMap);
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);
}
}