comparison src/share/vm/ci/ciSymbol.cpp @ 1507:cd5dbf694d45

6939134: JSR 292 adjustments to method handle invocation Summary: split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces Reviewed-by: twisti
author jrose
date Sat, 01 May 2010 02:42:18 -0700
parents dd57230ba8fe
children c18cbe5936b8
comparison
equal deleted inserted replaced
1506:2338d41fbd81 1507:cd5dbf694d45
27 27
28 // ------------------------------------------------------------------ 28 // ------------------------------------------------------------------
29 // ciSymbol::ciSymbol 29 // ciSymbol::ciSymbol
30 // 30 //
31 // Preallocated handle variant. Used with handles from vmSymboHandles. 31 // Preallocated handle variant. Used with handles from vmSymboHandles.
32 ciSymbol::ciSymbol(symbolHandle h_s) : ciObject(h_s) { 32 ciSymbol::ciSymbol(symbolHandle h_s, vmSymbols::SID sid)
33 : ciObject(h_s), _sid(sid)
34 {
35 assert(sid_ok(), "must be in vmSymbols");
36 }
37
38 // Normal case for non-famous symbols.
39 ciSymbol::ciSymbol(symbolOop s)
40 : ciObject(s), _sid(vmSymbols::NO_SID)
41 {
42 assert(sid_ok(), "must not be in vmSymbols");
33 } 43 }
34 44
35 // ciSymbol 45 // ciSymbol
36 // 46 //
37 // This class represents a symbolOop in the HotSpot virtual 47 // This class represents a symbolOop in the HotSpot virtual