JDK-8340991 : Update jdk/jfr/event/gc/stacktrace/* tests to don't accept incompatible vm flags
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 24
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2024-09-26
  • Updated: 2025-04-29
  • Resolved: 2025-04-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25Resolved
Related Reports
Duplicate :  
Relates :  
Description
Tests
test/jdk/jdk/jfr/event/gc/stacktrace/*
check stacktrace and are sensitive to compiler settings.
Need to add requires
@requires vm.compMode != "Xcomp" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel == 4)
to ensure that correct compiler is used and tests don't fail in CI.