7140 Commits

Author SHA1 Message Date
David Lindholm
2d7e74703d 8138681: Runtime.getFreeMemory() reports wrong value after humongous allocation
Reviewed-by: tschatzl, mgerdin
2015-11-20 17:32:02 +01:00
Erik Helin
aefeb2d442 8142390: Move ScanRSClosure to header file
Reviewed-by: jmasa, tschatzl
2015-10-19 16:21:35 +02:00
Erik Helin
3ee73137fb 8139883: Add virtual destructor G1ParScanThreadState
Reviewed-by: tschatzl, mgerdin, stefank
2015-10-19 15:47:36 +02:00
Bengt Rutisson
0ee0cf9845 8142475: Remove TraceParallelOldGCTasks
Reviewed-by: tschatzl, david
2015-11-12 09:21:16 +01:00
Bengt Rutisson
250efd235c 8142472: Remove debugging code guarded by CMSPrintPromoBlockInfo
Reviewed-by: david, ehelin
2015-11-12 09:19:44 +01:00
Joseph Provino
8e6c71d7c2 Merge 2015-11-12 00:38:44 +00:00
Ron Durbin
409697a74e 8141068: refactor -XXFlags= code in preparation for removal
Reviewed-by: dcubed, gthornbr, coleenp
2015-11-11 14:57:27 -08:00
Erik Helin
e76add1886 8135078: Refactor InCSetState::is_in_cset_or_humongous
Reviewed-by: tschatzl, jwilhelm
2015-10-19 15:21:01 +02:00
Jesper Wilhelmsson
f21d1afd70 8139772: Cleanups in Generation related code
Reviewed-by: tbenson, mgerdin
2015-10-19 15:03:58 +02:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Roland Westrelin
f089f614f6 Merge 2015-10-16 16:09:00 +00:00
Roland Westrelin
096fa934a8 8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-16 16:53:02 +02:00
Roland Westrelin
74f8cc939b 8139750: [BACKOUT] Elide more final field's write memory barrier with escape analysis result
Reviewed-by: kvn
2015-10-16 15:48:18 +02:00
Zoltan Majo
703c1c58d7 8139380: VMError::report_and_die() does not produce replay file
Change VMError::report() to use a correct format string in both JVMCI-enabled builds and builds without JVMCI.

Reviewed-by: roland, kvn
2015-10-16 15:21:37 +02:00
David Lindholm
65e88c8313 8139277: Remove ScavengeWithObjectsInToSpace, ParallelOldGCSplitALot, ParallelOldGCSplitInterval, PSAdjustTenuredGenForMinorPause and PSAdjustYoungGenForMajorPause
Reviewed-by: tschatzl, sjohanss
2015-10-16 14:11:29 +02:00
Kim Barrett
4500c7fac8 8139341: Hide ExtendedOopClosure::_ref_processor
Make ExtendedOopClosure::_ref_processor private.

Reviewed-by: mgerdin, sjohanss
2015-10-16 14:55:09 -04:00
Roland Westrelin
6c269ab6a9 Merge 2015-10-16 11:47:04 +00:00
Martin Doerr
de26bc4347 8139734: ppc: fix build after "8078556: Runtime: implement ranges..."
Reviewed-by: goetz
2015-10-16 10:20:59 +02:00
Ed Nevill
47040f764d 8139674: aarch64: guarantee failure in TestOptionsWithRanges.java
Fix negative overflow in instruction field

Reviewed-by: kvn, roland, adinn, aph
2015-10-15 15:33:54 +00:00
Zoltan Majo
34e1545cab 8080650: Enable stubs to use frame pointers correctly
Change MacroAssembler::verified_entry() to set up RBP correctly when generating stub code.

Reviewed-by: kvn
2015-10-15 17:38:41 +02:00
Kim Barrett
e7d0e95b08 8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper.

