On Fri, 14 Nov 2025 11:08:40 GMT, Jonas Norlinder <[email protected]> wrote:
> I think it is required for the shutdown test and we need to keep them all. > However, we may omit this for the trivial API test. Would that be a > reasonable compromise? I'd suggest to keep Epsilon and G1 for > `TestGetTotalGcCpuTime`. OK that's great to cut it down a bit, thanks. I meant I think we need to remove all the specific GCs from that test, and let the test harness run with the variety of collectors. If test/jdk/java/lang/management/MemoryMXBean/TestGetTotalGcCpuTime.java specifies those two, doesn't it only run with those two? We want most code to be tested with a variety of collectors, we should get that if we just say nothing. 8-) ------------- PR Comment: https://git.openjdk.org/jdk/pull/27537#issuecomment-3532441029
