248 Commits

Author SHA1 Message Date
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01: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
Chris Plummer
fcd067c48d 8195109: ServiceUtil::visible_oop is not needed anymore
Strip out ServiceUtil and all users of it

Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Christoph Langer
9523d40461 8199010: attachListener.hpp: Fix potential null termination issue found by coverity scans
Reviewed-by: stuefe, dholmes, cjplummer
2018-03-15 15:38:23 +01:00
Volker Simonis
97cfb7bbb7 8199472: Fix non-PCH build after JDK-8199319
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01: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
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Per Lidén
fb1ec3eb27 8199328: Fix unsafe field accesses in heap dumper
Reviewed-by: tschatzl, shade, eosterlund
2018-03-09 08:01:25 +01: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
Coleen Phillimore
2842bcc5c7 8199133: [BACKOUT] NMT: Enhance thread stack tracking
Reviewed-by: jwilhelm
2018-03-06 17:45:31 -05:00
Zhengyu Gu
354249f51e 8191369: NMT: Enhance thread stack tracking
More precise thread stack tracking on Linux and Windows

Reviewed-by: coleenp, adinn, minqi
2018-03-01 16:35:36 -05:00
Kim Barrett
d7765d9002 8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
Moved resolve and friends to new jniHandles.inline.hpp.

Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Chris Plummer
073257906c 8198585: add asserts to verify that ServiceUtil::visible_oop is not needed
Asserts added

Reviewed-by: stefank, sspitsyn, dcubed
2018-02-23 13:42:40 -08:00
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Thomas Stuefe
1bb8fd058c 8198553: jcmd: separate Metaspace statistics from NMT
Reviewed-by: zgu, coleenp
2018-02-22 14:16:18 +01:00
Erik Österlund
432a71e564 8198286: Direct memory accessors in typeArrayOop.hpp should use Access API
Reviewed-by: pliden, rkennke
2018-02-22 10:39:42 +01:00
Roman Kennke
6be7841937 8197999: Accessors in typeArrayOopDesc should use new Access API
Reviewed-by: eosterlund, pliden
2018-02-15 23:45:15 +01:00
Stefan Karlsson
f1540011d0 8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Kim Barrett
7f0f329daf 8194691: Cleanup unnecessary casts in Atomic/OrderAccess uses
Removed unnecessary casts.

Reviewed-by: coleenp, tschatzl
2018-02-11 03:12:15 -05:00
Zhengyu Gu
934390b571 8196923: [REDO] NMT: Report array class count in NMT summary
Added instance and array class counters in NMT summary report

Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Jesper Wilhelmsson
dd416bbf33 8196924: [BACKOUT] NMT: Report array class count in NMT summary
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206 8193184: NMT: Report array class count in NMT summary
Report array class and instance class count in NMT summary report

Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Coleen Phillimore
48f208f193 8196907: Fix minimal vm
Reviewed-by: zgu, dholmes
2018-02-06 18:10:30 -05:00
Zhengyu Gu
897d228899 8194934: NMT: Remove MemTracker::get_virtual_memory_xxx_tracker(), create Tracker in place
Create tracker in place to avoid additional locking

Reviewed-by: coleenp
2018-02-05 13:23:26 -05:00
Coleen Phillimore
aa51ac19b3 8196199: Remove miscellaneous oop comparison operators
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: hseigel, lfoltan
2018-02-01 13:30:53 -05:00
Jesper Wilhelmsson
39c3127dc1 8196372: [BACKOUT] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: stefank
2018-01-30 16:26:40 +01:00
Stefan Karlsson
4f190cacf6 8196217: NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: zgu, pliden, coleenp
2018-01-29 15:11:33 +01:00
Kim Barrett
e1356ec6cf 8194312: Support parallel and concurrent JNI global handle processing
Add OopStorage, change JNI gloabl/weak to use OopStorage.

Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
Kim Barrett
9e5bf18428 8194406: Use Atomic::replace_if_null
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Daniel D. Daugherty
230b5768d7 8191789: migrate more Thread-SMR stuff from thread.[ch]pp -> threadSMR.[ch]pp
Reviewed-by: stefank, coleenp, dholmes, gthornbr
2017-12-06 15:19:30 -05:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Stefan Karlsson
5fd6905c94 8191858: Add missing includes in memoryManager.hpp
Reviewed-by: ehelin, tschatzl, pliden
2017-11-24 15:21:28 +01: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
Magnus Ihse Bursie
5713b7c2bd 8191202: Remove duplicated jmm.h
Reviewed-by: erikj, coleenp
2017-11-22 14:53:20 +01:00
Zhengyu Gu
af39a810d7 8190357: NMT: Include metadata information in NMT final report when PrintNMTStatistics is on
Include metadata information in NMT final report

Reviewed-by: adinn, stuefe
2017-11-16 20:21:11 -05:00
Roman Kennke
04e375658c 8183542: Factor out serial GC specific code from GenCollectedHeap into its own subclass
Reviewed-by: kbarrett, jgeorge
2017-10-25 10:05:17 +02:00
Zhengyu Gu
92ae7c8cfd 8189688: NMT: Report per-class load metadata information
Report per-class loader metadata info via NMT jcmd metadata sub-command

Reviewed-by: stuefe, coleenp
2017-11-07 09:37:45 -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
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
Roman Kennke
4516caf125 8179387: Factor out CMS specific code from GenCollectedHeap into its own subclass
Reviewed-by: ehelin, coleenp
2017-10-12 15:08:19 +02:00
Ujwal Vangapally
96d0817455 8185003: JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
Added two new API's to limit the stack trace depth

Reviewed-by: mchung, dfuchs, rriggs, egahlin
2017-10-05 01:31:53 -07:00
Zhengyu Gu
c4ba1b52b3 8186770: NMT: Report metadata information in NMT summary
Added metadata statistics in NMT summary report

Reviewed-by: adinn, coleenp
2017-09-28 09:56:54 -04:00
Coleen Phillimore
03d1c13fa3 8081323: ConstantPool::_resolved_references is missing in heap dump
Add resolved_references and init_lock as hidden static field in class so root is found.

Reviewed-by: hseigel, jiangli, sspitsyn
2017-09-26 10:03:17 -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