Commit Graph

405 Commits

Author SHA1 Message Date
Stefan Johansson
5df25dc088 8266807: Windows os_windows-gtest broken for UseLargePages
Reviewed-by: iwalulya, ayang, tschatzl
2021-05-31 12:51:21 +00:00
Xin Liu
41185d38f2 8229517: Support for optional asynchronous/buffered logging
Reviewed-by: ysuenaga, simonis, stuefe, phh, dholmes, ayang
2021-05-27 16:35:24 +00:00
Dong Bo
123cdd1fbd 8264973: AArch64: Optimize vector max/min/add reduction of two integers with NEON pairwise instructions
Reviewed-by: njian, aph
2021-05-25 02:17:19 +00:00
Thomas Stuefe
9820f3d480 8267371: Concurrent gtests take too long
Reviewed-by: shade, gziemski
2021-05-19 17:55:05 +00:00
Gerard Ziemski
237fee8bbd 8267339: Temporarily disable os.release_multi_mappings_vm on macOS x64
Reviewed-by: hseigel, dcubed
2021-05-19 16:42:10 +00:00
Ivan Walulya
70f6c67051 8233380: CHT: Node allocation and freeing
Reviewed-by: rehn, tschatzl
2021-05-19 08:01:35 +00:00
Gerard Ziemski
fadf58043c 8262952: [macos_aarch64] os::commit_memory failure
Reviewed-by: stuefe, aph
2021-05-18 14:44:12 +00:00
Thomas Stuefe
da7c846a8c 8264408: test_oopStorage no longer needs to disable some tests on WIN32
Reviewed-by: shade, tschatzl
2021-05-18 08:52:39 +00:00
Thomas Stuefe
554caf33a0 8251392: Consolidate Metaspace Statistics
Reviewed-by: coleenp, zgu
2021-05-18 06:35:17 +00:00
Ivan Walulya
2313a2187a 8266637: CHT: Add insert_and_get method
Reviewed-by: tschatzl, rehn
2021-05-17 09:41:45 +00:00
David Holmes
02f895c5f6 8252685: APIs that require JavaThread should take JavaThread arguments
Reviewed-by: coleenp, sspitsyn, kvn, iklam
2021-05-17 04:05:44 +00:00
Thomas Stuefe
f3fb5a4524 8266942: gtest/GTestWrapper.java os.iso8601_time_vm failed
Reviewed-by: dcubed
2021-05-15 05:20:01 +00:00
Ivan Walulya
dcf250d5d4 8233378: CHT: Fast reset
Reviewed-by: tschatzl, rehn
2021-05-12 09:07:01 +00:00
Thomas Stuefe
74fecc070a 8266503: [UL] Make Decorations safely copy-able and reduce their size
Reviewed-by: simonis, ysuenaga
2021-05-07 14:04:27 +00:00
Thomas Schatzl
14f0afe811 8214237: Join parallel phases post evacuation
Reviewed-by: iwalulya, sjohanss
2021-05-07 11:38:29 +00:00
Stefan Johansson
2798b0d98a 8266349: Pass down requested page size to reserve_memory_special
Reviewed-by: stuefe, mgkwill
2021-05-07 11:33:10 +00:00
Thomas Stuefe
94c6177f24 8266536: Provide a variant of os::iso8601_time which works with arbitrary timestamps
Reviewed-by: xliu, simonis, ysuenaga
2021-05-07 09:47:46 +00:00
Stefan Johansson
141cc2f2a3 8261527: Record page size used for underlying mapping in ReservedSpace
Reviewed-by: rkennke, iwalulya
2021-05-04 09:00:10 +00:00
Thomas Schatzl
c76ce28754 8265842: G1: Introduce API to run multiple separate tasks in a single gangtask
Reviewed-by: lkorinth, ayang, sjohanss, iwalulya
2021-04-29 14:44:14 +00:00
Coleen Phillimore
222f9f07d1 8265682: G1: Mutex::_name dangling in HeapRegionRemSet references after JDK-8264146
Reviewed-by: dholmes, sjohanss
2021-04-26 14:23:08 +00:00
Robbin Ehn
86bd44fe80 8257831: Suspend with handshakes
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00
Jie Fu
a22ad03b25 8264983: Add gtest for JDK-8264008
Reviewed-by: stuefe
2021-04-20 22:49:01 +00:00
Aleksey Shipilev
66f89870f2 8265298: Hard VM crash when deadlock between "access" and higher ranked lock is detected
Reviewed-by: pchilanomate, dholmes
2021-04-17 06:21:19 +00:00
Anton Kozlov
283d64f815 8262896: [macos_aarch64] Crash in jni_fast_GetLongField
Reviewed-by: aph, dholmes
2021-04-13 22:34:28 +00:00
Mikael Vidstedt
fced0f08bf 8265113: ProblemList gtest/GTestWrapper.java:os.release_multi_mappings on macosx-aarch64
Reviewed-by: stuefe, akozlov, dcubed
2021-04-13 15:10:58 +00:00
Stefan Johansson
f2f7aa3bec 8262291: Refactor reserve_memory_special_huge_tlbfs
Reviewed-by: iwalulya, stuefe
2021-04-13 08:59:09 +00:00
Ioi Lam
627ad9fe22 8262328: Templatize JVMFlag boilerplate access methods
Reviewed-by: dholmes, gziemski
2021-04-10 15:39:27 +00:00
Xiaohong Gong
e89542fbe6 8264352: AArch64: Optimize vector "not/andNot" for NEON and SVE
Reviewed-by: aph, njian
2021-04-08 06:14:52 +00:00
Kim Barrett
22b20f8e92 8264424: Support OopStorage bulk allocation
Reviewed-by: ayang, tschatzl
2021-04-07 19:43:19 +00:00
Daniel D. Daugherty
f259eeaf65 8264393: JDK-8258284 introduced dangling TLH race
Reviewed-by: dholmes, rehn, eosterlund
2021-04-03 19:06:34 +00:00
Ningsheng Jian
0935eaa4b4 8264409: AArch64: generate better code for Vector API allTrue
Reviewed-by: adinn, pli
2021-04-02 09:31:20 +00:00
Ioi Lam
5858399062 8264285: Clean the modification of ccstr JVM flags
Reviewed-by: dholmes, coleenp
2021-04-01 18:25:14 +00:00
Man Cao
e2ec997b55 8263551: Provide shared lock-free FIFO queue implementation
Create a generalized lock-free queue implementation based on G1DirtyCardQueueSet::Queue.

