# HG changeset patch # User Thomas Wuerthinger # Date 1362500201 -3600 # Node ID d4e6c82cd6a17e78708545c0a800bd406a5e93e8 # Parent 57726bff1d9f707b9f27d88c33fd376144242cfd Remove deferred write logic. diff -r 57726bff1d9f -r d4e6c82cd6a1 src/share/vm/code/scopeDesc.cpp --- 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* 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* result = new GrowableArray (length); - for (int index = 0; index < length; index++) { - result->push(new DeferredWriteValue(stream)); - } - return result; -} - -GrowableArray* 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* 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 diff -r 57726bff1d9f -r d4e6c82cd6a1 src/share/vm/code/scopeDesc.hpp --- 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* expressions(); GrowableArray* monitors(); GrowableArray* objects(); -#ifdef GRAAL - GrowableArray* deferred_writes(); -#endif // GRAAL // Stack walking, returns NULL if this is the outer most scope. ScopeDesc* sender() const;