Roman Kennke
5de31861b2
8211270: GC abstraction to get real object and headers size
...
Reviewed-by: shade, zgu, eosterlund
2018-10-10 10:58:48 +02:00
Jiangli Zhou
a2ad8f419f
8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
...
Restructure and cleanup java heap object archiving code.
Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Jiangli Zhou
57b516dd0e
8202951: Implementation of JEP 341: Default CDS Archives
...
8210592: Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
8209739: [TESTBUG] javax/imageio/plugins/png/ItxtUtf8Test.java fails with OutOfMemoryError when running in CDS mode
Generate the default CDS archive at JDK build time.
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: erikj, ihse, dholmes, iklam, ccheung, mseledtsov
2018-10-05 18:56:11 -04:00
Coleen Phillimore
7ef28cb2bc
8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
...
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Ioi Lam
1619cbd14b
8210864: Reduce the use of metaspaceShared.hpp
...
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Coleen Phillimore
bad4a92e55
8210559: ClassLoaderData Symbols can leak
...
Unrefcount the symbol names when the CLD is destroyed
Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
Coleen Phillimore
bbf5c1ca8d
8210422: runtime/modules/ModuleStress/ExportModuleStressTest.java - assertion failed: address not aligned: 0x00000008baadbabe
...
CLDG_lock caused safepoint in inconsistent state
Reviewed-by: lfoltan, eosterlund, kbarrett
2018-09-11 09:42:27 -04:00
Patricio Chilano Mateo
16b92a561c
8206424: Use locking for cleaning ProtectionDomainTable
...
ServiceThread is now in charge of cleaning ProtectionDomainTable entries
Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
Coleen Phillimore
eb9259138f
8210155: Lock ClassLoaderDataGraph
...
In preparation for concurrent class unloading.
Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Patricio Chilano Mateo
ff17347f8f
8209844: MemberNameLeak.java fails when ResolvedMethod entry is not removed
...
Fixed MemberNameLeak.java due to intermittent failure after 8206423
Reviewed-by: coleenp, lfoltan
2018-08-29 10:46:59 -04:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Goetz Lindenmaier
c798b68ee1
8207830: [aix] disable jfr in build and tests
...
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Vladimir Kozlov
f4ae3d5325
8205400: [Graal] compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java fails with can't be enqueued for compilation on level 4
...
Add -XX:-BackgroundCompilation to tests to eager initialize JVMCI
Reviewed-by: thartmann
2018-06-26 09:14:49 -07:00
Chris Phillips
561ec75b9b
8203030: Zero s390 31 bit size_t type conflicts in shared code
...
Cast to size_t or change to size_t foe compatibility with other archs.
Reviewed-by: pliden, dholmes
2018-06-19 10:00:39 -04: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
David Holmes
1225e17c54
8189766: whitebox failure with -Xcheck:jni
...
Reviewed-by: lfoltan, kbarrett
2018-05-29 17:21:31 -04:00
Stefan Karlsson
90a2a92fe3
8202709: Move oopDesc::is_archive_object to MetaspaceShared::is_archive_object
...
Reviewed-by: ehelin, jiangli
2018-05-07 14:57:23 +02:00
Stefan Karlsson
1cb95bd3d1
8200729: Conditional compilation of GCs
...
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +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
Vladimir Kozlov
ffd8e19eaf
8202075: Crash when running compiler/codecache/OverflowCodeCacheTest.java
...
Add missing null check in WhiteBox::allocate_code_blob()
Reviewed-by: thartmann
2018-04-24 10:26:54 -07: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
Coleen Phillimore
c215aa5889
8201537: Remove is_alive closure from Klass::is_loader_alive()
...
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.
Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Thomas Schatzl
5b42f3ce0d
8200426: Make G1 code use _g1h members
...
Consistently use _g1h member names for cached G1CollectedHeap* variables.
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Erik Helin
b025fab0d2
8200626: Restore history for g1ConcurrentMarkThread.*
...
Reviewed-by: shade, sjohanss
2018-04-04 10:12:02 +02:00
Per Lidén
940bc841a7
8199927: Make WhiteBox more GC agnostic
...
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
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
Tobias Hartmann
eda7916ce8
8199624: [Graal] Blocking jvmci compilations time out
...
Handle blocking jvmci compilations that time out.
Reviewed-by: kvn, dnsimon
2018-03-21 08:18:54 +01: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
Thomas Stuefe
da674f0d0d
8199430: Rename MetaspaceAux to something more meaningful
...
Reviewed-by: zgu, coleenp
2018-03-11 07:11:03 +01:00
Harold Seigel
c0bc887c36
8191102: Incorrect include file use in classLoader.hpp
...
Move appropriate methods to <fiile>.inline.hpp files. Create <file>.inline.hpp files when needed.
Reviewed-by: coleenp, dholmes
2018-03-05 10:29:23 -05:00
Stefan Johansson
adfa2c958d
8198433: Remove WhiteBox extension point
...
Reviewed-by: ehelin, dholmes, tschatzl
2018-03-02 10:09:05 +01: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
Stefan Karlsson
f408526f30
8198515: Extract SoftReferencePolicy code out of CollectorPolicy
...
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:07 +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
Zhengyu Gu
b962c75f25
8198287: Cleanup ElfFile usage in whitebox.cpp
...
Removed redundant include of elfFile.hpp
Reviewed-by: dholmes, coleenp
2018-02-21 07:49:36 -05:00
Stefan Karlsson
08193e2dfb
8198225: os::attempt_reserve_memory_at records memory as committed
...
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Ioi Lam
96eb1f1fdd
8191375: Add high-level jtreg VMProps to filter out CDS tests
...
Added vm.cds.archived.java.heap
Reviewed-by: mseledtsov, jiangli, ccheung, gtriantafill
2018-02-15 11:39:42 -08: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
Thomas Schatzl
80fa8a7208
8196602: Change HeapRegionClosure to comply to naming conventions
...
Reviewed-by: kbarrett, sjohanss
2018-02-09 13:09:55 +01: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
Ioi Lam
c7421b5e3b
8193672: [test] Enhance vm.cds property to check for all conditions required to run CDS tests
...
Reviewed-by: dholmes, dsamersoff, simonis
2017-12-04 08:59:47 -08:00
Jiangli Zhou
61e736cbae
8188791: Move AppCDS from closed repo to open repo
...
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: dsamersoff, simonis, minqi
2017-11-27 20:21:34 -08: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
Mikhailo Seledtsov
eadfc06bd0
8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
...
Created tests for the feature
Reviewed-by: bobv, iignatyev
2017-11-16 19:01:01 -08:00
Robbin Ehn
104ecb2dd1
8189941: Implementation JEP 312: Thread-local handshake
...
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Jiangli Zhou
c2d94a0073
8189840: CheckCachedResolvedReferencesApp has no cached resolved references
...
Add WhiteBox.areOpenArchiveHeapObjectsMapped() for CheckCachedResolvedReferencesApp to check and skip test when open archive heap objects are not mapped.
Reviewed-by: iklam, ccheung
2017-11-07 18:48:17 -05:00