mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
9f7fa061c5
commit
c1bc0a31b2
38 changed files with 267 additions and 267 deletions
|
@ -530,8 +530,8 @@ class Arguments : AllStatic {
|
|||
static bool has_profile() { return _has_profile; }
|
||||
|
||||
// -Xms
|
||||
static uintx min_heap_size() { return _min_heap_size; }
|
||||
static void set_min_heap_size(uintx v) { _min_heap_size = v; }
|
||||
static size_t min_heap_size() { return _min_heap_size; }
|
||||
static void set_min_heap_size(size_t v) { _min_heap_size = v; }
|
||||
|
||||
// Returns the original values of -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio
|
||||
static uintx min_heap_free_ratio() { return _min_heap_free_ratio; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue