MethodSubstitution for JDK method
Deneau, Tom
tom.deneau at amd.com
Wed Jun 4 12:28:38 UTC 2014
Currently, the HSAIL backend codegen must inline everything and so can't handle recursive calls.
Let's say we come upon some recursive method deep in the JDK. For example
private static sun.misc.FDBigInteger.big5powRec(int p)
And say we wanted to method-substitute a non-recursive implementation. But in our non-recursive implementation we would like to use some of the existing non-public methods or data structures in sun.misc.FDBigInteger.
Is there a way to do that?
-- Tom
More information about the graal-dev
mailing list