Skip to content

Conversation

graalvmbot
Copy link
Collaborator

The existing implementation only runs on the slow path, which is skipped if the companion's canUnsafeAllocate field is pre-initialized to true at build time (which it is if --exact-reachability-metadata is not used).

The new implementation runs on the fast path so that it is never skipped. As usual, if tracing is not enabled at build time then there is no additional overhead.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 23, 2025
@graalvmbot graalvmbot merged commit 342fa1d into master Sep 23, 2025
13 checks passed
@graalvmbot graalvmbot deleted the mdsouza/GR-68890-allocateinstance-tracing branch September 23, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants