src/share/vm/memory/metaspaceShared.hpp

Print this page
rev 6938 : 8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC

*** 39,49 **** #define LargeThresholdClassCount 5000 #define HugeThresholdClassCount 40000 #define SET_ESTIMATED_SIZE(type, region) \ Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \ ! (type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size class FileMapInfo; // Class Data Sharing Support class MetaspaceShared : AllStatic { --- 39,49 ---- #define LargeThresholdClassCount 5000 #define HugeThresholdClassCount 40000 #define SET_ESTIMATED_SIZE(type, region) \ Shared ##region## Size = FLAG_IS_DEFAULT(Shared ##region## Size) ? \ ! (uintx)(type ## SharedArchiveSize * region ## RegionPercentage) : Shared ## region ## Size class FileMapInfo; // Class Data Sharing Support class MetaspaceShared : AllStatic {