On Wed, 3 May 2023 21:08:39 GMT, Stefan Karlsson <[email protected]> wrote:
>> test/jdk/ProblemList-generational-zgc.txt line 27:
>>
>>> 25: #
>>> 26: # List of quarantined tests for testing with Generational ZGC.
>>> 27: #
>>
>> Are the tests in `test/jdk/sun/tools/jhsdb/` not failing?
>
> It seems like these tests are only run with all GCs at the end of the
> development cycle. I've run them manually and verified that these tests fail
> as well. I'm going to problem list them.
>
> That run also revealed that jstat doesn't like when we report the initial
> capacity of the old generation as zero. See the calculation in:
> src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options
>
> column {
> header "^O^" /* Old Space - Percent Used */
> data (1-((sun.gc.generation.1.space.0.capacity -
> sun.gc.generation.1.space.0.used)/sun.gc.generation.1.space.0.capacity)) * 100
> align right
> scale raw
> width 6
> format "0.00"
> }
>
>
> I can work around the test problem by faking the capacity to be non-zero, but
> that's not a pretty solution IMO.
The jhsdb tests have been ProblemListed. The jstat test is going to be fixed
with #13796.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13771#discussion_r1184781772