Skip to content

Conversation

graalvmbot
Copy link
Collaborator

Tracing triggers synchronization (b.c. of thread-safe data structures), which cannot be performed within a VM operation.

The following test case (with tracing enabled) reproduces the failure before the change, and runs without failure after the change:

public class Main {
  public static void main(String[] args) {
   System.out.println(Thread.getAllStackTraces());
  }
}

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 16, 2025
@graalvmbot graalvmbot merged commit 8306a52 into master Jun 17, 2025
13 checks passed
@graalvmbot graalvmbot deleted the mdsouza/GR-65849-disable-tracing-in-vm-ops branch June 17, 2025 11:05
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