87021 Commits

Author SHA1 Message Date
Xiaolong Peng
07feee5197 Missed place calling function is_active_alloc_region 2026-01-21 16:05:55 -08:00
Xiaolong Peng
bacdb925c0 Rename function is_active_alloc_region to is_atomic_alloc_region 2026-01-21 15:32:50 -08:00
Xiaolong Peng
27dafac753 Remove _active_alloc_region flag and directly use field _atomic_top to determine atomic alloc region 2026-01-21 15:13:13 -08:00
Xiaolong Peng
567bc9f3d7 Merge branch 'cas-alloc-1' of https://github.com/pengxiaolong/jdk into cas-alloc-1 2026-01-21 14:32:41 -08:00
Xiaolong Peng
2d606a6215 Enforce memory ordering for read/write of _atomic_top to fix crash on MacOS 2026-01-21 14:28:17 -08:00
Xiaolong Peng
bee032ee79 More comments 2026-01-16 22:00:08 -08:00
Xiaolong Peng
8802b94844 Remove one redundant fence 2026-01-16 21:57:51 -08:00
Xiaolong Peng
5e080fb522 Enforce memory order by adding fence 2026-01-16 16:24:22 -08:00
Xiaolong Peng
e6192824da Add more code comments 2026-01-16 11:37:06 -08:00
Xiaolong Peng
83fe3bc234 Fix new race condition in unset_active_alloc_region which sync _atomic_top back to _top, other threads may see stale _top if not holding heap lock 2026-01-16 11:32:44 -08:00
Xiaolong Peng
d8f7e51f7e Load _volatile_top once in free_bytes_for_atomic_alloc 2026-01-16 01:16:03 -08:00
Xiaolong Peng
48e04e885a Fix assert in concurrent_set_update_watermark 2026-01-16 01:15:28 -08:00
Xiaolong Peng
6c1a5c4085 Fix assert in recycle_internal 2026-01-16 00:03:46 -08:00
Xiaolong Peng
75749e51c6 Set _volatile_top to nullptr(instead of end of region) for region that is not active for CAS alloc 2026-01-15 23:59:28 -08:00
Xiaolong Peng
65770cfdcb Remove refreshed_regions 2026-01-15 16:55:52 -08:00
Xiaolong Peng
18aa3a382a Code format 2026-01-15 16:53:14 -08:00
Xiaolong Peng
3fe4192ae6 Add _volatile_top for atomic allocation in heap region w/o heap lock to address potential race condition when refresh alloc regions 2026-01-15 16:52:20 -08:00
Xiaolong Peng
42770e08c5 Only to set update_watermark when allocate from collector/old collector partition 2026-01-15 14:52:19 -08:00
Xiaolong Peng
3e8ab717a6 Update code as suggested during the review meeting 2026-01-15 14:22:58 -08:00
Xiaolong Peng
cd5955e13a Use simple array instead of PaddedArray to store alloc regions 2026-01-14 17:39:35 -08:00
Xiaolong Peng
6de6789f4b Merge branch 'master' into cas-alloc-1 2026-01-13 23:30:59 -08:00
Quan Anh Mai
624d7144f7 8374435: assert(addp->is_AddP()) failed: must be AddP during EA with -XX:-UseCompressedOops
Reviewed-by: chagedorn, thartmann
2026-01-14 07:09:38 +00:00
Eric Fang
56d7b524b3 8372978: [VectorAPI] Fix incorrect identity values in UMIN/UMAX reductions
Reviewed-by: psandoz, qamai, xgong
2026-01-14 06:17:04 +00:00
Alexey Semenyuk
b082a390b7 8375240: Make bundling progress messages issued by jpackage consistent across platforms
Reviewed-by: almatvee
2026-01-14 04:04:08 +00:00
Jonas Norlinder
5da70b1804 8375006: [Linux] Remove obsolete O_CLOEXEC check in os::open
Reviewed-by: dholmes, jsjolen
2026-01-14 02:13:13 +00:00
Xiaolong Peng
a26849bcaf More accurate census noise 2026-01-13 17:42:22 -08:00
Dingli Zhang
de6f35eff9 8375094: RISC-V: Fix client builds after JDK-8368732
Reviewed-by: fyang, wenanjian, fjiang
2026-01-14 01:01:52 +00:00
Xiaolong Peng
b1f5eaf888 Code format 2026-01-13 16:14:02 -08:00
Xiaolong Peng
f36c06923a typo 2026-01-13 15:50:43 -08:00
Kelvin Nilsen
0d19d91b44 8369048: GenShen: Defer ShenFreeSet::available() during rebuild
Reviewed-by: wkemper, ysr
2026-01-13 23:48:14 +00:00
Xiaolong Peng
6cc1834b7b More eagerly to refresh alloc regions in attempt_allocation_slow since it is holding heap lock 2026-01-13 15:42:35 -08:00
Xiaolong Peng
475bdac7cd While eagerly refresh alloc regions, thread should not yield to safepoint because it is holding uninitialized new object 2026-01-13 14:55:31 -08:00
Alexey Semenyuk
9ed0ecbcc1 8375061: Multiple jpackage tool providers may share the same logging config
Reviewed-by: almatvee
2026-01-13 22:38:12 +00:00
Xiaolong Peng
8879ec52a2 Fix assert when after eagerly refresh alloc regions after fast allocation 2026-01-13 14:08:05 -08:00
Xiaolong Peng
d503f5f719 Remove the support of 0 for flags ShenandoahMutatorAllocRegions and ShenandoahCollectorAllocRegions 2026-01-13 14:08:05 -08:00
Xiaolong Peng
9e0520ba48
Merge branch 'openjdk:master' into cas-alloc-1 2026-01-13 12:05:45 -08:00
Brent Christian
4d0ad0a4a3 8373718: jdk/internal/misc/VM/RuntimeArguments.java test fails in Virtual threads mode
Reviewed-by: alanb
2026-01-13 19:47:11 +00:00
Markus Grönlund
b070367bdf 8373106: JFR suspend/resume deadlock on macOS in pthreads library
Reviewed-by: egahlin
2026-01-13 19:40:20 +00:00
Xiaolong Peng
73e6e8da67 Add virtual back for release_alloc_regions and reserve_alloc_regions to fix link error 2026-01-13 11:19:17 -08:00
Markus Grönlund
f23752a75e 8371014: Dump JFR recording on CrashOnOutOfMemoryError is incorrectly implemented
Reviewed-by: ysuenaga
2026-01-13 18:06:04 +00:00
Xiaolong Peng
5a9e1088cc Eagerly refresh alloc region if there are 1/2 or more of alloc regions ready for retire 2026-01-13 09:31:55 -08:00
Matthias Baesken
074038438f 8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform
Reviewed-by: prr, kizune
2026-01-13 16:57:30 +00:00
Damon Nguyen
7f707ba8e7 8373727: New XBM images parser regression: only the first line of the bitmap array is parsed
Reviewed-by: prr, jdv
2026-01-13 16:55:03 +00:00
Volodymyr Paprotski
45990d796f 8374570: Assertion failure in ClearArray.java with -XX:+EnableX86EcoreOpts
Reviewed-by: thartmann, epeter, qamai
2026-01-13 15:15:36 +00:00
Matthias Baesken
49f7265894 8374872: Cleanup outdated SAP AG copyright header info
Reviewed-by: clanger, mdoerr
2026-01-13 13:54:04 +00:00
Matthias Baesken
7330e1a996 8374990: Check include and jmods folder of JDK image for unwanted files
Reviewed-by: erikj
2026-01-13 13:51:00 +00:00
Alexey Semenyuk
47029ccfec 8375050: Simplify process management in jpackage tests
Reviewed-by: almatvee
2026-01-13 13:36:44 +00:00
Alexey Semenyuk
f7be1dcf29 8375054: Removed "signed" property from jpackage app image file
Reviewed-by: almatvee
2026-01-13 13:33:41 +00:00
Quan Anh Mai
a90c7eee6f 8374969: Incorrect results of LoadStoreNode::adr_type and SCMemProj::adr_type
Reviewed-by: roland, mhaessig
2026-01-13 12:42:25 +00:00
Markus Grönlund
543a972222 8373485: JFR Crash during sampling: assert(jt->has_last_Java_frame()) failed: invariant
Reviewed-by: shade, egahlin
2026-01-13 11:44:32 +00:00