Ensure compressed oops flag is written as a string
This commit is contained in:
parent
cfc46da18e
commit
12e241ff1a
|
@ -307,7 +307,7 @@ public class JvmInfo implements Streamable, ToXContent {
|
||||||
builder.field(Fields.GC_COLLECTORS, gcCollectors);
|
builder.field(Fields.GC_COLLECTORS, gcCollectors);
|
||||||
builder.field(Fields.MEMORY_POOLS, memoryPools);
|
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();
|
builder.endObject();
|
||||||
return builder;
|
return builder;
|
||||||
|
|
Loading…
Reference in New Issue