# HG changeset patch # User Tom Rodriguez # Date 1397513225 25200 # Node ID fe11cb3c7882ed85f627b657aeb74bc8142912c5 # Parent 0fab2ac2984795c22bc9bb042529b95066a832ba enable sharing of debug info all the time diff -r 0fab2ac29847 -r fe11cb3c7882 src/share/vm/code/debugInfoRec.cpp --- a/src/share/vm/code/debugInfoRec.cpp Mon Apr 14 15:05:52 2014 -0700 +++ b/src/share/vm/code/debugInfoRec.cpp Mon Apr 14 15:07:05 2014 -0700 @@ -235,10 +235,16 @@ int DebugInformationRecorder::find_sharable_decode_offset(int stream_offset) { + // It's always a space win to share and Graal generates quite a bit + // of scopes data so always enable the sharing logic with Graal. + // Presumably this is disabled in regular HotSpot because it makes + // recording more expensive? +#ifndef GRAAL // Only pull this trick if non-safepoint recording // is enabled, for now. if (!recording_non_safepoints()) return serialized_null; +#endif NOT_PRODUCT(++dir_stats.chunks_queried); int stream_length = stream()->position() - stream_offset;