RFR(XS): JDK-8030808 dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
david.holmes at oracle.com
Wed Feb 5 21:07:14 PST 2014
On 6/02/2014 12:23 AM, Frederic Parain wrote:
> Please review this small fix for bug 8030808.
> The bug is caused by a compiler bug preventing the
> hotspot:::monitor-waited DTrace probe to be fired
> on SPARC. After several failed attempts to fix
> the compiler behavior with #pragma and flags, I'm
> proposing this simple workaround.
So ... if the dtrace_waited_probe call was attempting (but failing?) to
work around the tail-call optimization bug, would it not suffice to drop
the call and just add a return:
DTRACE_MONITOR_PROBE(waited, monitor, obj(), THREAD);
// This dummy return is in place to get around dtrace bug 6254741. Once
// that's fixed we can remove it and change this back to a void method
> The fix has been tested with the dtrace/hotspot test suite
> and the vm.quick testlist.
More information about the hotspot-runtime-dev