RFR: 8340213: jcmd VM.events ignores max argument [v2]
Leonid Mesnik
lmesnik at openjdk.org
Mon Sep 16 19:54:38 UTC 2024
On Mon, 16 Sep 2024 19:34:40 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:
>> Leonid Mesnik has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - typo fixed.
>> - check added.
>
> test/hotspot/jtreg/serviceability/dcmd/vm/EventsTest.java line 81:
>
>> 79: long lines = output.asLines().stream().filter(x -> x.contains("Loading class")).count();
>> 80: Assert.assertTrue(lines == MAX, "There are should be " + MAX + " lines");
>> 81: output.stdoutShouldNotMatch(buildHeaderPattern("Events"));
>
> Could also check the output contains the selected event category like in `run_selected` above.
Thanks! done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21024#discussion_r1761789660
More information about the serviceability-dev
mailing list