Commit Graph

2362 Commits

Author SHA1 Message Date
Sergey Bylokhov
4549cb8a69 8201364: [macosx] Component.getLocation() gives inconsistent coordinate for a component at (0,0)
Reviewed-by: dmarkov
2018-05-17 14:41:23 -07:00
Jayathirth D V
cd7a37b018 5109146: PNGMetadata Background color initialization from standard metadata is incomplete
Reviewed-by: prr, kaddepalli
2018-05-17 11:40:55 +05:30
Alan Snyder
d7e59b52c5 8194327: [macos] AWT windows have incorrect main/key window behaviors
Reviewed-by: serb, erikj
2018-05-16 16:46:51 -07:00
Phil Race
f9abf6bee6 Merge 2018-05-16 10:27:25 -07:00
Xueming Shen
bd36be5066 8191533: jar --describe-module prints service provider class names in lower case
Reviewed-by: alanb
2018-05-16 10:12:10 -07:00
Phil Race
7984fb2956 Merge 2018-05-16 09:45:40 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00
Claes Redestad
cff257a87b 8196340: (coll) Examine overriding inherited methods in ArrayList and ArrayList.SubList
Reviewed-by: martin, forax, igerasim
2018-05-16 18:03:20 +02:00
Phil Race
ca8b59370b Merge 2018-05-15 10:13:52 -07:00
Roman Kennke
14291ba72a 8202714: Create a MacroAssembler::access_load/store_at wrapper for AArch64
Reviewed-by: adinn, smonteith
2018-05-15 05:33:26 -04:00
Alan Bateman
d64c38aab2 8203059: (so) Closing a socket channel registered with Selector and with SO_LINGER set to 0 does not reset connection
Reviewed-by: chegar
2018-05-15 09:33:02 +01:00
Jini George
747f934ca7 8195613: [SA] HotSpotTypeDataBase.readVMLongConstants truncates values to int
Avoid truncation to int while reading in long constants from vmStructs. Modify ClhsdbLongConstant.java for truncation testing.

Reviewed-by: dholmes, sspitsyn, cjplummer
2018-05-15 02:47:40 +05:30
Roman Kennke
0fd74037aa 8202016: Use obj+offset in interpreter array access
Reviewed-by: adinn
2018-05-14 21:56:07 +02:00
Phil Race
302000f379 8198991: Move Java2D demo to the open repository
Reviewed-by: serb, jeff
2018-05-14 08:58:32 -07:00
Andrew Haley
0d6885f792 8185505: AArch64: Port AOT to AArch64
Reviewed-by: kvn
2018-05-14 12:03:59 +01:00
Per Lidén
3222e19f2c 8202993: Add support for x86 testptr/testq with register and address
Reviewed-by: kvn, neliasso
2018-05-14 15:43:00 +02:00
Per Lidén
875d55e903 8202976: Add C1 lea patching support for x86
Reviewed-by: kvn, neliasso
2018-05-14 15:42:59 +02:00
Per Lidén
a6b12a847c 8202994: Add support for undoing last TLAB allocation
Reviewed-by: shade, stefank
2018-05-14 15:42:58 +02:00
Nils Eliasson
d822b86df8 8193935: Illegal countedLoops transformation
Truncation can sometimes not be removed

Reviewed-by: kvn
2018-05-14 14:10:52 +02:00
Nils Eliasson
86728689bf 8201532: Update idom to get correct dom depth calculation
Assert due to dom depth calculation on old idom

Reviewed-by: roland
2018-05-14 14:10:50 +02:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03:00
Thomas Schatzl
ec2d9845e0 8201491: G1 support for java.lang.ref.Reference precleaning
Implement single-threaded concurrent reference precleaning for G1.

Reviewed-by: sangheki, kbarrett
2018-05-14 11:47:03 +02:00
Thomas Schatzl
6ff0af73ce 8202829: Implement CollectedHeap::get_safepoint_workers() for G1
Use the parallel STW worker gang to do safepoint work.

Reviewed-by: rkennke, eosterlund, pliden
2018-05-14 11:47:03 +02:00
Alexey Ivanov
e30d634514 8202544: Hide unused exports in libzip
Reviewed-by: clanger, ihse
2018-05-11 15:07:43 +01:00
Phil Race
0b2ecd51c9 Merge 2018-05-08 12:13:57 -07:00
Thomas Schatzl
9ed9e26d5c 8202781: Fix typo in DiscoveredListIterator::complete_enqeue
Reviewed-by: kbarrett
2018-05-08 16:49:20 +02:00
Adam Petcher
f5a247a85f 8171277: Elliptic Curves for Security in Crypto
Implementations of X25519 and X448 key agreement in SunEC

Reviewed-by: mullan
2018-05-08 09:47:28 -04:00
Adam Petcher
f15ab37909 8181594: Efficient and constant-time modular arithmetic
Field arithmetic library for crypto algorithms like Poly1305 and X25519

Reviewed-by: xuelei
2018-05-08 09:21:51 -04:00
Jim Laskey
8139cce3e5 8200372: String::trim JavaDoc should clarify meaning of space
Reviewed-by: sundar
2018-05-08 09:27:42 -03:00
Claes Redestad
b329be2b75 8202548: Use reservation Object when creating SpeciesData
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, plevart
2018-05-08 10:49:59 +02:00
Laurent Bourgès
ef92671424 8202580: Dashed BasicStroke randomly painted incorrectly, may freeze application
Fixed Dasher.init() to use the correct part [0; dashLen[

Reviewed-by: prr, serb
2018-05-08 10:13:21 +02:00
Thomas Schatzl
035d0190a3 8202017: Merge Reference Enqueuing phase with phase 3 of Reference processing
Do reference enqueuing work directly in phase 3 after every Reference.

Reviewed-by: kbarrett, sangheki
2018-05-08 10:01:29 +02:00
Christoph Dreis
59d4a62f42 8202719: Use Collections.emptyEnumeration where possible
Reviewed-by: martin, psandoz
2018-05-08 09:57:45 +02:00
Claes Redestad
13ce1152a4 8202583: Remove experimental ClassForNamePlugin
Reviewed-by: jlaskey, alanb, mchung
2018-05-08 09:52:18 +02:00
Hannes Wallnöfer
4bbca4651c 8200716: Object propertyIsEnumerable buggy behavior on short integer-string key
Reviewed-by: jlaskey, sundar
2018-05-08 09:41:10 +02:00
Rachna Goel
78bd242097 8191410: Unicode 10
Upgrade to Unicode 10

Reviewed-by: naoto, rriggs, igerasim
2018-05-08 11:49:42 +05:30
Chris Yin
7166041796 8202690: jdk/jshell/ToolBasicTest.java failed in testOpenFileOverHttp() and testOpenLocalFileUrl()
Reviewed-by: rfield, jlahoda
2018-05-08 09:51:42 +08:00
David Holmes
b62fee0519 8202744: Expired flag removal for JDK 11
Reviewed-by: coleenp, jiangli
2018-05-07 21:48:28 -04:00
Coleen Phillimore
00223c1ca5 8202606: Deprecate AllowNonVirtualCalls option
Reviewed-by: hseigel, dholmes
2018-05-07 18:48:36 -04:00
Goetz Lindenmaier
b72846bc20 8202745: Remove hyphens from "out-of-bounds"
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Goetz Lindenmaier
ac3043c692 8201593: Print array length in ArrayIndexOutOfBoundsException
Reviewed-by: dholmes, mdoerr, smonteith, shade, rriggs
2018-05-07 09:11:21 +02:00
Jini George
b812ae6e51 8174995: SA: clhsdb 'where -a' throws Assertion Failure with illegal code 236 when CDS is used
Make SA aware of the new _nofast* (rewritten during CDS dump time) bytecodes.

Reviewed-by: iklam, cjplummer
2018-05-12 17:22:56 +05:30
Christoph Langer
25b41d79b5 8202915: [JAXP] Performance enhancements and cleanups in com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator
Reviewed-by: joehw
2018-05-12 10:26:42 +02:00
Mandy Chung
0e1bd1f99d 8202113: Reflection API is causing caller classes to leak
Reviewed-by: alanb, plevart
2018-05-11 14:21:46 -07:00
Dmitrij Pochepko
cae7789afc 8202395: AARCH64: wrong encoding for SIMD instructions zip, trn, uzp
Reviewed-by: aph
2018-05-11 21:22:28 +03:00
Boris Ulasevich
078a1f3a17 8201604: ARM64 - Build failure after JDK-8193260
Reviewed-by: aph
2018-05-11 21:19:47 +03:00
Vicente Romero
74b151103e 8194998: broken error message for subclass of interface with private method
Reviewed-by: mcimadamore
2018-05-11 10:39:04 -07:00
Daniel D. Daugherty
5e70392aa8 8132287: obsolete the "InlineNotify" flag option
Reviewed-by: kvn, dlong, dholmes
2018-05-11 11:08:32 -04:00
Yasumasa Suenaga
256b6f1a4c 8202889: Remove trailing LF from perf log
Reviewed-by: stuefe, clanger
2018-05-11 09:40:23 +09:00
Calvin Cheung
78ed5e2c4d 8202289: Non-empty directory in module path is not handled properly at CDS/AppCDS dump time
8202519: Crash during large AppCDS dump

Convert the source of a class into canonical form before comparing witha shared path table entry.

Reviewed-by: jiangli, iklam
2018-05-10 16:39:50 -07:00
Vladimir Kozlov
b2a68ca34f 8202773: Unhandled oop in JavaThread::collect_counters
Remove MutexLocker

Reviewed-by: dcubed
2018-05-10 09:27:59 -07:00
Thomas Schatzl
b34a8c43f1 8202780: Remove EnqueueTask related code from ReferenceProcessor after JDK-8202017
Remove code obsoleted by JDK-8202017

Reviewed-by: kbarrett, sangheki
2018-05-09 13:37:05 +02:00
Stefan Johansson
816d8f4257 8202662: JFR tests fails: Could not find leak with class
Reviewed-by: pliden, kbarrett
2018-05-09 11:24:12 +02:00
Boris Ulasevich
2ee56fd1cf 8201602: ARM32 - Minimal Dynamic Constant support
Minimal condy support for ARM

Reviewed-by: dsamersoff, bobv
2018-05-09 12:19:35 +03:00
Claes Redestad
7101b28dc3 8202711: Merge tiered compilation policies
Reviewed-by: neliasso, kvn
2018-05-09 09:39:25 +02:00
Christoph Langer
a322e0f0ff 8202650: Enforce group for attach listener file
Reviewed-by: cjplummer, stuefe
2018-05-09 07:48:31 +01:00
Thomas Stuefe
85544dd1e4 8202634: Metaspace: simplify SpaceManager lists
Reviewed-by: zgu, coleenp
2018-05-09 06:51:41 +02:00
Martin Doerr
3b3d16a6de 8202564: java/lang/management/ThreadMXBean/ThreadCounts.java fails
_exiting_daemon_threads_count needs to be decremented at the right place

Reviewed-by: kvn, dcubed
2018-05-08 15:40:03 +02:00
Kim Barrett
65abdefedf 8202631: JVM_Clone to throw CloneNotSupportException for Reference object
JVM_Clone throws; delete previous partial support for cloning.

Reviewed-by: eosterlund, mchung, dholmes, coleenp
2018-05-08 20:59:58 -04:00
Joe Darcy
f899fb1841 8202563: BigInteger/BigDecimal not immune to overflow, contrary to spec
Reviewed-by: martin, bpb
2018-05-08 17:58:14 -07:00
Vicente Romero
3b13b81625 8202597: javac is not inducing a notional interface if Object appears in an intersection type
Reviewed-by: mcimadamore
2018-05-08 17:12:54 -07:00
Stefan Karlsson
fc99089e00 8202722: Move marksweep_init into GC code
Reviewed-by: ehelin, kbarrett
2018-05-07 16:16:17 +02:00
Stefan Karlsson
c590979683 8202649: Move the Parallel GC specific task creation functions out of Threads
Reviewed-by: ehelin, pliden
2018-05-07 16:12:07 +02:00
Stefan Karlsson
99072b90d7 8202647: Add deduplicate_string function to CollectedHeap
Reviewed-by: rehn, sjohanss
2018-05-07 14:57:25 +02:00
Stefan Karlsson
90a2a92fe3 8202709: Move oopDesc::is_archive_object to MetaspaceShared::is_archive_object
Reviewed-by: ehelin, jiangli
2018-05-07 14:57:23 +02:00
Jonathan Gibbons
7574941d5f 8199196: Add javadoc support for preview features
Reviewed-by: ksrini
2018-05-08 12:16:52 -07:00
Alexey Ivanov
30f9ec8623 8202476: ImageLib is broken in 32 bit Windows
Reviewed-by: prr, ihse, mbaesken
2018-05-04 19:23:21 +01:00
Phil Race
69c55eb2de Merge 2018-05-04 09:46:08 -07:00
Lois Foltan
2464e2b11e 8189916: Dynamic Constant support for Sparc
Change to the template interpreter to support dynamic constant on Sparc.

Reviewed-by: coleenp, psandoz
2018-05-04 12:14:09 -04:00
Phil Race
d8cfaff123 Merge 2018-05-04 08:50:01 -07:00
Eric Caspole
8da6952259 8197447: LogCompilation throws "couldn't find bytecode"
Handle unstable_fused_if

Reviewed-by: kvn, gtriantafill
2018-05-04 10:45:47 -04:00
Christoph Langer
2ac4c89501 8202181: Correctly specify size of hostname buffer in Unix Inet*AddressImpl_getLocalHostName implementations
Reviewed-by: stuefe, bpb, vtewari, chegar
2018-05-04 14:37:58 +01:00
Leo Korinth
97571a7c4e 8176717: GC log file handle leaked to child processes
Reviewed-by: stuefe, rehn
2018-05-03 15:17:27 +02:00
Rachna Goel
5b3eaaf632 8202582: DateTimeFormatterBuilder.parseOffsetBased unnecessarily calls toString()
Call text.subSequence() before calling toString() on input string

Reviewed-by: igerasim
2018-05-04 15:44:24 +05:30
Stefan Karlsson
1cb95bd3d1 8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Claes Redestad
d1cf230fc1 8187123: (reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue
Reviewed-by: psandoz, dholmes, mchung
2018-05-04 09:29:14 +02:00
Phil Race
de8051e063 Merge 2018-05-02 09:16:10 -07:00
Coleen Phillimore
3e3414dbf3 8203837: Split nmethod unloading from inline cache cleaning
Refactor cleaning inline caches to after GC do_unloading.

Reviewed-by: thartmann, eosterlund
2018-05-02 11:28:49 -04:00
Roman Kennke
26b8ea76f5 8202776: Modularize GC allocations in runtime
Reviewed-by: eosterlund, shade
2018-06-05 19:13:53 +02:00
Xueming Shen
fcfd1c85dd 8200530: '\r' is not supported as "newline" in java.util.jar.Manifest
Reviewed-by: jlaskey
2018-06-05 10:03:46 -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
Krishna Addepalli
c9ffd87865 4842658: DefaultListModel and DefaultComboBoxModel should support addAll (Collection c)
Reviewed-by: darcy, serb, prr
2018-05-02 15:11:54 +05:30
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
Joe Darcy
e8fff78093 8202334: Update javax.lang.model.util visitors for 11
Reviewed-by: jjg
2018-05-01 17:19:18 -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
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
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
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
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
Ioi Lam
e48f38966b 8197954: Remove unnecessary intermediary APIs from AppCDS implementation
Reviewed-by: jiangli, ccheung
2018-04-26 13:40:58 -07:00
Thomas Stuefe
1ea9f48936 8185034: Cleanup and consolidate Metaspace coding
Reviewed-by: coleenp, zgu
2018-05-07 20:42:36 +02:00
Goetz Lindenmaier
72a2ac8b8b 8199852: Print more information about class loaders in LinkageErrors
Reviewed-by: dholmes, lfoltan, gtriantafill
2018-05-07 11:38:21 +02:00
Stefan Karlsson
5f40eda733 8202642: Replace PAR_OOP_ITERATE with templates
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:10 +02:00
Stefan Karlsson
1dd85fe2f4 8202641: Replace OOP_SINCE_SAVE_MARKS with templates
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:08 +02:00
Stefan Karlsson
2e1bd03bad 8202639: Use concrete Generation classes in SerialHeap and CMSHeap
Reviewed-by: eosterlund, ehelin
2018-05-07 14:42:05 +02:00
Stefan Karlsson
5dfccac11f 8202592: Remove unused EvacuateFollowersClosure
Reviewed-by: kbarrett, tschatzl
2018-05-07 14:42:04 +02:00
Stefan Karlsson
7d380f1708 8202591: Remove usage of CMSEdenChunksRecordAlways in defNewGeneration.cpp
Reviewed-by: eosterlund, kbarrett
2018-05-07 14:42:00 +02:00
Erik Österlund
983911c697 8202083: Remove explicit CMS checks in CardTableBarrierSet
Reviewed-by: kbarrett
2018-05-07 10:36:38 +02:00
Martin Doerr
71a38a4720 8202080: Introduce ordering semantics for Atomic::add and other RMW atomics
Reviewed-by: lucy, rehn, dholmes
2018-05-07 12:28:11 +02:00
Tobias Hartmann
29b1984560 8202565: C1 compilation crashes with "assert(is_double_stack() && !is_virtual()) failed: type check"
Only eagerly resolving the address into a register if the store is precise.

Reviewed-by: roland, eosterlund
2018-05-07 08:56:35 +02:00
Priya Lakshmi Muthuswamy
20324b99d3 8200094: Turkish locale reports NPE No enum constant com.sun.source.doctree.DocTree.Kind.SİNCE
Reviewed-by: ksrini, jjg
2018-05-07 07:44:49 +05:30
Roman Kennke
97ff2fce38 8202676: AArch64: Missing enter/leave around barrier leads to infinite loop
Reviewed-by: aph, eosterlund
2018-05-06 00:42:59 +02:00
Erik Österlund
e6bccc9d86 8202640: Small C1 cleanups for BarrierSetC1
Reviewed-by: kvn, neliasso
2018-05-05 22:19:19 +02:00
Thomas Stuefe
19f0e3f5d7 8202435: [aix] print program break as part of memory info into hs-err file
Reviewed-by: mdoerr, dholmes
2018-05-03 17:10:39 +02:00
Aleksey Shipilev
aef2df31e6 8202684: Minimal VM build is broken after JDK-8199067, JDK-8202638
Reviewed-by: eosterlund, stuefe
2018-05-05 18:55:31 +02:00
Kim Barrett
a313d5961a 8202672: Build failed in metaspace.cpp with VS2017
Add whitespace between string and identifier.

Reviewed-by: dcubed, erikj
2018-05-05 12:38:15 -04:00
Michal Vala
1e0c45b250 8199912: jshell tool: /open from URI
Reviewed-by: rfield
2018-05-04 23:19:10 -07:00
Vladimir Ivanov
3ecce1fe48 8202465: [C1] casts should not be eliminated for interface types
Reviewed-by: jrose, thartmann
2018-05-04 16:49:22 -07:00
Gary Adams
dd34d29a46 8202319: Fix compilation warnings in Solaris debug builds for DevStudio 12.6
Disable warnings.

Reviewed-by: dholmes, kbarrett
2018-05-04 17:52:10 -04:00
Severin Gehwolf
2bd15814dc 8203223: Signed integer overflow in ImageStrings::hash_code (libjimage.so)
Perform hash operation on local unsigned type.

Reviewed-by: shade, dholmes, alanb
2018-05-15 15:36:46 +02:00
Aleksey Shipilev
5ee4a26ecb 8203285: Minimal VM fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 13:14:58 +02:00
Aleksey Shipilev
6bca38c321 8203274: 32-bit build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:35 +02:00
Aleksey Shipilev
e5a8494286 8203278: AArch64/PPC64 build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:34 +02:00
Per Lidén
e8eb07d805 8203220: Introduce ATTRIBUTE_ALIGNED macro
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:24:54 +02:00
Alexander Harlap
c57afa5fbf 8189271: Metaspace::_capacity_until_GC should be size_t
Change of member and some related local variables.

Reviewed-by: tschatzl, stuefe
2018-05-15 19:26:00 -04:00
Aleksey Shipilev
425cd17400 8203251: Non-PCH build failed after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-15 23:37:37 +02:00
Jonathan Gibbons
5efef1271b 8203176: javadoc handles non-ASCII characters incorrectly
Reviewed-by: ksrini
2018-05-15 14:15:47 -07:00
Joe Wang
e8586cd4bc 8202426: NPE thrown by Transformer when XMLStreamReader reports no xml attribute type
Reviewed-by: lancea
2018-05-15 13:28:08 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Anton Tarasov
489e5ae334 8189687: Swing: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows
Reviewed-by: serb, psadhukhan
2018-04-25 21:54:42 +05:30
Thomas Stuefe
d9b3c3203e 8201572: Improve Metaspace Statistics
Reviewed-by: adinn, zgu
2018-04-24 18:06:32 +02:00
Kim Barrett
9b734fc849 8200557: OopStorage parallel iteration scales poorly
Change representation of sequence of all blocks for better scaling.

Reviewed-by: coleenp, eosterlund
2018-05-03 17:36:50 -04:00
Jonathan Gibbons
cf20cdd06c 8194968: problem list actions for tools/javac/jvm/VerboseOutTest
Reviewed-by: vromero
2018-05-03 12:56:53 -07:00
Joe Wang
986a178214 8201138: Defect in XMLEventReader.getElementText() may cause data to be skipped, duplicated or otherwise result in a ClassCastException
Reviewed-by: lancea
2018-05-03 12:13:43 -07:00
Mandy Chung
bd18ef4c18 8201793: (ref) Reference object should not support cloning
Reviewed-by: psandoz, kbarrett
2018-05-03 11:18:57 -07:00
Vladimir Kozlov
8ebfc59cfa 8202552: [AOT][JVMCI] Incorrect usage of INCLUDE_JVMCI and INCLUDE_AOT
Reviewed-by: stefank, ihse
2018-05-03 09:07:40 -07:00
Thomas Stuefe
6a12519d84 8202424: Metaspace: on chunk retirement, use correct lower limit on chunksize when adding blocks to free blocks list
Reviewed-by: zgu, coleenp
2018-04-30 15:55:21 +02:00
Coleen Phillimore
204ba9a580 8202447: Fix unloading_occurred to mean unloading_occurred
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur.

Reviewed-by: sspitsyn, rehn
2018-04-27 15:00:04 -04:00
Zhengyu Gu
9353d59547 8199067: [REDO] NMT: Enhance thread stack tracking
Precise thread stack tracking on Linux and Windows

Reviewed-by: stuefe, coleenp
2018-05-03 08:07:20 -04:00
Thomas Schatzl
deb5bf745f 8202021: Improve variable naming in ReferenceProcesso
Reviewed-by: sangheki, sjohanss
2018-05-03 14:10:08 +02:00
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
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
Shashidhara Veerabhadraiah
0406664154 8201598: Fix for 8181910: Support dark title bars on macOS broke the MacOS build
Reviewed-by: prr, serb
2018-04-18 10:43:43 +05:30
Sergey Bylokhov
5ef2113ebc 8199932: Missing copyright header in AWT source code
Reviewed-by: prr, mhalder
2018-04-17 18:18:26 -07:00
Pankaj Bansal
3459dc11fd 8153532: Add @throws NPE javadoc to UIManager.setLookAndFeel(String) method description
Reviewed-by: prr, serb, kaddepalli
2018-04-16 15:22:56 +05:30
Srividya Shamaiah
698152fb51 8201369: Inet4AddressImpl_getLocalHostName reverse lookup on Solaris only
Reviewed-by: clanger, chegar
2018-04-16 12:50:10 +05:30
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
Doug Simon
1b29264229 8201794: [Graal] fix regressions from JDK-8187490
Reviewed-by: alanb, mchung
2018-04-18 15:57:19 +02:00
Kumar Srinivasan
1065333848 8198793: Add launcher support for preview features
Reviewed-by: mchung, sundar
2018-04-16 16:52:08 -07:00
John Paul Adrian Glaubitz
f491141467 8201616: Hotspot crashes on linux-sparc after 8189941
Reviewed-by: kvn, stuefe
2018-04-18 15:12:28 +02:00