1250 Commits

Author SHA1 Message Date
SendaoYan
fc88d51510 8255466: C2 crashes at ciObject::get_oop() const+0x0
Reviewed-by: phh, andrew
Backport-of: bb3f1238cb12c45ed85936d3b06eced0730d588f
2025-02-20 10:55:40 +00:00
SendaoYan
8b08668b22 8250825: C2 crashes with assert(field != __null) failed: missing field
Reviewed-by: phh
Backport-of: e03ca73dc122af84d4a5456120e5cf5fac7aed31
2025-01-30 15:17:01 +00:00
Zdenek Zambersky
432d9627be 8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
Compile m3 with C1 if C2 is not available.

Backport-of: b4d4c8a3922f6563013d4e997e149bd0198222d2
2024-10-22 12:43:09 +00:00
Zdenek Zambersky
6acc668a6c 8209023: fix 2 compiler tests to avoid JDK-8208690
Reviewed-by: sgehwolf
Backport-of: b3cf0cf9fcaa25f11f8b5fb8658ecb383d19fc17
2024-10-03 10:15:15 +00:00
Sergey Bylokhov
c531e47214 8313626: C2 crash due to unexpected exception control flow
Reviewed-by: yan, andrew
Backport-of: f8203cb272e6136b784e5c43a500f6a0bfb19c8b
2024-09-26 23:24:08 +00:00
Zdenek Zambersky
7d36fed8e0 8337110: [8u] TestNoEagerReclaimOfHumongousRegions.java should be in gc/g1 directory
Reviewed-by: phh
2024-08-26 11:20:43 +00:00
Adam Farley
5c7f201af6 8021775: compiler/8009761/Test8009761.java "Failed: init recursive calls: 51. After deopt 50"
Reimplemented the test using the Whitebox API to deterministically trigger compilation and deoptimization. Now allowing number of recursive calls to vary by 1.

Reviewed-by: sgehwolf
Backport-of: 1ed4c8394859f6c36e165c4f59a6b5c9fbd793ee
2024-08-21 09:43:47 +00:00
SendaoYan
933c78ebd5 8309138: Fix container tests for jdks with symlinked conf dir
Reviewed-by: phh, sgehwolf
Backport-of: c1bb926f4d5eaf49777f93b9f8788db243bba83b
2024-08-21 08:47:26 +00:00
Martin Balao
54f7734c7c 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
Reviewed-by: andrew, roland
Backport-of: cc894d849aa5f730d5a806acfc7a237cf5170af1
2024-07-01 19:07:08 +00:00
Francisco Ferrari Bihurriet
385e34d860 8262017: C2: assert(n != __null) failed: Bad immediate dominator info.
8205407: [windows, vs<2017] C4800 after 8203197

Reviewed-by: mbalao, roland
Backport-of: 2db9005c07585b580b3ec0889b8b5e3ed0d0ca6a
2024-06-28 16:03:10 +00:00
Roman Marchenko
cde8aca6cb 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: andrew
Backport-of: 01ec6950020268a375eb5330373e6c0813f3a924
2024-04-10 14:24:17 +00:00
Sergey Bylokhov
1db6a7606c 8203691: [TESTBUG] Test /runtime/containers/cgroup/PlainRead.java fails
Backport-of: 2fa6eac464048176087092c91c8430781ab15301
2024-04-05 19:42:22 +00:00
Martin Balao
e72ea2d4af 8317507: C2 compilation fails with "Exceeded _node_regs array"
Reviewed-by: roland, andrew
Backport-of: a5818972c16bd883d768ff2fb23a8aa9e0142c65
2024-03-27 03:21:25 +00:00
Andrew John Hughes
3b9c787e3c 8208655: use JTreg skipped status in hotspot tests
8023735: [TESTBUG][macosx] runtime/XCheckJniJsig/XCheckJSig.java fails on MacOS X
8208701: Fix for JDK-8208655 causes test failures in CI tier1
8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
8186095: upgrade to jtreg 4.2 b08
8183503: Update hotspot tests to allow for unique test classes directory
8213410: UseCompressedOops requirement check fails fails on 32-bit system

