--- old/src/share/vm/libadt/vectset.cpp 2016-04-03 23:32:42.317874091 -0700 +++ new/src/share/vm/libadt/vectset.cpp 2016-04-03 23:32:42.168860773 -0700 @@ -31,7 +31,7 @@ // BitsInByte is a lookup table which tells the number of bits that // are in the looked-up number. It is very useful in VectorSet_Size. -uint8_t bitsInByte[256] = { +uint8_t bitsInByte[BITS_IN_BYTE_ARRAY_SIZE] = { 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, --- old/src/share/vm/libadt/vectset.hpp 2016-04-03 23:32:43.158949260 -0700 +++ new/src/share/vm/libadt/vectset.hpp 2016-04-03 23:32:42.974932814 -0700 @@ -27,6 +27,8 @@ #include "libadt/set.hpp" +#define BITS_IN_BYTE_ARRAY_SIZE 256 + // Vector Sets - An Abstract Data Type //INTERFACE --- old/src/share/vm/opto/regmask.cpp 2016-04-03 23:32:43.935018620 -0700 +++ new/src/share/vm/opto/regmask.cpp 2016-04-03 23:32:43.743001459 -0700 @@ -389,7 +389,7 @@ //------------------------------Size------------------------------------------- // Compute size of register mask in bits uint RegMask::Size() const { - extern uint8_t bitsInByte[512]; + extern uint8_t bitsInByte[BITS_IN_BYTE_ARRAY_SIZE]; uint sum = 0; for( int i = 0; i < RM_SIZE; i++ ) sum +=