Reviewed-by: kbarrett, iwalulya
2021-03-31 18:29:37 +00:00
Kim Barrett
bb354b9d1c 8264166: OopStorage should support specifying MEMFLAGS for allocations
Reviewed-by: tschatzl, stefank
2021-03-26 07:44:22 +00:00
Anton Kozlov
dbc9e4b50c 8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread

Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Stefan Karlsson
a79f095697 8263721: Unify oop casting
Reviewed-by: kbarrett, coleenp
2021-03-24 10:28:38 +00:00
David Holmes
c6d74bd933 8262910: Cleanup THREAD/TRAPS/naming and typing issues in ObjectMonitor and related code
Reviewed-by: coleenp, pchilanomate, dcubed, cjplummer, sspitsyn
2021-03-10 22:33:56 +00:00
Anton Kozlov
0bc45625b0 8263068: Rename safefetch.hpp to safefetch.inline.hpp
Reviewed-by: stefank
2021-03-09 08:19:59 +00:00
Mikhailo Seledtsov
9221540e2a 8213269: convert test/hotspot/jtreg/runtime/memory/RunUnitTestsConcurrently to gtest
Reviewed-by: iignatyev, coleenp, stuefe
2021-03-08 20:09:59 +00:00
Albert Mingkun Yang
9730266d02 8262973: Verify ParCompactionManager instance in PCAdjustPointerClosure
Reviewed-by: kbarrett, tschatzl
2021-03-05 08:49:08 +00:00
Hao Sun
84c93d5a18 8257137: Revise smov and umov in aarch64 assembler
Reviewed-by: aph, njian
2021-03-04 03:19:15 +00:00
Thomas Stuefe
f5ab7f688c 8262472: Buffer overflow in UNICODE::as_utf8 for zero length output buffer
Reviewed-by: dholmes, iklam
2021-03-02 04:28:48 +00:00
Xin Liu
7603278164 8260198: TypeInstPtr::dump2() emits multiple lines if Verbose is set
Reviewed-by: thartmann
2021-02-26 10:46:43 +00:00
Ioi Lam
0f8be6e433 8261868: Reduce inclusion of metaspace.hpp
Reviewed-by: stuefe, ccheung
2021-02-25 04:31:12 +00:00
Anton Kozlov
b955f85e03 8261075: Create stubRoutines.inline.hpp with SafeFetch implementation
Reviewed-by: dcubed, stuefe, stefank
2021-02-17 08:10:32 +00:00
Ioi Lam
82028e70d1 8260012: Reduce inclusion of collectedHeap.hpp and heapInspection.hpp
Reviewed-by: stefank, tschatzl
2021-02-04 04:05:33 +00:00
Ioi Lam
ffbcf1b0a7 8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
2021-02-02 23:40:29 +00:00
Thomas Stuefe
b7b391b2ac 8260625: Rename MetaspaceExpand_lock
Reviewed-by: shade
2021-01-29 15:33:00 +00:00
Ioi Lam
5898ab6545 8259894: refactor parts of jvm.h into jvm_io.h and jvm_constants.h
Reviewed-by: dholmes, coleenp
2021-01-25 08:00:40 +00:00
Ioi Lam
aa57d07ce8 8259214: MetaspaceClosure support for Arrays of MetaspaceObj
Reviewed-by: fparain, ccheung
2021-01-22 22:47:08 +00:00
Kim Barrett
a97f3c18d5 8258853: Support separate function declaration and definition with ENABLE_IF-based SFINAE
Add ENABLE_IF_SDEFN, unit tests

