RFR: 8252324: Signal related code should be shared among POSIX platforms [v4]

Gerard Ziemski gziemski at openjdk.java.net
Mon Sep 28 20:22:56 UTC 2020


On Mon, 28 Sep 2020 04:37:03 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Hi Gerard,
> Thank you for tackling this long overdue cleanup and conciliation of the the signal management code! Great work on a
> tedious task.
> Overall this looks okay but I confess it is very hard to compare each previous platform version with the new shared
> version.

Sorry about that, I do understand how hard it was to review it and really appreciate it!


> I'm glad the AIX folk have take an indepth look there.

Me too!

> I have a few minor comments in specific files below.
> 
> I would also suggest naming the file posixSignal.cpp/hpp as that is the more common naming pattern.

I based the name on the other files in that directory, i.e.:

jvm_posix.cpp
os_posix.cpp
semaphore_posix.cpp
threadLocalStorage_posix.cpp
vmError_posix.cpp

so I introduced:

signals_posix.cpp

> Future cleanup: do we really need JVM_handle_<os>_signal to be cpu specific? I can imagine one copy of this with a few
> ifdefs or newly introduced os::pd_* functions.
> Thanks,
> David

Thank you David very much for catching the merge issues and review!

-------------

PR: https://git.openjdk.java.net/jdk/pull/157


More information about the hotspot-runtime-dev mailing list