changeset 53702:fc51ef784b16 cont

fix StackWalk
author rpressler
date Wed, 30 Jan 2019 12:20:28 +0000
parents 7aa0a91d14a4
children c5d52c357c6e e832ab8db723
files src/hotspot/share/prims/stackwalk.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/prims/stackwalk.cpp	Tue Jan 29 21:24:37 2019 +0000
+++ b/src/hotspot/share/prims/stackwalk.cpp	Wed Jan 30 12:20:28 2019 +0000
@@ -118,7 +118,7 @@
   BaseFrameStream::set_continuation(cont);
 
   _jvf = Continuation::last_java_vframe(continuation(), _map); // we must not use the handle argument (lifetime; see BaseFrameStream::set_continuation)
-  _cont = cont;
+  _cont = continuation(); // *(_cont.raw_value()) = cont(); // preserve handle
 }
 
 void JavaFrameStream::next() {