JDK-8268570 : tests fail due to stderr containing "Temporarily processing option UseBiasedLocking; support is scheduled for removal in 18.0"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 18
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2021-06-10
  • Updated: 2023-07-17
  • Resolved: 2021-06-21
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 18
18Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Sub Tasks
JDK-8268574 :  
JDK-8268644 :  
Description
The following tests fail in the JDK18 CI:

serviceability/sa/sadebugd/DebugdConnectTest.java
serviceability/attach/RemovingUnixDomainSocketTest.java
serviceability/sa/TestJhsdbJstackLock.java
serviceability/sa/JhsdbThreadInfoTest.java

All of the tests are failing due to this output on stderr:

 stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Temporarily processing option UseBiasedLocking; support is scheduled for removal in 18.0

Comments
This issue will be resolved with JDK-8256425.
21-06-2021

[~cjplummer] I added a reference to it so it should show up now.
15-06-2021

I'm already testing out the patch for 8256425 and will send the closed part too to remove those definitions.
15-06-2021

JDK-8256425 Obsolete Biased Locking in JDK 18
15-06-2021

Is there a CR for the removal of UseBiasedLocking? I couldn't find one.
15-06-2021

> Is this new message just due to mainline being JDK 18 now? Yes. The flag is now expected to have been removed, so anything using it would get an error if that had happened. Of course the PR that removes the flag must also update all tests that use it.
11-06-2021

OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings() does not check for warnings like the above, since it indicating removal, not deprecation.
10-06-2021

Is this new message just due to mainline being JDK 18 now?
10-06-2021