Integrated: 8279573: compiler/codecache/CodeCacheFullCountTest.java fails with "RuntimeException: the value of full_count is wrong."

Coleen Phillimore coleenp at openjdk.java.net
Tue Mar 1 15:33:51 UTC 2022


On Sat, 26 Feb 2022 13:14:57 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change adds a conditional to make -XX:-UseCodeCacheFlushing not flush the code cache so that the test passes on loom.  It also makes full_count atomic so that the test in codeCache for printing is correct.  This change also fixes the test because the full_count field and the message printing are not synchronized, so you can get 2 or more depending on the number of compiler threads.
> Tested with tier1-3 on linux and windows x64.

This pull request has now been integrated.

Changeset: 76398c84
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/76398c84007862bdf07cea6be792eca50eec9edd
Stats:     8 lines in 3 files changed: 1 ins; 0 del; 7 mod

8279573: compiler/codecache/CodeCacheFullCountTest.java fails with "RuntimeException: the value of full_count is wrong."

Reviewed-by: thartmann, eosterlund

-------------

PR: https://git.openjdk.java.net/jdk/pull/7629


More information about the hotspot-dev mailing list