Ensure compressed oops flag is written as a string

This commit is contained in:
Jason Tedor 2015-12-16 17:29:08 -05:00
parent cfc46da18e
commit 12e241ff1a
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ public class JvmInfo implements Streamable, ToXContent {
builder.field(Fields.GC_COLLECTORS, gcCollectors);
builder.field(Fields.MEMORY_POOLS, memoryPools);
builder.field(Fields.USING_COMPRESSED_OOPS, usingCompressedOops == null ? "unknown" : usingCompressedOops);
builder.field(Fields.USING_COMPRESSED_OOPS, usingCompressedOops == null ? "unknown" : Boolean.toString(usingCompressedOops));
builder.endObject();
return builder;