Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/arguments.hpp @ 20388:7430aa5718a5
Merge
author | amurillo |
---|---|
date | Wed, 03 Sep 2014 08:52:08 -0700 |
parents | 6e0cb14ce59b f933a15469d4 |
children | 8ec8971f511a |
comparison
equal
deleted
inserted
replaced
20386:edb5f3b38aab | 20388:7430aa5718a5 |
---|---|
282 static bool _has_profile; | 282 static bool _has_profile; |
283 static const char* _gc_log_filename; | 283 static const char* _gc_log_filename; |
284 // Value of the conservative maximum heap alignment needed | 284 // Value of the conservative maximum heap alignment needed |
285 static size_t _conservative_max_heap_alignment; | 285 static size_t _conservative_max_heap_alignment; |
286 | 286 |
287 static uintx _min_heap_size; | 287 static uintx _min_heap_size; |
288 | |
289 // Used to store original flag values | |
290 static uintx _min_heap_free_ratio; | |
291 static uintx _max_heap_free_ratio; | |
288 | 292 |
289 // -Xrun arguments | 293 // -Xrun arguments |
290 static AgentLibraryList _libraryList; | 294 static AgentLibraryList _libraryList; |
291 static void add_init_library(const char* name, char* options) | 295 static void add_init_library(const char* name, char* options) |
292 { _libraryList.add(new AgentLibrary(name, options, false, NULL)); } | 296 { _libraryList.add(new AgentLibrary(name, options, false, NULL)); } |
512 | 516 |
513 // -Xms, -Xmx | 517 // -Xms, -Xmx |
514 static uintx min_heap_size() { return _min_heap_size; } | 518 static uintx min_heap_size() { return _min_heap_size; } |
515 static void set_min_heap_size(uintx v) { _min_heap_size = v; } | 519 static void set_min_heap_size(uintx v) { _min_heap_size = v; } |
516 | 520 |
521 // Returns the original values of -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio | |
522 static uintx min_heap_free_ratio() { return _min_heap_free_ratio; } | |
523 static uintx max_heap_free_ratio() { return _max_heap_free_ratio; } | |
524 | |
517 // -Xrun | 525 // -Xrun |
518 static AgentLibrary* libraries() { return _libraryList.first(); } | 526 static AgentLibrary* libraries() { return _libraryList.first(); } |
519 static bool init_libraries_at_startup() { return !_libraryList.is_empty(); } | 527 static bool init_libraries_at_startup() { return !_libraryList.is_empty(); } |
520 static void convert_library_to_agent(AgentLibrary* lib) | 528 static void convert_library_to_agent(AgentLibrary* lib) |
521 { _libraryList.remove(lib); | 529 { _libraryList.remove(lib); |