8178489: Make align functions more type safe and consistent

Reviewed-by: mgerdin, rehn
This commit is contained in:
Stefan Karlsson 2017-04-12 17:53:18 +02:00
parent 229f386a8f
commit 0fcf645cff
49 changed files with 134 additions and 140 deletions

View file

@ -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;
}