RFR: 8272586: emit abstract machine code in hs-err logs [v2]
Vladimir Kozlov
kvn at openjdk.java.net
Wed Oct 6 16:41:42 UTC 2021
On Wed, 6 Oct 2021 16:25:50 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> src/hotspot/share/utilities/vmError.cpp line 324:
>>
>>> 322: // non-walkable C frame. Use frame.sender() for java frames.
>>> 323: frame invalid;
>>> 324: if (t && t->is_Java_thread()) {
>>
>> use `(t != nullptr)` explicitly
>
> Will do.
> BTW, I've never seen `nullptr` before - where is it defined?
We start using C++ features:
https://github.com/openjdk/jdk/blob/master/doc/hotspot-style.md#nullptr
-------------
PR: https://git.openjdk.java.net/jdk/pull/5446
More information about the hotspot-dev
mailing list