-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
repo-panama
We currently add scope acquire/release cause to downcall method handles using a post combination step using the tryFinally combinator.
This uses a fallback strategy when there are too many parameters, and it turns out the use of tryFinally here can effect escape analysis negatively as well.
We should fold the acquire/release logic into the existing binding recipe specialization, to avoid both of these problems.
This uses a fallback strategy when there are too many parameters, and it turns out the use of tryFinally here can effect escape analysis negatively as well.
We should fold the acquire/release logic into the existing binding recipe specialization, to avoid both of these problems.
- relates to
-
JDK-8281387 Some downcall shapes show unexpected allocations
- Resolved