RFR: 8303089: [jittester] Add time limit to IRTree generation
Leonid Mesnik
lmesnik at openjdk.org
Thu Feb 23 15:43:21 UTC 2023
On Wed, 22 Feb 2023 19:54:34 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> Sometimes, the generation could take more than an hour and probably never stop. This PR adds a time limit (defaults to 10 minutes) to the generation of a single test.
Changes requested by lmesnik (Reviewer).
test/hotspot/jtreg/testlibrary/jittester/src/jdk/test/lib/jittester/Automatic.java line 143:
> 141: if (generatorThread.isAlive()) {
> 142: // maxTime reached, so, proceed to next test generation
> 143: generatorThread.interrupt();
I quickly looked at the code and I didn't find any places where the interrupted flag is checked. Does it stop the thread?
-------------
PR: https://git.openjdk.org/jdk/pull/12722
More information about the hotspot-compiler-dev
mailing list