# HG changeset patch # User mgronlun # Date 1374249387 -7200 # Node ID 28a8224681eb14fd003a86e8302306cd9f2795a1 # Parent a618cc62ae1cd242607d42fa75bf21303442e15d 8020547: Event based tracing needs a UNICODE string type Reviewed-by: egahlin, rbackman, dcubed, brutisso, acorn diff -r a618cc62ae1c -r 28a8224681eb hotspot/src/share/vm/trace/traceDataTypes.hpp --- a/hotspot/src/share/vm/trace/traceDataTypes.hpp Thu Jul 18 18:00:39 2013 -0700 +++ b/hotspot/src/share/vm/trace/traceDataTypes.hpp Fri Jul 19 17:56:27 2013 +0200 @@ -63,5 +63,7 @@ typedef u8 methodid; typedef u8 fieldid; +class TraceUnicodeString; + #endif // SHARE_VM_TRACE_TRACEDATATYPES_HPP diff -r a618cc62ae1c -r 28a8224681eb hotspot/src/share/vm/trace/tracetypes.xml --- a/hotspot/src/share/vm/trace/tracetypes.xml Thu Jul 18 18:00:39 2013 -0700 +++ b/hotspot/src/share/vm/trace/tracetypes.xml Fri Jul 19 17:56:27 2013 +0200 @@ -55,18 +55,6 @@ type="u8" sizeop="sizeof(u1)"/> Now we can use the content + data type in declaring event fields. -Remember however, that for us to be able to resolve the value later we must also add -creating the constant pool data in VM_JFRCheckpoint::write_checkpoint - - ... - //CGMODE - w->be_uint(CONTENT_TYPE_GCMODE); - w->be_uint(MM_GC_MODE_UNINITIALIZED); - for (i = 0; i < MM_GC_MODE_UNINITIALIZED; i++) { - w->uchar(i); - w->write_utf8(gcModeGetName(i)); - } - --> @@ -81,10 +69,6 @@ - @@ -285,6 +269,10 @@ + + + - -