226 Commits

Author SHA1 Message Date
Volker Simonis
48fb34d596 8203292: Print complete set of flags in the hs_err file
Prints non-default flags to hs_err file

Reviewed-by: gziemski, dholmes
2018-05-21 11:09:58 -05:00
Severin Gehwolf
003b10c2bc 8203287: Zero fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade, mdoerr
2018-05-16 15:25:51 +02: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
Per Lidén
e8eb07d805 8203220: Introduce ATTRIBUTE_ALIGNED macro
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:24:54 +02:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Martin Doerr
71a38a4720 8202080: Introduce ordering semantics for Atomic::add and other RMW atomics
Reviewed-by: lucy, rehn, dholmes
2018-05-07 12:28:11 +02:00
Aleksey Shipilev
aef2df31e6 8202684: Minimal VM build is broken after JDK-8199067, JDK-8202638
Reviewed-by: eosterlund, stuefe
2018-05-05 18:55:31 +02:00
Gary Adams
dd34d29a46 8202319: Fix compilation warnings in Solaris debug builds for DevStudio 12.6
Disable warnings.

Reviewed-by: dholmes, kbarrett
2018-05-04 17:52:10 -04:00
Stefan Karlsson
1cb95bd3d1 8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Thomas Stuefe
d9b3c3203e 8201572: Improve Metaspace Statistics
Reviewed-by: adinn, zgu
2018-04-24 18:06:32 +02:00
Vladimir Kozlov
8ebfc59cfa 8202552: [AOT][JVMCI] Incorrect usage of INCLUDE_JVMCI and INCLUDE_AOT
Reviewed-by: stefank, ihse
2018-05-03 09:07:40 -07:00
Per Lidén
8c235a30e7 8202364: Add GCConfig::hs_err_name() to avoid GC-specific code in error reporting
Reviewed-by: eosterlund, shade
2018-04-30 12:19:53 +02:00
Thomas Schatzl
0f583c7817 6672778: G1 should trim task queues more aggressively during evacuation pauses
Regularly try to drain task queues. This helps memory usage and performance during garbage collection.

Reviewed-by: sjohanss, sangheki
2018-04-27 12:06:46 +02:00
Erik Österlund
f4893f5a9a 8201543: Modularize C1 GC barriers
Reviewed-by: pliden, rbackman, rkennke
2018-04-26 20:42:43 +02:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Christoph Langer
a9b0242eef 8201649: Remove dubious call_jio_print in ostream.cpp
Reviewed-by: stuefe, dholmes
2018-04-17 15:54:14 +02:00
Per Lidén
0afac6dc79 8201647: Make initial clearing of CHeapBitMap optional
Reviewed-by: stefank, kbarrett, tschatzl, smonteith
2018-04-19 07:54:50 +02:00
Coleen Phillimore
36d1d59425 8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang

Remove oop pointers from runtime data structures.

Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Aleksey Shipilev
4c626b6272 8201799: Build failures after JDK-8195099 (Concurrent safe-memory-reclamation mechanism)
Reviewed-by: dholmes, tschatzl, eosterlund
2018-04-18 15:05:37 +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
Stefan Karlsson
623c83dad9 8201427: Fix Minimal VM builds on Linux x64
Reviewed-by: shade
2018-04-11 13:52:23 +02:00
Robin Westberg
2dfa53af63 8199736: Define WIN32_LEAN_AND_MEAN before including windows.h
Reviewed-by: erikj, ihse, kbarrett, dholmes
2018-04-09 10:09:38 +02:00
Kim Barrett
a384a668a5 8200550: Xcode 9.3 produce warning -Wexpansion-to-defined
Removed problem macros.

Reviewed-by: tschatzl, dholmes, coleenp
2018-04-09 20:36:04 -04:00
Zhengyu Gu
a47dc291ae 8201242: Include source file/line number when reporting native call stack on supported platforms
Added source file/line number to native call stack reporting on supported platforms

Reviewed-by: adinn, stuefe, dcubed
2018-04-09 08:19:26 -04: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
Stefan Karlsson
3910bba58f 8201227: Add ALL_GCS_ONLY
Reviewed-by: sjohanss, shade, rehn
2018-04-06 13:54:54 +02:00
Kim Barrett
094178fdba 8200630: Globally suppress Visual Studio warning C4351
Globally suppress warning, remove sole instance of local suppression.

Reviewed-by: gtriantafill, tschatzl
2018-04-04 18:19:46 -04:00
Aleksey Shipilev
d2ad998e7d 8200608: Build failures after JDK-8191101 (Show register content in hs-err file on assert)
Reviewed-by: dholmes, tschatzl
2018-04-04 12:06:31 +02:00
Per Lidén
e3752f15c9 8200607: Add missing include dependency in bitMap.hpp
Reviewed-by: shade, stefank
2018-04-04 11:59:48 +02:00
Roman Kennke
b938ae51ce 8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Thomas Stuefe
3e603a776e 8191101: Show register content in hs-err file on assert
Reviewed-by: adinn, clanger, simonis
2018-03-30 06:31:16 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Volker Simonis
d52d7a880e 8199698: Change 8199275 breaks template instantiation for xlC (and potentially other compliers)
Reviewed-by: stefank, coleenp
2018-03-16 19:13:13 +01:00
Gerard Ziemski
d0391f46a9 8199356: Fix hotspot to allow stdlib to use libc++ and to allow changing the deployment target to 10.9
Remove conflicting poison min/max define

Reviewed-by: kbarrett, lfoltan
2018-03-19 13:57:08 -05:00
Coleen Phillimore
394e34d821 8199282: Remove ValueObj class for allocation subclassing for gc code
Reviewed-by: stefank, kbarrett
2018-03-14 07:27:19 -04:00
Thomas Stuefe
da674f0d0d 8199430: Rename MetaspaceAux to something more meaningful
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Coleen Phillimore
10259cf594 Merge 2018-03-09 12:03:20 -05:00
Coleen Phillimore
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Stefan Karlsson
d42acfd37b 8199319: Remove handles.inline.hpp include from reflectionUtils.hpp
Reviewed-by: hseigel, dholmes
2018-03-08 19:10:25 +01:00
Stefan Karlsson
b9f2f3e199 8199275: Fix inclusions of allocation.inline.hpp
Reviewed-by: coleenp, kbarrett, dholmes
2018-03-08 09:56:29 +01:00
Thomas Stuefe
1b402fdb6d 8198423: Improve metaspace chunk allocation
Reviewed-by: goetz, coleenp
2018-03-06 19:24:13 +01:00
Zhengyu Gu
cbaf7f2f81 8198845: Missing resource mark results disassembling generated code failure in hs error report
Fixed secondary failure due to missing resource mark while disassembling nmethod

Reviewed-by: coleenp, stuefe, dholmes
2018-03-04 20:57:46 -05:00
Kim Barrett
d2ce0ae7d4 8196882: VS2017 Hotspot Defined vsnprintf Function Causes C2084 Already Defined Compilation Error
Add os::vsnprintf and os::snprintf.

Reviewed-by: lfoltan, stuefe, mlarsson
2018-02-27 18:17:57 -05:00
Robin Westberg
f2c21c058d 8041626: Shutdown tracing event
Reviewed-by: dholmes, alanb, rriggs
2018-02-13 15:48:23 +01: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
b9b29cb3d6 8198635: Remove unused safepoint message functions and ShowSafepointMsgs
Reviewed-by: eosterlund, gtriantafill
2018-02-23 14:13:06 -05:00