Mercurial > hg > truffle
diff graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ResolvedJavaMethod.java @ 8611:6c4db417385a
added API to reset the profiling information for a method
added some test cases that check the recorded profiling information
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Wed, 27 Mar 2013 17:25:59 +0100 |
parents | dce9cefed571 |
children | d24955427b0b |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ResolvedJavaMethod.java Wed Mar 27 10:36:57 2013 +0100 +++ b/graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ResolvedJavaMethod.java Wed Mar 27 17:25:59 2013 +0100 @@ -125,6 +125,11 @@ ProfilingInfo getProfilingInfo(); /** + * Invalidates the profiling information and restarts profiling upon the next invocation. + */ + void reprofile(); + + /** * Returns a map that the compiler can use to store objects that should survive the current * compilation. */