Reviewed-by: mgerdin, tschatzl
2015-10-15 10:10:13 -04:00
Coleen Phillimore
e8e182c0e7 Merge 2015-10-16 00:01:49 +00:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886 8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.

Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Jesper Wilhelmsson
7078962b9c Merge 2015-10-15 13:28:22 +02:00
Thomas Schatzl
f2b8803873 Merge 2015-10-15 13:00:17 +02:00
Thomas Schatzl
6abb87fd84 8138752: G1CollectorPolicy::should_should_update_surv_rate_group_predictors() uses wrong predicate
Instead of only updating the survivor rate groups in the young gc after marking and before mixed gc, update them during young gcs outside of marking

Reviewed-by: mgerdin, drwhite
2015-10-15 10:15:08 +02:00
Thomas Schatzl
f292ac2dc2 8138750: Remove dead code in survivor rate group
Reviewed-by: mgerdin, tbenson
2015-10-15 10:13:08 +02:00
Thomas Schatzl
55988baae2 8139583: Fix formatting in survRateGroup.cpp
Reviewed-by: kbarrett, stefank
2015-10-15 10:12:17 +02:00
Thomas Schatzl
b8367b252f 8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up
Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.

Reviewed-by: jmasa, sangheki, ecaspole, kbarrett
2015-10-15 10:07:28 +02:00
Roland Westrelin
1f94d4ca9e Merge 2015-10-15 07:56:53 +00:00
Hui Shi
d8a864cd68 8138956: Elide more final field's write memory barrier with escape analysis result
Membar for final/stable fields eliminated if possible

Reviewed-by: roland, mdoerr, enevill, aph
2015-10-15 09:40:45 +02:00
Yumin Qi
ebe8b1d7f6 Merge 2015-10-15 00:42:15 +00:00
Poonam Bajaj
a25ce80e78 8136577: Make AbortVMOnException available in product builds
Reviewed-by: coleenp
2015-10-14 15:36:41 -07:00
Christian Thalinger
230d811034 8139386: JVMCI test failed with assert(_jvmci._alternate_call_target == 0L) failed: must be
Reviewed-by: kvn
2015-10-14 12:29:18 -10:00
Yumin Qi
5ba14c7523 Merge 2015-10-14 20:59:59 +00:00
Christian Thalinger
fcbdffb48f 8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts
Reviewed-by: iveresov, kvn
2015-10-14 09:22:21 -10:00
Harold Seigel
df9b5759f7 8139069: JVM should throw ClassFormatError for <init> methods in interfaces
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"

Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Yumin Qi
93d709dc4b 8135284: Remove Method::_method_size field
Remove Method::_method_size to improve memory footprint after JDK-8135085,which increased 4 bytes for 32 platform. Also removed related unused code in SA.

Reviewed-by: coleenp, hseigel
2015-10-14 08:12:33 -07:00
Mikael Gerdin
86cf323c41 8139149: Split G1 evacuate_collection_set into multiple steps
Reviewed-by: ehelin, tschatzl
2015-10-14 14:51:10 +02:00
Derek White
3133bbb7fa 8138920: Refactor the sampling thread from ConcurrentG1RefineThread
Helps enable running without concurrent refinement threads

Reviewed-by: brutisso, pliden
2015-10-26 12:22:24 -04:00
Chris Hegarty
9a7829e5a6 Merge 2015-10-27 15:09:19 +00:00
Chris Hegarty
ca4787d77b 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Thomas Schatzl
d7363bbd3b 8140583: Without PrintPLAB, there are superfluous newlines in the GC log messages
Conditionalize offending newlines by -XX:+PrintPLAB

Reviewed-by: mgerdin
2015-10-27 11:44:49 +01:00
Mikael Gerdin
425894f2ea 8138762: Refactor setup of evacuation closures in G1
Introduce policy class containing the root scan closures.

Reviewed-by: ehelin, stefank
2015-10-14 14:50:43 +02:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
Christian Thalinger
f1c801e561 8139524: JVMCI cannot be initialized with CMS or Serial GCs
Reviewed-by: iveresov
2015-10-13 09:21:10 -10:00
Andrew Haley
3ceb2dbcc2 8139041: Redundant DMB instructions
Merge consecutive DMB intstructions

Reviewed-by: roland, kvn, twisti
2015-10-13 16:25:50 +00:00
David Lindholm
5659603602 Merge 2015-10-13 17:34:28 +02:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00