Skip to content

Commit

Permalink
[GR-52063] Backport to 23.1: Workaround for a build-time crash.
Browse files Browse the repository at this point in the history
PullRequest: graal/16978
  • Loading branch information
aelmassa committed Feb 16, 2024
2 parents 3130c73 + 07c4519 commit ca6a570
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.graalvm.word.WordBase;
import org.graalvm.word.WordFactory;

import com.oracle.svm.core.NeverInline;
import com.oracle.svm.core.Uninterruptible;
import com.oracle.svm.core.annotate.Inject;
import com.oracle.svm.core.annotate.RecomputeFieldValue;
Expand Down Expand Up @@ -124,6 +125,7 @@ protected boolean doStartThread(Thread thread, long stackSize) {
}

/** Starts a thread to the point so that it is executing. */
@NeverInline("Workaround for GR-51925 - prevent that reads float from this method into the caller.")
private boolean doStartThread0(Thread thread, pthread_attr_t attributes) {
ThreadStartData startData = prepareStart(thread, SizeOf.get(ThreadStartData.class));
try {
Expand Down

0 comments on commit ca6a570

Please sign in to comment.