Commit Graph

5276 Commits

Author SHA1 Message Date
Jean Christophe Beyler
ec3edf99f9 8221853: Data race in compile broker (set_last_compile)
Remove the debug code provoking it

Reviewed-by: kvn, thartmann
2019-04-09 19:34:05 -07:00
Ivan Gerasimov
eebe346715 8221430: StringBuffer(CharSequence) constructor truncates when -XX:-CompactStrings specified
Co-authored-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
Reviewed-by: igerasim, rriggs
2019-04-09 16:32:22 -07:00
Roman Kennke
990b45b149 8222227: Shenandoah: Fix Traversal GC weak roots handling in final-traversal pause
Reviewed-by: shade, zgu
2019-04-09 23:36:43 +02:00
Sergey Bylokhov
092cead6c1 8221445: FastSysexMessage constructor crashes MIDI receiption thread
Reviewed-by: prr
2019-04-09 13:57:58 -07:00
Aleksey Shipilev
321615029c 8222186: Shenandoah should not uncommit below minimum heap size
Reviewed-by: zgu, rkennke
2019-04-09 21:20:16 +02:00
Aleksey Shipilev
6453df40be 8222185: Shenandoah should report "committed" as capacity
Reviewed-by: zgu, rkennke
2019-04-09 21:20:15 +02:00
Brian Burkhalter
5952e2bc64 8221852: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE should be selected at runtime, not build time
Reviewed-by: alanb, shade
2019-04-09 12:17:03 -07:00
Stuart Marks
1aa784cdac 8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
Reviewed-by: redestad, lancea
2019-04-09 09:49:36 -07:00
Stuart Monteith
91c90755b5 8222180: ZGC: ZForwarding::verify() failing when checking for duplicates
Reviewed-by: pliden, eosterlund
2019-04-09 12:47:34 +02:00
Claes Redestad
89a267ca46 8221836: Avoid recalculating String.hash when zero
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: jrose, adinn
2019-04-10 12:05:50 +02:00
Matthias Baesken
d40aa622cf 8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, mdoerr
2019-04-10 08:51:38 +02:00
Fei Yang
b0c2b42e40 8221658: aarch64: add necessary predicate for ubfx patterns
Reviewed-by: aph
2019-04-08 14:40:31 +08:00
Sean Mullan
8b8759de8d 8020637: Permissions.readObject doesn't enforce proper Class to PermissionCollection mappings
Reviewed-by: weijun
2019-04-09 08:56:15 -04:00
Claes Redestad
9a97b54211 8222144: BuiltinClassLoader should create the CodeSource for jrt URLs lazily
Reviewed-by: alanb
2019-04-09 11:40:01 +02:00
Matthias Baesken
8f556345e1 8221535: add steal tick related information to hs_error file [linux]
Reviewed-by: dholmes, goetz
2019-04-08 14:36:33 +02:00
Robbin Ehn
3ca21234ce 8221584: SIGSEGV in os::PlatformEvent::unpark() in JvmtiRawMonitor::raw_exit while posting method exit event
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Reviewed-by: dholmes, dcubed
2019-04-08 21:39:43 +00:00
Sangheon Kim
bb31c7d085 8218049: Survivor MemoryMXBean used() size granularity is region based
Reviewed-by: tschatzl, kbarrett
2019-04-08 12:15:40 -07:00
Thomas Schatzl
f6116c5498 8222105: Add "use_" prefix to G1Policy::adaptive_young_list_length
Improve naming of G1Policy::adaptive_young_list_length to improve readability.

Reviewed-by: kbarrett
2019-04-08 21:01:17 +02:00
Thomas Schatzl
884545e54f 8218668: Clean up evacuation of optional collection set
Better integrate optional collection set evacuation into the existing evacuation scheme, fixing a few minor issues with the initial implementation.

