mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6939134: JSR 292 adjustments to method handle invocation
Split MethodHandle.invoke into invokeExact and invokeGeneric; also clean up JVM-to-Java interfaces Reviewed-by: twisti
This commit is contained in:
parent
0211f9703a
commit
4eb75c2df3
29 changed files with 413 additions and 233 deletions
|
@ -29,7 +29,17 @@
|
|||
// ciSymbol::ciSymbol
|
||||
//
|
||||
// Preallocated handle variant. Used with handles from vmSymboHandles.
|
||||
ciSymbol::ciSymbol(symbolHandle h_s) : ciObject(h_s) {
|
||||
ciSymbol::ciSymbol(symbolHandle h_s, vmSymbols::SID sid)
|
||||
: ciObject(h_s), _sid(sid)
|
||||
{
|
||||
assert(sid_ok(), "must be in vmSymbols");
|
||||
}
|
||||
|
||||
// Normal case for non-famous symbols.
|
||||
ciSymbol::ciSymbol(symbolOop s)
|
||||
: ciObject(s), _sid(vmSymbols::NO_SID)
|
||||
{
|
||||
assert(sid_ok(), "must not be in vmSymbols");
|
||||
}
|
||||
|
||||
// ciSymbol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue