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
Kim Barrett
b8ab854bdc
8197859: VS2017 Complains about UINTPTR_MAX definition in globalDefinitions_VisCPP.hpp
...
Use <stdint.h> and <inttypes.h> on Windows instead of emulation.
Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-21 23:30:01 -05:00
Lois Foltan
b085ebe7b7
8196884: VS2017 Multiple Type Cast Conversion Compilation Errors
...
Change the type of symbolic constant badAddressVal and introduce specific casts to fix multiple type cast conversion compilation errors.
Reviewed-by: coleenp, kbarrett
2018-02-20 07:46:40 -05:00
Coleen Phillimore
853ed9b9e3
8182847: Copy class should use assert macros
...
Reviewed-by: kbarrett, tschatzl
2018-02-18 13:32:24 -05:00
Matthias Baesken
3ea843adfe
8198275: AIX build broken after latest whitebox.cpp changes
...
Reviewed-by: mdoerr
2018-02-16 11:33:13 +01:00
Zhengyu Gu
f47021e2ab
8193373: Cleanup ElfFile and family
...
Cleanup elf decoder and added test
Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00
Coleen Phillimore
74ff5c6807
8165929: Constify arguments of Copy methods
...
Reviewed-by: hseigel, kbarrett
2018-02-09 08:23:42 -05:00
Coleen Phillimore
191a1f80a1
6909265: assert(_OnDeck != Self->_MutexEvent,"invariant") with -XX:+PrintMallocFree
...
Convert to logging without thread locking
Reviewed-by: dholmes, zgu, hseigel
2018-02-02 09:34:11 -05:00
Paul Sandoz
e55a05957d
8186209: Tool support for ConstantDynamic
...
8186046: Minimal ConstantDynamic support
8190972: Ensure that AOT/Graal filters out class files containing CONSTANT_Dynamic ahead of full AOT support
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp, kvn
2017-09-08 10:46:46 -07:00
Gerard Ziemski
2cb1917bac
8181503: Can't compile hotspot with c++11
...
Fixed 5 unique c++14 compiler issues
Reviewed-by: coleenp, dholmes, kbarrett
2018-01-31 11:12:12 -06:00
Ioi Lam
a3cb6e9204
8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
...
Use a single range check with MetaspaceObj::_shared_metaspace_{base,top}
Reviewed-by: jiangli, redestad, shade
2018-01-16 16:57:53 -08:00
Daniel D. Daugherty
add0d817f5
8194652: VMError::print_native_stack() is missing an os::is_first_C_frame() check
...
Reviewed-by: fparain, gthornbr, stuefe
2018-01-08 09:58:38 -05:00
Kim Barrett
9e5bf18428
8194406: Use Atomic::replace_if_null
...
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Stefan Karlsson
58dd5210ec
8192061: Clean up allocation.inline.hpp includes
...
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Kim Barrett
678aafa42c
8191870: Remove badJNIHandle
...
Reviewed-by: coleenp, eosterlund, dcubed
2017-11-28 15:52:32 -05:00
Daniel D. Daugherty
0dff96ff0b
8167108: inconsistent handling of SR_lock can lead to crashes
...
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
Chris Plummer
2fa7cd4d09
8191049: Add alternate version of pns() that is callable from within hotspot source
...
Added pns2() to debug.cpp
Reviewed-by: stuefe, gthornbr
2017-11-14 18:08:35 -08:00
Erik Gahlin
249ea8369e
8189425: Minor updates in support of closed changes
...
Reviewed-by: mgronlun, dholmes
2017-11-05 03:43:15 +01:00
Gerard Ziemski
a043febf6f
8184765: Dynamically resize SystemDictionary
...
Implemented dynamic resizing, which triggers when load factor is too high
Reviewed-by: coleenp, rehn
2017-11-02 11:00:34 -05: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
Coleen Phillimore
3ba67ae4df
8189794: Assert in InstanceKlass::cast called from Exceptions::new_exceptions
...
Fix call to InstanceKlass::cast to only be after verifying class is non-null.
Reviewed-by: dholmes, sspitsyn
2017-10-24 08:29:00 -04:00
Roman Kennke
7030019135
8171853: Remove Shark compiler
...
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Goetz Lindenmaier
963e8da9b7
8185712: [windows] Improve native symbol decoder
...
Reviewed-by: goetz, iklam, zgu
2017-09-20 15:12:11 +02:00
Magnus Ihse Bursie
7c78b40f8d
8189608: Remove duplicated jni.h
...
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00