#include <snapshot.hpp>
Inheritance diagram for SnapshotDesc:
Public Member Functions | |
void | read_from (char *name) |
void | write_on (char *name) |
bool | has_error () |
symbolOop | error_symbol () |
void | error (char *msg) |
Private Member Functions | |
void | read_header () |
void | write_header () |
void | read_sizes () |
void | write_sizes () |
void | read_revision () |
void | write_revision () |
void | read_roots () |
void | write_roots () |
void | read_spaces () |
void | write_spaces () |
void | read_zone () |
void | write_zone () |
Private Attributes | |
FILE * | file |
bool | _has_error |
Friends | |
class | WriteClosure |
class | ReadClosure |
Definition at line 27 of file snapshot.hpp.
void SnapshotDesc::error | ( | char * | msg | ) |
symbolOop SnapshotDesc::error_symbol | ( | ) |
bool SnapshotDesc::has_error | ( | ) | [inline] |
void SnapshotDesc::read_from | ( | char * | name | ) |
Definition at line 107 of file snapshot.cpp.
References read_header(), read_roots(), read_spaces(), and read_zone().
Here is the call graph for this function:
void SnapshotDesc::read_header | ( | ) | [private] |
Definition at line 28 of file snapshot.cpp.
References read_revision(), and read_sizes().
Referenced by read_from().
Here is the call graph for this function:
void SnapshotDesc::read_revision | ( | ) | [private] |
Definition at line 48 of file snapshot.cpp.
References file, Universe::major_version(), revision_format, and Universe::snapshot_version().
Referenced by read_header().
Here is the call graph for this function:
void SnapshotDesc::read_roots | ( | ) | [private] |
Definition at line 81 of file snapshot.cpp.
References Universe::root_iterate().
Referenced by read_from().
Here is the call graph for this function:
void SnapshotDesc::read_sizes | ( | ) | [private] |
void SnapshotDesc::read_spaces | ( | ) | [private] |
void SnapshotDesc::read_zone | ( | ) | [private] |
void SnapshotDesc::write_header | ( | ) | [private] |
Definition at line 33 of file snapshot.cpp.
References write_revision(), and write_sizes().
Referenced by write_on().
Here is the call graph for this function:
void SnapshotDesc::write_on | ( | char * | name | ) |
Definition at line 114 of file snapshot.cpp.
References write_header(), write_roots(), write_spaces(), and write_zone().
Referenced by PRIM_DECL_1().
Here is the call graph for this function:
void SnapshotDesc::write_revision | ( | ) | [private] |
Definition at line 53 of file snapshot.cpp.
References error(), file, Universe::major_version(), revision_format, and Universe::snapshot_version().
Referenced by write_header().
Here is the call graph for this function:
void SnapshotDesc::write_roots | ( | ) | [private] |
Definition at line 86 of file snapshot.cpp.
References Universe::root_iterate().
Referenced by write_on().
Here is the call graph for this function:
void SnapshotDesc::write_sizes | ( | ) | [private] |
void SnapshotDesc::write_spaces | ( | ) | [private] |
void SnapshotDesc::write_zone | ( | ) | [private] |
friend class ReadClosure [friend] |
Definition at line 64 of file snapshot.hpp.
friend class WriteClosure [friend] |
Definition at line 63 of file snapshot.hpp.
bool SnapshotDesc::_has_error [private] |
FILE* SnapshotDesc::file [private] |
Definition at line 29 of file snapshot.hpp.
Referenced by WriteClosure::do_oop(), read_revision(), and write_revision().