comparison src/share/vm/ci/ciSymbol.cpp @ 6266:1d7922586cf6

7023639: JSR 292 method handle invocation needs a fast path for compiled code 6984705: JSR 292 method handle creation should not go through JNI Summary: remove assembly code for JDK 7 chained method handles Reviewed-by: jrose, twisti, kvn, mhaupt Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author twisti
date Tue, 24 Jul 2012 10:51:00 -0700
parents 1d1603768966
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6241:aba91a731143 6266:1d7922586cf6
81 // Tests if the symbol starts with the given prefix. 81 // Tests if the symbol starts with the given prefix.
82 bool ciSymbol::starts_with(const char* prefix, int len) const { 82 bool ciSymbol::starts_with(const char* prefix, int len) const {
83 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);) 83 GUARDED_VM_ENTRY(return get_symbol()->starts_with(prefix, len);)
84 } 84 }
85 85
86 bool ciSymbol::is_signature_polymorphic_name() const {
87 GUARDED_VM_ENTRY(return MethodHandles::is_signature_polymorphic_name(get_symbol());)
88 }
89
86 // ------------------------------------------------------------------ 90 // ------------------------------------------------------------------
87 // ciSymbol::index_of 91 // ciSymbol::index_of
88 // 92 //
89 // Determines where the symbol contains the given substring. 93 // Determines where the symbol contains the given substring.
90 int ciSymbol::index_of_at(int i, const char* str, int len) const { 94 int ciSymbol::index_of_at(int i, const char* str, int len) const {