changeset 12049:15ae86213202

8166501: compilation error in stackwalk.cpp on some gccs Reviewed-by: coleenp
author bchristi
date Thu, 22 Sep 2016 10:24:25 -0700
parents fefc408b0778
children d354727ce2d1 a2f56f1169d4
files src/share/vm/prims/stackwalk.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/stackwalk.cpp	Thu Sep 22 16:41:01 2016 +0200
+++ b/src/share/vm/prims/stackwalk.cpp	Thu Sep 22 10:24:25 2016 -0700
@@ -331,10 +331,12 @@
     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);
   }
 }