RFR(XXS) 8198845: Missing resource mark results disassembling generated code failure in hs error report
David Holmes
david.holmes at oracle.com
Wed Feb 28 22:33:16 UTC 2018
Hi Zhengyu,
On 1/03/2018 7:50 AM, Zhengyu Gu wrote:
> nmethod uses stringStreams to buffer contents. Missing resource mark
> during error reporting, results failures while disassembling nmethod code.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8198845
> Webrev: http://cr.openjdk.java.net/~zgu/8198845/webrev.00/
This seems problematic. There's no guarantee you have a valid thread,
nor that you can use its resourceArea to allocate even if you do. What
is actually trying to do resourceArea allocation?
David
> Test:
>
> hotspot_runtime on Linux x64 (fastdebug + release)
>
> Thanks,
>
> -Zhengyu
More information about the hotspot-runtime-dev
mailing list