summaryrefslogtreecommitdiff
path: root/test/958-methodhandle-stackframe/src-art/Main.java
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2022-03-09 06:53:48 +0000
committer Orion Hodson <oth@google.com> 2022-03-09 16:35:24 +0000
commit8671f589c914f6ec03a386fb610b93007bb07e8a (patch)
tree10e4f44b11321979d8172967fed7d7778aadb636 /test/958-methodhandle-stackframe/src-art/Main.java
parent69a87e30730d0c6e6e5974fd2bd001f77fffed5e (diff)
Add a separate path for MethodHandle invokeExact from transforms
This simplifies the logic in the MethodHandle invoke paths and perhaps opens the door for faster implementation of the direct cases. It also changes the logic around the ShadowFrame for invokes from transforms trying to avoid the frame being GC reachable via two routes. Bug: 221894167 Test: atest CtsLibcoreOjTestCases:java.lang.invoke Test: art/test/run-test --host {712,956,957,958} Test: art/test.py --host --64 --gcstress -r Change-Id: If94cfc982c58a36047e7acf417e6cee1be314fd8
Diffstat (limited to 'test/958-methodhandle-stackframe/src-art/Main.java')
-rw-r--r--test/958-methodhandle-stackframe/src-art/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/958-methodhandle-stackframe/src-art/Main.java b/test/958-methodhandle-stackframe/src-art/Main.java
index bb3ce9a760..e85f5b8727 100644
--- a/test/958-methodhandle-stackframe/src-art/Main.java
+++ b/test/958-methodhandle-stackframe/src-art/Main.java
@@ -76,7 +76,7 @@ public class Main {
@Override
public void transform(EmulatedStackFrame stackFrame) throws Throwable {
- delegate.invoke(stackFrame);
+ invokeFromTransform(delegate, stackFrame);
}
}