8140663: FrameValue might be used uninitialized
authordsamersoff
Wed, 28 Oct 2015 21:47:31 +0300
changeset 33614 6ca1ebbf0dc1
parent 33609 299b060a610d
child 33615 c8116ce58d71
8140663: FrameValue might be used uninitialized Summary: Add a constructor Reviewed-by: sspitsyn, jwilhelm
hotspot/src/share/vm/runtime/frame.hpp
--- a/hotspot/src/share/vm/runtime/frame.hpp	Wed Oct 14 14:51:10 2015 +0200
+++ b/hotspot/src/share/vm/runtime/frame.hpp	Wed Oct 28 21:47:31 2015 +0300
@@ -442,6 +442,14 @@
   char* description;
   int owner;
   int priority;
+
+  FrameValue() {
+    location = NULL;
+    description = NULL;
+    owner = -1;
+    priority = 0;
+  }
+
 };