equal
deleted
inserted
replaced
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); |