281 Commits

Author SHA1 Message Date
Igor Ignatyev
35871a8ca1 8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07:00
Igor Ignatyev
de6f5b33ed 8177708: Convert TestReserveMemorySpecial_test to Gtest
Reviewed-by: gziemski, vlivanov
2018-11-02 16:26:11 -07:00
Kim Barrett
5f7a59f69c 6735527: Bitmap - speed up searches
New parameterized bitmap search routine, using ctz.

Reviewed-by: tschatzl, shade
2018-11-02 17:51:21 -04:00
Coleen Phillimore
d302072f50 8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Bob Vandette
f161afb806 Merge 2018-10-31 10:48:13 -04: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
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Igor Ignatyev
93c891c51b 8177710: Convert TestMetaspaceUtils_test to GTest
Reviewed-by: tschatzl
2018-10-29 14:04:44 -07:00
Kirill Zhaldybin
810ba0eb12 8157728: Convert GCTimer_test to GTest
Reviewed-by: tschatzl, jcbeyler, iignatyev
2018-10-29 14:04:42 -07:00
Coleen Phillimore
6a045adbed 8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
Don't return unloaded klasses. Make sure access is protected by Compile_lock.

Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Pavel Punegov
a7aa770b9a 8164546: Convert DirectivesParser_test to GTest
Reviewed-by: kvn, iignatyev, neliasso
2018-10-25 11:18:24 -07:00
Robbin Ehn
77ad5f6fa3 8212707: GlobalCounter padding is too optimistic
Reviewed-by: shade, redestad, mdoerr
2018-10-23 13:24:36 +02:00
Igor Ignatyev
f1e1e1fe6f 8177709: Convert TestVirtualSpace_test to GTest
Reviewed-by: stuefe, jcbeyler
2018-10-19 16:29:45 -07:00
Kirill Zhaldybin
4c8b5f840c 8171097: Convert TestReservedSpace_test to Gtest
Reviewed-by: stuefe, jcbeyler, iignatyev
2018-10-19 16:29:43 -07:00
Harold Seigel
794d864feb 7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.

Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
Martin Doerr
e790d11666 8211852: inspect stack during error reporting
Reviewed-by: dholmes, goetz
2018-10-15 08:08:02 +02:00
Muthusamy Chinnathambi
cbe11130f5 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-09 16:08:07 +05:30
David Holmes
468b69240e 8211394: CHECK_ must be used in the rhs of an assignment statement within a block
Replace "return foo(CHECK_X);" with "return foo(THREAD);"

Reviewed-by: iklam, phh, stuefe, lfoltan
2018-10-09 20:38:13 -04:00
Kim Barrett
cd95f5a933 8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Removed deprecation warning suppression, fixed uses of deprecated functions.

Reviewed-by: dholmes, mikael
2018-10-05 14:28:44 -04:00
Matthias Baesken
2c33f148bb 8210961: [aix] enhance list of environment variables reported in error log file on AIX
Reviewed-by: clanger, simonis
2018-09-20 13:59:39 +02:00
Ioi Lam
6c59cb232f 8210875: Refactor CompactHashtable
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07:00
Magnus Ihse Bursie
8cc7ce2c18 6657100: Rename sparcWorks to solstudio in HotSpot
Reviewed-by: erikj, dcubed
2018-08-31 09:37:03 +02:00
Mikael Vidstedt
f5e624c0b3 8209856: Obsolete error reporter
Reviewed-by: coleenp, stuefe
2018-08-29 13:04:50 -07:00
Kim Barrett
e1059f1301 8209976: Improve iteration over non-JavaThreads
Add NonJavaThread and move NamedThread iteration to new class.

Reviewed-by: eosterlund, coleenp, rkennke
2018-08-28 16:04:54 -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
Ioi Lam
5b2c081460 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Relocate and patch archive regions if necessary

Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05: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
Coleen Phillimore
a6a078ee4f 8208575: Remove Atomic::add/sub for short
Removed code to atomic::add for short because it's no longer used for Symbol.

Reviewed-by: iklam
2018-08-07 19:35:50 -04:00
Patricio Chilano Mateo
2d1029c256 8171157: Convert ObjectMonitor_test to GTest
Migration of the ObjectMonitor test to GTest. Two GTests were actually created, one for ObjectMonitor and one for ObjectSynchronizer.

Reviewed-by: dcubed, hseigel
2018-07-27 16:29:36 -04:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Goetz Lindenmaier
8a9b0134a8 8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Volker Simonis
7cefb320e9 8206173: MallocSiteTable::initialize() doesn't take function descriptors into account
Reviewed-by: stuefe, zgu
2018-07-04 09:21:19 +02:00
Zhengyu Gu
1a566d4510 8205965: SIGSEGV on write to NativeCallStack::EMPTY_STACK
Made EMPTY_STACK non-const, so it will not be placed in read-only BSS section.

Reviewed-by: stuefe, martin
2018-07-02 16:28:09 -04:00
Thomas Stuefe
13d55b0087 8205925: Print correct and more information about secondary errors
Reviewed-by: coleenp, dholmes
2018-06-28 11:32:32 +02: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
Daniel D. Daugherty
1af4c68d12 8205648: fix for 8205195 breaks secondary error handling
Only grab Threads_lock in VMError::controlled_crash() when we don't already own it.

Reviewed-by: sspitsyn, stuefe
2018-06-26 14:15:49 -04:00
Jesper Wilhelmsson
dafb3af62d Merge 2018-07-11 21:41:43 +02:00
Zhengyu Gu
0a1e54644b 8206183: Possible construct EMPTY_STACK and allocation stack, etc. on first use
Uses "construct on First Use Idiom" pattern to workaround static initialization order

Reviewed-by: dholmes, minqi
2018-07-11 13:28:07 -04:00
Coleen Phillimore
859ba8ca28 8206471: Race with ConcurrentHashTable deleting items on insert with cleanup thread
Only fetch Node::next once and use that result.

Reviewed-by: hseigel, dholmes
2018-07-10 11:13:33 -04:00
Zhengyu Gu
9006ccdbbf 8205965: SIGSEGV on write to NativeCallStack::EMPTY_STACK
Made EMPTY_STACK non-const, so it will not be placed in read-only BSS section.

Reviewed-by: stuefe, martin
2018-07-02 16:28:09 -04:00
Stefan Karlsson
11813888b8 8204540: Automatic oop closure devirtualization
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Arthur Eubanks
6e0bd36f42 8205199: more Linux clang compile failures
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dholmes, kbarrett, stuefe
2018-06-22 17:49:21 -07:00
Daniel D. Daugherty
693afecf22 8205195: NestedThreadsListHandleInErrorHandlingTest fails because hs_err doesn't contain _nested_thread_list_max
Grab Threads_lock in VMError::controlled_crash() so ErrorHandling tests are more stable.

Reviewed-by: stuefe, sspitsyn
2018-06-22 12:15:16 -04:00
Robbin Ehn
ca60e251a9 8205006: Assertion failure when rehashing stringtable
Reviewed-by: lfoltan, zgu
2018-06-19 16:14:39 +02:00
Robbin Ehn
5eb354a014 8204857: ConcurrentHashTable: Fix parallel processing
Reviewed-by: coleenp, gziemski
2018-06-18 16:13:21 +02:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Rene Schuenemann
673a629875 8204477: Count linkage errors and print in Exceptions::print_exception_counts_on_error
Reviewed-by: stuefe, coleenp
2018-05-30 14:46:17 +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