Reviewed-by: stuefe, sgehwolf
Backport-of: 17b730d7edf7be91ee841180ea6a59b26c0c567a
2023-11-28 03:17:41 +00:00
Zdenek Zambersky
eace2d7321 8305329: [8u] Unify test libraries into single test library - step 1
Reviewed-by: andrew
2023-11-08 15:56:08 +00:00
Jiří Vaněk
961ab46397 8283441: C2: segmentation fault in ciMethodBlocks::make_block_at(int)
Reviewed-by: mbalao
Backport-of: 947869609ce6b74d4d28f79724b823d8781adbed
2023-09-25 14:05:03 +00:00
Ilarion Nakonechnyy
1fc2e331eb 8159156: [TESTBUG] ReserveMemory test is not useful on Aix.
Backport-of: 8bb3799029d34e7f5bbc3d9e5bc6da7068360bc7
2023-09-06 13:37:32 +00:00
Dongbo He
aa3e9dda3d 8202952: C2: Unexpected dead nodes after matching
Reviewed-by: roland, andrew
Backport-of: 50e3aa4150dc1dd18870c5725666188ab38ab7d5
2023-08-24 12:47:59 +00:00
Ben Taylor
3232400385 8042726: [TESTBUG] TEST.groups file was not updated after runtime/6925573/SortMethodsTest.java removal
Removed runtime/6925573/SortMethodsTest.java from TEST.groups

Reviewed-by: sgehwolf
Backport-of: 3e6986fb58400193cf02ce4566afcf8bd24b92de
2023-08-16 18:14:18 +00:00
Ben Taylor
893340a78b 8040887: [TESTBUG] Remove test/runtime/6925573/SortMethodsTest.java
Removed test/runtime/6925573/SortMethodsTest.java

Reviewed-by: phh
Backport-of: db9dcbd63b412cbc9cbbf537585b63a5ccbe8d46
2023-08-09 16:13:49 +00:00
Thomas Stuefe
43561ef435 8151460: Metaspace counters can have inconsistent values
Reviewed-by: phh, sgehwolf
Backport-of: d30aeec30c3832b2514a6f06451897afdaf52fb3
2023-04-19 11:37:40 +00:00
Zdenek Zambersky
de0e5a2dcb 8152432: Implement setting jtreg @requires properties vm.flavor, vm.bits, vm.compMode
Reviewed-by: phh, sgehwolf
Backport-of: 24a9e0ac188a37dc57cc4d1bb8d8635abb4c4f89
2023-03-21 11:32:39 +00:00
Ao Qi
fbaabf366e 8301620: [8u] some shell tests are passed but have unexpected operator errors
Reviewed-by: sgehwolf
2023-02-08 09:27:46 +00:00
Severin Gehwolf
b4ee9f86a1 8301332: [8u] Fix writing of test files after the cgroups v2 backport
Reviewed-by: andrew
2023-01-30 17:12:51 +00:00
Severin Gehwolf
36f6f17a9c 8287107: CgroupSubsystemFactory.setCgroupV2Path asserts with freezer controller
Reviewed-by: phh, andrew
Backport-of: 704b9a66bba0dc8adb62be80fd62864b9c687c3f
2023-01-30 15:59:28 +00:00
Nagata, Haruhito
ab678bc8e8 8283606: Tests may fail with zh locale on MacOS
Reviewed-by: sgehwolf
Backport-of: 7d545084f45af44386cb38172fd783f889a8c4e7
2023-01-30 03:19:03 +00:00
Jonathan Dowland
a5bd9018d5 8293540: [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts
Reviewed-by: sgehwolf
Backport-of: 6d83482a6b5f1898514fd450d8143dbfef57e362
2023-01-24 10:41:06 +00:00
Jonathan Dowland
8d2f7e0ccb 8292541: [Metrics] Reported memory limit may exceed physical machine memory
8300119: CgroupMetrics.getTotalMemorySize0() can report invalid results on 32 bit systems

Reviewed-by: sgehwolf
Backport-of: 9a0d1e7ce86368cdcade713a9e220604f7d77ecf
2023-01-19 14:34:12 +00:00
Severin Gehwolf
9d954b9ff2 8289695: [TESTBUG] TestMemoryAwareness.java fails on cgroups v2 and crun
Reviewed-by: andrew
Backport-of: ac6be165196457a26d837760b5f5030fe010d633
2023-01-11 17:32:50 +00:00
Zdenek Zambersky
5a3fc18e92 8299804: Fix non-portable code in hotspot shell tests in 8u
Reviewed-by: phh, sgehwolf
2023-01-11 13:09:55 +00:00
Jonathan Dowland
65fcf61916 8293472: Incorrect container resource limit detection if manual cgroup fs mounts present
Reviewed-by: sgehwolf
Backport-of: 8f3bbe950fb5a3d9f6cae122209df01df0f342f0
2023-01-09 20:36:07 +00:00
Zdenek Zambersky
0f698dae3b 8299548: Fix hotspot/test/runtime/Metaspace/MaxMetaspaceSizeTest.java in 8u
Reviewed-by: phh
2023-01-09 16:14:56 +00:00
Dan Lutker
c5751e60a8 8229182: [TESTBUG] runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Reviewed-by: phh
Backport-of: a41b9a71acdf69b78104677a1ca899ff36293a60
2022-12-27 20:28:27 +00:00
Jonathan Dowland
b4ef3d338a 8292083: Detected container memory limit may exceed physical machine memory
Reviewed-by: sgehwolf
Backport-of: f694f8a7671002559e7d23fdb65d5e9c768f9c03
2022-12-19 16:30:48 +00:00
Jonathan Dowland
d039c8de57 8291570: [TESTBUG] Part of JDK-8250984 absent from 11u
Reviewed-by: andrew
Backport-of: 2f0f34ce4cbe0f51a1bcc3145eb4d7ade9287d5d
2022-12-16 11:34:19 +00:00
Jonathan Dowland
4dfc7421e8 8253939: [TESTBUG] Increase coverage of the cgroups detection code
Reviewed-by: sgehwolf
Backport-of: 42fc15899115ca61151bbee96b5580d4e4252beb
2022-12-15 18:01:19 +00:00
Jonathan Dowland
d2df91dc5c 8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)
Reviewed-by: sgehwolf
Backport-of: 2bbf8a2a964a64d88298a3dd184459af506e58ed
2022-12-15 14:58:16 +00:00
Jonathan Dowland
2bee6454e8 8253435: Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist
Reviewed-by: sgehwolf
Backport-of: 0054c15f60cce6470be05d29bfacbdb74cfb7bc9
2022-12-15 13:46:36 +00:00
Jonathan Dowland
d9db01ccc6 8252359: HotSpot Not Identifying it is Running in a Container
Backport-of: 76f0588aaf265439a589cceb924e3ea9d3fda8f1
2022-12-15 10:54:24 +00:00
Jonathan Dowland
c7599bd217 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Reviewed-by: sgehwolf
Backport-of: 5287d9a366791793b644d765ece783496b011119
2022-12-13 19:30:15 +00:00
Jonathan Dowland
4ab80ff59d 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java
When the kernel doesn't support swap limits, expect host values instead.

