Hi Roland,
actually, I've already pushed this. However before that, I ran modified
'types/correctness/CorrectnessTest.java' to check the case similar to
the one which you described : w/ the extra thread which calls
WB.ClearMethodState in the loop. And I didn't get any failures, so it
looks like it's safe.
if we bump into problem w/ that, I'll return VM operation.
Igor
On 11/03/2014 04:08 PM, Roland Westrelin wrote:
>>http://cr.openjdk.java.net/~iignatyev/8043125/webrev.00/>> Wouldn’t it be better to keep the VM operation? If there’s java code running concurrently with the ClearMethodState call, profile will be updated and cleared concurrently. I’m not sure that would be safe. Or are we sure that ClearMethodState will never be run concurrently with other code?
>> Roland.
>