RFR 8038418 New tests development for type profiling and speculation

Igor Ignatyev igor.ignatyev at oracle.com
Wed Apr 9 15:58:07 UTC 2014


Roland,
I've filed an RFE for this and sent RFR : '8039597
WhiteBox :: clean type profiling data'. Is it what you mentioned? Could 
you please review it?

Igor

On 04/09/2014 02:00 PM, Roland Westrelin wrote:
> Igor,
>
>> is there any way to clear type profiling data? could please you point me to the code where type profiling is stored? I'll add clearing type profiling data to WB:clearMethodState.
>
> You would have to do something similar to MethodData::clean_method_data() which cleans up the profiling if the class that is recorded is unloaded. It goes over all profiling entries for the method. Or maybe you can use that method and pass your own closure. Also, that method is expected to be called at a safepoint so if the profile is updated concurrently you could maybe get funny results.
>
> Roland.
>


More information about the hotspot-compiler-dev mailing list