Reviewed-by: jrose, eosterlund
2021-01-22 14:44:35 +00:00
Kim Barrett
7ed8ba1ca0 8256814: WeakProcessorPhases may be redundant
Remove WeakProcessorPhase, adding scoped enum categories to OopStorageSet.

Reviewed-by: stefank, tschatzl, rkennke
2021-01-22 13:12:39 +00:00
Thomas Stuefe
d066f2b06c 8260030: Improve stringStream buffer handling
Reviewed-by: iklam, kbarrett
2021-01-22 09:00:56 +00:00
Thomas Stuefe
4dfd8cc4a6 8259897: gtest os.dll_address_to_function_and_library_name_vm fails on AIX
Reviewed-by: mdoerr
2021-01-21 10:30:36 +00:00
Thomas Stuefe
90c73d057d 8259569: gtest os.dll_address_to_function_and_library_name_vm fails
Reviewed-by: dcubed
2021-01-16 05:17:10 +00:00
Dong Bo
c6d798c25a 8259629: aarch64 builds fail after JDK-8258932
Reviewed-by: kvn
2021-01-13 00:30:58 +00:00
Dong Bo
ccac7aaea3 8258932: AArch64: Enhance floating-point Min/MaxReductionV with fminp/fmaxp
Reviewed-by: aph
2021-01-12 13:27:47 +00:00
Kim Barrett
2255ab7603 8258810: Improve enum traits
Reviewed-by: ayang, iklam, lfoltan
2021-01-12 03:38:54 +00:00
Daniel D. Daugherty
8dfc77bfa6 8259586: ProblemList dll_address_to_function_and_library_name
Reviewed-by: hseigel
2021-01-11 19:44:26 +00:00
Thomas Stuefe
e0d748d56f 8258606: os::print_signal_handlers() should resolve the function name of the handlers
Reviewed-by: dholmes, coleenp, gziemski
2021-01-11 09:06:40 +00:00
Ioi Lam
5ea960728c 8258459: Decouple gc_globals.hpp from globals.hpp
Reviewed-by: lfoltan, coleenp
2021-01-05 05:57:08 +00:00
Claes Redestad
9d160aa1b7 8257815: Replace global log2 functions with efficient implementations
Reviewed-by: kbarrett, stefank
2021-01-04 21:01:25 +00:00
Daniel D. Daugherty
172af1524d 8258284: clean up issues with nested ThreadsListHandles
Reviewed-by: eosterlund, rehn
2020-12-22 14:07:43 +00:00
Thomas Stuefe
853c04712d 8258469: Cleanup remaining safefetch test coding
Reviewed-by: coleenp, dholmes
2020-12-18 08:13:16 +00:00
Coleen Phillimore
6aa8eed352 8258415: gtest for committed memory leaks reservation
Reviewed-by: hseigel, stuefe
2020-12-17 13:35:09 +00:00
Ioi Lam
17ace8339d 8258074: Move some flags related to compiler to compiler_globals.hpp
Reviewed-by: kvn, coleenp
2020-12-16 04:36:43 +00:00
Ioi Lam
8bf46c7368 8258438: build error in test/hotspot/gtest/runtime/test_os.cpp
Reviewed-by: dcubed, tschatzl
2020-12-15 21:42:01 +00:00
Coleen Phillimore
c37eabe73b 8252148: vmError::controlled_crash should be #ifdef ASSERT and move tests to gtest
Reviewed-by: iklam, stuefe
2020-12-15 20:48:18 +00:00
Anton Kozlov
2273f9555a 8234930: Use MAP_JIT when allocating pages for code cache on macOS
Reviewed-by: stuefe, iklam, burban
2020-12-15 18:43:49 +00:00
Thomas Stuefe
568dc29b9a 8185734: [Windows] Structured Exception Catcher missing around gtest execution
Reviewed-by: dholmes, ihse
2020-12-15 09:02:46 +00:00
Thomas Stuefe
3ab1dfeb8f 8257828: SafeFetch may crash if invoked in non-JavaThreads
Reviewed-by: mdoerr, kbarrett, coleenp, dholmes
2020-12-15 07:00:54 +00:00
Jesper Wilhelmsson
381021aebf Merge 2020-12-15 03:40:30 +00:00
Claes Redestad
e69ae07f08 8257985: count_trailing_zeros doesn't handle 64-bit values on 32-bit JVM
Reviewed-by: kbarrett
2020-12-14 11:59:05 +00:00
Ioi Lam
c30fff7c32 8257229: gtest death tests fail with unrecognized stderr output
Reviewed-by: coleenp, minqi
2020-12-14 07:00:40 +00:00
Markus Grönlund
e90d0d1da4 8258065: ProblemList JfrGTestAdaptiveSampling
Reviewed-by: iignatyev
2020-12-10 22:25:23 +00:00
Ioi Lam
80dac5a87c 8257912: Convert enum iteration to use range-based for loops
Reviewed-by: kbarrett, tschatzl, gziemski
2020-12-10 20:33:13 +00:00
Markus Grönlund
502a5241e5 8257602: Introduce JFR Event Throttling and new jdk.ObjectAllocationSample event (enabled by default)
Co-authored-by: Jaroslav Bachorik <jbachorik@openjdk.org>
Reviewed-by: egahlin, jbachorik
2020-12-10 12:33:48 +00:00
Marcus G K Williams
b977a7b8a5 8257989: Error in gtest os_page_size_for_region_unaligned after 8257588
Reviewed-by: stuefe
2020-12-09 18:59:09 +00:00
Gerard Ziemski
936a7acf32 8252797: Non-PCH build fails on Ubuntu 16.4 when building with gtests
Reviewed-by: dholmes
2020-12-08 15:49:11 +00:00
Thomas Stuefe
8e8e584552 8257588: Make os::_page_sizes a bitmask
Reviewed-by: tschatzl, stefank
2020-12-07 10:32:05 +00:00
Thomas Stuefe
b44a329f91 8256864: [windows] Improve tracing for mapping errors
Reviewed-by: iklam, rrich
2020-12-03 08:41:26 +00:00
Kim Barrett
3932527288 8257466: Improve enum iteration
Improve support for iteration on enums that are just range of values, without named enumerators.

