599 Commits

Author SHA1 Message Date
Roland Westrelin
386e258e20 8186027: C2: loop strip mining
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Erik Österlund
3a7a71981a 8194741: Refactor oops in constant pool from CDS to use the Access API
Reviewed-by: coleenp, jiangli
2018-01-10 22:43:42 +01:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Stefan Karlsson
677e5bdaed 8191861: Move and refactor hSpaceCounters
Reviewed-by: pliden, ehelin, rkennke
2017-11-24 15:48:01 +01:00
Daniel D. Daugherty
4fd0863d06 Merge 2017-11-23 19:42:56 -08:00
Daniel D. Daugherty
e2d4899be6 Merge 2017-11-23 06:01:57 -08:00
Stefan Johansson
d21c547b0e 8189733: Cleanup Full GC setup and tear down
Reviewed-by: tschatzl, ehelin
2017-11-23 09:53:53 +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
Thomas Schatzl
faff99f2fc 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
Reviewed-by: sangheki, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Leo Korinth
d1cbd17c2c 8190408: Run G1CMRemarkTask with the appropriate amount of threads instead of starting up everyone
Reviewed-by: tschatzl, sjohanss
2017-11-13 15:28:17 +01:00
Erik Helin
26aa579a78 8182284: G1Analytics uses uninitialized fields
Reviewed-by: tschatzl, sjohanss
2017-11-21 08:33:54 +01:00
Erik Österlund
3e5e2f03b1 8189871: Refactor GC barriers to use declarative semantics
Reviewed-by: pliden, rkennke, coleenp, dholmes, kbarrett, stefank
2017-11-20 13:07:44 +01:00
Roman Kennke
c45098982f 8189389: Move heap creation into GC interface
Reviewed-by: pliden, eosterlund
2017-11-16 12:53:29 +01:00
Martin Doerr
192ac07048 8191337: GCC 4.8 build broken after 8186571
Reviewed-by: kbarrett, sjohanss
2017-11-16 10:20:18 +01:00
Roman Kennke
09a9ab8f41 8189171: Move GC argument processing into GC specific classes
Reviewed-by: pliden, eosterlund
2017-11-07 11:58:52 +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
Stefan Johansson
09c2ca5809 8190711: Assert in G1MMUTracker due to concurrent modification
Reviewed-by: tschatzl, rehn, sangheki
2017-11-09 10:11:19 +01:00
Jamsheed Mohammed C M
10a1edcc22 8152470: Add COMPILER2_OR_JVMCI definition
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI

Reviewed-by: kvn
2017-11-06 21:28:03 -08:00
Doug Simon
f37bbe430d 8188102: [JVMCI] Convert special JVMCI oops in nmethod to jweak values
Reviewed-by: never, kvn, kbarrett
2017-11-06 12:53:55 +01:00
Thomas Schatzl
5815fc9d54 8140255: Move the management of G1YoungRemSetSamplingThread from G1ConcurrentRefine
Reviewed-by: sjohanss, sangheki
2017-11-06 14:25:18 +01:00
Thomas Schatzl
b59c920e12 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
Reviewed-by: sjohanss, sangheki
2017-11-06 14:24:31 +01:00
Leo Korinth
c2935fa4a4 8186502: Assert when range testing G1RefProcDrainInterval on 64-bit systems
Reviewed-by: sjohanss, sangheki
2017-11-06 09:41:54 +01: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
Leo Korinth
97d1978c0f 8177959: G1CollectedHeap::print_on prints incorrect capacity
Reviewed-by: sjohanss, ehelin, pliden
2017-10-27 11:44:56 +02:00
Sangheon Kim
4101ba9a13 8185278: TestGreyReclaimedHumongousObjects.java fails guarantee(index != trim_index(_head_index + 1)) failed: should not go past head
Add STS to avoid MMU concurrency problem between VM Thread and Concurrent Mark Thread

Reviewed-by: tschatzl, ehelin
2017-10-26 21:30:48 -07:00
Thomas Schatzl
bdb82eb577 8189797: Fix initializer lists in G1ConcurrentMark and G1CMTask
Reviewed-by: kbarrett
2017-10-25 16:15:10 +02:00
Thomas Schatzl
1eabe47e62 8189673: Consistent naming of concurrent threads, tasks and related identifiers
Reviewed-by: sjohanss, drwhite
2017-10-25 16:13:09 +02:00
Thomas Schatzl
c66290985d 8189801: Remove G1MarkingOverheadPercent
Remove obsolete and buggy functionality related to G1MarkingOverheadPercent

Reviewed-by: sjohanss
2017-10-25 16:12:15 +02:00
Thomas Schatzl
6787fc889f Merge 2017-10-23 10:45:07 +00:00
Thomas Schatzl
be94d0ee28 8189729: Change _perc suffixes in identifiers to _percent
Reviewed-by: sjohanss, ehelin
2017-10-23 11:46:54 +02:00
Thomas Schatzl
824e776c37 8189665: Change id parameter of G1ConcurrentMark::task() to uint
Reviewed-by: sangheki, sjohanss
2017-10-23 11:46:38 +02:00
Thomas Schatzl
793aa8d8ce 8189666: Replace various inlined percentage calculations with global percent_of()
Reviewed-by: sjohanss, sangheki
2017-10-23 11:46:25 +02:00
Thomas Schatzl
0757704af2 8184667: Clean up G1ConcurrentMark files
Fix naming, formatting, access control, remove unused code.

Reviewed-by: sjohanss, pliden
2017-10-23 11:46:12 +02:00
Stefan Karlsson
d129d1cdf2 8189748: More precise closures for WeakProcessor::weak_oops_do calls
Reviewed-by: pliden, sjohanss
2017-10-23 11:20:53 +02:00
Leo Korinth
41e6dbe988 8149137: Remove _DISABLE_MMU define from G1MMUTracker
Reviewed-by: ehelin, sjohanss
2017-10-19 14:36:40 +02:00
Erik Österlund
29eea5d4a1 8189355: Cleanup of BarrierSet barrier functions
Reviewed-by: shade, kbarrett, pliden, rkennke
2017-10-19 11:25:55 +02:00
Stefan Karlsson
7a5e525604 Merge 2017-10-18 21:06:31 +00:00
Roman Kennke
9ba22876cf 8189276: Make SuspendibleThreadSet and related code available to other GCs
Reviewed-by: zgu, coleenp
2017-10-18 21:17:46 +02:00
Stefan Karlsson
3fbc4aec64 8189359: Move native weak oops cleaning out of ReferenceProcessor
Reviewed-by: pliden, kbarrett
2017-10-18 21:13:35 +02:00
Erik Österlund
9adfa12663 8188919: Generalize GC thread suspend/resume at safepoints
Reviewed-by: pliden, rkennke
2017-10-17 08:51:55 +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 Österlund
ebf1633bd2 8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
2017-10-13 15:08:56 +02:00
Serguei Spitsyn
70bbf43808 Merge 2017-10-09 07:08:53 +00:00
Yasumasa Suenaga
72ef94f770 8187403: [Unknown generation] is shown in Stack Memory on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:45:12 +09:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Erik Österlund
394e6a8318 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +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