RFR: JDK-8272574: Crashes in PhaseIdealLoop::build_loop_late_post_work [v2]
王超
github.com+25214855+casparcwang at openjdk.java.net
Thu Aug 19 03:03:23 UTC 2021
On Wed, 18 Aug 2021 07:39:29 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> 王超 has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix version
>
> test/hotspot/jtreg/compiler/loopstripmining/LoadSplitThruPhi.java line 72:
>
>> 70:
>> 71: for (int i = 0; i < 100; ++i) {
>> 72: Thread t = new Thread(new Runnable() {
>
> Why do you need a new thread?
`for (int a = 0; a < (int)(a + 16); a++) {` only will terminate when `a` overflows, so I add a thread to execute the test, and use main thread to control the test time. I will refactor the test if the final fix is done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5142
More information about the hotspot-compiler-dev
mailing list