Mercurial > hg > graal-compiler
diff src/share/vm/runtime/virtualspace.hpp @ 12834:04b18a42c2f3
8025526: VirtualSpace should support per-instance disabling of large pages
Summary: Add a new initialization function to VirtualSpace which allows the caller to override the max commit granularity.
Reviewed-by: stefank, ehelin, tschatzl
author | mgerdin |
---|---|
date | Fri, 04 Oct 2013 13:33:02 +0200 |
parents | 8c5e6482cbfc |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/runtime/virtualspace.hpp Sat Oct 05 08:01:36 2013 -0700 +++ b/src/share/vm/runtime/virtualspace.hpp Fri Oct 04 13:33:02 2013 +0200 @@ -178,6 +178,7 @@ public: // Initialization VirtualSpace(); + bool initialize_with_granularity(ReservedSpace rs, size_t committed_byte_size, size_t max_commit_ganularity); bool initialize(ReservedSpace rs, size_t committed_byte_size); // Destruction