-
Bug
-
Resolution: Fixed
-
P4
-
7, 8
-
b12
-
generic
-
generic
In the fastdebug and debug builds, libhpi.so may call our HPI panic() callback during a sysAssert() failure. Currently the callback is unimplemented and results in a call to Unimplemented(), masking the true cause of the failure. We should provide an implementation for the sake of better error reporting.
For further background see bugJDK-6502237.
I don't think hpi should call back to the VM to die anyway, but call regular unix assert, but we should give an error and add that the bug is in hpi not the VM.
This is annoying that so many linux tests intermittently fail with this hpi bug.
I changed this hpi_panic from Unimplemented() crash to a warning(Unimplemented) because bug number 6626677 was affecting testing. This is safe for this particular bug anyway.
As part of this fix, the crash should be restored in the VM for jdk7 only (there's apparently a gate we have in the vm) after bug 6626677 is fixed. If the jdk fix is backported to jdk 6 we can enable the crash unconditionally in the VM, but after HS13.
For further background see bug
I don't think hpi should call back to the VM to die anyway, but call regular unix assert, but we should give an error and add that the bug is in hpi not the VM.
This is annoying that so many linux tests intermittently fail with this hpi bug.
I changed this hpi_panic from Unimplemented() crash to a warning(Unimplemented) because bug number 6626677 was affecting testing. This is safe for this particular bug anyway.
As part of this fix, the crash should be restored in the VM for jdk7 only (there's apparently a gate we have in the vm) after bug 6626677 is fixed. If the jdk fix is backported to jdk 6 we can enable the crash unconditionally in the VM, but after HS13.
- relates to
-
JDK-6626677 Error: Unimplemented()/HPI sysMonitorExit is broken on linux
- Closed
-
JDK-6341237 JVM 1.4.2_08 crashes on RHL AS 3.0
- Closed
-
JDK-6502237 HPI sysMonitorExit is broken on linux-amd64
- Closed
- links to