Simplify command line arguments
Change-Id: I9d6902b0c447fd8fbe5600fd36139791b2ceefb7
diff --git a/src/heap.h b/src/heap.h
index b669a86..76e33b5 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -41,12 +41,11 @@
typedef void (RootVisitor)(const Object* root, void* arg);
- // Create a heap with the requested sizes. The optional boot image may
- // be NULL, otherwise it is an image filename created by ImageWriter.
- // image_file_names specifies application images to load.
+ // Create a heap with the requested sizes. The possible empty
+ // image_file_names names specify Spaces to load based on
+ // ImageWriter output.
static void Init(size_t starting_size, size_t maximum_size,
- const char* boot_image_file_name,
- std::vector<const char*>& image_file_names);
+ const std::vector<std::string>& image_file_names);
static void Destroy();
@@ -105,10 +104,6 @@
return spaces_;
}
- static Space* GetBootSpace() {
- return boot_space_;
- }
-
static HeapBitmap* GetLiveBits() {
return live_bitmap_;
}
@@ -199,10 +194,6 @@
static std::vector<Space*> spaces_;
- // Space loaded from an image
- // TODO: remove after intern_addr is removed
- static Space* boot_space_;
-
// default Space for allocations
static Space* alloc_space_;