RFR: 8330851: C2: More efficient TypeFunc creation

Vladimir Ivanov vlivanov at openjdk.org
Sat Nov 16 02:10:52 UTC 2024


On Wed, 30 Oct 2024 06:43:23 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

> Lazy computation of TypeFunc.
> 
> Testing: Tier1 on Fastdebug & Release VMs (`s390x architecture`)

Types are allocated in C2 type arena, so what confused me at first was the lifetime of allocated instances. Unless they live in shared arena, it's not safe to cache them. It would be helpful to assert that during initialization.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21782#issuecomment-2480318532


More information about the hotspot-compiler-dev mailing list