Integrated: JDK-8285362: unify os::pause platform coding

Matthias Baesken mbaesken at openjdk.java.net
Fri Apr 22 13:43:59 UTC 2022


On Thu, 21 Apr 2022 12:30:34 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The os::pause() coding in the different os_platform.cpp files is very close, so it should be unified at os.cpp .
> Small differences : Windows uses Sleep, the other platforms use poll.
> AIX used trcVerbose for some error/warning - like  output, the other platforms used jio_fprintf ; I think it makes sense to unify this on all OS to jio_fprintf .

This pull request has now been integrated.

Changeset: d8025c95
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d8025c95cdfe77902c981f4db1fc2a51ca4d6878
Stats:     116 lines in 5 files changed: 33 ins; 83 del; 0 mod

8285362: unify os::pause platform coding

Reviewed-by: dholmes, lucy

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

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


More information about the hotspot-runtime-dev mailing list