6038 Commits

Author SHA1 Message Date
Coleen Phillimore
fc03719078 8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses

Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.

Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Michail Chernov
25cc742a8f 8139903: G1EvacStats does not split log entries
Added gclog_or_tty->cr() to G1EvacStats to avoid concatenated PLAB log entries.

Reviewed-by: tschatzl, dfazunen
2015-10-23 14:33:19 +03:00
David Holmes
c6b692b946 8134642: ParkEvent::RawThreadIdentity appears to be unused and should be removed
Reviewed-by: dcubed, hseigel
2015-10-25 19:19:55 -04:00
Daniel D. Daugherty
cb0500e51d 8047212: runtime/ParallelClassLoading/bootstrap/random/inner-complex assert(ObjectSynchronizer::verify_objmon_isinpool(inf)) failed: monitor is invalid
Fix race between ObjectMonitor alloc and verification code; teach SA about "static pointer volatile" fields.

Reviewed-by: cvarming, dholmes, sspitsyn, coleenp
2015-10-24 15:44:08 -07:00
Coleen Phillimore
ed82cd0ee8 Merge 2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc 8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters

Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Gerard Ziemski
f84561609b 8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.

Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Eric Caspole
686fb800c8 Merge 2015-10-21 13:46:25 +00:00
Eric Caspole
f235a51ed0 Merge 2015-10-20 22:35:46 +00:00
Eric Caspole
4e060cfa31 8060017: G1: Report heap sizing time
Report heap expansion time done on VM thread after collection. Previously this was included in "Other" time.

Reviewed-by: mgerdin, tschatzl
2015-10-20 14:01:49 -04:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Erik Helin
5b0f38dab7 8138975: G1CollectorPolicy::calculate_young_list_target_length should be const
Reviewed-by: mgerdin, tschatzl
2015-10-20 14:37:59 +02:00
Coleen Phillimore
a4efe9440b Merge 2015-10-22 17:24:17 +00:00
Goetz Lindenmaier
83b3b21342 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
David Lindholm
437751031d 8139952: Remove UseCMSAdaptiveFreeLists, UseAsyncConcMarkSweepGC, CMSDictionaryChoice, CMSOverflowEarlyRestoration and CMSTestInFreeList
Reviewed-by: jwilhelm, ecaspole
2015-10-22 08:53:13 +02:00
Bob Vandette
d369cdd811 Merge 2015-10-21 16:38:48 -04:00
Bengt Rutisson
7f319f0c67 8139868: CMSScavengeBeforeRemark broken after JDK-8134953
Reviewed-by: sjohanss, jwilhelm
2015-10-20 14:00:00 +02:00
Bob Vandette
d65d34b99d 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:21:37 -04: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
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
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
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
Yumin Qi
5ba14c7523 Merge 2015-10-14 20:59:59 +00: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
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
Andrew Haley
3ceb2dbcc2 8139041: Redundant DMB instructions
Merge consecutive DMB intstructions

Reviewed-by: roland, kvn, twisti
2015-10-13 16:25:50 +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
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
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
David Lindholm
77021edbd0 8139506: Remove the WaterMark class
Reviewed-by: stefank, mgerdin
2015-10-13 14:07:05 +02:00