@@ -68,6 +68,7 @@ enum MetadataTypeID {
68
68
JVMInformationID = 86 ,
69
69
OSInformationID = 87 ,
70
70
VirtualizationInformationID = 88 ,
71
+ InitialSystemPropertyID = 89 ,
71
72
CPUInformationID = 92 ,
72
73
PhysicalMemoryID = 107 ,
73
74
ExecutionSampleID = 108 ,
@@ -153,6 +154,7 @@ class VM_JFRChunkWriter {
153
154
static constexpr int VIRTUALIZATION_INFORMATION_EVENT_SIZE = 50 ;
154
155
static constexpr int CPU_INFORMATION_EVENT_SIZE = 600 ;
155
156
static constexpr int OS_INFORMATION_EVENT_SIZE = 100 ;
157
+ static constexpr int INITIAL_SYSTEM_PROPERTY_EVENT_SIZE = 6000 ;
156
158
157
159
static constexpr int METADATA_ID = 1 ;
158
160
@@ -330,6 +332,8 @@ class VM_JFRChunkWriter {
330
332
writeVirtualizationInformationEvent ();
331
333
332
334
writeOSInformationEvent ();
335
+
336
+ writeInitialSystemPropertyEvents (_vm);
333
337
}
334
338
335
339
writePhysicalMemoryEvent ();
@@ -531,6 +535,8 @@ class VM_JFRChunkWriter {
531
535
532
536
U_8 *writeOSInformationEvent ();
533
537
538
+ void writeInitialSystemPropertyEvents (J9JavaVM *vm);
539
+
534
540
UDATA
535
541
calculateRequiredBufferSize ()
536
542
{
@@ -579,6 +585,7 @@ class VM_JFRChunkWriter {
579
585
580
586
requireBufferSize += CPU_INFORMATION_EVENT_SIZE;
581
587
588
+ requireBufferSize += INITIAL_SYSTEM_PROPERTY_EVENT_SIZE;
582
589
return requireBufferSize;
583
590
}
584
591
0 commit comments