comparison src/share/vm/utilities/globalDefinitions.hpp @ 1763:d6f45b55c972

4809552: Optimize Arrays.fill(...) Reviewed-by: kvn
author never
date Fri, 27 Aug 2010 17:33:49 -0700
parents a93a9eda13f7
children d5d065957597
comparison
equal deleted inserted replaced
1731:ee5cc9e78493 1763:d6f45b55c972
527 527
528 extern int _type2aelembytes[T_CONFLICT+1]; // maps a BasicType to nof bytes used by its array element 528 extern int _type2aelembytes[T_CONFLICT+1]; // maps a BasicType to nof bytes used by its array element
529 #ifdef ASSERT 529 #ifdef ASSERT
530 extern int type2aelembytes(BasicType t, bool allow_address = false); // asserts 530 extern int type2aelembytes(BasicType t, bool allow_address = false); // asserts
531 #else 531 #else
532 inline int type2aelembytes(BasicType t) { return _type2aelembytes[t]; } 532 inline int type2aelembytes(BasicType t, bool allow_address = false) { return _type2aelembytes[t]; }
533 #endif 533 #endif
534 534
535 535
536 // JavaValue serves as a container for arbitrary Java values. 536 // JavaValue serves as a container for arbitrary Java values.
537 537