< prev index next >

src/hotspot/share/ci/ciSymbol.cpp

Print this page




  69 
  70 // ------------------------------------------------------------------
  71 // ciSymbol::base
  72 const u1* ciSymbol::base() {
  73   GUARDED_VM_ENTRY(return get_symbol()->base();)
  74 }
  75 
  76 // ------------------------------------------------------------------
  77 // ciSymbol::char_at
  78 char ciSymbol::char_at(int i) {
  79   GUARDED_VM_ENTRY(return get_symbol()->char_at(i);)
  80 }
  81 
  82 // ------------------------------------------------------------------
  83 // ciSymbol::starts_with
  84 //
  85 // Tests if the symbol starts with the given prefix.
  86 bool ciSymbol::starts_with(const char* prefix, int len) const {
  87   GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
  88 }














  89 
  90 bool ciSymbol::is_signature_polymorphic_name()  const {
  91   GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
  92 }
  93 
  94 // ------------------------------------------------------------------
  95 // ciSymbol::index_of
  96 //
  97 // Determines where the symbol contains the given substring.
  98 int ciSymbol::index_of_at(int i, const char* str, int len) const {
  99   GUARDED_VM_ENTRY(return get_symbol()->index_of_at(i, str, len);)
 100 }
 101 
 102 // ------------------------------------------------------------------
 103 // ciSymbol::utf8_length
 104 int ciSymbol::utf8_length() {
 105   GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)






 106 }
 107 
 108 // ------------------------------------------------------------------
 109 // ciSymbol::print_impl
 110 //
 111 // Implementation of the print method
 112 void ciSymbol::print_impl(outputStream* st) {
 113   st->print(" value=");
 114   print_symbol_on(st);
 115 }
 116 
 117 // ------------------------------------------------------------------
 118 // ciSymbol::print_symbol_on
 119 //
 120 // Print the value of this symbol on an outputStream
 121 void ciSymbol::print_symbol_on(outputStream *st) {
 122   GUARDED_VM_ENTRY(get_symbol()->print_symbol_on(st);)
 123 }
 124 
 125 const char* ciSymbol::as_klass_external_name() const {


  69 
  70 // ------------------------------------------------------------------
  71 // ciSymbol::base
  72 const u1* ciSymbol::base() {
  73   GUARDED_VM_ENTRY(return get_symbol()->base();)
  74 }
  75 
  76 // ------------------------------------------------------------------
  77 // ciSymbol::char_at
  78 char ciSymbol::char_at(int i) {
  79   GUARDED_VM_ENTRY(return get_symbol()->char_at(i);)
  80 }
  81 
  82 // ------------------------------------------------------------------
  83 // ciSymbol::starts_with
  84 //
  85 // Tests if the symbol starts with the given prefix.
  86 bool ciSymbol::starts_with(const char* prefix, int len) const {
  87   GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
  88 }
  89 bool ciSymbol::starts_with(char prefix_char) const {
  90   GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix_char);)
  91 }
  92 
  93 // ------------------------------------------------------------------
  94 // ciSymbol::ends_with
  95 //
  96 // Tests if the symbol ends with the given suffix.
  97 bool ciSymbol::ends_with(const char* suffix, int len) const {
  98   GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix, len);)
  99 }
 100 bool ciSymbol::ends_with(char suffix_char) const {
 101   GUARDED_VM_ENTRY(return get_symbol()->ends_with(suffix_char);)
 102 }
 103 
 104 bool ciSymbol::is_signature_polymorphic_name()  const {
 105   GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
 106 }
 107 
 108 // ------------------------------------------------------------------
 109 // ciSymbol::index_of
 110 //
 111 // Determines where the symbol contains the given substring.
 112 int ciSymbol::index_of_at(int i, const char* str, int len) const {
 113   GUARDED_VM_ENTRY(return get_symbol()->index_of_at(i, str, len);)
 114 }
 115 
 116 // ------------------------------------------------------------------
 117 // ciSymbol::utf8_length
 118 int ciSymbol::utf8_length() {
 119   GUARDED_VM_ENTRY(return get_symbol()->utf8_length();)
 120 }
 121 
 122 // ------------------------------------------------------------------
 123 // ciSymbol::is_Q_signature
 124 bool ciSymbol::is_Q_signature() {
 125   GUARDED_VM_ENTRY(return get_symbol()->is_Q_signature();)
 126 }
 127 
 128 // ------------------------------------------------------------------
 129 // ciSymbol::print_impl
 130 //
 131 // Implementation of the print method
 132 void ciSymbol::print_impl(outputStream* st) {
 133   st->print(" value=");
 134   print_symbol_on(st);
 135 }
 136 
 137 // ------------------------------------------------------------------
 138 // ciSymbol::print_symbol_on
 139 //
 140 // Print the value of this symbol on an outputStream
 141 void ciSymbol::print_symbol_on(outputStream *st) {
 142   GUARDED_VM_ENTRY(get_symbol()->print_symbol_on(st);)
 143 }
 144 
 145 const char* ciSymbol::as_klass_external_name() const {
< prev index next >