Magnus Ihse Bursie
fb469fb894
8284893: Fix typos in java.base
...
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Andrey Turbanov
f4edb59a6e
8284567: Collapse identical catch branches in java.base
...
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
Brian Burkhalter
e8a1ce00b2
8280881: (fs) UnixNativeDispatcher.close0 may throw UnixException
...
Reviewed-by: alanb
2022-03-10 16:38:44 +00:00
Andrey Turbanov
5af7f25814
8274811: Remove superfluous use of boxing in java.base
...
Reviewed-by: lancea
2022-01-19 10:59:40 +00:00
Severin Gehwolf
9971a2cab3
8275735: [linux] Remove deprecated Metrics api (kernel memory limit)
...
Reviewed-by: hseigel, mchung
2021-11-02 10:39:41 +00:00
Matthias Baesken
d4546b6b36
8273526: Extend the OSContainer API pids controller with pids.current
...
Reviewed-by: sgehwolf, iklam
2021-09-16 07:08:19 +00:00
Harold Seigel
4d6593ce02
8272124: Cgroup v1 initialization causes NullPointerException when cgroup path contains colon
...
Reviewed-by: mseledtsov, sgehwolf
2021-08-18 14:24:58 +00:00
Matthias Baesken
089e83bf1b
8266490: Extend the OSContainer API to support the pids controller of cgroups
...
Reviewed-by: sgehwolf, lucy
2021-08-10 07:40:21 +00:00
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Mandy Chung
3544a9d0e4
8266391: Replace use of reflection in jdk.internal.platform.Metrics
...
Reviewed-by: redestad
2021-05-03 21:58:37 +00:00
Arno Zeller
8d3de4b1bd
8262844: (fs) FileStore.supportsFileAttributeView might return false negative in case of ext3
...
Reviewed-by: alanb, clanger, bpb
2021-03-05 11:02:26 +00:00
Sebastian Stenzel
0de6abd4b4
8260966: (fs) Consolidate Linux and macOS implementations of UserDefinedFileAttributeView
...
8260691: (fs) LinuxNativeDispatcher should link to xattr functions
Reviewed-by: alanb
2021-03-02 14:40:45 +00:00
Severin Gehwolf
a50725db2a
8254001: [Metrics] Enhance parsing of cgroup interface files for version detection
...
Reviewed-by: hseigel, andrew
2021-02-24 19:39:46 +00:00
Poonam Bajaj
abc4300de9
8257746: Regression introduced with JDK-8250984 - memory might be null in some machines
...
Reviewed-by: hseigel
2021-01-28 15:07:03 +00:00
Aleksey Shipilev
5aca934c98
8260304: (se) EPollSelectorImpl wakeup mechanism broken on Linux 32-bit
...
Reviewed-by: bpb, alanb
2021-01-22 19:21:45 +00:00
Brian Burkhalter
a8073efeed
8253478: (se) epoll Selector should use eventfd for wakeup instead of pipe
...
Reviewed-by: alanb
2021-01-21 21:36:19 +00:00
Severin Gehwolf
669361117d
8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems
...
Reviewed-by: hseigel
2020-12-10 16:47:02 +00:00
Poonam Bajaj
8d9cf48e81
8255908: ExceptionInInitializerError due to UncheckedIOException while initializing cgroupv1 subsystem
...
Reviewed-by: shade, sgehwolf, bobv
2020-11-20 18:40:01 +00:00
Severin Gehwolf
a0b687bfb2
8254854: [cgroups v1] Metric limits not properly detected on some join controller combinations
...
Reviewed-by: bobv
2020-10-22 16:36:29 +00:00
Severin Gehwolf
2bbf8a2a96
8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)
...
Reviewed-by: bobv, shade
2020-10-09 16:25:50 +00:00
Severin Gehwolf
3e96721cd9
8253727: [cgroups v2] Memory and swap limits reported incorrectly
...
Account for interface files for swap and memory being reported independently.
The cgroup v1-like value is now reported by adding the memory.max value to
the memory.swap.max value, and memory.current and memory.swap.current
respectively.
Reviewed-by: bobv, shade
2020-10-01 09:28:40 +00:00
Severin Gehwolf
ff6843ca48
8253714: [cgroups v2] Soft memory limit incorrectly using memory.high
...
The early implementation of cgroups v2 support was done with
crun 0.8 and it contained a bug which set memory.high over
memory.low when --memory-reservation was being used as a CLI
option.
This bug has been fixed in later crun versions, starting with
crun 0.11. Use memory.low in OpenJDK as well.
Reviewed-by: bobv, adinn
2020-09-29 15:15:50 +00:00
Harold Seigel
0187567704
8250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 …
...
Reviewed-by: bobv, sgehwolf
2020-09-25 17:16:38 +00:00
Alexander Scherbatiy
5490b03160
8252248: __SIGRTMAX is not declared in musl libc
...
Reviewed-by: alanb, vtewari, stuefe
2020-08-31 11:18:20 +03:00
Severin Gehwolf
e6517d1ae2
8250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java container metrics
...
Reviewed-by: aph, dholmes, bobv
2020-07-24 19:57:06 +02:00
Vyom Tewari
955aee3bfa
8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly
...
PlainSocketImpl.socketAccept() handles EINTR incorrectly
Reviewed-by: alanb, dfuchs, martin
2020-07-17 11:15:00 +05:30
David M Lloyd
59684e10d1
8242356
: (se) epoll Selector should use epoll_create1 instead of epoll_create
...
Reviewed-by: alanb, stuefe
2020-04-08 10:31:58 +01:00
Severin Gehwolf
53ee0c4963
8239559: Cgroups: Incorrect detection logic on some systems
...
Adjust heuristic with cgroup mounts according to mountinfo
Reviewed-by: bobv, mbaesken
2020-02-20 20:56:49 +01:00
Severin Gehwolf
4def210a22
8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
...
Reviewed-by: bobv, mchung
2019-12-16 15:07:17 +01:00
Alan Bateman
c6a4cea7a0
8236246: SelectorProvider support for creating a DatagramChannel that is not interruptible
...
Reviewed-by: chegar
2019-12-20 09:28:57 +00:00
Daniil Titov
7b82266a15
8226575: OperatingSystemMXBean should be made container aware
...
Reviewed-by: dholmes, bobv, mchung, sspitsyn
2019-12-11 19:20:57 -08:00
Matthias Baesken
20a03807b8
8234501: remove obsolete NET_ReadV
...
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Vladimir Kempik
67ad501e5b
8229872: (fs) Increase buffer size used with getmntent
...
Dynamically allocate memory for getmntent
Reviewed-by: alanb
2019-09-24 14:54:57 +03:00
Matthias Baesken
da6f042616
8228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
...
Reviewed-by: dholmes, sgehwolf
2019-07-25 12:15:27 +02:00
Claes Redestad
78a1c8ea0a
8227587: Add internal privileged System.loadLibrary
...
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Bob Vandette
1355621a42
8222533: jtreg test jdk/internal/platform/cgroup/TestCgroupMetrics.java fails on SLES12.3 linux ppc64le machine
...
Reviewed-by: mseledtsov, dholmes
2019-05-10 11:18:45 -04:00
Bob Vandette
11d3a2ce35
8221340: [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562
...
Reviewed-by: mseledtsov, rriggs
2019-05-10 11:15:34 -04:00
Severin Gehwolf
73d7e8f86c
8217338: [Containers] Improve systemd slice memory limit support
...
Use hierachical memory limit in addition to memory_limits_in_bytes
Reviewed-by: bobv, dholmes
2019-03-12 10:43:27 +01:00
Bob Vandette
30342b596b
8217766: Container Support doesn't work for some Join Controllers combinations
...
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:29:40 -04:00
Bob Vandette
adc6d241ba
8212528: Wrong cgroup subsystem being used for some CPU Container Metrics
...
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:10:00 -04:00
Severin Gehwolf
6f30d04d76
8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp
...
Reviewed-by: bobv, adinn
2019-03-13 20:07:54 +01:00
Bob Vandette
917598aac3
8220323: Fix copyright header text
...
Reviewed-by: lancea
2019-03-08 16:20:05 -05:00
Brian Burkhalter
dce16304c1
8218882: NET_Writev is declared, NET_WriteV is defined
...
Reviewed-by: alanb, chegar
2019-02-13 07:58:04 -08:00
Nick Gasson
1d7662e428
8214077: test java/io/File/SetLastModified.java fails on ARM32
...
Replace uses of stat with stat64 in java.base
Reviewed-by: alanb
2018-12-14 13:30:21 +00:00
Martin Buchholz
7212bf0a77
8213406: (fs) More than one instance of built-in FileSystem observed in heap
...
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -08:00
Brian Burkhalter
769e802001
8206448: (fs) Extended attributes assumed to be enabled on ext3 (lnx)
...
Assume extended attributes are only explicitly enable on ext3
Reviewed-by: mbaesken, alanb
2018-07-16 10:58:28 -07:00
Thomas Stuefe
1adadc7882
8206243: java -XshowSettings fails if memory.limit_in_bytes overflows LONG.max
...
Reviewed-by: dholmes, bobv
2018-07-05 11:56:19 +02:00
Ivan Gerasimov
45c5c6fda4
8205959: Do not restart close if errno is EINTR
...
Reviewed-by: alanb, vtewari
2018-06-28 01:10:09 -07:00
Roger Riggs
4098f2560a
8066709: Make some JDK system properties read only
...
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Alan Bateman
db61a602f6
8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
...
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00