Skip to content

[GR-72513] Do not @Fold runtime-only singleton RawFileOperationSupport values at image build-time.#12838

Merged
graalvmbot merged 1 commit into
masterfrom
GR-72513
Jan 20, 2026
Merged

[GR-72513] Do not @Fold runtime-only singleton RawFileOperationSupport values at image build-time.#12838
graalvmbot merged 1 commit into
masterfrom
GR-72513

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

@graalvmbot graalvmbot commented Jan 20, 2026

com.oracle.svm.core.posix.debug.jitdump.JitdumpProvider#getFileSupport() uses the @Fold-annotation which causes the method to be evaluated at image built-time at every call-site. The method is implemented by accessing a runtime-only ImageSingleton. Thus using @Fold is invalid for this method.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 20, 2026
@graalvmbot graalvmbot merged commit 8a8442b into master Jan 20, 2026
13 checks passed
@graalvmbot graalvmbot deleted the GR-72513 branch January 20, 2026 17:52
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