7256 Commits

Author SHA1 Message Date
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Thomas Schatzl
4d9dfbeb1d 8138684: G1 decision about taking regions into the collection set is too aggressive
Factor in expected waste and uncertainty of our guess in the decision whether to take another region into the collection set.

Reviewed-by: mgerdin, jmasa
2015-11-13 09:12:06 +01:00
Sangheon Kim
6c10034f4b 8134631: G1DummyRegionsPerGC fires assert of assert(words <= filler_array_max_size()) failed: too big for a single object
Change filler max value temporarily for G1DummyRegionsPerGC flag.

Reviewed-by: tbenson, tschatzl
2015-11-12 09:52:04 -08:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Thomas Schatzl
6ed8f3c0b2 8140689: Skip last young-only gc if nothing to do in the mixed gc phase
Reviewed-by: mgerdin, drwhite
2015-11-10 11:07:15 +01:00
Thomas Schatzl
22d9b3df0f 8138740: Start initial mark right after mixed GC if needed
Instead of issuing a single young-only GC after the end of all mixed GCs, if needed immediately start an initial mark in that young-only GC.

Reviewed-by: drwhite, mgerdin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
90d03cf69c 8139874: After G1 Full GC, the next GC is always a young-only GC
Allow initiation of an initial mark after Full GC

Reviewed-by: ehelin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
d8534a2c6d 8140597: Forcing an initial mark causes G1 to abort mixed collections
Postpone the initial mark request until the current mixed GC phase has finished.

Reviewed-by: mgerdin
2015-11-10 11:07:15 +01:00
Nils Eliasson
6ec2776bf3 8141629: Hs-comp doesn't build with JDK-8139040
Fix benign uninitialized vars

Reviewed-by: roland
2015-11-06 16:42:01 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Goetz Lindenmaier
0a4657e8c1 8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
Aleksey Shipilev
99b9a67ccd 8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
Reviewed-by: kvn, zmajo
2015-11-05 16:35:21 +03:00
Tobias Hartmann
f3011455a2 8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
Do not sign extend when converting jbyte to jchar.

Reviewed-by: shade, kvn
2015-11-05 15:29:46 +01:00
Aleksey Shipilev
dfb1ed8a19 8141044: C1 should fold (this == null) to false
Reviewed-by: jrose, roland
2015-11-05 13:33:18 +03:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Jungwoo Ha
68ffb0bf12 8141356: Explicitly stop CMS threads during VM termination
GenCollectedHeap::stop() is not implemented which is supposed to stop CMS threads during VM termination.

Reviewed-by: jmasa, kbarrett
2015-11-03 13:03:04 -08:00
Erik Helin
0580d65a1c 8142403: Make G1CollectorPolicy::predictor const
Reviewed-by: stefank, tschatzl
2015-11-12 14:03:14 +01:00
Konstantin Shefov
a4e16dd190 8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
2015-11-03 20:12:51 +03:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Iris Clark
8fe1b0faab Merge 2015-11-02 09:11:55 -08:00
Jesper Wilhelmsson
b1e3e8436a Merge 2015-10-30 00:02:37 +01:00
Igor Veresov
39f99d5815 8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined
Fix the faulty assert, remove remaining _intrinsic_log references

Reviewed-by: roland
2015-10-29 09:59:56 -07:00
Erik Helin
0f08933773 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy
Reviewed-by: mgerdin, tschatzl, drwhite
2015-10-29 17:32:08 +01:00
Erik Helin
d0f3d01013 8140393: Move WorkerDataArray to its own file
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 14:58:44 +01:00
Aleksey Shipilev
a7f471d8be 8140483: Atomic*FieldUpdaters final fields should be trusted
Add exceptions for A*FU subclasses that do the actual work.

Reviewed-by: jrose, vlivanov
2015-10-29 14:08:19 +03:00
Erik Helin
a935c706b6 8140761: Remove caching from WorkerDataArray
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 11:33:43 +01:00
Zoltan Majo
c04398f782 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
Improve parsing of DisableIntrinsic flag.

Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +01:00
Dmitry Samersoff
aebbfb2f92 Merge 2015-10-29 02:38:50 +01:00
Dmitry Samersoff
43953f012f Merge 2015-10-28 19:54:46 +01:00
Dmitry Samersoff
cf5f478f5d 8140663: FrameValue might be used uninitialized
Add a constructor

Reviewed-by: sspitsyn, jwilhelm
2015-10-28 21:47:31 +03:00
Dmitry Samersoff
2bf54b1d29 8139762: Format warnings in libjvm_db.c
Fix format string

Reviewed-by: sspitsyn
2015-10-28 18:20:26 +03:00
Coleen Phillimore
b046110ab7 Merge 2015-10-28 15:03:40 +01:00
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
Stefan Karlsson
eddb003fc7 8140584: nmethod::oops_do_marking_epilogue always runs verification code
Reviewed-by: tschatzl, kvn
2015-10-27 12:25:08 +01:00
Thomas Schatzl
c88884045d Merge 2015-11-10 20:39:29 +00:00
Harold Seigel
8aa00ac50d Merge 2015-11-10 17:15:48 +00:00
Thomas Schatzl
5a0303c749 Merge 2015-11-10 17:57:01 +01:00
Harold Seigel
3756d55ee6 8139164: JVM should throw ClassFormatError for non-void methods named <clinit>
If method being parsed is named <clinit>, throw ClassFormatError if it is not void or has arguments, for class file version >= 51.

Reviewed-by: acorn, lfoltan
2015-11-10 08:42:53 -05:00
David Lindholm
b57ae5dad3 8140404: Revert the removal of CMSTestInFreeList
Reviewed-by: jmasa, brutisso
2015-11-10 09:49:14 +01:00
Thomas Schatzl
00a7b7ded2 8140585: PLAB statistics are flushed too late
Move the call to G1EvacStats::adjust_desired_plab_sz() to after flushing the per-thread statistics.

Reviewed-by: mgerdin, jmasa
2015-11-10 09:29:40 +01:00
Serguei Spitsyn
fd47033053 Merge 2015-11-10 04:37:35 +00:00
David Lindholm
fd19805f5b 8141946: Remove develop flag G1TraceHeapRegionRememberedSet
Reviewed-by: mgerdin, tschatzl
2015-11-09 15:09:03 +01:00
Kim Barrett
fd7b3345c8 8077571: ObjPtrQueue is poorly named
Renamed to SATBMarkQueue and renamed files.

Reviewed-by: brutisso, tschatzl, dholmes, twisti
2015-11-06 16:30:40 -05:00
David Lindholm
4bfbb83879 8141434: G1CollectedHeap::into_cset_dirty_card_queue_set should be moved to G1RemSet
Reviewed-by: tschatzl, mgerdin
2015-11-09 11:26:15 +01:00
David Lindholm
6bda88594d 8139867: Change how startsHumongous and continuesHumongous regions work in G1
Reviewed-by: tschatzl, tbenson
2015-11-09 09:19:39 +01:00
Per Lidén
6f81963972 8042209: Remove unused function G1SATBCardTableLoggingModRefBS::write_ref_field_static
Reviewed-by: mgerdin, tschatzl
2015-11-06 09:46:54 +01:00
Bengt Rutisson
4a65cc4f5b 8141530: Remove G1RecordHRRSOops and G1RecordHRRSEvents
Reviewed-by: tschatzl, mgerdin
2015-11-06 06:13:00 +01:00
Jon Masamitsu
087120319b Merge 2015-11-05 19:15:07 +00:00