Integrated: 8350211: CTW: Attempt to preload all classes in constant pool
Aleksey Shipilev
shade at openjdk.org
Wed Feb 19 11:04:58 UTC 2025
On Tue, 18 Feb 2025 11:09:40 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> CTW runners do preloading for constant pools ahead of time. I believe this is done to expose more loaded classes to the compilations, so to extend the compilation scope.
>
> Unfortunately, current code catches the first exception when loading the constant pool and stops preloading. This routinely happens when CTW runner processes a 3rd party JAR, where dependencies might normally be in other JARs.
>
> I believe we should attempt to resolve all constant pool entries when preloading is requested. This would likely expand the scope of CTW testing.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `applications/ctw/modules` still passes
This pull request has now been integrated.
Changeset: d13fd573
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d13fd5738f8a3d4b4009c2e15cfd967332d97bbd
Stats: 12 lines in 1 file changed: 4 ins; 5 del; 3 mod
8350211: CTW: Attempt to preload all classes in constant pool
Reviewed-by: vlivanov, chagedorn
-------------
PR: https://git.openjdk.org/jdk/pull/23673
More information about the hotspot-compiler-dev
mailing list