370 Commits

Author SHA1 Message Date
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
Coleen Phillimore
39b068db11 8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
With the new template functions these are unnecessary.

Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Erik Helin
b5dd6a9a45 8187578: BitMap::reallocate should check if old_map is NULL
Reviewed-by: stefank, eosterlund, dholmes
2017-09-15 14:47:13 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00