1.1 --- a/src/share/vm/utilities/globalDefinitions.hpp Thu Feb 20 06:28:18 2020 +0000 1.2 +++ b/src/share/vm/utilities/globalDefinitions.hpp Tue Dec 03 20:13:16 2019 +0300 1.3 @@ -644,6 +644,10 @@ 1.4 return (t == T_BYTE || t == T_SHORT); 1.5 } 1.6 1.7 +inline bool is_reference_type(BasicType t) { 1.8 + return (t == T_OBJECT || t == T_ARRAY); 1.9 +} 1.10 + 1.11 // Convert a char from a classfile signature to a BasicType 1.12 inline BasicType char2type(char c) { 1.13 switch( c ) {