Reviewed-by: iklam, lfoltan
2020-12-03 04:26:23 +00:00
Aleksey Shipilev
13bd2e82ca 8257396: AArch64 Zero build is broken after JDK-8252684
Reviewed-by: dholmes
2020-12-01 07:14:24 +00:00
Coleen Phillimore
4db05e991b 8254042: gtest/GTestWrapper.java failed os.test_random
Reviewed-by: dholmes, stuefe, kbarrett
2020-11-30 12:48:17 +00:00
Claes Redestad
9bcd2695c3 8257221: C2: RegMask::is_bound_set split set handling broken since JDK-8221404
Reviewed-by: kvn, neliasso
2020-11-30 08:18:32 +00:00
David Holmes
04eecf03eb 8257233: Windows x86 build is broken by JDK-8252684
Reviewed-by: mikael
2020-11-29 01:20:37 +00:00
Nick Gasson
c93f0a07c4 8252684: Move the AArch64 assember test under test/hotspot/gtest
Reviewed-by: aph
2020-11-28 15:37:18 +00:00
Claes Redestad
2d30a10138 8257069: C2: Clarify and sanity test RegMask/RegMaskIterator
Reviewed-by: jvernee, kvn
2020-11-26 13:42:55 +00:00
Thomas Stuefe
e56a8df8a0 8257042: [aix] Disable os.release_one_mapping_multi_commits_vm gtest
Reviewed-by: shade
2020-11-25 21:26:36 +00:00
Ralf Schmelter
26e6cb3eb9 8256489: Make gtest for long path names on Windows more resilient in the presence of virus scanners
Reviewed-by: dholmes, clanger
2020-11-25 13:16:36 +00:00
Per Liden
372595cca3 8256390: ZGC: Relocate in-place instead of having a heap reserve
Reviewed-by: stefank, eosterlund
2020-11-23 23:30:38 +00:00
Thomas Stuefe
fa75ad695c 8256725: Metaspace: better blocktree and binlist asserts
Reviewed-by: shade, rrich, lkorinth
2020-11-23 18:50:09 +00:00
Patricio Chilano Mateo
aabc9ca266 8255678: Add Mutex::try_lock version without rank checks
Reviewed-by: dcubed, dholmes, coleenp
2020-11-23 15:41:19 +00:00
Thomas Stuefe
02adaa5854 8255885: Metaspace: freelist commit counter is not updated when purging
Reviewed-by: coleenp, iklam
2020-11-20 06:52:21 +00:00
Stefan Johansson
b8244b606e 8236926: Concurrently uncommit memory in G1
Reviewed-by: ayang, tschatzl
2020-11-19 17:55:33 +00:00
Patricio Chilano Mateo
342ccf6903 8256253: Defer Biased Locking obsoletion to JDK 18
Reviewed-by: dholmes, coleenp, dcubed, mdoerr
2020-11-19 14:12:41 +00:00
Thomas Stuefe
f626ed6a43 8255978: [windows] os::release_memory may not release the full range
Reviewed-by: iklam, minqi
2020-11-19 11:51:09 +00:00
Per Liden
9130ca4c73 8256401: ZGC: Improve ZList verification
Reviewed-by: ayang, stefank
2020-11-17 16:40:12 +00:00
Patricio Chilano Mateo
943acd22e5 8256276: Temporarily disable gtest special_flags
Reviewed-by: tschatzl, dcubed
2020-11-12 15:45:26 +00:00
Daniel D. Daugherty
2e19026d45 8253064: monitor list simplifications and getting rid of TSM
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, rehn, coleenp
2020-11-11 16:20:11 +00:00