changeset 7932:d4e6c82cd6a1

Remove deferred write logic.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 05 Mar 2013 17:16:41 +0100
parents 57726bff1d9f
children 85bd81dba8fc
files src/share/vm/code/scopeDesc.cpp src/share/vm/code/scopeDesc.hpp
diffstat 2 files changed, 0 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/code/scopeDesc.cpp	Tue Mar 05 16:43:34 2013 +0100
+++ b/src/share/vm/code/scopeDesc.cpp	Tue Mar 05 17:16:41 2013 +0100
@@ -132,25 +132,6 @@
   return result;
 }
 
-#ifdef GRAAL
-
-GrowableArray<DeferredWriteValue*>* ScopeDesc::decode_deferred_writes(int decode_offset) {
-  if (decode_offset == DebugInformationRecorder::serialized_null) return NULL;
-  DebugInfoReadStream* stream  = stream_at(decode_offset);
-  int length = stream->read_int();
-  GrowableArray<DeferredWriteValue*>* result = new GrowableArray<DeferredWriteValue*> (length);
-  for (int index = 0; index < length; index++) {
-    result->push(new DeferredWriteValue(stream));
-  }
-  return result;
-}
-
-GrowableArray<DeferredWriteValue*>* ScopeDesc::deferred_writes() {
-  return decode_deferred_writes(_deferred_writes_decode_offset);
-}
-
-#endif // GRAAL
-
 DebugInfoReadStream* ScopeDesc::stream_at(int decode_offset) const {
   return new DebugInfoReadStream(_code, decode_offset, _objects);
 }
@@ -261,19 +242,6 @@
     }
   }
 #endif // COMPILER2 || GRAAL
-#ifdef GRAAL
-  // deferred writes
-  { GrowableArray<DeferredWriteValue*>* l = ((ScopeDesc*) this)->deferred_writes();
-    if (l != NULL) {
-      st->print_cr("   Deferred writes");
-      for (int index = 0; index < l->length(); index++) {
-        st->print("    - @%d: ", index);
-        l->at(index)->print_on(st);
-        st->cr();
-      }
-    }
-  }
-#endif
 }
 
 #endif
--- a/src/share/vm/code/scopeDesc.hpp	Tue Mar 05 16:43:34 2013 +0100
+++ b/src/share/vm/code/scopeDesc.hpp	Tue Mar 05 17:16:41 2013 +0100
@@ -78,9 +78,6 @@
   GrowableArray<ScopeValue*>*   expressions();
   GrowableArray<MonitorValue*>* monitors();
   GrowableArray<ScopeValue*>*   objects();
-#ifdef GRAAL
-  GrowableArray<DeferredWriteValue*>* deferred_writes();
-#endif // GRAAL
 
   // Stack walking, returns NULL if this is the outer most scope.
   ScopeDesc* sender() const;