Reviewed-by: sgehwolf
Backport-of: fb5132254d834ba01a4b65ce64143843e83c674e
2022-12-12 20:07:00 +00:00
Jonathan Dowland
989d68f1e1 8239785: Cgroups: Incorrect detection logic on old systems in hotspot
Return NULL subsystem if no cgroup controllers are mounted.

Reviewed-by: sgehwolf
Backport-of: add18914fb1294999877b563c734a25b4c17b922
2022-12-12 14:09:53 +00:00
Zdenek Zambersky
40e7b68f2e 8295952: Problemlist existing compiler/rtm tests also on x86
Reviewed-by: sgehwolf
Backport-of: 3f2f128af6ec2f9097af7758bfd41aeaa4354d40
2022-12-06 17:55:49 +00:00
Alexey Pavlyutkin
e9acfceb35 8295322: Tests for JDK-8271459 were not backported to 11u
Reviewed-by: phh
Backport-of: 70ddb1b025ce3b8eed4d8ad5af1b1fa4d0e0b015
2022-12-01 10:24:58 +00:00
Jonathan Dowland
7eb2803b5b 8230305: Cgroups v2: Container awareness
8216366: Add rationale to PER_CPU_SHARES define
8229202: Docker reporting causes secondary crashes in error handling
8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
8254997: Remove unimplemented OSContainer::read_memory_limit_in_bytes

Implement Cgroups v2 container awareness in hotspot

Reviewed-by: sgehwolf, andrew
Backport-of: d462a6b5c9bd3dae5257cca42ea38c19cb742e3c
2022-11-30 20:08:59 +00:00
Zdenek Zambersky
5a32484f0f 8297141: Fix hotspot/test/runtime/SharedArchiveFile/DefaultUseWithClient.java for 8u
Reviewed-by: sgehwolf
2022-11-22 15:49:49 +00:00
Zdenek Zambersky
da0c382888 8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
Reviewed-by: sgehwolf
Backport-of: 0cf828153cf8ee337645645b0632e77b8733a734
2022-11-22 15:31:00 +00:00
Zdenek Zambersky
7024bf0af8 8296959: Fix hotspot shell tests of 8u on multilib systems
Reviewed-by: sgehwolf
2022-11-15 13:02:58 +00:00
Dan Lutker
f6d869f025 8221529: [TESTBUG] Docker tests use old/deprecated image on AArch64
Reviewed-by: sgehwolf
Backport-of: 71ac3d952b6d5bf9eb08ec7daf07225b1ab66216
2022-11-11 16:46:29 +00:00
Joshua Cao
736c1fb18f 8295288: Some vm_flags tests associate with a wrong BugID
Backport-of: 3dbc38a2c903f533ace847a3bc0d2687f263fafd
2022-11-09 19:12:12 +00:00