Mercurial > hg > truffle
comparison src/share/vm/memory/metaspaceShared.hpp @ 20390:b23a19cd0536
8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC
Summary: cast the result of the conversion to uintx
Reviewed-by: ccheung, coleenp
Contributed-by: volker.simonis@gmail.com
author | ccheung |
---|---|
date | Wed, 27 Aug 2014 10:42:28 -0700 |
parents | 622c6e0ad4d6 |
children | 03e6d34be1f5 |
comparison
equal
deleted
inserted
replaced
20389:622c6e0ad4d6 | 20390:b23a19cd0536 |
---|---|
39 #define LargeThresholdClassCount 5000 | 39 #define LargeThresholdClassCount 5000 |
40 #define HugeThresholdClassCount 40000 | 40 #define HugeThresholdClassCount 40000 |
41 | 41 |
42 #define SET_ESTIMATED_SIZE(type, region) \ | 42 #define SET_ESTIMATED_SIZE(type, region) \ |
43 Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \ | 43 Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \ |
44 (type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size | 44 (uintx)(type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size |
45 | 45 |
46 class FileMapInfo; | 46 class FileMapInfo; |
47 | 47 |
48 // Class Data Sharing Support | 48 // Class Data Sharing Support |
49 class MetaspaceShared : AllStatic { | 49 class MetaspaceShared : AllStatic { |