diff options
Diffstat (limited to 'runtime/gc/space/image_space.h')
-rw-r--r-- | runtime/gc/space/image_space.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/gc/space/image_space.h b/runtime/gc/space/image_space.h index 54dc7a6..93ff8aa 100644 --- a/runtime/gc/space/image_space.h +++ b/runtime/gc/space/image_space.h @@ -152,6 +152,10 @@ class ImageSpace : public MemMapSpace { // the ClassLinker during it's initialization. std::unique_ptr<OatFile> oat_file_; + // There are times when we need to find the boot image oat file. As + // we release ownership during startup, keep a non-owned reference. + const OatFile* oat_file_non_owned_; + const std::string image_location_; DISALLOW_COPY_AND_ASSIGN(ImageSpace); |