Mercurial > hg > graal-compiler
changeset 15100:fe11cb3c7882
enable sharing of debug info all the time
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 14 Apr 2014 15:07:05 -0700 |
parents | 0fab2ac29847 |
children | 9f7eac122d61 |
files | src/share/vm/code/debugInfoRec.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;