Commit Graph

140 Commits

Author SHA1 Message Date
Kim Barrett
89e3782f21 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Add java_shift_xxx helpers and use them.

Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
Claes Redestad
12adeca887 8233708: VectorSet cleanup
Reviewed-by: neliasso, shade, thartmann
2019-11-07 12:12:39 +01:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Coleen Phillimore
cd598622cc 8214822: Move ConcurrentHashTable VALUE parameter to CONFIG
Make VALUE parameter be included in CONFIG configuration, also remove BaseConfig

Reviewed-by: dholmes, kbarrett
2019-06-24 16:51:23 -04:00
Thomas Stuefe
a7f5e6f7fd 8225225: stringStream internal buffer should always be zero terminated
Reviewed-by: coleenp, dholmes
2019-06-05 19:34:43 +02:00
Thomas Stuefe
a46a6bcfeb 8220394: bufferedStream does not honor size limit
Reviewed-by: dholmes, clanger
2019-05-24 09:02:33 +02:00
Thomas Stuefe
7a0ac25b37 8224193: stringStream should not use Resouce Area
Reviewed-by: goetz, coleenp, dholmes
2019-05-22 09:33:22 +02:00
Gerard Ziemski
82d39621dc 8214821: Remove ConcurrentHashTable::get_copy
Remobed get_copy API, replaced gtest usage with get API

Reviewed-by: coleenp, rehn, kbarrett
2019-01-29 11:44:36 -06:00
Claes Redestad
bc8ecd924c 8217869: Add count_leading_zeros utility
Reviewed-by: neliasso, thartmann
2019-01-28 23:00:31 +01:00
Aleksey Shipilev
844f67317e 8217639: Minimal and Zero builds fail after JDK-8217519 (Improve RegMask population count calculation)
Reviewed-by: kvn
2019-01-23 19:31:00 +01:00
Claes Redestad
649340be11 8217519: Improve RegMask population count calculation
Reviewed-by: thartmann, neliasso, kvn
2019-01-23 10:01:21 +01:00
Aleksey Shipilev
5f325c2363 8217423: Windows gtest build fails after JDK-8212826 (Make PtrQueue free list lock-free)
Reviewed-by: clanger, zgu, kbarrett
2019-01-21 10:05:24 +01:00
Kim Barrett
5c83330cf8 8212826: Make PtrQueue free list lock-free
Add lock-free stack and use in BufferNode::Allocator.

Reviewed-by: tschatzl, sangheki
2019-01-19 19:50:01 -05:00
Aleksey Shipilev
07b8d39e6f 8217315: Proper units should print more significant digits
Reviewed-by: stuefe, tschatzl
2019-01-18 17:05:41 +01:00
Aleksey Shipilev
a9663a0a7b 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
Reviewed-by: tschatzl, coleenp
2019-01-17 17:28:47 +01:00
Robbin Ehn
83c8720879 8214271: Fast primitive to wake many threads
Reviewed-by: dholmes, dcubed
2019-01-11 10:58:46 +01:00
Gerard Ziemski
301d0140ec 8215155: Remove get_insert() from concurrent hashtable and gtests
Replaced get_insert() with get()/insert() in gtest, removed get_insert() API from cht implementation.

Reviewed-by: coleenp, rehn
2019-01-10 11:16:17 -06:00
Thomas Schatzl
528361f7ae 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Aleksey Shipilev
2df435e191 8211926: Catastrophic size_t underflow in BitMap::*_large methods
Reviewed-by: kbarrett, stuefe
2018-11-10 20:47:28 +01:00
Kim Barrett
3185dcf0f2 8212827: GlobalCounter should support nested critical sections
Support nested critical sections.

Reviewed-by: eosterlund, rehn, tschatzl
2018-10-30 18:06:35 -04:00
Kim Barrett
efe6ad59e8 8210511: TestSingleWriterSynchronizer can deadlock
Check for safepoints in test loops.

Reviewed-by: coleenp, eosterlund
2018-09-10 19:18:04 -04:00
Kim Barrett
23f0fb4cde 8209850: Allow NamedThreads to use GlobalCounter critical sections
Add NamedThreads iterator and make GlobalCounter use it.

Reviewed-by: eosterlund, rehn
2018-08-23 18:14:53 -04:00
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Igor Ignatyev
65091f8c6d 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2018-08-01 10:04:08 -07:00
Coleen Phillimore
39dd04b953 8207359: Make SymbolTable increment_refcount disallow zero
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.

Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Coleen Phillimore
fb3b911fbe 8198720: Obsolete PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Convert PrintSafepointStatistics to UL

Reviewed-by: shade, lfoltan
2018-07-11 14:44:05 -04:00
Robbin Ehn
1e4a26ceda 8205583: Crash in ConcurrentHashTable do_bulk_delete_locked_for
Reviewed-by: coleenp, gziemski
2018-06-27 12:46:15 +02:00
Robbin Ehn
5eb354a014 8204857: ConcurrentHashTable: Fix parallel processing
Reviewed-by: coleenp, gziemski
2018-06-18 16:13:21 +02:00
Robbin Ehn
66f8951e15 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by: coleenp, gziemski, iklam, jiangli
2018-06-07 14:11:56 +02:00
Coleen Phillimore
892a2af03f 8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms

Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Robbin Ehn
1dfeaa1980 8195098: Low latency hashtable for read-mostly scenarios
This implement a concurrent hashtable using chaining and the GlobalCounter for ABA problems.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson
2018-05-17 10:32:26 +02:00
Christoph Langer
67f6ee6cc7 8202000: AIX build broken after JDK-8195099
Reviewed-by: goetz, stuefe, mbaesken
2018-04-19 12:12:05 +02:00
Robbin Ehn
a0a4b1981b 8195099: Concurrent safe-memory-reclamation mechanism
This implement a globalcounter with RCU semantics.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson, kbarrett, dholmes
2018-04-18 09:25:51 +02:00
Kim Barrett
158a927587 8200697: Add utility for spin wait with fallback to yield/sleep
Added SpinYield utility class.

Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: dcubed, coleenp, dholmes
2018-04-09 01:22:37 -04:00
Lois Foltan
6e70a69893 8198304: VS2017 (C4838, C4312) Various conversion issues with gtest tests
Introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: gtriantafill, hseigel
2018-02-26 10:11:05 -05:00
Marcus Larsson
b9bc9f0be8 8198554: Add fuzzy matching for log levels and tags when parsing -Xlog
Reviewed-by: hseigel, coleenp
2018-02-26 09:34:20 +01:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00