src/hotspot/share/prims/jvmtiTagMap.cpp
changeset 58722 cba8afa5cfed
parent 58177 4932dce35882
child 59153 1152339c298a
equal deleted inserted replaced
58720:ae0af9fb3dbb 58722:cba8afa5cfed
  1030   return false;
  1030   return false;
  1031 }
  1031 }
  1032 
  1032 
  1033 // helper function to tell if a field is a primitive field or not
  1033 // helper function to tell if a field is a primitive field or not
  1034 static inline bool is_primitive_field_type(char type) {
  1034 static inline bool is_primitive_field_type(char type) {
  1035   return (type != 'L' && type != '[');
  1035   return (type != JVM_SIGNATURE_CLASS && type != JVM_SIGNATURE_ARRAY);
  1036 }
  1036 }
  1037 
  1037 
  1038 // helper function to copy the value from location addr to jvalue.
  1038 // helper function to copy the value from location addr to jvalue.
  1039 static inline void copy_to_jvalue(jvalue *v, address addr, jvmtiPrimitiveType value_type) {
  1039 static inline void copy_to_jvalue(jvalue *v, address addr, jvmtiPrimitiveType value_type) {
  1040   switch (value_type) {
  1040   switch (value_type) {