Inlining methods
Juan José Fumero Alfonso
jjfumero at gmail.com
Fri Oct 25 08:37:07 PDT 2013
Hello,
I am working with the OpenCL Component of Graal
(com.edinburgh.parallel.opencl). This version is not public yet but It uses
Graal to get the user code and generates OpenCL kernels. I have to create
an Inlining optimization for my own code using Graal. Now I have something
like that:
GraalCodeCacheProvider runtime =
Graal.getRequiredCapability(GraalCodeCacheProvider.class);
ResolvedJavaMethod javaMethod = runtime.lookupJavaMethod(method);
* OptimisticOptimizations oo = new
OptimisticOptimizations(javaMethod);*
oo.add(OptimisticOptimizations.Optimization.UseTypeCheckedInlining);
The package is com.oracle.graal.phases;
How can I ensure that the method is inline at the end? I am using the
-XX:+PrintCompilation options but there is not much information. Also I
tried with the -XX:+PrintInlining but it seems this options does not exist.
Is this the proper way to get it?
Thank you
Juan José Fumero
More information about the graal-dev
mailing list