src/hotspot/share/asm/codeBuffer.hpp
changeset 57834 e686b661fa05
parent 55329 03af124751f5
child 58679 9c3209ff7550
--- a/src/hotspot/share/asm/codeBuffer.hpp	Thu Aug 22 12:22:02 2019 +0200
+++ b/src/hotspot/share/asm/codeBuffer.hpp	Thu Aug 22 12:24:02 2019 +0200
@@ -249,6 +249,7 @@
 private:
 #ifndef PRODUCT
   CodeString* _strings;
+  CodeString* _strings_last;
 #ifdef ASSERT
   // Becomes true after copy-out, forbids further use.
   bool _defunct; // Zero bit pattern is "valid", see memset call in decode_env::decode_env
@@ -262,6 +263,7 @@
   void set_null_and_invalidate() {
 #ifndef PRODUCT
     _strings = NULL;
+    _strings_last = NULL;
 #ifdef ASSERT
     _defunct = true;
 #endif
@@ -272,6 +274,7 @@
   CodeStrings() {
 #ifndef PRODUCT
     _strings = NULL;
+    _strings_last = NULL;
 #ifdef ASSERT
     _defunct = false;
 #endif