NEED SECOND Re: RFR(XS): JDK-6904403 assert(f == k->has_finalizer(), "inconsistent has_finalizer") with debug VM

Coleen Phillimore coleen.phillimore at oracle.com
Tue May 20 15:00:42 UTC 2014


Dmitry,

Can you write a test for this?  There are class redefinition tests in 
jdk/test/java/lang/instrument to use as a model and we've been adding 
new class redefinition tests into this directory.

thanks,
Coleen

On 5/20/14, 10:05 AM, Dmitry Samersoff wrote:
> Coleen,
>
> No I didn't write special test.
>
> The problem was discovered by SQE with jcov. With default parameters
> jcov instruments all methods including Object.finalize() and it causes
> fastdebug VM to assert.
>
> -Dmitry
>
> On 2014-05-20 17:56, Coleen Phillimore wrote:
>> This looks good.  Is there a test for this?
>> Thanks,
>> Coleen
>>
>> On 5/20/14, 9:49 AM, Dmitry Samersoff wrote:
>>> Hi Everybody,
>>>
>>> Need second reviewer for:
>>>
>>> http://cr.openjdk.java.net/~dsamersoff/JDK-6904403/webrev.02/
>>>
>>> -Dmitry
>>>
>>> On 2014-04-16 16:56, Dmitry Samersoff wrote:
>>>> Hi Everybody,
>>>>
>>>> Please review small changes.
>>>>
>>>> http://cr.openjdk.java.net/~dsamersoff/JDK-6904403/webrev.01/
>>>>
>>>> This fix tells to JVM to don't assert if the class was redefined.
>>>>
>>>> Please notice, these changes doesn't make redefined finalyzers working.
>>>> It's a large project which is out of scope of this changes.
>>>>
>>>> -Dmitry
>>>>
>



More information about the hotspot-runtime-dev mailing list