RFR: 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs
Peter Levart
plevart at openjdk.org
Thu Jul 28 12:35:11 UTC 2022
On Wed, 27 Jul 2022 12:30:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>>> ...I can take this over, unless you want to do it, Aleksey?
>>
>> I find it dubious to try and guess what GCs would do with non-strong refs, but feel free. Don't reassign the bug yet, just see how messy that would be?
>
>> > ...I can take this over, unless you want to do it, Aleksey?
>>
>> I find it dubious to try and guess what GCs would do with non-strong refs, but feel free. Don't reassign the bug yet, just see how messy that would be?
>
> On the other hand, this test is in tier2, so it makes lots of testing with other GCs not clean. I would like to have this fix in, and *then* do any followups that might make the test more targeted.
@shipilev you said that the test fails with some other GCs (Parallel, Shenandoah, ...). Who is responsible to select the GC algorithm? What I'm asking is whether one should explicitly enumerate several @runs of the test with explicit selection of different GCs (which ones?) or is this a matter of some external test infrastructure that runs all the tests in the suite and pre-selects different GCs for them?
-------------
PR: https://git.openjdk.org/jdk/pull/9533
More information about the core-libs-dev
mailing list