public class StableProfileProvider extends Object implements ProfileProvider
ProfileProvider
that caches the answer to all queries so that each query returns the
same answer for the entire compilation. This can improve the consistency of compilation results.Modifier and Type | Class and Description |
---|---|
static class |
StableProfileProvider.CachingProfilingInfo
Lazy cache of the per method profile queries.
|
Constructor and Description |
---|
StableProfileProvider() |
Modifier and Type | Method and Description |
---|---|
ProfilingInfo |
getProfilingInfo(ResolvedJavaMethod method) |
ProfilingInfo |
getProfilingInfo(ResolvedJavaMethod method,
boolean includeNormal,
boolean includeOSR) |
public ProfilingInfo getProfilingInfo(ResolvedJavaMethod method)
getProfilingInfo
in interface ProfileProvider
ResolvedJavaMethod.getProfilingInfo()
public ProfilingInfo getProfilingInfo(ResolvedJavaMethod method, boolean includeNormal, boolean includeOSR)
getProfilingInfo
in interface ProfileProvider
ResolvedJavaMethod.getProfilingInfo(boolean, boolean)