[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    RE: Protecting references from GC in JDI tests
From:       Aditya Mandaleeka <adityam () microsoft ! com>
Date:       2020-08-24 23:06:44
Message-ID: SN6PR2101MB18053D35976EBAB123E7894BAC560 () SN6PR2101MB1805 ! namprd21 ! prod ! outlook ! com
[Download RAW message or body]

Thanks for the replies Dan and Roger.

> My recommendation would be to only use 
> ObjectReference.DisableCollection()
> when you have observed a specific failure for a specific object in a 
> test.

OK. I will submit an RFR soon to guard the specific case that we've observed \
consistently failing (after ensuring that there aren't other failures that start \
occurring after that change). Part of me worries that this approach won't prevent \
future failures in case one of the GCs changes its behavior such that the  \
collections affect other unguarded objects in these tests.

-Aditya


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic