2661 Commits

Author SHA1 Message Date
Thomas Schatzl
91ba4b5676 8201640: Use _ref_processor_* member variables directly in G1CollectedHeap
Reviewed-by: sjohanss
2018-05-03 14:09:21 +02:00
Thomas Schatzl
945701e945 8201492: Properly implement non-contiguous generations for Reference discovery
Collectors like G1 implementing non-contiguous generations previously used an inexact but conservative area for discovery. Concurrent and STW reference processing could discover the same reference multiple times, potentially missing referents during evacuation. So these collectors had to take extra measures while concurrent marking/reference discovery has been running. This change makes discovery exact for G1 (and any collector using non-contiguous generations) so that concurrent discovery and STW discovery discover on strictly disjoint memory areas. This means that the mentioned situation can not occur any more, and extra work is not required any more too.

Reviewed-by: kbarrett, sjohanss
2018-05-03 14:09:00 +02:00
Thomas Stuefe
d2c3ef2f85 8202303: LogStream should autoflush on destruction
Reviewed-by: dholmes, rehn, zgu
2018-05-03 07:35:17 +02:00
Ningsheng Jian
3d2467c62e 8202186: AArch64: Debug build VM crashes with PrintC1Statistics option
Reviewed-by: aph
2018-04-28 17:33:44 +08:00
Michal Vala
c555679d4f 8179887: Build failure with glibc >= 2.24: error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated
Use readir rather than readdir_r on Linux.

Reviewed-by: kbarrett, stuefe, andrew
2018-05-02 19:24:52 -04:00
Daniel D. Daugherty
9a94336b7d 8191798: redo nested ThreadsListHandle to drop Threads_lock
Refactor Thread hazard ptrs and nested ThreadsLists into SafeThreadsListPtr.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: dcubed, eosterlund, rehn
2018-05-02 16:47:40 -04:00
Martin Buchholz
405f933513 8202398: Optimize Arrays.deepHashCode
Reviewed-by: psandoz
2018-05-02 11:21:27 -07:00
Martin Buchholz
526a2dbe28 8201634: Random seedUniquifier uses incorrect LCG
Correct typo in constant from L'Ecuyer

Reviewed-by: dl, psandoz
2018-05-02 11:20:20 -07:00
Martin Buchholz
bb34027591 8202397: Typo in X-Buffer javadoc
Reviewed-by: psandoz
2018-05-02 11:19:12 -07:00
Jonathan Gibbons
f7ac53e5e9 8201817: Taglet.init should be called with the "primary" doclet
Reviewed-by: ksrini
2018-05-02 11:11:06 -07:00
Aleksey Shipilev
cfa9de4249 8202418: Remove explicit CMS checks in CardTableBarrierSetAssembler: ARM32 leftovers
Reviewed-by: eosterlund
2018-05-02 19:26:44 +02:00
Aleksey Shipilev
078b80e63c 8201786: Modularize interpreter GC barriers: leftovers for ARM32
Reviewed-by: enevill, eosterlund
2018-05-02 19:26:42 +02:00
Calvin Cheung
aedb6040c6 8200466: Revisit the setting of _transitive_interfaces in InstanceKlass
Delay the setting of _transitive_interfaces until after initialize_supers() in fill_instance_klass().

Reviewed-by: iklam, coleenp
2018-05-02 09:26:10 -07:00
Matthias Baesken
3ff52c18c6 8202200: set INCLUDE_SA to false on s390x by default
Reviewed-by: ihse, erikj, jgeorge
2018-04-24 17:56:25 +02:00
Claes Redestad
55725ec33c 8201650: Move iteration order randomization of unmodifiable Set and Map to iterators
Reviewed-by: smarks, jiangli
2018-04-30 09:15:44 +02:00
Rachna Goel
a01b2f3b73 8179071: Month value is inconsistent between CLDR and Java in some locales
Handled Language aliases from CLDR SupplementalMetaData

Reviewed-by: naoto
2018-04-30 11:59:42 +05:30
Jonathan Gibbons
9037ee0ef1 8201622: Reduce unnecessary Package.complete() calls in javadoc
Reviewed-by: jlahoda
2018-04-27 15:55:29 -07:00
Martin Balao
a79484396d 8201509: Zero: S390 31bit atomic_copy64 inline assembler is wrong
The inline assembler for the S390 (S390 and not _LP64) has src and dst reversed thereby corrupting data

Reviewed-by: shade
2018-04-25 12:21:29 -04:00
Christoph Langer
d24f8fd099 8202367: AIX build broken after JDK-8201543
Reviewed-by: eosterlund, shade, mdoerr
2018-04-27 13:09:54 +01:00
Thomas Schatzl
0f583c7817 6672778: G1 should trim task queues more aggressively during evacuation pauses
Regularly try to drain task queues. This helps memory usage and performance during garbage collection.

Reviewed-by: sjohanss, sangheki
2018-04-27 12:06:46 +02:00
Erik Österlund
893bd31647 8202082: Remove explicit CMS checks in CardTableBarrierSetAssembler
Reviewed-by: shade, kbarrett
2018-04-27 10:59:46 +02:00
Kim Barrett
0432a1081e 8202230: Provide accessors for JNIHandles storage objects
Add JNIHandles::[weak_]global_handles().

Reviewed-by: coleenp, tschatzl
2018-04-27 03:57:00 -04:00
Tobias Hartmann
1787461d8a 8202179: Compilation fails with assert(n->is_expensive()) failed: expensive nodes with non-null control here only
Only treat the SqrtFNode as expensive if the control input is not NULL.

Reviewed-by: kvn, roland
2018-04-27 07:59:29 +02:00
Erik Österlund
f4893f5a9a 8201543: Modularize C1 GC barriers
Reviewed-by: pliden, rbackman, rkennke
2018-04-26 20:42:43 +02:00
Roland Westrelin
0ef11c31c7 8201367: assert(current != first_mem) failed: corrupted memory graph in superword code
Don't rely on the RPO order to find the "first" and "last" loads of the pack

Reviewed-by: kvn
2018-04-26 12:48:35 -07:00
Naoto Sato
fafd844bc6 8181157: CLDR Timezone name fallback implementation
Reviewed-by: sherman, scolebourne
2018-04-26 12:39:15 -07:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Claes Redestad
dce2872700 8202324: Avoid loading FileInput-/OutputStream$AltFinalizer
Reviewed-by: alanb
2018-04-26 17:14:04 +02:00
Erik Österlund
4e252915c5 8200235: Generalize jniFastGetField jobject/jweak resolve
Reviewed-by: kbarrett, dholmes
2018-04-26 11:56:24 +02:00
Alan Bateman
2df7aa7b9f 8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
Joe Darcy
15ef60b350 8200478: For boxing conversion javac uses Long.valueOf which does not guarantee caching according to its javadoc
Reviewed-by: bpb
2018-04-25 22:12:06 -07:00
Ivan Gerasimov
408c972077 8202154: Remove unused code in java.base/windows/native/libnet
Reviewed-by: vtewari, clanger
2018-04-25 18:30:38 -07:00
Yasumasa Suenaga
c3efc6ec43 8199519: Several GC tests fails with: java.lang.NumberFormatException: Unparseable number: "-"
Reviewed-by: sjohanss, jgeorge
2018-04-26 09:45:47 +09:00
Coleen Phillimore
8a427a07d8 8202164: Remove some unneeded BoolObjectClosure* is_alive parameters
Reviewed-by: kbarrett, stefank
2018-04-25 17:50:32 -04:00
Bernard Blaser
fa434f6934 8202141: Unique symbols for .class
Reviewed-by: vromero, jlahoda
2018-04-25 09:45:45 -07:00
Claes Redestad
eed00fcf0a 8202184: Reduce time blocking the ClassSpecializer cache creating SpeciesData
Reviewed-by: psandoz, plevart
2018-04-25 13:54:11 +02:00
Kumar Srinivasan
3dfa260af9 8025091: VisibleMemberMap.java possible performance improvements
8198890: The standard doclet incorrectly produces wrong method signatures in certain cases

Reviewed-by: jjg
2018-04-24 11:54:03 -07:00
Sangheon Kim
3b923d063e 8196325: GarbageCollectionNotificationInfo has same information for before and after
Reviewed-by: mchung, sspitsyn
2018-04-24 16:48:29 -07:00
Roland Westrelin
93691571bc 8200303: C2 should leverage profiling for lookupswitch/tableswitch
Reviewed-by: kvn, thartmann
2018-04-24 15:07:20 -07:00
Vicente Romero
c6ece0ba39 8202157: remove the use of string keys at InapplicableMethodException
Reviewed-by: mcimadamore
2018-04-24 12:20:10 -07:00
Anton Litvinov
670916b5d5 8199748: Touch keyboard is not shown, if text component gets focus from other text component
Reviewed-by: serb, aivanov
2018-04-24 15:42:58 +01:00
Dmitry Markov
e077905ff9 8202143: Parts of 8193435 added in merge change set
Reviewed-by: serb, prr
2018-04-24 11:39:04 +01:00
Sergey Bylokhov
8ca8d45fb5 8200146: Remove the appletviewer launcher
Reviewed-by: prr, ihse
2018-04-23 14:06:46 -07:00
Phil Race
568874f545 Merge 2018-04-20 09:05:05 -07:00
Lutz Schmidt
32ed45bb1d 8202079: [s390]: Build failure w/o precompiled headers
Reviewed-by: stuefe, shade
2018-04-20 14:25:51 +02:00
Sergey Bylokhov
605b430bb8 8187392: Deprecated methods in the peers can be removed
Reviewed-by: prr, kaddepalli
2018-04-18 14:07:41 -07:00
Phil Race
58525d3d0d Merge 2018-04-18 08:48:06 -07:00
Jayathirth D V
9e390e1cb6 6574555: PNGImageWriter incorrectly sets bKGD chunk
Reviewed-by: prr, pnarayanan
2018-04-18 13:22:53 +05:30
Jayathirth D V
f1a389d085 6788458: PNGImageReader ignores tRNS chunk while reading non-indexed RGB/Gray images
Reviewed-by: prr, pnarayanan, kaddepalli
2018-04-18 12:33:21 +05:30