Reviewed-by: kbarrett, sangheki
2019-04-08 20:37:52 +02:00
Aleksey Shipilev
3592b7ea78 8222130: Shenandoah should verify roots after pre-evacuation
Reviewed-by: rkennke, zgu
2019-04-08 19:43:04 +02:00
Zhengyu Gu
cc871f0459 8222086: CodeCache::UnloadingScope needs to preserve and restore previous IsUnloadingBehavior
Reviewed-by: eosterlund
2019-04-08 13:22:59 -04:00
Daniil Titov
8dfa6d1acc 8221730: jcmd process name matching broken
Reviewed-by: jcbeyler, dholmes, cjplummer
2019-04-08 17:09:02 +00:00
Roman Kennke
7a26e84e4f 8222129: Shenandoah: Missing CompareAndSwapP/N case in get_barrier_strength()
Reviewed-by: shade
2019-04-08 18:42:29 +02:00
Roman Kennke
d2ac25420e 8222125: Shenandoah: Crash when running with ShenandoahParallelSafepointThreads=1
Reviewed-by: shade
2019-04-08 18:42:27 +02:00
Dmitrij Pochepko
cc4453b2f8 8221995: AARCH64: problems with CAS instructions encoding
Reviewed-by: aph
2019-04-08 15:54:47 +03:00
Aleksey Shipilev
63d8ae233b 8222032: x86_32 fails with "wrong size of mach node" on AVX-512 machine
Reviewed-by: kvn, vlivanov
2019-04-07 13:28:18 +02:00
Aleksey Shipilev
fbb4597b6b 8221917: serviceability/sa/TestPrintMdo.java fails on 32-bit platforms
Reviewed-by: cjplummer, dholmes
2019-04-07 13:28:18 +02:00
Mandy Chung
a5b9e0f7ba 8221530: Caller sensitive methods not handling caller = null when invoked by JNI code with no java frames on stack
Reviewed-by: alanb, dholmes, sundar
2019-04-06 21:16:40 +08:00
Jonathan Gibbons
0abdc381b7 8221871: javadoc should not set role=region on <section> elements
Reviewed-by: hannesw
2019-04-05 15:57:33 -07:00
Xue-Lei Andrew Fan
8263b618ba 8221882: Use fiber-friendly java.util.concurrent.locks in JSSE
Reviewed-by: alanb, dfuchs
2019-04-05 11:28:23 -07:00
Jonathan Gibbons
6d617481d4 8221997: fix headings in jdk.javadoc
Reviewed-by: hannesw
2019-04-05 11:17:09 -07:00
Brian Burkhalter
049c574933 8221597: A typo in the Java API doc for File.getUsableSpace()
Reviewed-by: lancea, darcy
2019-04-05 08:37:33 -07:00
Andrew Haley
79218415bc 8219993: AArch64: Compiled CI stubs are unsafely modified
Reviewed-by: adinn
2019-04-05 09:53:07 -04:00
Andrew Dinn
71164a973b 8221477: Inject os/cpu-specific constants into Unsafe from JVM
Initialize Unsafe os/cpu-specific constants using injection instead of native callouts

Reviewed-by: stuefe, coleenp, dholmes, plevart
2019-04-05 10:01:09 +01:00
Pankaj Bansal
b1206f5ea2 8220349: The fix done for JDK-8214253 have caused issues in JTree behaviour
Reviewed-by: serb, prr
2019-04-04 12:14:51 +05:30
Sergey Bylokhov
d1ebf72bb2 6684386: ElementIterator javadoc bug
Reviewed-by: psadhukhan
2019-04-03 15:56:29 -07:00
Prasanta Sadhukhan
c30da2c601 8221661: javax.swing.text.View.getPreferredSpan(int axis)
Reviewed-by: serb
2019-04-03 14:21:24 +05:30
Prasanta Sadhukhan
00df041948 Merge 2019-04-03 13:30:05 +05:30
Ron Shapiro
ad590d6356 8220792: Performance bottleneck in JavacFileManager.list()
Reviewed-by: jjg
2019-04-02 17:27:48 -07:00
Leonid Mesnik
72b6b8cd2a 8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
Reviewed-by: coleenp, sspitsyn
2019-04-02 17:11:04 -07:00
Prasanta Sadhukhan
49193e2789 Merge 2019-04-02 10:57:57 +05:30
Weijun Wang
ae32136711 8221801: Update src/java.base/share/legal/public_suffix.md
Reviewed-by: xuelei
2019-04-02 11:05:08 +08:00
Weijun Wang
e0f37c15e4 8157404: Unable to read certain PKCS12 keystores from SequenceInputStream
Reviewed-by: xuelei
2019-04-02 10:17:30 +08:00
Ao Qi
460c22f03d 8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc
Add missing #include of softRefPolicy.hpp

Reviewed-by: kbarrett
2019-04-02 00:23:31 +08:00
Xue-Lei Andrew Fan
2eb8492163 8168261: Use server cipher suites preference by default
Reviewed-by: mullan
2019-04-01 16:50:17 -07:00
Brian Burkhalter
07991d3f2d 8218418: (fs) Files.createSymbolicLink should use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE (win)
Reviewed-by: alanb
2019-04-01 15:59:45 -07:00
Sangheon Kim
4494be3b5f 8221517: G1: Reserved page size for heap can be wrong
Reviewed-by: tschatzl, kbarrett
2019-04-01 14:54:48 -07:00
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Stefan Karlsson
cb58cddccb 8221558: Remove obsolete uses of OopStorage::ParState<'false, false> _par_state
Reviewed-by: pliden, tschatzl
2019-04-01 18:36:12 +02:00
Stefan Karlsson
2480e3aa18 8221149: os::malloc checks MallocCatchPtr outside of ifdef ASSERT block
Reviewed-by: stuefe, dholmes
2019-04-01 18:36:01 +02:00
Stefan Karlsson
31ac44b710 8221146: ZGC: Reports too much relocated
Reviewed-by: pliden, eosterlund
2019-04-01 18:34:47 +02:00
Stefan Karlsson
abb2d67803 8220610: Make CollectedHeap nmethod functions pure virtual
Reviewed-by: shade
2019-04-01 18:34:39 +02:00
Naoto Sato
0b2e2ca9bd 8174268: Declare a public field in JapaneseEra for the era starting May 2019
Reviewed-by: rriggs, chegar
2019-04-01 08:21:45 -07:00
Naoto Sato
2a510a6353 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-01 08:19:21 -07:00
Hannes Wallnöfer
2cc859d380 8221366: Search box tries to search for "Search"
Reviewed-by: jjg
2019-04-01 16:51:09 +02:00
Hannes Wallnöfer
8954e2b37d 8219733: Restore javadoc header styles
Reviewed-by: jjg
2019-04-01 16:49:34 +02:00
Roman Kennke
9e18ef0679 8221750: Shenandoah: Enable ThreadLocalHandshake by default
Reviewed-by: shade
2019-04-01 16:30:23 +02:00
Coleen Phillimore
246544eeb7 8221183: Avoid code cache walk in MetadataOnStackMark
Note nmethods with "old" Methods in them in table to walk instead.

Reviewed-by: eosterlund, sspitsyn
2019-04-01 09:53:30 -04:00
Aleksey Shipilev
18c4faf2cf 8221735: Shenandoah fails ctw/modules/jdk_management_agent.java with Traversal
Reviewed-by: rkennke, roland
2019-04-01 13:33:58 +02:00
Aleksey Shipilev
2cf209bd92 8221726: Multiple build failures after JDK-8221698 (Remove redundant includes from popular header files)
Reviewed-by: dholmes, stuefe, iklam
2019-04-01 10:04:22 +02:00
Aleksey Shipilev
7bfc1b1189 8221725: AArch64 build failures after JDK-8221408 (Windows 32bit build build errors/warnings in hotspot)
Reviewed-by: dholmes, stuefe
2019-04-01 10:02:07 +02:00
Priya Lakshmi Muthuswamy
2ace3e69e6 8215599: Remove support for javadoc "frames" mode
Reviewed-by: jjg
2019-04-01 12:44:23 +05:30
Sergey Bylokhov
6d23e499bc 8220495: Update GIFlib library to the 5.1.8
Reviewed-by: prr
2019-03-31 16:57:21 -07:00
Sergey Bylokhov
21d2f5139d 8221436: Incorrect check of package in Line.Info.toString()
Reviewed-by: prr
2019-03-29 23:14:37 -07:00
Sergey Bylokhov
4c53126638 8220320: Remove unused old code in GraphicsEnvironment on unix
Reviewed-by: prr
2019-03-29 17:46:59 -07:00
Sergey Bylokhov
5bffde3d4f 8215105: java/awt/Robot/HiDPIScreenCapture/ScreenCaptureTest.java: Wrong Pixel Color
Reviewed-by: prr
2019-03-29 16:09:47 -07:00
Ioi Lam
22484b8c35 8221698: Remove redundant includes from popular header files
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp

Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Weijun Wang
61485b75a9 8221257: Improve serial number generation mechanism for keytool -gencert
Reviewed-by: xuelei, mullan
2019-03-30 16:32:23 +08:00
Zhengyu Gu
3320a7ea1f 8221629: Shenandoah: Cleanup class unloading logic
Reviewed-by: rkennke
2019-03-28 13:53:41 -04:00
Zhengyu Gu
37c8c96916 8221643: Tighten up assert(_keep_alive >= 0) in CLD::inc_keep_alive
Reviewed-by: coleenp
2019-03-29 14:17:09 -04:00
Joe Wang
f8209fd612 8220254: fix headings in java.xml
Reviewed-by: lancea
2019-03-29 18:00:31 +00:00
Thomas Stuefe
1baf5289c5 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
Martin Doerr
f65be307bf 8221833: Readability check in Symbol::is_valid not performed for some addresses
Reviewed-by: zgu, coleenp
2019-04-05 09:18:18 +02:00
Matthias Baesken
77ae10cd25 8218547: Simplify JLI_Open on Windows in native code (libjli)
Reviewed-by: alanb, clanger
2019-04-02 13:54:00 +02:00
Goetz Lindenmaier
39f3368ffd 8221470: Print methods in exception messages in java-like Syntax
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Coleen Phillimore
6780d21dd6 8221992: Fix old method replacement in ResolvedMethodTable
Use method get_new_method() which is used in other call sites.

Reviewed-by: sspitsyn
2019-04-04 17:23:05 -04:00
Xue-Lei Andrew Fan
d812742d68 8163326: Update the default enabled cipher suites preference
Reviewed-by: mullan
2019-04-04 14:19:29 -07:00
Claes Redestad
f7fa05ca72 8221921: Implement size() / isEmpty() in immutable collections
Reviewed-by: smarks
2019-04-04 23:21:52 +02:00
Claes Redestad
15d989faa4 8221981: Simplify Map/List/Set.of() implementation
Reviewed-by: smarks
2019-04-04 23:21:24 +02:00
Claes Redestad
3233a6f944 8221980: Simplify Optional implementation
Reviewed-by: smarks, clanger
2019-04-04 23:19:26 +02:00
Roman Kennke
6292ecd39b 8221848: Shenandoah: ArrayCopy post-barrier improvements
Reviewed-by: zgu
2019-04-04 21:29:46 +02:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Weijun Wang
cf973e3db4 8219861: Add new keytool -showinfo -tls command for displaying TLS configuration information
Reviewed-by: mullan
2019-04-04 20:22:16 +08:00
Dmitry Cherepanov
54398de4db 8221244: Unexpected behavior of PropertyDescription.getReadMethod for boolean properties
Reviewed-by: serb
2019-03-27 13:14:55 +03:00
Prasanta Sadhukhan
702ee3db37 8212904: JTextArea line wrapping incorrect when using UI scale
Reviewed-by: serb, prr
2019-03-29 10:11:01 +05:30
Alexey Ivanov
f468c7a4ff 8217707: JNICALL declaration breaks Splash screen functions
Reviewed-by: prr, stuefe
2019-03-28 18:51:52 +00:00
Alexey Ivanov
f883ffee64 8221412: lookupPrintServices() does not always update the list of Windows remote printers
Reviewed-by: prr, serb
2019-03-28 14:52:41 +00:00
Prasanta Sadhukhan
21e9b4d59f 8221411: NullPointerException in RasterPrinterJob without PrinterResolution
Reviewed-by: prr
2019-03-28 13:49:27 +05:30
Andrew M Leonard
3642a0007f 8217735: awt_image_GifImageDecoder_parseImage() "interlace" param has the wrong type
Reviewed-by: psadhukhan, jdv
2019-03-28 13:47:10 +05:30
Prasanta Sadhukhan
1410a3b9fc 8220250: fix headings in java.desktop
Reviewed-by: aivanov, jjg, serb
2019-03-27 12:27:56 +05:30
Manajit Halder
ef50607763 8216971: [macosx swing] For JCheckBoxMenuItem actionPerformed() is called twice, when apple.laf.useScreenMenuBar=true and modifier is InputEvent.META_DOWN_MASK
Reviewed-by: psadhukhan, kaddepalli
2019-03-27 12:24:28 +05:30
Thomas Stuefe
c5d23f129e 8221405: Fix Windows 32bit awt build
Reviewed-by: clanger, aivanov
2019-03-26 16:53:01 +01:00
Thomas Stuefe
be4416fdda 8221480: jcmd VM.metaspace shall print limits in basic mode
Reviewed-by: adinn, rehn
2019-03-26 16:26:33 +01:00
Ioi Lam
e2ffa15762 8221351: Crash in KlassFactory::check_shared_class_file_load_hook
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Ron Shapiro
b6cdfa908f 8221118: Avoid eagerly creating JCDiagnostic for CompletionFailures
Reviewed-by: jjg, mcimadamore, forax
2019-03-29 07:38:34 -07:00
Zhengyu Gu
4255a28d8d 8221435: Shenandoah should not mark through weak roots
Reviewed-by: rkennke, shade
2019-03-26 12:12:49 -04:00
Claes Redestad
cf334e7de5 8221687: Deprecated j.u.jar.Attributes.Name attributes accidentally set to null
Reviewed-by: alanb
2019-03-29 15:59:28 +01:00
Thomas Stuefe
02ed0e3e52 8221408: Windows 32bit build build errors/warnings in hotspot
Reviewed-by: kbarrett, dholmes
2019-03-29 08:36:33 +01:00
Valerie Peng
e90036145a 8220016: Clean up redundant RSA services in the SunJSSE provider
Removed duplicated RSA signature/KF/KPG support in SunJSSE

Reviewed-by: xuelei
2019-03-29 00:39:49 +00:00
Liam Miller-Cushon
b0f6b1086a 8220632: Suggest recompiling with a larger value of -Xmaxerrs/-Xmaxwarns if diagnostics were suppressed
Reviewed-by: jjg
2019-03-26 16:09:33 -07:00