JDK-8271609 : Misleading message for AbortVMOnVMOperationTimeoutDelay
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-08-02
  • Updated: 2021-08-05
  • Resolved: 2021-08-03
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
18 b09Fixed
Related Reports
Relates :  
Description
During the investigation of JDK-8269523, the error message has caused some misinterpretation:

# fatal error: VM operation took too long: 2 ms (timeout: 0 ms) 

Incorrect: the VM operation took 2ms to *complete* and its duration is greater than the timeout (0ms)

Correct: 2ms has passed since the VM operation started, but it's unknown if that operation is still running or has completed. Nonetheless, a fatal error is inevitable (2ms > 0ms).

I suggest "VM operation took too long: X ms elapsed since VM-op start (timeout: Y ms)". This hopefully avoids misinterpretation in the future.
Comments
Changeset: b217a6ca Author: Albert Mingkun Yang <ayang@openjdk.org> Date: 2021-08-03 11:43:41 +0000 URL: https://git.openjdk.java.net/jdk/commit/b217a6ca0f920eddc1d4596ce8c6445423f1d15d
03-08-2021