RFR: 8298377: JfrVframeStream causes deadlocks in ZGC [v2]
Erik Österlund
eosterlund at openjdk.org
Wed Jan 4 16:13:55 UTC 2023
On Wed, 4 Jan 2023 15:45:33 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix release build
>
> src/hotspot/share/runtime/disableStackTracingMark.hpp line 36:
>
>> 34: // Use this class to mark a section of code where stack tracing is not safe
>> 35: // and should be avoided.
>> 36: class DisableStackTracingMark : public StackObj {
>
> One thing that could perhaps be a bit of a gotcha with this is the name selection, "DisableStackTracingMark". One could get the impression that this disables stack traces entirely. But this is not the case for asynchronous operations, like AsyncGetCallTrace and JFR - they fetch the information from the CPU context to produce a stacktrace, if there is no ljf. Not a biggie, but might be confusing. Perhaps "NoLastJavaFrame" or something?
Good point. I'll try to think of a better name.
-------------
PR: https://git.openjdk.org/jdk/pull/11778
More information about the hotspot-dev
mailing list