summaryrefslogtreecommitdiff
path: root/src/java.base/linux
AgeCommit message (Collapse)AuthorLines
2024-03-138324598: use mem_unit when working with sysinfo memory and swap related ↵Matthias Baesken-2/+2
information Backport-of: 7a798d3cebea0915f8a73af57333b3488c2091af
2024-03-128299858: [Metrics] Swap memory limit reported incorrectly when too largeMatthias Baesken-2/+26
Backport-of: 64ddf9536f55fb81956ebde6dfc0a3c4147af371
2023-09-158312065: Socket.connect does not timeout when profilingLong Yang-25/+25
Reviewed-by: phh, vtewari, apangin
2023-05-088275735: [linux] Remove deprecated Metrics api (kernel memory limit)Goetz Lindenmaier-38/+0
Backport-of: 9971a2cab3892a17f3fd39243df5ecfff5b9f108
2023-01-238300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on ↵Severin Gehwolf-1/+3
32 bit systems Backport-of: dea58efb6280bb1d94daf208ac909aa013439397
2022-10-148293540: [Metrics] Incorrectly detected resource limits with additional ↵Severin Gehwolf-25/+19
cgroup fs mounts Backport-of: 6d83482a6b5f1898514fd450d8143dbfef57e362
2022-09-068292541: [Metrics] Reported memory limit may exceed physical machine memoryJonathan Dowland-1/+16
Backport-of: 9a0d1e7ce86368cdcade713a9e220604f7d77ecf
2022-08-238284950: CgroupV1 detection code should consider memory.swappinessbobpengxie-2/+3
Backport-of: 46d208fb1ce9a3d45bee2afda824f15c84a5e4d2
2022-06-138287663: Add a regression test for JDK-8287073Severin Gehwolf-0/+3
Backport-of: 2d8c6490540e3ccea23b81129b2e4073915071e0
2022-06-138287073: NPE from CgroupV2Subsystem.getInstance()Severin Gehwolf-3/+4
Backport-of: 744b822ab194a0f7ef4e7a4053be32c6a0889efc
2022-06-098287107: CgroupSubsystemFactory.setCgroupV2Path asserts with freezer controllerSeverin Gehwolf-0/+10
Backport-of: 704b9a66bba0dc8adb62be80fd62864b9c687c3f
2022-01-148273526: Extend the OSContainer API pids controller with pids.currentMatthias Baesken-1/+15
Backport-of: d4546b6b36f9dc9ff3d626f8cfe62b62daa0de01
2022-01-108266490: Extend the OSContainer API to support the pids controller of cgroupsMatthias Baesken-14/+50
Backport-of: 089e83bf1bf6f28cec8dd30288720b6d066301f0
2021-08-188272124: Cgroup v1 initialization causes NullPointerException when cgroup ↵Harold Seigel-3/+4
path contains colon Backport-of: 4d6593ce0243457e7431a5990957a8f880e0a3fb
2021-06-028266459: Implement JEP 411: Deprecate the Security Manager for Removaljdk-17+25Weijun Wang-2/+5
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-05-038266391: Replace use of reflection in jdk.internal.platform.MetricsMandy Chung-0/+31
Reviewed-by: redestad
2021-03-058262844: (fs) FileStore.supportsFileAttributeView might return false ↵Arno Zeller-7/+1
negative in case of ext3 Reviewed-by: alanb, clanger, bpb
2021-03-028260966: (fs) Consolidate Linux and macOS implementations of ↵jdk-17+12Sebastian Stenzel-502/+5
UserDefinedFileAttributeView 8260691: (fs) LinuxNativeDispatcher should link to xattr functions Reviewed-by: alanb
2021-02-248254001: [Metrics] Enhance parsing of cgroup interface files for version ↵jdk-17+11Severin Gehwolf-265/+374
detection Reviewed-by: hseigel, andrew
2021-01-288257746: Regression introduced with JDK-8250984 - memory might be null in ↵Poonam Bajaj-4/+4
some machines Reviewed-by: hseigel
2021-01-228260304: (se) EPollSelectorImpl wakeup mechanism broken on Linux 32-bitAleksey Shipilev-2/+2
Reviewed-by: bpb, alanb
2021-01-218253478: (se) epoll Selector should use eventfd for wakeup instead of pipeBrian Burkhalter-14/+138
Reviewed-by: alanb
2020-12-108253797: [cgroups v2] Account for the fact that swap accounting is disabled ↵Severin Gehwolf-4/+19
on some systems Reviewed-by: hseigel
2020-11-208255908: ExceptionInInitializerError due to UncheckedIOException while ↵Poonam Bajaj-2/+23
initializing cgroupv1 subsystem Reviewed-by: shade, sgehwolf, bobv
2020-10-228254854: [cgroups v1] Metric limits not properly detected on some join ↵Severin Gehwolf-33/+26
controller combinations Reviewed-by: bobv
2020-10-098245543: Cgroups: Incorrect detection logic on some systems (still reproducible)Severin Gehwolf-4/+57
Reviewed-by: bobv, shade
2020-10-018253727: [cgroups v2] Memory and swap limits reported incorrectlySeverin Gehwolf-2/+24
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-09-298253714: [cgroups v2] Soft memory limit incorrectly using memory.highSeverin Gehwolf-1/+1
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-258250984: Memory Docker tests fail on some Linux kernels w/o cgroupv1 …Harold Seigel-1/+29
Reviewed-by: bobv, sgehwolf
2020-08-318252248: __SIGRTMAX is not declared in musl libcAlexander Scherbatiy-4/+4
Reviewed-by: alanb, vtewari, stuefe
2020-07-248250627: Use -XX:+/-UseContainerSupport for enabling/disabling Java ↵Severin Gehwolf-1/+42
container metrics Reviewed-by: aph, dholmes, bobv
2020-07-178237858: PlainSocketImpl.socketAccept() handles EINTR incorrectlyVyom Tewari-6/+10
PlainSocketImpl.socketAccept() handles EINTR incorrectly Reviewed-by: alanb, dfuchs, martin
2020-04-088242356: (se) epoll Selector should use epoll_create1 instead of epoll_createDavid M Lloyd-4/+3
Reviewed-by: alanb, stuefe
2020-02-208239559: Cgroups: Incorrect detection logic on some systemsSeverin Gehwolf-29/+91
Adjust heuristic with cgroup mounts according to mountinfo Reviewed-by: bobv, mbaesken
2019-12-168231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified ↵Severin Gehwolf-429/+1687
hierarchy Reviewed-by: bobv, mchung
2019-12-208236246: SelectorProvider support for creating a DatagramChannel that is not ↵Alan Bateman-5/+11
interruptible Reviewed-by: chegar
2019-12-118226575: OperatingSystemMXBean should be made container awareDaniil Titov-10/+56
Reviewed-by: dholmes, bobv, mchung, sspitsyn
2019-11-208234501: remove obsolete NET_ReadVMatthias Baesken-4/+0
Reviewed-by: alanb, vtewari
2019-09-248229872: (fs) Increase buffer size used with getmntentVladimir Kempik-9/+34
Dynamically allocate memory for getmntent Reviewed-by: alanb
2019-07-258228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - ↵Matthias Baesken-1/+1
NumberFormatException because of large long values (memory limit_in_bytes) Reviewed-by: dholmes, sgehwolf
2019-07-178227587: Add internal privileged System.loadLibraryClaes Redestad-17/+4
Reviewed-by: rriggs, mchung, chegar
2019-05-108222533: jtreg test jdk/internal/platform/cgroup/TestCgroupMetrics.java ↵Bob Vandette-1/+1
fails on SLES12.3 linux ppc64le machine Reviewed-by: mseledtsov, dholmes
2019-05-108221340: [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562Bob Vandette-2/+2
Reviewed-by: mseledtsov, rriggs
2019-03-128217338: [Containers] Improve systemd slice memory limit supportSeverin Gehwolf-6/+89
Use hierachical memory limit in addition to memory_limits_in_bytes Reviewed-by: bobv, dholmes
2019-03-198217766: Container Support doesn't work for some Join Controllers combinationsBob Vandette-10/+5
Reviewed-by: rriggs, sgehwolf
2019-03-198212528: Wrong cgroup subsystem being used for some CPU Container MetricsBob Vandette-6/+6
Reviewed-by: rriggs, sgehwolf
2019-03-138220579: [Containers] SubSystem.java out of sync with osContainer_linux.cppSeverin Gehwolf-1/+1
Reviewed-by: bobv, adinn
2019-03-088220323: Fix copyright header textBob Vandette-1/+0
Reviewed-by: lancea
2019-02-138218882: NET_Writev is declared, NET_WriteV is definedBrian Burkhalter-5/+1
Reviewed-by: alanb, chegar
2018-12-148214077: test java/io/File/SetLastModified.java fails on ARM32Nick Gasson-2/+2
Replace uses of stat with stat64 in java.base Reviewed-by: alanb