On Thu, 26 Oct 2023 08:34:39 GMT, Alan Bateman <al...@openjdk.org> wrote:
> Stepping back a bit. ThreadGroup is legacy and we eventually want it to go > away. We've been deprecating and degrading it very slowly over many releases. > So I think jtreg will eventually need to change. Right now, it creates > AgentVMThreadGroup for agent VM mode so it controls the UHE where it starts > the "main thread". I think it will eventually need to change this to set the > system-wide UHE but this means it would handling uncaught exception thrown by > "system threads", we may have to audit some of the exception handling if > things come out of the woodwork. I think we shouldn't allow any unhandled exceptions in system threads also. This might just hide issues. The tests that might erase such exceptions should be written to for VM. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16369#issuecomment-1782033148