49967 Commits

Author SHA1 Message Date
Thomas Schatzl
73771f97e9 8202018: Move card table clear before enqueuing pending references
Move card table clearing in preparation of removal of the Reference enqueue phase.

Reviewed-by: sangheki, sjohanss
2018-05-03 14:09:39 +02:00
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
Axel Siebenborn
38854063d3 8195002: Fix test/hotspot/jtreg/gtest/GTestWrapper.java on Alpine/Musl
Reviewed-by: stuefe, clanger, mikael
2018-04-26 12:54:53 +02:00
Amy Lu
3499a42801 8202575: Remove java/lang/String/nativeEncoding/StringPlatformChars.java from ProblemList
Reviewed-by: alanb
2018-05-03 15:04:01 +08:00
Thomas Stuefe
d2c3ef2f85 8202303: LogStream should autoflush on destruction
Reviewed-by: dholmes, rehn, zgu
2018-05-03 07:35:17 +02:00
Robert Field
36b8ebf5c9 8202520: JShell tests: move intermittently failing tests to tier2
Reviewed-by: darcy
2018-05-02 18:36:49 -07:00
Ningsheng Jian
3d2467c62e 8202186: AArch64: Debug build VM crashes with PrintC1Statistics option
Reviewed-by: aph
2018-04-28 17:33:44 +08:00
Igor Ignatyev
47bc94b60e 8199375: [TESTBUG] Open source vm testbase monitoring tests
Reviewed-by: kvn, ihse, sspitsyn
2018-05-02 16:43:56 -07: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
Vladimir Kozlov
62d87665eb 8202505: ctw2 tasks are timing out in hs-tier3
Put CTW java_desktop_2.java test on problem list for Windows.

Reviewed-by: iignatyev
2018-05-02 10:48:48 -07: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
Bernard Blaser
7dc011ccca 8202372: Diagnostic with incorrect line info generated when compiling lambda expression
Add tree position to speculative lambda tree

Reviewed-by: vromero, jlahoda
2018-05-02 15:29:55 +01:00
Stefan Johansson
45aa655cd0 8202140: TLAB logging is not correct for G1
Reviewed-by: tschatzl, sangheki
2018-05-02 13:44:49 +02:00
Stefan Johansson
7f7d103c85 8191471: Elastic TLABs for G1
Reviewed-by: tschatzl, pliden
2018-05-02 13:44:46 +02:00
Chris Hegarty
8e69e1b11f 8202423: Small HTTP Client refresh
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-05-02 02:36:17 -07:00
Martin Doerr
d78303222b 8202425: [s390] C2: Wrong unsigned comparison with 0
Remove wrong node compU_reg_imm0. Other node is already available.

Reviewed-by: shade, lucy
2018-05-02 10:47:16 +02:00
Calvin Cheung
e7ef03dce6 8202130: [TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"
Removed the PrintSystemDictionaryAtExit vm option from the tests

Reviewed-by: zgu
2018-05-01 17:28:03 -07:00
Joe Darcy
e8fff78093 8202334: Update javax.lang.model.util visitors for 11
Reviewed-by: jjg
2018-05-01 17:19:18 -07:00
Brian Burkhalter
285bf7bbb4 8202507: Remove IO and NIO AtomicAppend tests from problem list
Reviewed-by: lancea
2018-05-01 14:40:31 -07:00
Naoto Sato
d071f0e344 8202484: Unused field in TimeZone
Reviewed-by: lancea
2018-05-01 12:37:15 -07:00
Aleksey Shipilev
0e7d8874a9 8202379: ARM32 is broken after JDK-8201543 (Modularize C1 GC barriers)
Reviewed-by: aph, eosterlund
2018-05-01 19:13:31 +02:00
Doug Lea
a4c5934169 8202373: Forcing eager initialization of CHM$ReservationNode avoids deoptimization
Reviewed-by: martin, psandoz, dholmes, redestad
2018-05-01 06:18:48 -07:00
Zhengyu Gu
3c202e01d8 8201542: Remove unused _gc_timer field in GCMemoryManager
Minor cleanup to remove unused field

Reviewed-by: shade, minqi
2018-05-01 07:40:41 -04:00
John Rose
d05ed512ac 8200167: Validate more special case invocations
Co-authored-by: Vladimir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Reviewed-by: acorn, vlivanov, dholmes
2018-04-30 21:56:54 -04:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00
Vladimir Ivanov
1298458a1d 8202399: [C1] LIRGenerator::do_CheckCast needs to exclude is_invokespecial_receiver_check() when using PatchAlot
Reviewed-by: kvn
2018-04-30 20:29:19 -04:00
Jiangli Zhou
3544f8902a 8202452: Delete test files missed from commit for 8193213&8182731
Deleted outdated tests.

Reviewed-by: dholmes
2018-04-30 17:50:05 -04:00
Jiangli Zhou
20edc74068 8193213: Make the UseAppCDS option obsolete
8182731: Odd handling of -XX:-UseAppCDS and -XX:SharedArchiveFile

Application class data sharing is enabled without -XX:+UseAppCDS. SharedArchiveFile is now a product flag.

Reviewed-by: dholmes, ihse, erikj, ccheung
2018-04-30 16:59:05 -04:00
Brian Burkhalter
cdd3f0ac39 8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Erik Österlund
8038a3507d 8202381: (Solaris) SIGBUS in # V [libjvm.so+0xcee494] jni_GetIntField+0x224
Reviewed-by: kbarrett, dcubed
2018-04-30 21:17:37 +02:00
Archana Nogriya
9c2b1f2f76 8202383: Custom extensions for jvmti doc
Reviewed-by: erikj
2018-04-30 09:49:08 -07:00
Calvin Cheung
b0268d4b00 8154204: [TESTBUG] Update DefaultUseWithClient test to handle client-less builds
Removed the DefaultUseWithClient.java test

Reviewed-by: hseigel, jiangli
2018-04-30 09:37:10 -07:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Claes Redestad
0f478d2cfd 8202419: Avoid creating Permission constants early
Reviewed-by: alanb, mullan
2018-04-30 16:27:23 +02:00
Jan Lahoda
f7afa8ff53 8202105: Console echo is disabled when exiting jshell
Preserving original terminal echo state when Console.readPassword finishes.

Reviewed-by: sherman, martin
2018-04-30 15:03:08 +02:00
Per Lidén
b9490e5760 8202366: Add macro for common loop in GCConfig
Reviewed-by: eosterlund, shade
2018-04-30 12:19:55 +02:00
Per Lidén
8c235a30e7 8202364: Add GCConfig::hs_err_name() to avoid GC-specific code in error reporting
Reviewed-by: eosterlund, shade
2018-04-30 12:19:53 +02:00
Claes Redestad
af4695d7e4 8202417: [TESTBUG] Broken hard-coded dependency in serviceability/sa/ClhsdbJhisto.java
Reviewed-by: alanb
2018-04-30 11:48:03 +02: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