mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +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
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -410,7 +410,7 @@ public:
|
|||
|
||||
// Split up and initialize the misc code and data spaces
|
||||
ReservedSpace* shared_rs = MetaspaceShared::shared_rs();
|
||||
int metadata_size = SharedReadOnlySize+SharedReadWriteSize;
|
||||
size_t metadata_size = SharedReadOnlySize + SharedReadWriteSize;
|
||||
ReservedSpace shared_ro_rw = shared_rs->first_part(metadata_size);
|
||||
ReservedSpace misc_section = shared_rs->last_part(metadata_size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue