RFR: 8276036: The value of full_count in the message of insufficient codecache is wrong
Christian Hagedorn
chagedorn at openjdk.java.net
Fri Nov 5 08:30:13 UTC 2021
On Wed, 27 Oct 2021 02:35:29 GMT, Takuya Kiriyama <duke at openjdk.java.net> wrote:
> Could you please review the 8276036 bug fixes?
>
> This bug is caused by the wrong place to add the value of full_count.
> The initial value of full_count is 0, so it needs to be added before outputting the message.
test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java line 63:
> 61:
> 62: OutputAnalyzer javaOutput = new OutputAnalyzer(javaProcess);
> 63: String stdout = javaOutput.getStdout();
Use `ProcessTools.executeProcess(pb)` instead:
OutputAnalyzer oa = ProcessTools.executeProcess(pb);
oa.shouldHaveExitValue(0);
String stdout = oa.getStdout();
-------------
PR: https://git.openjdk.java.net/jdk/pull/6129
More information about the hotspot-compiler-dev
mailing list