mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
This commit is contained in:
parent
229f386a8f
commit
0fcf645cff
49 changed files with 134 additions and 140 deletions
|
@ -100,7 +100,7 @@ class OopMapBlock VALUE_OBJ_CLASS_SPEC {
|
|||
|
||||
// sizeof(OopMapBlock) in words.
|
||||
static const int size_in_words() {
|
||||
return align_size_up(int(sizeof(OopMapBlock)), wordSize) >>
|
||||
return align_size_up((int)sizeof(OopMapBlock), wordSize) >>
|
||||
LogBytesPerWord;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue