Commit Graph

1290 Commits

Author SHA1 Message Date
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Thomas Schatzl
347c253452 7127700: G1: Replace G1PLAB with PLAB
Reviewed-by: sjohanss, kbarrett
2018-02-13 16:13:20 +01:00
Marcus Larsson
6ef9800875 8194994: Remove redundant string streams used for logging
Reviewed-by: rehn, iklam, coleenp
2018-02-13 14:10:56 +01:00
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Leonid Mesnik
45f751f518 8197455: There is some runthese related unused code in bytecodeInterpreter.cpp
Reviewed-by: iignatyev, dholmes
2018-02-08 21:53:06 -05:00
Kim Barrett
a25a95120e 8196083: Avoid locking in OopStorage::release
Defer release list updates to later allocate/delete operations.

Reviewed-by: coleenp, eosterlund
2018-02-08 17:23:43 -05:00
Coleen Phillimore
789e827f1a 8196806: Deprecate VMThreadHintNoPreempt and CompilerThreadHintNoPreempt
Reviewed-by: dholmes, hseigel
2018-02-08 15:21:59 -05:00
Zhengyu Gu
934390b571 8196923: [REDO] NMT: Report array class count in NMT summary
Added instance and array class counters in NMT summary report

Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Ivan Gerasimov
7d7c653abf 8197462: Inconsistent exception messages for invalid capturing group names
8179608: Error in comment in Pattern.java

Reviewed-by: sherman
2018-02-12 21:06:06 -08:00
Poonam Bajaj
4779c85b46 8187577: JVM crash during gc doing concurrent marking
Inform G1's SATB that a klass has been resurrected and it should not be unloaded

Reviewed-by: coleenp, tschatzl, kbarrett
2018-02-07 21:53:38 +00:00
Mikhailo Seledtsov
eeaf00be4f Merge 2018-02-07 13:31:13 -08:00
Paul Sandoz
c9757ad448 8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
Reviewed-by: lfoltan
2018-02-07 12:37:30 -08:00
Alex Menkov
8abc2c38f7 8161605: The '!UseSharedSpaces' check is not need in JvmtiManageCapabilities::recompute_always_capabilities
Reviewed-by: sspitsyn, mseledtsov
2018-02-07 10:25:10 -08:00
Matthias Baesken
b68ed88ffb 8196062: Enable docker container related tests for linux ppc64le
Also fix cgroup subsystem recognition

Reviewed-by: goetz, dsamersoff, bobv
2018-02-07 16:16:50 +01:00
Christoph Langer
60f417575e 8196565: AIX: Clean up os::javaTimeNanos according to AIX/PASE specification
Reviewed-by: stuefe, dholmes
2018-02-07 16:03:12 +01:00
Brian Burkhalter
7c3b34ae81 8197498: (se) kevent polling should ignore signal interrupt (EINTR)
8179307: Java_sun_nio_ch_KQueue_keventPoll throws an exception with "kqueue failed" instead of "kevent poll failed"

Reviewed-by: alanb
2018-02-12 08:19:33 -08:00
Brian Burkhalter
a7b3a19ec4 8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests
Change force(), load(), and isLoaded() not to throw UOE if there is no file mapping

Reviewed-by: alanb, rriggs, forax
2018-02-12 08:19:23 -08:00
Attila Szegedi
b1c09c22bb 8193295: Remove no longer used COMMALEFT
Reviewed-by: hannesw, mhaupt
2018-02-11 12:41:56 +01:00
Doug Lea
f9b19eb874 8195590: Miscellaneous changes imported from jsr166 CVS 2018-02
Reviewed-by: martin, psandoz, dholmes
2018-02-10 09:23:41 -08:00
Doug Lea
b6c2b234ef 8190324: ThreadPoolExecutor should not specify a dependency on finalization
Reviewed-by: martin, psandoz, alanb, rriggs, dholmes
2018-02-10 09:17:53 -08:00
Lance Andersen
987c3a2d87 8190378: Removal of CORBA and Java EE modules
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Kumar Srinivasan
7c4ed0b15b 8194651: javadoc: mark the com.sun.javadoc API for removal
Reviewed-by: jjg
2018-02-09 13:58:17 -08:00
Aleksei Efimov
9d59a4c2cc 6857903: SAXException.initCause() does not correctly set Exception
Reviewed-by: rriggs
2018-02-09 14:49:38 +00:00
Lois Foltan
7f25db6e5f 8196601: IllegalAccessError: cannot access class jdk.jfr.internal.handlers.EventHandler
Do not perform access check when returning a reflection field or method or performing internal signature processing.

Reviewed-by: acorn, psandoz
2018-02-06 10:28:22 -05:00
Robin Westberg
69c57791a4 8193308: Disallow installing user signal handlers for SIGBUS on OSX
Reviewed-by: stuefe, dholmes
2018-02-06 15:48:50 +01:00
Jesper Wilhelmsson
dd416bbf33 8196924: [BACKOUT] NMT: Report array class count in NMT summary
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206 8193184: NMT: Report array class count in NMT summary
Report array class and instance class count in NMT summary report

Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Coleen Phillimore
48f208f193 8196907: Fix minimal vm
Reviewed-by: zgu, dholmes
2018-02-06 18:10:30 -05:00
Harold Seigel
34480e526e 8190235: Clarify ClassLoaderData::is_*_class_loader_data() method implementations
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-06 13:41:49 -05:00
Lois Foltan
2f74993973 8196601: IllegalAccessError: cannot access class jdk.jfr.internal.handlers.EventHandler
Do not perform access check when returning a reflection field or method or performing internal signature processing.

Reviewed-by: acorn, psandoz
2018-02-06 10:28:22 -05:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Lana Steuck
845f7823de Merge 2018-02-09 02:23:34 +00:00
Thomas Schatzl
75ab2501f7 8196883: G1RemSet::refine_card_concurrently doesn't need to check for cards in collection set
Remove code related to collection set checking in that method.

Reviewed-by: kbarrett, ehelin
2018-02-08 10:15:57 +01:00
Yue Liu
751fa92e41 8196383: JDK 10 L10n resource file update - msgdrop 20
Reviewed-by: naoto
2018-02-06 22:26:13 -08:00
Jan Lahoda
d5ec9dbfb5 8194764: javac incorrectly flags deprecated for removal imports
Fixing source range for the Source.Feature.DEPRECATE_ON_IMPORT

Reviewed-by: mcimadamore
2018-02-07 16:49:24 +01:00
Arno Zeller
b0cb59ac31 8196678: avoid printing uninitialized buffer in os::print_memory_info on AIX
Reviewed-by: dholmes, goetz, clanger
2018-02-07 09:18:13 +01:00
Gary Adams
40f004ad8c 8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Reviewed-by: erikj, clanger, chegar
2018-02-08 09:24:44 -05:00
Claes Redestad
9f0da6d94f 8196869: Optimize Locale creation
Reviewed-by: psandoz, plevart, naoto
2018-02-08 18:45:30 +01:00
Alan Bateman
e3b7698786 8196956: (ch) More channels cleanup
Reviewed-by: rriggs, prappo, bpb
2018-02-08 10:55:21 +00:00
Weijun Wang
48aad3bd2f 8196823: jarsigner should not create a signed jar if the signing fails
Reviewed-by: mullan, alanb
2018-02-08 11:44:21 +08:00
Jonathan Gibbons
e7f7bcdb06 8195795: Organize output files by module/package, not just package
Reviewed-by: ksrini, mchung, erikj
2018-02-07 11:28:23 -08:00
Adam Petcher
683817de43 8194251: Deadlock between UsageTracker and System.getProperty() when using a malformed security policy
Disable localization of error messages produced during policy file parsing

Reviewed-by: mchung, mullan
2018-02-07 09:06:43 -05:00
Bhavesh Patel
999168d66b 8196027: Remove "Prev" and "Next" links from the javadoc navigation
Reviewed-by: jjg, ksrini
2018-02-06 18:28:23 -08:00
Erik Joelsson
7a6b695959 8196879: Forgot to add file in JDK-8196803
Reviewed-by: tbell
2018-02-06 10:17:31 -08:00
Erik Joelsson
ffdfd48fd2 8196803: Fix build warnings in jdk libraries with Xcode 9
Reviewed-by: tbell, ihse
2018-02-06 10:12:05 -08:00
Alan Bateman
8deac7d09b 8196787: (ch) Moving network channels to use j.u.c locks
Reviewed-by: prappo, rriggs
2018-02-06 16:04:46 +00:00
Srinivas Dama
6ff900807d 8152616: com.sun.tools.javac.tree.Pretty generates nested comments for enum
Fixed nested comments for enum

Reviewed-by: mcimadamore
2018-02-06 23:49:10 +05:30
Brian Burkhalter
5f7839ae5a 8196535: Remove support for pre-Java 6 non-JVM-wide file locking
Reviewed-by: alanb, rriggs
2018-02-05 15:08:46 -08:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Jonathan Gibbons
7f04dec594 8196736: Refactor HelpWriter and properties
Reviewed-by: ksrini
2018-02-05 11:35:56 -08:00
Zhengyu Gu
897d228899 8194934: NMT: Remove MemTracker::get_virtual_memory_xxx_tracker(), create Tracker in place
Create tracker in place to avoid additional locking

Reviewed-by: coleenp
2018-02-05 13:23:26 -05:00
Liam Miller-Cushon
24ae32f082 8190452: javac should not add MethodParameters attributes to v51 and earlier class files
Reviewed-by: vromero, jjg
2018-02-05 10:43:31 -05:00
David Holmes
3c2d19f0bc 8196739: Disable obsolete/expired VM flag transitional warnings
Reviewed-by: kbarrett
2018-02-05 06:43:23 -05:00
Igor Veresov
333333a507 8194819: Update Graal
Reviewed-by: kvn
2018-02-02 17:28:17 -08:00
Joe Wang
3138724d05 8196717: remove xmlresolver.md
Reviewed-by: lancea, rriggs
2018-02-02 14:44:48 -08:00
Martin Buchholz
3e53369eb8 8196609: Improve javadoc for java.time.Instant.getEpochSecond
Reviewed-by: dfuchs
2018-02-02 12:34:58 -08:00
Brian Burkhalter
073cfe14a5 8166253: (ch) FileLock object can get GC'd and result in unexpected release of file lock
Reviewed-by: alanb, dfuchs, mli, rriggs
2018-02-02 13:44:26 -08:00
Roger Riggs
0b8689b331 8195059: Update java.net Socket and DatagramSocket implementations to use Cleaner
Reviewed-by: chegar, plevart
2018-02-02 14:17:07 -05:00
Phil Race
7052a83930 Merge 2018-02-02 09:04:45 -08:00
Phil Race
ae133c49b5 8196288: Update src/java.desktop/share/legal/libharfbuzz.md for harfbuzz
Reviewed-by: psadhukhan
2018-02-02 08:41:02 -08:00
Harold Seigel
83bb2205e8 8190359: Reduce the number of recorded klass dependencies
Skip recording dependencies to non-anonymous classes loaded by builtin class loaders.

Reviewed-by: iklam, coleenp, lfoltan
2018-02-02 10:37:48 -05:00
Coleen Phillimore
191a1f80a1 6909265: assert(_OnDeck != Self->_MutexEvent,"invariant") with -XX:+PrintMallocFree
Convert to logging without thread locking

Reviewed-by: dholmes, zgu, hseigel
2018-02-02 09:34:11 -05:00
Vicente Romero
5f7d996632 8196403: remove the remaining use of string keys for errors and warnings in the compiler
Reviewed-by: mcimadamore, jlahoda
2018-02-02 07:43:54 -05:00
Srinivas Dama
1335ebada2 8011697: ScriptEngine "js" randomly means either "rhino" or "nashorn", but should instead select one
Sort ScriptEngineFactory by name so that same engine is retrieved across all OS

Reviewed-by: alanb, sundar
2018-02-02 23:21:12 +05:30
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Joe Wang
0584441390 8193830: Xalan Update: Xalan Java 2.7.2
Reviewed-by: lancea
2018-02-01 15:53:51 -08:00
Paul Sandoz
00b3f917ac 8195694: ConstantBootstraps.invoke does not preserve variable arity
Reviewed-by: jrose
2018-02-01 14:19:04 -08:00
Coleen Phillimore
aa51ac19b3 8196199: Remove miscellaneous oop comparison operators
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: hseigel, lfoltan
2018-02-01 13:30:53 -05:00
Brian Burkhalter
697c3fc073 8139206: Add InputStream readNBytes(int len)
Reviewed-by: alanb, chegar, plevart, apetcher, rriggs, weijun
2018-02-01 09:40:38 -08:00
Pankaj Bansal
5e9d4e4eaf 7007967: DefaultRowSorter: incorrect sorting due to not updating comparator cache
Reviewed-by: serb, jdv
2018-02-01 16:38:25 +05:30
Martin Doerr
f8db247cde 8196503: PPC64: vtableStubs gtest fails after 8174962
Reviewed-by: goetz
2018-02-01 11:58:38 +01:00
Ramanand Patil
317bef9a41 8195837: (tz) Upgrade time-zone data to tzdata2018c
Reviewed-by: coffeys, naoto
2018-01-31 22:55:12 -08:00
Jesper Wilhelmsson
c2735a15d7 Merge 2018-02-01 02:05:35 +01:00
Dean Long
ce205655fe 8194990: 3 Null pointer dereference defect groups related to CodeCache::find_blob_unsafe()
Reviewed-by: kvn
2018-01-31 16:10:23 -08:00
Dean Long
672ddf57fc 8194987: Null pointer dereference in escape.cpp related to Node::find_out_with()
Reviewed-by: kvn
2018-01-31 16:09:52 -08:00
Dean Long
b1723061be 8194984: 9 Null pointer dereference defect groups related to ciMethodData::bci_to_data()
Reviewed-by: kvn
2018-01-31 16:09:29 -08:00
Mandy Chung
f5b63e9852 8196310: jlink --suggest-providers fails with missing resource if --output specified
Reviewed-by: alanb, lancea, sundar
2018-01-31 15:15:09 -08:00
Eric Caspole
c971362aa0 8195069: LogCompilation - add basic unit tests
Framework and simple junits with static input

Reviewed-by: kvn, thartmann
2018-01-31 17:45:48 -05:00
Xueming Shen
fec9d472e3 8193802: NullPointerException from JarFileSystem.getVersionMap()
Reviewed-by: mchung
2018-01-31 14:21:52 -08:00
Paul Sandoz
4b5ffe70d9 8187742: Minimal set of bootstrap methods for constant dynamic
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, forax
2018-01-31 11:20:36 -08:00
Xueming Shen
2f7bcc872f 8176379: java.util.Base64 mime encoder behaves incorrectly if initialized with a line length of size 1-3
Reviewed-by: rriggs, alanb, psandoz
2018-01-31 10:34:59 -08:00
Xueming Shen
46d5554295 8166339: Code conversion working behavior was changed for x-IBM834
Reviewed-by: coffeys
2018-01-31 08:42:59 -08:00
Sergey Bylokhov
4bea8ffc4c 8195852: The usage of permissions in Desktop API should be clarified
Reviewed-by: prr
2018-01-30 19:13:26 -08:00
Sergei Tsypanov
bbb4bcd69d 8196207: Inefficient ArrayList.subList().toArray()
Reviewed-by: martin, psandoz, jrose, redestad
2018-01-30 11:08:50 -08:00
Liam Miller-Cushon
8641dcffca 8194268: Incorrect parameter names for synthetic methods
Reviewed-by: jlahoda, vromero
2018-01-26 11:27:53 -08:00
Andrew Dinn
18beaf6646 8196221: AArch64: Mistake in committed patch for JDK-8195859
The wrong patch was committed for JDK-8195859

Reviewed-by: aph
2018-01-26 16:38:21 +00:00
Roland Westrelin
d244b3ccd1 8196296: Lucene test crashes C2 compilation
Prevent merging of back to back ifs if one is a counted loop end.

Reviewed-by: kvn, thartmann
2018-01-30 09:08:44 +01:00
Igor Veresov
b42858623c 8196295: [Graal] remove unused org.graalvm.options package
Reviewed-by: thartmann, kvn
2018-01-26 13:13:19 -08:00
Phil Race
2e16c465c3 8196287: Update src/java.desktop/share/legal/libpng.md for libpng 1.6.34
Reviewed-by: ssadetsky
2018-01-26 12:07:35 -08:00
Paul Sandoz
30df14bd0a 8195970: Crash passing null to a VarHandle
Reviewed-by: mchung, alanb
2018-01-26 09:35:15 -08:00
Andrew Dinn
d46ebb546d 8196221: AArch64: Mistake in committed patch for JDK-8195859
The wrong patch was committed for JDK-8195859

Reviewed-by: aph
2018-01-26 16:38:21 +00:00
Phil Race
aa1aec4b56 Merge 2018-01-30 09:03:47 -08:00
Jayathirth D V
e4d034cf9a 8191023: PngReader throws NegativeArraySizeException when keyword length exceeds chunk size
Reviewed-by: serb, pnarayanan
2018-01-30 11:53:00 +05:30
Semyon Sadetsky
01a0105416 8189201: [macosx] NotSerializableException during JFrame with MenuBar serialization
Reviewed-by: serb, prr
2018-01-26 10:49:37 -08:00
Liam Miller-Cushon
81a51d8c45 8179373: javac -verbose logs the class path multiple times
Reviewed-by: martin
2018-01-25 15:18:13 -08:00
Ivan Gerasimov
b9ecb2e95b 8194412: Adding 256 units of IsoFields.QUARTER_YEARS broken
Reviewed-by: scolebourne, rriggs
2018-01-29 10:48:13 -08:00
Daniel Fuchs
e6c7f041f9 8195096: Exception printed on console with custom LogManager on starting Apache Tomcat
Make sure that loadLoggerHandler for ".handler" is called only from within addLogger

Reviewed-by: mchung
2018-01-26 14:15:09 +00:00
Andrew Dinn
9ec48886de 8195859: AArch64: vtableStubs gtest fails after 8174962
Gtest vtableStubs introduced by 8174962 fails on AArch64 with an invalid insn encoding

Reviewed-by: duke
2018-01-25 14:47:27 +00:00
Andrew Dinn
cf8d43353f 8195859: AArch64: vtableStubs gtest fails after 8174962
Gtest vtableStubs introduced by 8174962 fails on AArch64 with an invalid insn encoding

Reviewed-by: duke
2018-01-25 14:47:27 +00:00
Weijun Wang
15ac25be9d 8177398: Exclude dot files ending with .conf from krb5.conf's includedir
Reviewed-by: mullan
2018-01-26 09:37:10 +08:00