172 Commits

Author SHA1 Message Date
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
Erik Österlund
0f92948d6f 8199604: Rename CardTableModRefBS to CardTableBarrierSet
Reviewed-by: stefank, pliden
2018-03-19 07:38:18 +01:00
Thomas Stuefe
c8c38f6aae 8199667: Unify metaspace list index handling and reinstantiate ChunkManager listindex gtest
Reviewed-by: zgu, coleenp
2018-03-19 11:38:45 +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
ea27ad47f7 8199656: Make slow metaspace verifications switchable in debug builds
Reviewed-by: dholmes, coleenp
2018-03-15 07:43:07 +01:00
Thomas Stuefe
7621378c0b 8199432: metaspace: fix wrong comment and condition in SpaceManager::verify()
Reviewed-by: coleenp
2018-03-15 07:20:32 +01:00
Thomas Stuefe
c18227978e 8199431: Split up class Metaspace into a static and a non-static part
Reviewed-by: coleenp, adinn, zgu
2018-03-15 07:15:39 +01:00
Zhengyu Gu
96813b1885 8191924: Adjust DelegatingClassLoader's metadata space sizing algorithm
Reduce memory usage for delegating class loader's metadata by adjusting sizing alogrithm

Reviewed-by: adinn, stuefe, coleenp
2018-03-13 16:21:45 -04:00
Volker Simonis
97cfb7bbb7 8199472: Fix non-PCH build after JDK-8199319
Reviewed-by: stefank, coleenp
2018-03-14 12:12:00 +01: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
Thomas Stuefe
3da040b2b8 8199518: test/hotspot/jtreg/runtime/SelectionResolution tests take a lot longer to run with fastdebug after JDK-8198423
Added metaspace verfications in fastdebug were too aggressive for this test and made fastdebug too slow

Reviewed-by: zgu, coleenp
2018-03-13 20:06:34 +01:00
Calvin Cheung
214248fe11 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
Print a message and abort CDS dumping when the allocation of metaspace has failed

Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08: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
133faf856d 8199264: Remove universe.inline.hpp to simplify include dependencies
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Thomas Stuefe
1b402fdb6d 8198423: Improve metaspace chunk allocation
Reviewed-by: goetz, coleenp
2018-03-06 19:24:13 +01:00
Erik Österlund
a06129a432 8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +01:00
Coleen Phillimore
4c3e072611 8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
Move dependency creation and cleaned up logging

Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05: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
Calvin Cheung
efcc8d2558 8193434: [GRAAL] Graal classes are not loaded with -Xshare:dump
Allow loading of non-boot classes during CDS dumping but only add boot classes to the archive

Reviewed-by: kvn, iklam, jiangli
2018-03-02 17:33:59 -08:00
Jiangli Zhou
f987dec395 8194759: Support caching class mirror objects
Support archiving mirror objects for shared classes in 'open' archive java heap region.

Reviewed-by: coleenp, iklam, mseledtsov, tschatzl
2018-03-02 17:25:55 -05:00
Jesper Wilhelmsson
3dfe4d61b3 Merge 2018-03-01 01:47:46 +01:00
Erik Helin
6d207011e0 8197841: Remove unused function Universe::create_heap_ext
Reviewed-by: rkennke, eosterlund, hseigel
2018-02-28 16:00:20 +01:00
Jesper Wilhelmsson
1739105160 Merge 2018-02-25 04:59:43 +01:00
Stefan Johansson
38dcf9fdf1 8198420: Remove unused extension point AllocationContextStats
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +01:00
Stefan Karlsson
bd70c72fd2 8198509: Move satisfy_failed_metadata_allocation out from CollectorPolicy
Reviewed-by: sjohanss, pliden
2018-02-22 18:35:04 +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
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Coleen Phillimore
2a4d4b43b4 8197772: metaspace uses global operator new/delete for gtest testing
Inherit ChunkManagerReturnTestImpl from CHeapObj

Reviewed-by: kbarrett, zgu
2018-02-14 09:09:37 -05:00
Marcus Larsson
6ef9800875 8194994: Remove redundant string streams used for logging
Reviewed-by: rehn, iklam, coleenp
2018-02-13 14:10:56 +01: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
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
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
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +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
Arno Zeller
a8ac81ab2d 8195094: Fix type-O in "8159422: Very high Concurrent Mark mark stack contention"
Reviewed-by: tschatzl, dholmes
2018-01-16 07:48:01 +01:00
Man Cao
d8a31c4cb8 8193386: CompressedClassSize too large with MaxMetaspace
Reviewed-by: ysuenaga, coleenp
2017-12-12 11:55:57 -05:00
Calvin Cheung
915b2cd1f2 8192989: runtime/appcds/javaldr/ArrayTest.java crashes with assert(k->is_instance_klass())
Disable loading array classes from the class list

Reviewed-by: iklam, jiangli
2017-12-08 15:14:08 -08:00
Stefan Johansson
ea04c5cfb3 8191821: Finer granularity for GC verification
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Kishor Kharbas
3fc999a1fe 8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices

Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
Zhengyu Gu
205351451f 8190729: Adjustment to anonymous metadata space chunk allocation algorithm
Adjusted anonymous metadata space chunk allocation algorithm to reduce waste

Reviewed-by: stuefe, coleenp
2017-11-27 17:19:53 -05:00
Alexander Harlap
cb1ea0fc33 8187819: gc/TestFullGCALot.java fails on jdk10 started with "-XX:-UseCompressedOops" option
Need to initialized metaspace performance counters before their potential use

Reviewed-by: tschatzl, sjohanss
2017-11-16 14:06:44 -05:00
Jiangli Zhou
7409630577 8187118: Remove appending -cp path to the boot class path at AppCDS dump time
8187119: Consolidate record_shared_class_loader_type() and record_result()

Remove -cp path from the boot append list at dump time and other AppCDS cleanups.

Reviewed-by: lfoltan, iklam
2017-11-19 23:30:41 -05:00
Roman Kennke
c45098982f 8189389: Move heap creation into GC interface
Reviewed-by: pliden, eosterlund
2017-11-16 12:53:29 +01:00
Stefan Johansson
6929e0f05a 8186571: Implementation: JEP 307: Parallel Full GC for G1
Improve G1 worst-case latencies by making the full GC parallel.

Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01: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
Thomas Stuefe
0f101e2c7f 8189864: Provide an ascii map to visualize metaspace fragmentation
Reviewed-by: goetz, coleenp
2017-10-24 14:34:14 +02:00