8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
authorsla
Fri, 29 May 2015 09:48:58 +0200
changeset 31024 b619cc1d6ea6
parent 31023 4ad03f76c141
child 31025 5cc170f4923d
8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp Reviewed-by: mgronlun, sspitsyn
hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
--- a/hotspot/src/share/vm/prims/jvmtiEnvBase.cpp	Fri May 29 22:29:44 2015 +0900
+++ b/hotspot/src/share/vm/prims/jvmtiEnvBase.cpp	Fri May 29 09:48:58 2015 +0200
@@ -842,7 +842,7 @@
         // optimize to limit the number of times that java_sender() is called
         javaVFrame *jvf_cursor = jvf;
         javaVFrame *jvf_prev = NULL;
-        javaVFrame *jvf_prev_prev;
+        javaVFrame *jvf_prev_prev = NULL;
         int j = 0;
         while (jvf_cursor != NULL) {
           jvf_prev_prev = jvf_prev;