src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleWriter.cpp
branchJEP-349-branch
changeset 57937 c72ed9929e02
parent 57936 1b2d0f4c1e38
child 57983 a57907813a83
equal deleted inserted replaced
57936:1b2d0f4c1e38 57937:c72ed9929e02
   592     }
   592     }
   593   }
   593   }
   594 };
   594 };
   595 
   595 
   596 class RootType : public JfrSerializer {
   596 class RootType : public JfrSerializer {
   597 public:
   597  public:
   598   void serialize(JfrCheckpointWriter& writer) {
   598   void serialize(JfrCheckpointWriter& writer) {
   599     const u4 nof_root_types = OldObjectRoot::_number_of_types;
   599     const u4 nof_root_types = OldObjectRoot::_number_of_types;
   600     writer.write_count(nof_root_types);
   600     writer.write_count(nof_root_types);
   601     for (u4 i = 0; i < nof_root_types; ++i) {
   601     for (u4 i = 0; i < nof_root_types; ++i) {
   602       writer.write_key(i);
   602       writer.write_key(i);