Compare commits

...

3711 Commits

Author SHA1 Message Date
Markus Grönlund
5acd373a10 8234059: Stress test fails with "Unexpected Exception in thread JFR Event Stream"
Reviewed-by: egahlin
2019-12-21 13:03:02 +01:00
Markus Grönlund
304ab31cff 8233111: Epoch shift synchronization point for Compiler threads
Reviewed-by: egahlin
2019-12-21 12:45:08 +01:00
Goetz Lindenmaier
51abf67ce1 8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'
Reviewed-by: dholmes, kvn
2019-12-16 14:10:20 +01:00
John Jiang
4deb35453f 8234727: sun/security/ssl/X509TrustManagerImpl tests support TLSv1.3
Reviewed-by: xuelei
2019-12-21 06:28:48 +08:00
Mikael Vidstedt
59216c2e77 8236449: Problem list compiler/jsr292/ContinuousCallSiteTargetChange.java on solaris-sparcv9
Reviewed-by: iignatyev
2019-12-20 14:04:40 -08:00
Stefan Johansson
8d00c5aa0d 8235119: Incomplete initialization of scan_top values results in out-of-bounds scanning of regions
Reviewed-by: kbarrett, tschatzl, sangheki
2019-12-20 09:42:38 -08:00
Markus Grönlund
ffdf1dea9b 8235390: JfrEmergencyDump::on_vm_shutdown crashes
Reviewed-by: egahlin
2019-12-20 16:04:34 +01:00
Igor Veresov
261f4bffae 8235927: Update Graal
Reviewed-by: kvn
2019-12-19 15:13:24 -08:00
Ekaterina Pavlova
cfddf53c01 8236139: [Graal] java/lang/RuntimeTests/exec/LotsOfOutput.java fails with JVMCI enabled
Reviewed-by: kvn
2019-12-19 13:20:58 -08:00
Alexander Matveev
c751493f0c 8235738: [macos] tools/jpackage tests timeout on macOS
Reviewed-by: herrick, asemenyuk
2019-12-19 15:20:53 -05:00
Stefan Karlsson
9847d8161b 8236110: Windows (MSVC 2013) build failures after JDK-8233299
Reviewed-by: erikj
2019-12-19 14:19:34 +01:00
Jesper Wilhelmsson
cbcb488d77 Added tag jdk-14+28 for changeset 2069b4bfd23b 2019-12-19 03:46:03 +01:00
Vladimir Kozlov
4b1be3ecf9 8236000: VM build without C2 fails
C2 flags should be checked only when C2 is present.

Reviewed-by: kbarrett, thartmann
2019-12-18 12:32:34 -08:00
Anthony Scarpino
ca112043f1 8233228: Disable weak named curves by default in TLS, CertPath, and Signed JAR
Reviewed-by: mullan, xuelei, weijun
2019-12-18 12:10:09 -08:00
Chris Plummer
5cb06ce2fb 8234277: ClhsdbLauncher should enable verbose exceptions and do a better job of detecting SA failures
Reviewed-by: sspitsyn, ysuenaga
2019-12-18 11:49:30 -08:00
Coleen Phillimore
eb6beeac94 8235829: graal crashes with Zombie.java test
Start ServiceThread before compiler threads, and run nmethod barriers for zgc before adding to the service thread queues, or posting events from the java thread.

Reviewed-by: pliden, dholmes, rehn
2019-12-18 11:51:22 -05:00
Aleksei Voitylov
f58a8cbed2 8231612: 100% cpu on arm32 in Service Thread
Reviewed-by: kbarrett, dsamersoff
2019-12-18 14:36:49 +03:00
Nick Gasson
995fbebd81 8235982: AArch64: Insufficient memory barriers in shadow region algorithm
The memory barriers used for synchronizing ParallelCompactData::RegionData::_shadow_state and ParallelCompactData::RegionData::shadow_region are insufficient to prevent reordering of loads.

Reviewed-by: tschatzl, sjohanss
2019-12-18 11:20:13 +01:00
Jatin Bhateja
079db54d51 8230185: assert(is_Loop()) failed: invalid node class
Adding missing check for a counted loop.

Reviewed-by: kvn, thartmann
2019-12-18 10:04:53 +01:00
Chris Plummer
b2c3323a7f 8236062: Disable clhsdb initialization of SA javascript support since it will always fail, and will likely be removed soon
Reviewed-by: amenkov, ysuenaga
2019-12-17 20:19:49 -08:00
Daniel D. Daugherty
1253f7e8fa 8236130: ProblemList jdk/jfr/jmx/security/TestEnoughPermission.java
Reviewed-by: mikael
2019-12-17 15:38:22 -05:00
Alexandre Iline
ffc18e5c8c 8236044: Create jdk_accessibility test group
Reviewed-by: prr
2019-12-17 11:10:52 -08:00
Yasumasa Suenaga
4778cbbafb 8235819: -Wformat-overflow is reported from GCC 9
Reviewed-by: tschatzl, lkorinth
2019-12-17 10:00:55 +09:00
Igor Ignatyev
60073c395c 8235866: bump jtreg requiredVersion to 4.2b16
Reviewed-by: dholmes, joehw
2019-12-16 15:45:07 -08:00
Michael McMahon
b73faca452 8235976: Directives in WWW-Authenticate should be comma separated
Reviewed-by: chegar
2019-12-16 16:44:03 +00:00
Christian Hagedorn
49048adcf2 8231501: VM crash in MethodData::clean_extra_data(CleanExtraDataClosure*): fatal error: unexpected tag 99
Snapshot MDO extra trap and argument data only after it is prepared.

Reviewed-by: roland, thartmann
2019-12-16 09:19:52 +01:00
Sibabrata Sahoo
fca342f736 8235874: The ordering of Cipher Suites is not maintained provided through jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites system property
Corrected Cipher Suites ordering through system properties

Reviewed-by: xuelei
2019-12-16 00:23:50 -08:00
John Jiang
abac8b17a9 8235813: System property fullCipherSuites is not used by javax/net/ssl/compatibility/Compatibility.java
Reviewed-by: xuelei
2019-12-16 16:19:10 +08:00
Igor Veresov
0e6db16232 8235634: Update Graal
Reviewed-by: kvn
2019-12-13 10:04:11 -08:00
Sibabrata Sahoo
58cce5fbf4 8234728: Some security tests should support TLSv1.3
Tests were updated to support TLSv1.3 and cipher suite order

Reviewed-by: xuelei
2019-12-13 01:43:14 -08:00
Pankaj Bansal
e6b381faa2 8235744: PIT: test/jdk/javax/swing/text/html/TestJLabelWithHTMLText.java times out in linux-x64
Reviewed-by: psadhukhan, prr
2019-12-13 12:08:10 +05:30
Jesper Wilhelmsson
a5db02db72 Added tag jdk-14+27 for changeset 91a3f092682f 2019-12-13 02:45:28 +01:00
Jorn Vernee
8f4f088a12 8234049: Implementation of Memory Access API (Incubator)
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00:00
Brian Burkhalter
7cdecd8981 8235668: LineNumberReader#getLineNumber() returns wrong line number (one fewer) in Lucene test
Reviewed-by: alanb, rriggs
2019-12-12 13:43:07 -08:00
Mikael Vidstedt
dbd4134c04 8235814: Add --enable-deprecated-ports=yes to all solaris and SPARC build profiles
Reviewed-by: erikj
2019-12-12 12:45:03 -08:00
Erik Joelsson
b9f62457b9 8235686: Add more custom hooks in Bundles.gmk
Reviewed-by: tbell
2019-12-12 19:37:38 +00:00
Erik Joelsson
59d75fd576 8235687: Contents/MacOS/libjli.dylib cannot be a symlink
Reviewed-by: tbell
2019-12-12 19:35:57 +00:00
Stefan Karlsson
e6876a9cc3 8226797: serviceability/tmtools/jstat/GcCapacityTest.java fails with Exception: java.lang.RuntimeException: OGCMN > OGCMX (min generation capacity > max generation capacity)
Reviewed-by: sjohanss, tschatzl
2019-12-12 16:23:13 +01:00
Claes Redestad
40bbdf472c 8234328: VectorSet::clear can cause fragmentation
Reviewed-by: neliasso
2019-12-12 14:22:50 +01:00
Pavel Rappo
5ca3e6334a 8215038: Add a page that lists all system properties
Co-authored-by: Priya Lakshmi Muthuswamy <priya.lakshmi.muthuswamy@oracle.com>
Reviewed-by: hannesw, jjg
2019-12-12 13:06:59 +00:00
Jatin Bhateja
0de20e8d0d 8235756: C2: Merge AD instructions for DivV, SqrtV, and FmaV nodes
Reviewed-by: vlivanov, sviswanathan, jrose, kvn
2019-12-12 13:09:30 +03:00
Jatin Bhateja
a05395c6af 8235719: C2: Merge AD instructions for ShiftV, AbsV, and NegV nodes
Reviewed-by: vlivanov, sviswanathan, kvn, jrose
2019-12-12 13:09:16 +03:00
Jatin Bhateja
9251e91271 8235688: C2: Merge AD instructions for AddV, SubV, and MulV nodes
Reviewed-by: vlivanov, sviswanathan, kvn, jrose
2019-12-12 13:09:16 +03:00
Jatin Bhateja
df5fba325d 8235405: C2: Merge AD instructions for different vector operations
Reviewed-by: vlivanov, sviswanathan, kvn, jrose
2019-12-12 13:09:16 +03:00
Jatin Bhateja
31e075b019 8234392: C2: Extend Matcher::match_rule_supported_vector() with element type information
Reviewed-by: vlivanov, sviswanathan, kvn, jrose
2019-12-12 13:09:16 +03:00
Stefan Karlsson
47ee85a247 8235760: ZGC: Implement precise check for @require vm.gc.Z for Windows
Reviewed-by: eosterlund, pliden
2019-12-11 12:53:10 +01:00
Stefan Karlsson
938a4951ab 8235759: Extend GCConfig::is_gc_supported to mean supported not only included in build
Reviewed-by: pliden
2019-12-11 12:29:49 +01:00
Stefan Karlsson
8c27388905 8235757: Rename SupportedGC to IncludedGC
Reviewed-by: pliden
2019-12-11 12:29:43 +01:00
Per Lidén
b7bca76f51 8235748: ZGC: Remove ZAddress::address()
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:37 +01:00
Per Lidén
056b70c4b7 8235696: ZGC: assert(ZNMethod::is_armed(nm) == _should_disarm_nmethods) failed: Invalid state
Reviewed-by: eosterlund, stefank
2019-12-12 10:10:28 +01:00
Jan Lahoda
ad5ea72286 8235541: Extend javax.lang.model to cover binding variables
Reviewed-by: darcy
2019-12-09 09:40:09 +01:00
Christoph Langer
92a9543552 8235750: [jpackage] Cleanup imports in WinMsiBundler.java
Reviewed-by: herrick, asemenyuk
2019-12-12 09:52:15 +01:00
Nikola Grcevski
ce7ede95eb 8234076: JVM crashes on Windows 10 using --module=NAME
Reviewed-by: ksrini, henryjen
2019-12-12 08:40:19 +00:00
Robin Westberg
fa92bd31b9 8235815: Revert 8227607: Broken external links in java.desktop
Reviewed-by: psadhukhan
2019-12-12 09:02:47 +01:00
Matthias Baesken
e5b0e366ea 8235489: handle return values of sscanf calls in hotspot
Reviewed-by: clanger, kbarrett
2019-12-11 09:42:52 +01:00
Robin Westberg
3fe949b2f4 8232231: Remove invalid JFR thread CPU load test case
Reviewed-by: mseledtsov, egahlin
2019-12-12 07:48:08 +01:00
Prasanta Sadhukhan
bb4dafe4bf 8227607: Broken external links in java.desktop
Reviewed-by: prr
2019-12-12 12:04:29 +05:30
Ekaterina Pavlova
b4d9a0afca 8235808: Remove graalunit from tier1_compiler_not_xcomp
Reviewed-by: iignatyev
2019-12-11 21:15:19 -08:00
Daniil Titov
7b82266a15 8226575: OperatingSystemMXBean should be made container aware
Reviewed-by: dholmes, bobv, mchung, sspitsyn
2019-12-11 19:20:57 -08:00
Ekaterina Pavlova
efdf413a20 8235773: Tier3 fails because graalunit tests started to run with ZGC
Reviewed-by: iignatyev
2019-12-11 17:18:32 -08:00
Jie Fu
6a6ae16781 8235625: [TESTBUG] tools/jpackage/share/JavaOptionsEqualsTest.java fails with debug VMs
Reviewed-by: asemenyuk, herrick
2019-12-10 10:17:36 +08:00
Sergey Bylokhov
da5fa894ac 8235620: Broken merge between JDK-8006406 and JDK-8003559
Reviewed-by: prr
2019-12-09 20:26:19 -08:00
Sergey Bylokhov
03dfd4f94b 8234522: [macos] Crash with use of native file dialog
Reviewed-by: prr, dmarkov
2019-12-11 14:30:45 -08:00
Tom Rodriguez
00ba4ea7b3 8229377: [JVMCI] Improve InstalledCode.invalidate for large code caches
Reviewed-by: kvn
2019-12-11 17:17:58 -08:00
Jonathan Gibbons
d8d4cd6508 8235597: Extend support for -XDaccessInternalAPI to plugin modules
Reviewed-by: mcimadamore, jlahoda
2019-12-11 16:32:49 -08:00
Jonathan Gibbons
9fc688875d 8235621: Replace use of Function<?,Integer> with ToIntFunction
Reviewed-by: mcimadamore, jlahoda
2019-12-11 16:24:23 -08:00
Mikael Vidstedt
6bda51c28e 8235789: AC_REQUIRE: 'PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: erikj
2019-12-11 16:17:03 -08:00
Jonathan Gibbons
75acf956f1 Merge 2019-12-11 15:34:19 -08:00
Jonathan Gibbons
93b7d283d8 8214916: SourceLauncherTest fails on exploded image
Reviewed-by: ksrini
2019-12-11 15:33:17 -08:00
Ioi Lam
cb75b6ee22 8235629: Remove unnecessary calls to Thread::current
Reviewed-by: coleenp, ccheung, hseigel
2019-12-11 15:25:38 -08:00
Robert Field
dca6e34397 8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
8232855: jshell missing word in /help help

Reviewed-by: jlahoda
2019-12-11 14:39:04 -08:00
Sean Mullan
dd321330ce 8234870: Deprecate the OracleUcrypto JCE Provider for removal
Reviewed-by: alanb, rriggs
2019-12-11 17:17:28 -05:00
Alexander Matveev
a51b5ae9c4 8235252: Repair run_tests.sh by locating jtreg locally
Reviewed-by: herrick, asemenyuk
2019-12-11 16:37:27 -05:00
Hannes Wallnöfer
7f10f57834 8235414: Module level doc-files show "unnamed package" as holder
Reviewed-by: jjg
2019-12-11 22:29:30 +01:00
Alexey Semenyuk
c7b9c64eed 8235728: JDK-8212780 breaks builds with a custom X11 include path
Reviewed-by: prr, herrick
2019-12-11 16:16:39 -05:00
Alexander Matveev
5799108494 8234284: [dmg] Change DMG background image to TIFF
Reviewed-by: herrick, asemenyuk, erikj
2019-12-11 16:07:04 -05:00
Andy Herrick
8b99e85fbc 8235788: Changeset for JDK-8235252 pushed with wrong bug ID
Reviewed-by: prr
2019-12-11 15:01:11 -05:00
Vicente Romero
69c1729e26 8234101: Compilation error thrown when repeating annotation is used on record component
Reviewed-by: jlahoda
2019-12-11 15:31:40 -05:00
Jeremy Kuhn
cbe604cf5d 8235457: Crash when reporting a message about an annotation on a module
8235458: Problem caused by imports in a module-info.java file

Reviewed-by: jjg
2019-12-11 11:55:50 -08:00
Zhengyu Gu
5fd2efb7e9 8235776: Shenandoah: Shenandoah root updater not always uses right code blob closure
Reviewed-by: rkennke
2019-12-11 14:01:00 -05:00
Alexander Matveev
b29f62ce51 8235767: Compilation failure caused by JDK-8212780: Packaging Tool Implementation
Reviewed-by: rkennke, asemenyuk
2019-12-11 13:47:44 -05:00
Tom Rodriguez
bca86d6492 8229961: Assert failure in compiler/graalunit/HotspotTest.java
Reviewed-by: kvn
2019-12-11 09:47:41 -08:00
Almaz Mingaleev
d3f7666418 8235730: Incorrect javadoc in MatchKind
Reviewed-by: martin, prappo
2019-12-10 15:50:12 -08:00
Andy Herrick
67cea3ea02 8235767: Compilation failure caused by JDK-8212780: Packaging Tool Implementation
Reviewed-by: rkennke, asemenyuk
2019-12-11 11:52:48 -05:00
Erik Österlund
97ce13767a 8235654: JFR leak profiler should not trace through the StringTable
Reviewed-by: stefank, coleenp, kbarrett, egahlin
2019-12-11 16:45:08 +00:00
Erik Joelsson
57bdfe3dd4 8233112: Exclude SVG files from build comparison
Reviewed-by: tbell
2019-12-11 08:22:04 -08:00
Roland Westrelin
51bc2d15a4 8235636: gc/shenandoah/compiler/TestUnsafeOffheapSwap.java fails after JDK-8226411
Reviewed-by: rkennke
2019-12-06 16:21:26 -05:00
Roman Kennke
3f7ecfb5b1 8235729: Shenandoah: Remove useless casting to non-constant
Reviewed-by: roland
2019-12-11 16:43:02 +01:00
Claes Redestad
91de8b6c91 8235551: BitMap::count_one_bits should use population_count
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: kbarrett, neliasso
2019-12-11 16:24:10 +01:00
Pavel Rappo
f51595bec2 8234746: Improve indexing of system properties
Reviewed-by: hannesw, jjg
2019-12-11 15:16:21 +00:00
Hannes Wallnöfer
9b1498c20e 8235670: Javadoc pages not printing correctly in some browsers
Reviewed-by: jjg, prappo
2019-12-11 16:13:59 +01:00
Hannes Wallnöfer
a1b0802caf 8233866: Text in table cells has inconsistent alignment
Reviewed-by: jjg, prappo
2019-12-11 16:09:49 +01:00
Robbin Ehn
0df5be808d 8220049: Obsolete ThreadLocalHandshakes
Reviewed-by: dholmes, dcubed, mdoerr
2019-12-11 15:30:07 +01:00
Robbin Ehn
f5929f55cc 8235410: Enable handshakes on Linux x86 (32-bit)
Reviewed-by: dholmes, dcubed
2019-12-11 15:27:23 +01:00
Christian Hagedorn
ba94936c80 8233033: C2 produces wrong result while unswitching a loop due to lost control dependencies
Adding missing control dependencies when cloning loop predicates at loop unswitching.

Reviewed-by: roland, vlivanov, thartmann
2019-12-11 14:33:32 +01:00
Nils Eliasson
e1b94b1635 8235653: Clean-up BarrierSetC2
Reviewed-by: redestad, rkennke, thartmann
2019-12-11 14:08:20 +01:00
Jan Lahoda
ec0fbdc0e9 8235338: test jdk/jshell/CompletenessTest.java fails for records
Reviewed-by: rfield
2019-12-11 13:08:45 +01:00
Jan Lahoda
308aea3e0b 8235474: JShell does not handle records properly
Reviewed-by: vromero, rfield
2019-12-11 13:08:42 +01:00
Stefan Johansson
a20fa5b995 8235427: Remove unnecessary parameters from G1CollectedHeap::free_region and HeapRegion::hr_clear
Reviewed-by: tschatzl, kbarrett
2019-12-11 12:12:39 +01:00
Tobias Hartmann
642d2ddcbc 8235452: Strip mined loop verification fails with assert(is_OuterStripMinedLoop()) failed: invalid node class
Do not try to verify strip mining if the strip mined loop is malformed.

Reviewed-by: roland, vlivanov
2019-12-11 10:42:44 +01:00
René Schünemann
f6d50463f6 8235585: Enable macOS codesigning for all libraries and executables
Reviewed-by: erikj, clanger
2019-12-09 16:14:16 +01:00
Prasanta Sadhukhan
c617914eeb Merge 2019-12-11 12:03:39 +05:30
Ekaterina Pavlova
2c54f0f643 8215728: [Graal] we should run some Graal tests in tier1
Reviewed-by: iignatyev
2019-12-10 21:49:07 -08:00
Prasanta Sadhukhan
614e78b7fa Merge 2019-12-11 11:13:41 +05:30
Mikael Vidstedt
f716aa1b47 8234370: Implementation of JEP 362: Deprecate the Solaris and SPARC Ports
Reviewed-by: erikj, tbell
2019-12-10 20:04:55 -08:00
John Jiang
c2f68eacaa 8231810: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java fails intermittently with "java.lang.Exception: Unexpected EOF"
Reviewed-by: xuelei
2019-12-11 11:29:03 +08:00
Zhengyu Gu
dd758e2a84 8235685: Shenandoah: Enable leak profiler
Reviewed-by: rkennke
2019-12-10 20:20:18 -05:00
Brent Christian
4627488e74 8235361: JAR Class-Path no longer accepts relative URLs encoding absolute Windows paths (e.g "/C:/...")
Reviewed-by: alanb, mchung
2019-12-10 11:56:26 -08:00
Chris Hegarty
eec0e71c04 8235550: Clarify record reflective support specification
Reviewed-by: mcimadamore
2019-12-10 19:12:57 +00:00
Chris Hegarty
dadaffbbeb 8235531: Update record serialization migration tests to not use hard coded source versions
Reviewed-by: darcy
2019-12-10 19:10:14 +00:00
Roman Kennke
bd1d7356a3 8235598: Shenandoah: Update copyrights
Reviewed-by: zgu
2019-12-10 20:06:06 +01:00
Gerard Ziemski
b467629bd6 8223261: JDK-8189208 followup - remove JDK_GetVersionInfo0 and the supporting code
Removed JDK_GetVersionInfo

Reviewed-by: redestad, dholmes, mchung, clanger
2019-12-10 12:50:50 -06:00
Patricio Chilano Mateo
769a1f9187 8235515: TestBasicLogOutput.java crashes due to EXCEPTION_ACCESS_VIOLATION in HandshakeThreadsOperation::do_handshake
Signal _done sempahore after executing name() in log_debug()

Reviewed-by: dcubed, mdoerr
2019-12-10 18:32:45 +00:00
Doug Simon
25b5ddc05d 8235539: [JVMCI] -XX:+EnableJVMCIProduct breaks -XX:-EnableJVMCI
Reviewed-by: kvn, thartmann
2019-12-10 09:34:33 -08:00
Xue-Lei Andrew Fan
c185319515 8235655: Clean the duplicated block in SSLContextImpl
Reviewed-by: coffeys
2019-12-10 09:31:40 -08:00
Prasanta Sadhukhan
28b4c4d781 Merge 2019-12-10 10:44:09 +05:30
Mikhailo Seledtsov
63ba804f4f 8235600: Problemlist JFR streaming/TestJVMCrash until after-test cleanup issue is resolved
Placed TestJVMCrash test on a problem list

Reviewed-by: dcubed
2019-12-09 17:24:25 -08:00
Henry Jen
9ac2f8b654 8234542: code removal of Pack200 Tools and API
Reviewed-by: alanb, mchung, erikj
2019-12-10 00:36:30 +00:00
Sergey Bylokhov
a3acb451b1 8235547: Video memory leak in the OGL pipeline on macOS
Reviewed-by: prr
2019-12-09 14:59:33 -08:00
Alexey Ivanov
0e1b84f90e 8234398: Replace ID2D1Factory::GetDesktopDpi with GetDeviceCaps
Reviewed-by: serb, prr
2019-12-09 19:43:44 +00:00
Stefan Karlsson
c198b4da32 8234508: VM_HeapWalkOperation::iterate_over_object reads non-strong fields with an on-strong load barrier
Reviewed-by: pliden, eosterlund
2019-12-09 15:28:46 +01:00
Tejpal Rebari
24232989ba 8234802: [TESTBUG] Test Right Mouse Button Drag Gesture Recognition in all the platforms
Reviewed-by: serb
2019-12-09 15:09:24 +05:30
Sergey Bylokhov
3b1915a71f 8231438: [macOS] Dark mode for the desktop is not supported
Reviewed-by: prr, psadhukhan
2019-12-08 20:25:08 -08:00
Phil Race
1a73baeb10 Merge 2019-12-06 12:06:09 -08:00
Erik Joelsson
72cb073c09 8230067: Add optional automatic retry when running jtreg tests
Reviewed-by: prr
2019-12-06 12:01:53 -08:00
Dan Smith
b0f3e76e60 8234835: Use UTF-8 charset in fixuppandoc
Reviewed-by: martin, jjg
2019-12-06 12:33:28 -07:00
Vicente Romero
bf2f855cd7 8235446: confusing error message for records with no parens
Reviewed-by: mcimadamore
2019-12-06 14:23:17 -05:00
Claes Redestad
06cb195865 8234331: Add robust and optimized utility for rounding up to next power of two
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Igor Ignatyev
60fda4e577 8235353: clean up hotspot problem lists
Reviewed-by: kvn, mdoerr
2019-12-06 09:14:38 -08:00
Calvin Cheung
4abba17c10 8225219: [TESTBUG] AppCDS tests timed out with -Xcomp and --limit-modules option won't work with Graal
Reviewed-by: kvn, iklam, iignatyev
2019-12-06 09:09:33 -08:00
Michael McMahon
b96610d017 8235475: Add additional timestamp to test java/nio/channels/Selector/SelectWithConsumer.java
Reviewed-by: alanb
2019-12-06 14:17:25 +00:00
Martin Doerr
b1e086a5fc 8220348: [ntintel] asserts about copying unaligned array
Reviewed-by: clanger, stuefe
2019-12-06 14:31:05 +01:00
Christoph Langer
547e472c42 8234185: Cleanup usage of canonicalize function between libjava, hotspot and libinstrument
Reviewed-by: dholmes, alanb, sspitsyn
2019-12-06 14:13:10 +01:00
Harold Seigel
b8dbdd1232 8235359: Simplify method Class.getRecordComponents()
Change getRecordComponents0() to return an array of RecordComponent's so no conversion is needed

Reviewed-by: lfoltan, chegar, fparain, vromero, mchung
2019-12-06 13:05:25 +00:00
Ambarish Rapte
8fd8c5bf5d 4949105: Access Bridge lacks html tags parsing
Reviewed-by: serb, prr, pbansal
2019-12-06 16:37:09 +05:30
Toshio Nakamura
6511acbf1e 8234386: [macos] NPE was thrown at expanding Choice from maximized frame
Reviewed-by: serb
2019-12-05 15:36:08 -08:00
Sergey Bylokhov
cd2cc6d796 8232226: [macos 10.15] test/jdk/java/awt/color/EqualityTest/EqualityTest.java may fail
Reviewed-by: prr, pbansal
2019-12-05 15:33:37 -08:00
Sergey Bylokhov
36eb7510f8 7124307: JSpinner and changing value by mouse
Reviewed-by: prr, pbansal
2019-12-05 15:31:23 -08:00
Sergey Bylokhov
e4ddde03d2 8234137: The "AutoTestOnTop.java" test may run external applications
Reviewed-by: prr
2019-12-05 15:29:13 -08:00
Phil Race
525b0422e4 8209113: Use WeakReference for lastFontStrike for created Fonts
Reviewed-by: serb, jdv
2019-12-05 13:24:52 -08:00
Phil Race
c96d36e1b0 8214481: freetype path does not disable TrueType hinting with AA+FM hints
Reviewed-by: serb, psadhukhan
2019-12-04 17:42:18 -08:00
Phil Race
1c66428b90 8234784: Update jpeg.md to reflect code used by JDK
Reviewed-by: serb
2019-12-04 17:41:03 -08:00
Alexey Ivanov
06d1df9a32 8235245: tiff_metadata.html has invalid HTML structure: misplaced </thead> element
Reviewed-by: bpb, serb
2019-12-04 13:49:24 +00:00
Prasanta Sadhukhan
e9e86ffb30 8221903: PIT: javax/swing/RepaintManager/IconifyTest/IconifyTest.java fails on ubuntu18.04
Reviewed-by: serb
2019-12-04 16:28:48 +05:30
Stefan Karlsson
5b155f05e7 8235324: Dying objects are published from users of CollectedHeap::object_iterate
Reviewed-by: pliden, eosterlund, sjohanss, rkennke
2019-12-04 11:30:32 +01:00
Leonid Mesnik
dc0cc5520c 8235530: Removed duplicated threadByName methods in nsk/jdi tests
Reviewed-by: dholmes, sspitsyn
2019-12-09 13:02:07 -08:00
Jonathan Gibbons
589f23568a 8234689: facilitate writing additional custom attributes in a class file
Reviewed-by: jlahoda
2019-12-09 12:27:57 -08:00
Zhengyu Gu
93286c94dc 8235586: Shenandoah: Traversal GC still uses old CLD::oops_do API
Reviewed-by: rkennke
2019-12-09 14:01:03 -05:00
Xue-Lei Andrew Fan
baebce3d2f 8235448: code cleanup in SSLContextImpl.java
Reviewed-by: jnimeh
2019-12-09 10:56:27 -08:00
Jonathan Gibbons
45b8d09e1b 8234211: allow discoverable javac plugins to be invoked by default
Reviewed-by: jlahoda
2019-12-09 10:44:02 -08:00
Ioi Lam
749bda0e2d 8235490: AppCDS DynamicArchiveRelocationTest.java failed: 'always map archive(s) at an alternative address' missing
Reviewed-by: coleenp, ccheung
2019-12-09 09:59:03 -08:00
Andy Herrick
ade72f4965 Merge 2019-12-09 13:02:05 -05:00
Andy Herrick
72caf85c0f 8235453: tools/jpackage/junit/junit.java failed
Reviewed-by: prr
2019-12-09 13:01:02 -05:00
Athijegannathan Sundararajan
0ca9d9a032 8225562: jlink --module-path behavior inconsistent with help/errors
Reviewed-by: alanb
2019-12-09 23:00:13 +05:30
Vladimir Ivanov
e8496cea83 8235143: C2: No memory state needed in Thread::currentThread() intrinsic
Reviewed-by: mdoerr, jrose
2019-12-09 19:29:39 +03:00
Vladimir Ivanov
eabb5cc21f 8226411: C2: Avoid memory barriers around off-heap unsafe accesses
Reviewed-by: kvn, thartmann, eosterlund, jrose, rkennke
2019-12-09 19:29:35 +03:00
Patrick Concannon
12e43e216e 8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set
Clarifies the behaviour of 2-arg joinGroup/leaveGroup methods when null is passed for the NetworkInteface argument. The fix also clarifies what is returned by getInterface() and getNetworkInterface() methods when no previous NetworkInterface has been set.

Reviewed-by: alanb, chegar, dfuchs
2019-12-09 15:54:44 +00:00
Claes Redestad
3cccc62e56 8234735: InstanceKlass:find_method_index regression after JDK-8231610
Reviewed-by: iklam, coleenp
2019-12-09 16:46:29 +01:00
Patrick Concannon
22e26b2a81 8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
Fix adds multicast socket options to DatagramSocket

Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Aleksei Efimov
3f259d8e3a 8141685: com/sun/jndi/ldap/InvalidLdapFilters.java initializes context failed
Reviewed-by: dfuchs, vtewari
2019-12-09 14:07:26 +00:00
Christoph Langer
3c8ec642ff 8235403: Further cleanup to test serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: iklam, iignatyev
2019-12-09 15:01:57 +01:00
Julia Boes
07fc539a85 8232513: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
Increase the number of bind retries and test repeats, best effort only

Reviewed-by: msheppar, dfuchs, vtewari
2019-12-09 12:46:12 +00:00
Julia Boes
3ea25ecdfe 8233319: Deprecate MulticastSocket methods that operate on java.net.InetAddress
Deprecate any method that operates on InetAddress as well as getLoopbackMode and setLoopbackMode

Reviewed-by: chegar, dfuchs, alanb
2019-12-09 12:06:26 +00:00
Stefan Johansson
9cabfa82ff 8165443: Free Collection Set serial phase takes very long on large heaps
Reviewed-by: tschatzl, kbarrett
2019-12-09 10:26:41 +01:00
Jan Lahoda
4c4d6cdc92 8235483: Warnings printed during the build
Reviewed-by: erikj
2019-12-09 10:16:01 +01:00
Rahul Raghavan
228c3144d2 8233453: MLVM deoptimize stress test timed out
Increased timeout factor for MLVM deoptimize stress test

Reviewed-by: iignatyev, thartmann
2019-12-09 14:02:03 +05:30
Zhengyu Gu
ee140f7f81 8235262: Move c2i_entry_barrier for x86_32 to shared
Reviewed-by: rkennke, eosterlund
2019-12-08 10:05:57 -05:00
Weijun Wang
36bd09dead 8233222: Clarify system property usage in KerberosPrincipal instantiation
Reviewed-by: mullan
2019-12-07 09:40:28 +08:00
Sandhya Viswanathan
6a547f9574 8235510: java.util.zip.CRC32 performance drop after 8200067
Backout 8200067 optimization

Reviewed-by: kvn
2019-12-06 16:03:44 -08:00
Mandy Chung
e7fa637179 8235351: Lookup::unreflect should bind with the original caller independent of Method's accessible flag
Reviewed-by: alanb
2019-12-06 15:10:40 -08:00
Vladimir Kozlov
41b4803cdf 8235438: [JVMCI] StackTraceElement::decode should use the original Method
Reviewed-by: coleenp, never
2019-12-06 14:47:05 -08:00
Joe Darcy
e1921502c5 8235514: Update record serialization tests to not use hard coded source versions
Reviewed-by: lancea
2019-12-06 13:32:46 -08:00
Jonathan Gibbons
fa21d57760 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs
Reviewed-by: mchung, bchristi
2019-12-06 13:03:39 -08:00
Joe Darcy
0da41b464e 8235499: Change HotSpot jtreg records test to better handle JDK updates
Reviewed-by: hseigel, iignatyev
2019-12-06 12:13:25 -08:00
Haoyu Li
7eadf5b372 8220465: Use shadow regions for faster ParallelGC full GCs
Reviewed-by: sjohanss, tschatzl
2019-10-23 21:28:24 +08:00
Pavel Rappo
026eac269c 8235435: Remove (obsolete) @author info from javadoc source and tests
Reviewed-by: jjg
2019-12-06 10:12:51 +00:00
Christian Hagedorn
fd8832f726 8229994: assert(false) failed: Bad graph detected in get_early_ctrl_for_expensive
Fixes wrong idom information set in loop peeling when a loop strip mined loop is involved.

Reviewed-by: vlivanov, thartmann
2019-12-06 10:00:16 +01:00
Thomas Schatzl
70c62f537c 8235341: Improve WorkerDataArray API to disallow separate instantiation of sub-items
Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:59 +01:00
Thomas Schatzl
02dad379ee 8235346: [Redo] 8235247: WorkerDataArray leaks C heap memory for associated work items
Fix gtest after last iteration to acknowledge correct ownership of sub-WorkerDataArrays.

Reviewed-by: lkorinth, sjohanss
2019-12-06 09:49:57 +01:00
Ramkumar Sunderbabu
5decc88da4 8228448: Jconsole can't connect to itself
Additions done to allow jconsole to connect to itself

Reviewed-by: erikj
2019-12-06 13:42:57 +05:30
Jie Fu
f8caabaac7 8235456: Minimal VM is broken after JDK-8212160
Reviewed-by: dholmes
2019-12-06 10:13:24 +08:00
Joshua Zhu
30559e6431 8233948: AArch64: Incorrect mapping between OptoReg and VMReg for high 64 bits of Vector Register
Reviewed-by: adinn
2019-12-06 10:41:01 +08:00
Joe Darcy
81ec9e3087 8235369: Class.toGenericString need to be updated for records
Reviewed-by: vromero, mchung, chegar
2019-12-05 14:19:35 -08:00
Joe Darcy
df308ac680 8224630: ElementScannerN, N > 9 should scan type parameters
Reviewed-by: mcimadamore, erikj
2019-12-05 14:14:06 -08:00
Coleen Phillimore
565770872a Merge 2019-12-05 16:58:18 -05:00
Coleen Phillimore
8846a8043d 8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
Add local deferred event list to thread to post events outside CodeCache_lock.

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-05 16:57:17 -05:00
Alex Menkov
5cbabecd3b 8235433: Problem list JdwpListenTest.java and JdwpAttachTest.java on Windows
Reviewed-by: dcubed
2019-12-05 13:52:38 -08:00
Naoto Sato
730d0ecf19 8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
2019-12-05 13:10:18 -08:00
Michael McMahon
3000f212f2 8235413: com.sun.net.httpserver.BasicAuthenticator.charset is protected field
Reviewed-by: chegar, dfuchs
2019-12-05 16:43:06 +00:00
Andy Herrick
264573c9ce 8212780: Packaging Tool Implementation
Co-authored-by: Alexey Semenyuk <alexey.semenyuk@oracle.com>
Co-authored-by: Alexander Matveev <alexander.matveev@oracle.com>
Co-authored-by: Kevin Rushforth <kevin.rushforth@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Reviewed-by: asemenyuk, almatvee, herrick, kcr, prr, erikj, ihse, rriggs, mchung, alanb
2019-12-05 11:25:33 -05:00
Harold Seigel
73676cff72 8235360: Update JDWP, JDI and Instrumentation specs for Record attribute
Add Record to list of attributes that class redefinition cannot change

Reviewed-by: lfoltan
2019-12-05 15:45:58 +00:00
Jim Laskey
945c8d555b 8232681: ArrayIndexOutOfBoundsException with text blocks in javac when using -Xlint
Reviewed-by: sundar
2019-12-05 09:22:21 -04:00
Leo Korinth
c023983c7f 8235250: Create (test) abstraction for allocating objects that is immune to removal by optimizations
Reviewed-by: eosterlund, tschatzl
2019-12-05 12:52:07 +01:00
Jatin Bhateja
979cd452ab 8234391: C2: Generic vector operands
Reviewed-by: vlivanov, sviswanathan, thartmann, jrose
2019-12-05 12:56:46 +03:00
Jesper Wilhelmsson
f33e2e9c54 Added tag jdk-14+26 for changeset 288777cf0702 2019-12-05 08:21:38 +01:00
Valerie Peng
d4c0619b3b 8233016: javax.crypto.Cipher throws NPE for the given custom CipherSpi and Provider
Changed to throw IAE instead of NPE for non-null invalid arguments

Reviewed-by: mullan
2019-12-05 03:55:52 +00:00
Weijun Wang
ab280fcac4 8234267: DelegationPermission implementation doesn't completely follow the updated specification
Reviewed-by: xuelei
2019-12-05 10:36:46 +08:00
Christoph Göttschkes
9c4adc66c7 8234906: [TESTBUG] TestDivZeroCheckControl fails for client VMs due to Unrecognized VM option LoopUnrollLimit
Reviewed-by: kvn
2019-12-04 10:38:54 +01:00
Letu Yang
06257b3f1d 8234288: Turkey Time Zone returns incorrect time zone name
Add and use "Turkey Time" time zone.

Reviewed-by: naoto, martin, phh
2019-12-04 15:01:22 -08:00
Sandhya Viswanathan
e8c10bc9cd 8235288: AVX 512 instructions inadvertently used on Xeon for small vector width operations
Reviewed-by: kvn, vlivanov
2019-12-04 14:55:15 -08:00
Mikhailo Seledtsov
8b029e21a2 8235356: [TESTBUG] Disable 'producer is alive' check in JFR TestCrossProcessStreaming
Disabled the check

Reviewed-by: dcubed
2019-12-04 14:44:29 -08:00
Vicente Romero
827e5e3226 8225054: Compiler implementation for records
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records

Implement records in the compiler and the JVM, including serialization, reflection and APIs support

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Roman Kennke
0a375cfa2d 8235355: Shenandoah: Resolve deadlock between OOM handler and nmethod lock
Reviewed-by: zgu
2019-12-04 21:40:08 +01:00
Denghui Dong
d713fb8aa2 8234060: Potential memory reordering problem in JfrBuffer flush mechanism
Reviewed-by: egahlin
2019-12-04 21:26:57 +01:00
Ioi Lam
ce9ff0924f 8235179: [TESTBUG] DynamicArchiveRelocationTest.java fails with 'runtime archive relocation start' missing
Reviewed-by: mseledtsov, ccheung
2019-12-04 11:19:25 -08:00
Roman Kennke
61cdeba65e 8235337: Shenandoah: Fix evac OOM scoping for concurrent class unloading
Reviewed-by: zgu
2019-12-04 20:03:50 +01:00
Coleen Phillimore
5845912fdb 8235273: nmethodLocker not needed for COMPILED_METHOD_UNLOAD events
Remove unnecessary nmethodLocker

Reviewed-by: dholmes, sspitsyn
2019-12-04 13:48:38 -05:00
Mandy Chung
a445b66e58 8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup
Add a new Lookup::hasFullPrivilegeAccess method and document the capabilities requiring full privileges

Reviewed-by: alanb, plevart
2019-12-04 10:46:49 -08:00
Thomas Schatzl
72f42efcd9 8235347: [Backout] 8235247: WorkerDataArray leaks C heap memory for associated work items
Backout of earlier change due to unexpected crashes.

Reviewed-by: sjohanss
2019-12-04 18:54:29 +01:00
Alan Bateman
e7d68cd13b 8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Coleen Phillimore
386b387ef2 8234355: Buffer overflow in jcmd GC.class_stats due to too many classes
Remove use of GC.class_stats in testing and failure analysis (plan to deprecate)

Reviewed-by: dcubed
2019-12-04 11:09:15 -05:00
Thomas Schatzl
1a4d4ff1d8 8235247: WorkerDataArray leaks C heap memory for associated work items
Reviewed-by: lkorinth, kbarrett
2019-12-04 16:58:35 +01:00
Matthias Baesken
14391e8046 8234397: add OS uptime information to os::print_os_info output
Reviewed-by: clanger, dholmes, lucy
2019-12-03 15:17:59 +01:00
Arno Zeller
f67111067e 8234696: tools/jlink/plugins/VendorInfoPluginsTest.java times out
Reviewed-by: mchung, clanger
2019-12-02 17:10:02 +01:00
Robbin Ehn
b31e91cd8d 8234742: Improve handshake logging
Reviewed-by: dholmes, pchilanomate
2019-12-04 11:57:58 +01:00
Stefan Karlsson
c0ea1e647e 8235257: Split 'assert(loader != NULL && oopDesc::is_oop(loader), "loader must be oop")'
Reviewed-by: dcubed, hseigel
2019-12-04 10:26:32 +01:00
Matthias Baesken
e230c1ce5d 8235325: build failure on Linux after 8235243
Reviewed-by: clanger
2019-12-04 09:43:54 +01:00
Jan Lahoda
07be23513b 8234922: No compilation error reported not reported for a binding variable when loop broken with label
Any break outside of a loop should confine the binding variables from the loop's condition to the loop

Reviewed-by: mcimadamore
2019-12-04 09:38:32 +01:00
Jan Lahoda
f26bdf8476 8234899: Compiler reports AssertionError for conditional operator ? : and pattern matching for instanceof
Reviewed-by: mcimadamore
2019-12-04 09:38:31 +01:00
Matthias Baesken
fb830f6a53 8235243: handle VS2017 15.9 and VS2019 in abstract_vm_version
Reviewed-by: dholmes, mdoerr
2019-12-03 11:41:20 +01:00
Pengfei Li
ddb989de3d 8234791: Fix Client VM build for x86_64 and AArch64
Reviewed-by: adinn, aph, thartmann
2019-11-29 03:48:30 +00:00
Tobias Hartmann
b0812b2802 8234616: assert(0 <= i && i < _len) failed: illegal index in PhaseMacroExpand::expand_macro_nodes()
Make sure the index into the macro node array is decremented on removal.

Reviewed-by: vlivanov, kvn
2019-12-04 07:07:21 +01:00
Igor Ignatyev
503a960e7d 8129092: compiler/intrinsics/classcast/NullCheckDroppingsTest.java testVarClassCast() can fail
Reviewed-by: kvn
2019-12-03 20:23:53 -08:00
Chris Plummer
b1c42a1d46 8235221: Fix ProblemList.txt for sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java
Reviewed-by: iignatyev
2019-12-03 20:08:37 -08:00
Xue-Lei Andrew Fan
96a8b9796d 8235263: Revert TLS 1.3 change that wrapped IOExceptions
Reviewed-by: mullan
2019-12-03 17:15:02 -08:00
Kim Barrett
577e87e5b2 8234779: Provide idiom for declaring classes noncopyable
Add NONCOPYABLE macro and uses.

Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Roman Kennke
3e0a524547 8235260: Shenandoah: Don't allow recycle-assist until concurrent roots are done
Reviewed-by: zgu
2019-12-03 21:23:27 +01:00
Kim Barrett
e70386f23a 8213415: BitMap::word_index_round_up overflow problems
Limit BitMap sizes so to-word round-up can't overflow.

Reviewed-by: tschatzl, stuefe
2019-12-03 15:12:56 -05:00
Serguei Spitsyn
7204086e7e 8235280: UnProblemList vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java
Remove test from ProblemList.txt.

Reviewed-by: iignatyev
2019-12-03 19:45:38 +00:00
Vladimir Ivanov
a6daef527e 8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance
Reviewed-by: jrose
2019-12-03 20:13:21 +03:00
Vladimir Ivanov
c7bc0f7a12 8231430: C2: Memory stomp in max_array_length() for T_ILLEGAL type
Reviewed-by: kvn, thartmann
2019-12-03 20:13:16 +03:00
Erik Österlund
22ea33cf7a 8234662: Sweeper should keep current nmethod alive before yielding for ICStub refills
Reviewed-by: pliden, stefank
2019-12-03 16:13:37 +00:00
Erik Österlund
03521f465c 8234426: Sweeper should not CompiledIC::set_to_clean with ICStubs for is_unloading() nmethods
Reviewed-by: stefank, thartmann
2019-12-03 16:13:37 +00:00
John Jiang
3cb74bd7ee 8235255: ProblemList javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
Reviewed-by: mullan
2019-12-04 00:06:41 +08:00
Robbin Ehn
21e03e71aa 8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
Julia Boes
095d77acf0 8234964: failure_handler: gather more environment information on Windows, Solaris and Linux
Add 'ifconfig -a' on Solaris and Linux, 'ipconfig /all' on Windows

Reviewed-by: iignatyev, vtewari
2019-12-03 12:44:50 +00:00
Harold Seigel
f91513a7b0 8234656: Improve granularity of verifier logging
Print brief output for log level 'info'. Print detailed output for 'debug' and 'trace'.

Reviewed-by: iklam, lfoltan, dholmes
2019-12-03 14:10:53 +00:00
Per Lidén
5e758d2368 8234543: ZGC: Parallel pre-touch
Reviewed-by: eosterlund, stefank
2019-12-03 13:51:29 +01:00
Jim Laskey
234f326d79 8233116: Escape Sequences For Line Continuation and White Space (Preview)
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Michael McMahon
7afaaf1229 8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:57:10 +00:00
Michael McMahon
a2fad13ce2 8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
Reviewed-by: alanb
2019-12-03 11:55:47 +00:00
Igor Ignatyev
6864634fb1 8216041: [Event Request] - Deoptimization
Reviewed-by: iignatyev, vlivanov, egahlin
2019-12-03 12:41:45 +01:00
Matthias Baesken
fec6f8a1e4 8234741: enhance os::get_core_path on macOS
Reviewed-by: clanger, gziemski
2019-11-29 09:52:50 +01:00
Stefan Karlsson
6ba58f7633 8233299: Implementation: JEP 365: ZGC on Windows
Reviewed-by: pliden, eosterlund
2019-11-07 15:29:21 +01:00
Stefan Karlsson
802580b236 8234822: Limit ZGC jtreg-support to Windows 2019 Server
Reviewed-by: iignatyev, eosterlund
2019-12-03 10:40:58 +01:00
Tobias Hartmann
aff41433b6 8234617: C1: Incorrect result of field load due to missing narrowing conversion
Emit an explicit conversion to get the correct field value after the write.

Reviewed-by: vlivanov, mdoerr
2019-12-03 08:29:04 +01:00
Prasanta Sadhukhan
c7a2e3b838 Merge 2019-12-03 12:42:20 +05:30
Prasanta Sadhukhan
50190491d7 Merge 2019-12-03 11:52:31 +05:30
Jie Fu
c10f731b11 8235218: Minimal VM is broken after JDK-8173361
Reviewed-by: dholmes
2019-12-03 09:36:17 +08:00
Weijun Wang
bc19b64856 8234744: KeyStore.store can write wrong type of file
Reviewed-by: mullan
2019-12-03 14:38:18 +08:00
Xue-Lei Andrew Fan
50714b0fb9 8235183: Remove the "HACK CODE" in comment
Reviewed-by: jnimeh
2019-12-02 10:42:27 -08:00
Hannes Wallnöfer
ff2f628e33 8223252: Update Javadoc help page with new search features
Reviewed-by: jjg
2019-12-02 18:52:18 +01:00
Roger Riggs
13569d67de 8233799: Review the need for overview.html in the java.time package
Reviewed-by: dfuchs, naoto, lancea
2019-12-02 09:45:32 -05:00
Coleen Phillimore
d1d57d9446 8173658: JvmtiExport::post_class_unload() is broken for non-JavaThread initiators
Call extension ClassUnload event as a deferred event from the ServiceThread and remove unsafe arguments

Reviewed-by: sspitsyn, dholmes
2019-12-02 09:02:17 -05:00
Coleen Phillimore
b1d915ef80 8173361: various crashes in JvmtiExport::post_compiled_method_load
Don't post information that uses metadata from unloaded nmethods

Reviewed-by: eosterlund, dholmes, sspitsyn
2019-12-02 08:40:52 -05:00
Thomas Schatzl
67e0f3b490 8234587: Rename the SurvRateGroup class to G1SurvRateGroup
Reviewed-by: kbarrett, sangheki
2019-12-02 14:21:32 +01:00
Thomas Schatzl
62aa051aa9 8234586: Rename survRateGroup.?pp files to g1SurvRateGroup.?pp
Reviewed-by: kbarrett, sjohanss
2019-12-02 14:21:32 +01:00
Thomas Schatzl
5182f694ed 8234179: Move HeapRegion::_recorded_rs_length/_predicted_elapsed_time_ms into G1CollectionSet
Reviewed-by: sjohanss, lkorinth
2019-12-02 14:21:32 +01:00
Thomas Schatzl
eaca9f8846 8234574: Rename prediction methods in G1Analytics
Reviewed-by: sjohanss, sangheki
2019-12-02 14:21:32 +01:00
Thomas Schatzl
c0d5a70efb 8231579: G1's incremental calculation of region elapsed time always uses the same age group for prediction
Separate calculation of time required for copying objects from non-copy time. Calculate the former in bulk, and the latter as usual, combining them as needed.

Reviewed-by: sjohanss, kbarrett
2019-12-02 14:21:32 +01:00
Thomas Schatzl
1534ccfa14 8233588: Clean up SurvRateGroup
Remove unnecessary members, enforce stricter visibility within use.

Reviewed-by: sangheki, kbarrett
2019-12-02 14:21:32 +01:00
Thomas Schatzl
6246b6cc33 8233919: Incrementally calculate the occupied cards in a heap region remembered set
Instead of iterating over the remembered set card containers, continuously update a single counter per remembered set about occupancy.

Reviewed-by: sangheki, sjohanss
2019-12-02 14:21:32 +01:00
Jan Lahoda
c41e980320 8234078: Missing license headers in a few javac files
Reviewed-by: vromero
2019-12-02 10:58:15 +01:00
Jan Lahoda
ed97c87088 8233524: Wrong module name for \"package P is declared in the unnamed module, but module M does not read it\"
Using the correct placeholder for the module name.

Reviewed-by: jjg
2019-12-02 10:58:13 +01:00
Prasanta Sadhukhan
55f3fd95e6 8234149: Several regression tests do not dispose Frame at end
Reviewed-by: serb
2019-12-02 11:58:14 +05:30
Ivan Gerasimov
cd589d8469 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Liu Xin
4e64af81a2 8234541: C1 emits an empty message when it inlines successfully
Use "inline" as the message when successfull

Reviewed-by: thartmann, mdoerr
2019-11-30 14:33:05 -08:00
Alan Bateman
f3e90595aa 8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Ioi Lam
b08944dd96 8230385: [cds] No message is logged when shared image cannot be used due to mismatched configuration
Reviewed-by: stuefe, dholmes, ccheung
2019-11-29 14:11:50 -08:00
Erik Gahlin
b3ea416824 8234671: JFR api/consumer/recordingstream/TestStart.java failed due to timeout at testStartTwice()
Reviewed-by: mgronlun
2019-11-29 17:31:01 +01:00
Andrew Dinn
7b02e24b65 8232828: AArch64: compiler/c2/aarch64/TestVolatilesG1.java fails after JDK-8225776
Reviewed-by: aph
2019-11-29 15:37:13 +00:00
Robbin Ehn
3d7d54b145 8234086: VM operation can be simplified
Reviewed-by: kbarrett, dholmes, dcubed
2019-11-29 12:09:25 +01:00
Nils Eliasson
6230791e9e 8234520: ZGC: C2: Oop instance cloning causing skipped compiles
Reviewed-by: pliden, vlivanov
2019-11-29 11:26:25 +01:00
Matthias Baesken
673c732a33 8234821: remove unused functions from libjli
Reviewed-by: clanger, alanb
2019-11-28 13:02:39 +01:00
Thomas Schatzl
4f0cc5ab4a 8233998: New young regions registered too early in collection set
Reviewed-by: sangheki, sjohanss
2019-11-29 10:20:17 +01:00
Thomas Schatzl
257c3930f9 8227434: G1 predictions may over/underflow with high variance input
Clamp G1 prediction output to sensible values.

Reviewed-by: lkorinth, sjohanss
2019-11-29 10:20:16 +01:00
Thomas Schatzl
5bcd794646 8227739: Merge cost predictions for scanning cards and log buffer entries
Revamp the cost predictions for the changes in JDK-8200545 and JDK-8213108.

Reviewed-by: sjohanss, kbarrett
2019-11-29 10:20:14 +01:00
Boris Ulasevich
4fbd6f7a32 8234893: ARM32: build failure after JDK-8234387
Reviewed-by: vlivanov
2019-11-29 11:28:39 +03:00
Matthias Baesken
02f2c5ff95 8234625: hs test serviceability/sa/ClhsdbCDSCore.java fails on macOS 10.15
Reviewed-by: clanger, iignatyev
2019-11-28 09:23:09 +01:00
Sibabrata Sahoo
b03ba9e300 8234723: javax/net/ssl/TLS tests support TLSv1.3
Missing TLSv1.3 test cases

Reviewed-by: xuelei
2019-11-28 22:29:07 -08:00
John Jiang
ec16834845 8234724: javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java supports TLSv1.3
Reviewed-by: xuelei
2019-11-29 14:07:16 +08:00
Rajan Halade
17c2f4808a 8233223: Add Amazon Root CA certificates
Reviewed-by: mullan
2019-11-28 10:43:35 -08:00
Patrick Concannon
55da7d34c9 8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.

Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Chihiro Ito
558aadf608 8232594: Make the output of the JFR command duration more user friendly
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Reviewed-by: egahlin, cito
2019-11-28 18:30:18 +01:00
Julia Boes
e00ded00f0 8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
Skip dispatcherThread.join() if current thread is the dispatcherThread

Reviewed-by: dfuchs, msheppar, vtewari
2019-11-28 13:02:30 +00:00
Erik Gahlin
f0f0957934 8234888: EventStream::close doesn't abort streaming thread
Reviewed-by: mgronlun, mseledtsov
2019-11-28 16:38:25 +01:00
Lutz Schmidt
09d0150f6e 8234583: PrintAssemblyOptions isn't passed to hsdis library
Reviewed-by: vlivanov, mdoerr
2019-11-28 16:28:53 +01:00
Christoph Göttschkes
620d67763d 8234894: [TESTBUG] TestEliminateLocksOffCrash fails for client VMs due to Unrecognized VM option EliminateLocks
Reviewed-by: thartmann
2019-11-28 16:11:44 +01:00
Dmitry Batrak
0ee193c705 8210058: Algorithmic Italic font leans opposite angle in Printing
Reviewed-by: prr, jdv, psadhukhan
2019-11-27 16:39:52 +05:30
Prasanta Sadhukhan
02bbbb4185 8234786: Fix for JDK-8214578 breaks OS X 10.12 compatibility
Reviewed-by: jdv
2019-11-27 13:35:27 +05:30
Pankaj Bansal
a5f4fa710f 8230235: Rendering HTML with empty img attribute and documentBaseKey cause Exception
Reviewed-by: serb, aivanov
2019-11-27 11:05:22 +05:30
Phil Race
5c2f513199 8234769: Duplicate attribution in freetype.md
Reviewed-by: psadhukhan
2019-11-26 09:50:45 -08:00
Phil Race
e14102a00e 8227324: Upgrade to freetype 2.10.1
Reviewed-by: serb, jdv
2019-11-25 12:09:01 -08:00
Prasanta Sadhukhan
b690482e64 8193544: Regression automated test '/open/test/jdk/javax/swing/JDialog/Transparency/TransparencyTest.java' fails
Reviewed-by: serb
2019-11-25 11:20:14 +05:30
Jayathirth D V
51837b8a13 8233696: [TESTBUG]Some jtreg tests fail when CAPS_LOCK is ON
Reviewed-by: serb, prr
2019-11-22 11:35:26 +05:30
Prasanta Sadhukhan
94116efd0c 8234385: [TESTBUG] java/awt/EventQueue/6980209/bug6980209.java fails in linux nightly
Reviewed-by: serb
2019-11-21 14:43:47 +05:30
Prasanta Sadhukhan
3f517c65c0 Merge 2019-11-21 13:50:11 +05:30
Tejpal Rebari
5cd9439695 8190763: Class cast exception on (CompoundEdit) UndoableEditEvent.getEdit()
Reviewed-by: psadhukhan, pbansal, serb
2019-11-20 12:18:46 +05:30
Prasanta Sadhukhan
d2c63eec97 8234332: [TESTBUG] java/awt/Focus/DisposedWindow/DisposeDialogNotActivateOwnerTest/DisposeDialogNotActivateOwnerTest.java fails on linux-x64 nightly
Reviewed-by: serb
2019-11-20 11:29:27 +05:30
Prasanta Sadhukhan
9d6ace51a2 Merge 2019-11-20 10:52:28 +05:30
Yasumasa Suenaga
0d30eb4fa9 8233707: systemScale.cpp could not compile with VS2019
Reviewed-by: serb, aivanov
2019-11-20 09:28:31 +09:00
Joe Darcy
8534e920b1 8234381: API docs should mention special handling of enums in serialization
Reviewed-by: rriggs
2019-11-19 16:26:58 -08:00
Weijun Wang
d5b423d17c 8234377: new BitArray(0).toString() throws ArrayIndexOutOfBoundsException
Reviewed-by: mullan, wetmore
2019-11-20 08:12:14 +08:00
Claes Redestad
f4a087036a 8233497: Optimize default method generation by data structure reuse
Reviewed-by: lfoltan, coleenp, igerasim
2019-11-19 23:22:27 +01:00
Sangheon Kim
9611320f69 8232533: G1 uses only a single thread for pretouching the java heap
Reviewed-by: tschatzl, sjohanss
2019-11-19 12:28:39 -08:00
Brent Christian
469cb2b334 8233272: The Class.forName specification should be updated to match the long-standing implementation with respect to class linking
Reviewed-by: dholmes, mchung
2019-11-19 10:02:46 -08:00
Matthias Baesken
227d57e548 8234323: NULL-check return value of SurfaceData_InitOps on macosx
Reviewed-by: clanger
2019-11-19 09:56:43 +01:00
Xiaohong Gong
8aafb0e12c 8234321: Call cache flush after generating trampoline
Reviewed-by: adinn, iklam
2019-11-20 05:58:19 +00:00
Jie Fu
e665037932 8234499: [Graal] compiler/compilercontrol/CompilationModeHighOnlyTest.java test fails with timeout
Reviewed-by: iignatyev
2019-11-21 09:55:12 +08:00
Jesper Wilhelmsson
f8f03a2390 Added tag jdk-14+24 for changeset 438337c846fb 2019-11-21 03:33:36 +01:00
Igor Ignatyev
1d41e86762 8147017: Platform.isGraal should be removed
Reviewed-by: kvn, mseledtsov
2019-11-20 18:23:06 -08:00
Alex Menkov
2f1db3201d 8234358: Update ProblemList entry for NashornPopFrameTest
Reviewed-by: dtitov, cjplummer
2019-11-20 16:10:38 -08:00
Jayathirth D V
877e269895 8234184: [TESTBUG] java/awt/Mouse/EnterExitEvents/ModalDialogEnterExitEventsTest.java fails in Windows
Reviewed-by: psadhukhan
2019-11-15 16:58:07 +05:30
Christoph Göttschkes
6a99789fd5 8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs
Reviewed-by: iignatyev, kvn
2019-11-15 11:05:03 +01:00
Alan Bateman
745feb207c 8233922: Service binding augments module graph with observable incubator modules
Reviewed-by: mchung
2019-11-19 11:35:29 +00:00
David Holmes
ec51784c0d 8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)
Reviewed-by: rehn, stuefe, dcubed, sspitsyn
2019-11-18 23:41:06 -05:00
Yasumasa Suenaga
776522a355 8220074: Clean up GCC 8.3 errors in LittleCMS
Reviewed-by: prr
2019-11-19 13:33:09 +09:00
Igor Ignatyev
d7170782b5 8233462: serviceability/tmtools/jstat tests times out with -Xcomp
Reviewed-by: sspitsyn
2019-11-18 16:03:51 -08:00
Igor Ignatyev
d27bcbec06 8234304: runtime/cds/appcds/javaldr tests should use driver mode
Reviewed-by: iklam, mseledtsov
2019-11-18 14:13:11 -08:00
Christoph Göttschkes
b3860fd4da 8234324: ARM32 build broken after 8231610
Reviewed-by: iklam, aph
2019-11-18 13:22:27 +01:00
Martin Doerr
03763ec090 8233193: Incorrect bailout from possibly_add_compiler_threads
Reviewed-by: dholmes, thartmann
2019-11-18 18:21:18 +01:00
Daniel Fuchs
be18a54cb1 8233141: DatagramSocket.send doesn't specify exception thrown when no target address
DatagramSocket and MulticastSocket send methods are changed to throw IllegalArgumentException if no target address can be determined.

Reviewed-by: alanb
2019-11-18 16:48:05 +00:00
Lutz Schmidt
91b7fd7659 8233787: Break cycle in vm_version* includes
Reviewed-by: kbarrett, mdoerr
2019-11-18 17:11:06 +01:00
Claes Redestad
5e7123d669 8234248: More VectorSet cleanups
Reviewed-by: neliasso, thartmann
2019-11-18 16:10:32 +01:00
Mario Torre
9f2d6b8d2c 8234107: Several AWT modal dialog tests failing on Linux after JDK-8231991
Fix off by one in wheel detection logic

Reviewed-by: prr
2019-11-15 09:27:50 +01:00
Sergey Bylokhov
d2c74d0c97 8232433: [macos 10.15] java/awt/Window/LocationAtScreenCorner/LocationAtScreenCorner.java may fail
Reviewed-by: prr
2019-11-14 15:13:29 -08:00
Prasanta Sadhukhan
456fd9003e 8233634: [TESTBUG] Swing text test bug4278839.java fails on macos
Reviewed-by: serb
2019-11-14 10:59:45 +05:30
Prasanta Sadhukhan
4a5b745acc 8233986: ProblemList javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java for windows-x64
Reviewed-by: serb
2019-11-14 10:56:09 +05:30
Mario Torre
194c2726ea 8231991: Mouse wheel change focus on awt/swing windows
Avoid focus logic when only mouse wheel is moved up/down.

Reviewed-by: serb, dmarkov
2019-11-12 15:54:24 +01:00
Prasanta Sadhukhan
a1e0fe458c 8233910: java/awt/ColorClass/AlphaColorTest.java is failing intermittently in nightly lnux-x64 system
Reviewed-by: serb, prr
2019-11-12 12:29:09 +05:30
Martin Balao
0e5a288dfe 8233404: System property to set the number of PBE iterations in JCEKS keystores
Reviewed-by: weijun
2019-11-12 00:30:55 -03:00
Erik Österlund
8e709f03bb 8234512: Missing pieces from JDK-8224816
Reviewed-by: rehn, pliden, kbarrett, gziemski
2019-11-20 14:51:42 +00:00
Daniel D. Daugherty
b10495d436 8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00
Per Lidén
13ce4cdf2a 8234438: Remove some CMS leftovers
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Per Lidén
08822b4e05 8234437: Remove CollectedHeap::safe_object_iterate()
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Per Lidén
097ca3b94f 8234383: Test TestBiasedLockRevocationEvents.java assumes -XX:UseBiasedLocking is enabled
Reviewed-by: mgronlun, tschatzl
2019-11-20 10:37:46 +01:00
Per Lidén
5cb6271830 8234382: Test tools/javac/processing/model/testgetallmembers/Main.java using too small heap
Reviewed-by: eosterlund, tschatzl
2019-11-20 10:37:46 +01:00
Per Lidén
80ef9d579c 8234361: ZGC: Move heuristics code in ZWorker to ZHeuristics
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
544ce96a54 8234338: ZGC: Improve small heap usage
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
3cb52969a2 8234312: ZGC: Adjust warmup criteria
Reviewed-by: eosterlund, stefank
2019-11-20 10:37:46 +01:00
Per Lidén
6744eb2b54 8234379: ZGC: Do not resize TALBs unless -XX:ResizeTLAB is enabled
Reviewed-by: eosterlund, tschatzl
2019-11-20 10:37:45 +01:00
Alan Bateman
7e42642939 8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Lutz Schmidt
62d6862485 8231460: Performance issue (CodeHeap) with large free blocks
Reviewed-by: adinn, stuefe
2019-11-20 09:12:07 +01:00
Ichiroh Takiguchi
1a11e81c5b 8230873: [AIX] GUI app does not work with UTF-8 locale on minimum software requirements
Fix fontconfig.properties file for AIX UTF-8 locales

Reviewed-by: clanger
2019-11-20 16:37:42 +09:00
Boris Ulasevich
22bcd1677c 8233113: ARM32: assert on UnsafeJlong mutex rank check
Reviewed-by: coleenp, dholmes
2019-11-20 09:29:23 +03:00
Prasanta Sadhukhan
a71509ce0d 8233833: ProblemList java/awt/Frame/FrameLocation/FrameLocation.java for linux-x64
Reviewed-by: serb
2019-11-08 13:16:27 +05:30
Sergey Bylokhov
df7d0d404b 8233657: Intermittent NPE in Component.validate()
Reviewed-by: prr
2019-11-08 05:24:29 +00:00
Prasanta Sadhukhan
0b0a33e4c1 8214578: [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings
Reviewed-by: serb, prr
2019-11-07 11:30:22 +05:30
Severin Gehwolf
753c58b7f5 8233712: Limit default tests jobs based on ulimit -u setting
Reviewed-by: erikj, ihse
2019-11-06 18:06:36 +01:00
Matthias Baesken
38f3241513 8233219: NMT output on AIX misses some categories
Reviewed-by: stuefe, zgu
2019-11-15 16:10:29 +01:00
Daniel D. Daugherty
e9e1948cfb 8234274: [BACKOUT] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: zgu
2019-11-15 21:19:56 -05:00
Daniel D. Daugherty
5968ac44bb 8234272: ProblemList runtime/NMT/HugeArenaTracking.java
Reviewed-by: iignatyev
2019-11-15 18:31:55 -05:00
Igor Ignatyev
733bb68c11 8214904: Test8004741.java failed due to "Too few ThreadDeath hits; expected at least 6 but saw only 5"
Reviewed-by: kvn, epavlova
2019-11-15 14:22:24 -08:00
Kim Barrett
7e2ec3bdc3 8233280: Remove GCLockerInvokesConcurrent
Remove use and make option obsolete.

Reviewed-by: tschatzl, sjohanss
2019-11-15 16:58:29 -05:00
Man Cao
8ef0007ada 8234208: Logging reports zero total refined cards under "Before GC RS summary"
Reviewed-by: kbarrett, tschatzl
2019-11-14 17:34:45 -08:00
Zhengyu Gu
5f19f8c823 8204128: NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, tschatzl
2019-11-15 15:33:34 -05:00
Volker Simonis
a6fd1b4c4b 8234011: (zipfs) Memory leak in ZipFileSystem.releaseDeflater()
Reviewed-by: clanger, lancea
2019-11-15 20:29:11 +01:00
Jie Fu
8211feee76 8234232: [TESTBUG] gc/shenandoah/jvmti/TestHeapDump.java fails with -Xcomp
Reviewed-by: zgu
2019-11-15 20:39:26 +08:00
Jie Fu
25d178f477 8234245: sun/security/lib/cacerts/VerifyCACerts.java fails due to wrong checksum
Reviewed-by: mullan
2019-11-15 19:38:31 +08:00
Martin Doerr
1d0704211a 8234188: AIX build broken after 8220310
Reviewed-by: hseigel
2019-11-15 11:09:29 +01:00
Rajan Halade
d1ebadb966 8232019: Add LuxTrust certificate updates to the existing root program
Reviewed-by: mullan
2019-11-14 19:49:55 -08:00
David Holmes
697a87460d 8233549: Thread interrupted state must only be accessed when not in a safepoint-safe state
Reviewed-by: dcubed, sspitsyn
2019-11-14 22:36:40 -05:00
Weijun Wang
c0d097eac6 8214024: Remove the default keytool -keyalg value
Reviewed-by: mullan
2019-11-15 09:06:58 +08:00
Tom Rodriguez
ddc8f8e757 8233888: jdk.vm.ci.hotspot.test.VirtualObjectLayoutTest.testFormat(): Unexpected error verifying
Reviewed-by: kvn, iignatyev
2019-11-14 16:34:24 -08:00
Fei Yang
327521aae0 8233912: aarch64: minor improvements of atomic operations
Reviewed-by: aph
2019-11-14 15:07:37 +08:00
Ioi Lam
55cef3c4e0 8234196: [TESTBUG] DynamicArchiveRelocationTest.java missing "ArchiveRelocationMode == 1 ...."
Reviewed-by: dcubed
2019-11-14 14:54:39 -08:00
Man Cao
fddefba175 8234127: BasicHashtable does not support small table_size
Reviewed-by: coleenp, jiangli
2019-11-13 16:49:14 -08:00
Jie Fu
368b6b5a2d 8234183: [TESTBUG] tools/javac/api/TestModuleUnnamedPackage.java fails to compile
Reviewed-by: jjg
2019-11-14 12:42:44 -08:00
Dean Long
609bd95209 8233841: Update Graal
Reviewed-by: kvn
2019-11-14 12:21:00 -08:00
Mikhailo Seledtsov
51abc89ab6 8232244: [TESTBUG] Incorrect comment in TestClassUnloadEvent.java
Removed incorrect comment

Reviewed-by: iignatyev
2019-11-14 11:16:14 -08:00
Patrick Concannon
78accb5602 8233989: Create an IPv4 version of java/net/MulticastSocket/SetLoopbackMode.java
This fix adds an IPv4 version of test SetLoopbackMode.java that calls SetLoopbackMode in IPv4 only mode, and runs only if IPv4 is enabled.

Reviewed-by: dfuchs
2019-11-14 11:04:57 +00:00
Patrick Concannon
11433529aa 8233860: AfterClose.java test incorrectly handles IP_MULTICAST_IF
Correction to invalid value used to ensure test fails as expected.

Reviewed-by: alanb, dfuchs, vtewari
2019-11-14 10:49:20 +00:00
Joe Wang
cef999178c 8233686: XML transformer uses excessive amount of memory
Remove unnecessary object creation and also update xalan.md file

Reviewed-by: lancea
2019-11-14 18:41:04 +00:00
Brian Burkhalter
f2e8dc42e2 8146298: (dc spec) connect and disconnect methods should specify that they may block
Reviewed-by: alanb, chegar, dfuchs, darcy
2019-11-14 09:06:43 -08:00
Lance Andersen
4110efa386 8234080: jdk/nio/zipfs/CRCWriteTest.java fails
Reviewed-by: clanger, amlu
2019-11-14 10:54:32 -05:00
Claes Redestad
6f1f675324 8234003: Improve IndexSet iteration
Reviewed-by: neliasso, thartmann
2019-11-14 15:24:35 +01:00
Jorn Vernee
be223c62fc 8233920: MethodHandles::tryFinally generates illegal bytecode for long/double return type
Reviewed-by: redestad, vlivanov, jrose
2019-11-14 10:55:46 +01:00
Ioi Lam
538843632d 8234133: VM build broken due to memory/archiveUtils.inline.hpp
Reviewed-by: dholmes
2019-11-13 19:55:11 -08:00
Jesper Wilhelmsson
17f8254b43 Added tag jdk-14+23 for changeset 15936b142f86 2019-11-14 03:01:43 +01:00
Ioi Lam
5678f98a9e 8231610: Relocate the CDS archive if it cannot be mapped to the requested address
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Jie Fu
cdba535853 8234130: Zero VM build broken after JDK-8233913
Reviewed-by: coleenp
2019-11-14 10:02:52 +08:00
Joe Darcy
c64756158f 8233096: Update javax.lang.model for switch expressions
Reviewed-by: jjg, jlahoda
2019-11-13 15:16:45 -08:00
Kim Barrett
19bed24b1f 8232588: G1 concurrent System.gc can return early or late
8233279: G1: GCLocker GC with +GCLockerInvokesConcurrent spins while cycle in progress

Refactor G1CH::try_collect and fix bugs with concurrent collections.

Reviewed-by: tschatzl, sjohanss
2019-11-13 18:00:30 -05:00
Alex Menkov
9ad86a68cc 8231915: two JDI tests interfere with each other
Reviewed-by: sspitsyn, dtitov
2019-11-13 14:08:04 -08:00
Chris Plummer
111a0ae5fb 8231635: SA Stackwalking code stuck in BasicTypeDataBase.findDynamicTypeForAddress()
Better checking for invalid stack address when walking the stack frames

Reviewed-by: sspitsyn, dtitov
2019-11-13 13:05:16 -08:00
Igor Ignatyev
298ac1ef9e 8226795: compiler/tiered/Level2RecompilationTest.java fails when XX:TieredStopAtLevel=1/2/3 is set
Reviewed-by: redestad
2019-11-13 11:34:31 -08:00
Igor Ignatyev
a21dd0b86b 8225756: [testbug] compiler/loopstripmining/CheckLoopStripMining.java sets too short a SafepointTimeoutDelay
Reviewed-by: kvn, epavlova, roland, mdoerr
2019-11-13 10:59:25 -08:00
Sangheon Kim
46c3d43f83 8220312: Implementation: NUMA-Aware Memory Allocation for G1, Logging (3/3)
Reviewed-by: kbarrett, sjohanss, tschatzl
2019-11-13 10:51:41 -08:00
Sangheon Kim
eaa6355cb0 8220311: Implementation: NUMA-Aware Memory Allocation for G1, Survivor (2/3)
Reviewed-by: kbarrett, sjohanss, tschatzl
2019-11-13 10:49:32 -08:00
Sangheon Kim
52116d808c 8220310: Implementation: NUMA-Aware Memory Allocation for G1, Mutator (1/3)
Reviewed-by: kbarrett, sjohanss, tschatzl, pliden
2019-11-13 10:49:12 -08:00
Sean Mullan
b171594072 8214483: Remove algorithms that use MD5 or DES from security requirements
Reviewed-by: xuelei
2019-11-13 13:43:06 -05:00
Jonathan Gibbons
71a86af40e 8234025: Elements.getPackageElement(ModuleElement,CharSequence) returns null for unnamed package
Reviewed-by: jlahoda
2019-11-13 10:33:00 -08:00
Amy Lu
14ca254fbe 8234079: ZipFileInputStreamSkipTest.java runs zero test
Reviewed-by: lancea
2019-11-13 21:56:28 +08:00
Coleen Phillimore
ed21b56269 8233913: Remove implicit conversion from Method* to methodHandle
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Kiran Ravikumar
25d3cf9216 8233731: repeated typo "fro" for "for"
Reviewed-by: dfuchs
2019-11-13 11:27:50 +00:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Bernard Blaser
b8b88853a5 8214239: Missing x86_64.ad patterns for clearing and setting long vector bits
Reviewed-by: kvn, vlivanov, jrose, sviswanathan
2019-11-13 11:21:15 +01:00
Prasanta Sadhukhan
007a0fb232 8231084: Large performance regression in SwingMark TextArea in 14-b13
8231336: Corrupted option dialog in JTHarness with JDK14b13

Reviewed-by: serb, prr
2019-11-06 11:05:28 +05:30
Prasanta Sadhukhan
5686851c12 8229935: [TEST_BUG]: bug8132119.java inconsistently positions text
Reviewed-by: serb
2019-11-06 10:48:10 +05:30
Phil Race
a64da3d9d5 8233649: Update ProblemList.txt to exclude failing headful tests on macos
Reviewed-by: serb
2019-11-05 15:55:46 -08:00
Prasanta Sadhukhan
be74f1cc96 8233583: ProblemList javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java & ShapedPerPixelTranslucentGradient.java failing incosistently in linux-x64
Reviewed-by: jdv
2019-11-05 16:33:55 +05:30
Prasanta Sadhukhan
91a70aeb63 Merge 2019-11-05 11:00:42 +05:30
Ivan Gerasimov
bc8822095f 8233422: Extra space in the title of the HTML javadoc page
Reviewed-by: ihse, erikj
2019-11-04 13:02:40 -08:00
Ioi Lam
1721476038 8232734: [TESTBUG] avoid using JDK symbols in ExtraSymbols.symbols.txt
Reviewed-by: ccheung
2019-11-04 12:36:54 -08:00
Brent Christian
3561b4ed50 8233091: Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized
Reviewed-by: alanb, dholmes, mchung
2019-11-04 11:42:24 -08:00
Brian Burkhalter
691e75e223 8233519: Put java/nio/channels/DatagramChannel/Unref.java on the problem list
Reviewed-by: alanb, lancea
2019-11-04 11:05:10 -08:00
Aleksey Shipilev
05307243c0 8233520: Shenandoah: do not sleep when thread is attaching
Reviewed-by: rkennke
2019-11-04 19:40:58 +01:00
Andrew Haley
02224ff40c Merge 2019-11-04 13:13:34 -05:00
Jie Fu
55759cbbff 8233291: [TESTBUG] tools/jlink/plugins/VendorInfoPluginsTest.java fails with debug or non-server VMs
Reviewed-by: mchung
2019-11-04 10:03:32 -08:00
Phil Race
00426d6cb0 8233097: Fontmetrics for large Fonts has zero width
Reviewed-by: jdv, serb
2019-11-04 10:01:55 -08:00
Kiran Ravikumar
429237410f 8232984: Upgrading Joni License version to 2.1.16
Reviewed-by: coffeys
2019-11-04 14:24:36 +00:00
Yasumasa Suenaga
2e72b249ee 8233285: Demangling C++ symbols in jhsdb jstack --mixed
Reviewed-by: cjplummer, sspitsyn, ihse
2019-11-04 22:31:59 +09:00
Simon Tooke
a7023d7c88 8232973: Potential infinite loop in macOS hotspot agent
Reviewed-by: stuefe, cjplummer, sspitsyn
2019-11-04 13:58:33 +01:00
Thomas Schatzl
460f7e3502 8232951: TestG1ParallelPhases.java fails with phase NonYoungFreeCSet not found
Reviewed-by: lkorinth, kbarrett
2019-11-04 11:33:15 +01:00
Magnus Ihse Bursie
2dbe87fc45 8233383: Various minor fixes
Reviewed-by: erikj
2019-11-04 11:15:45 +01:00
Magnus Ihse Bursie
66195e8a71 8233381: Update copyright year in build system files
Reviewed-by: erikj
2019-11-04 11:12:13 +01:00
Chris Hegarty
9f6af13f9d 8232367: Update the jdk/java/net/httpclient tests to RS TCK 1.0.3
Reviewed-by: dfuchs
2019-11-04 10:06:59 +00:00
Jan Lahoda
7a006b3608 8230847: Trees.getScope may crash when invoked for statement inside switch
More thoroughly avoiding side-effects when attributing (to) for Trees.getScope.

Reviewed-by: mcimadamore
2019-11-04 10:58:14 +01:00
Fei Yang
0f2aedc336 8233466: aarch64: remove unnecessary load of mdo when profiling return and parameters type
Reviewed-by: adinn
2019-11-04 16:10:39 +08:00
Christoph Göttschkes
a4a351caad 8234807: [TESTBUG] LoopRotateBadNodeBudget fails for client VMs due to Unrecognized VM option PartialPeelNewPhiDelta
Reviewed-by: kvn
2019-11-27 10:13:41 +01:00
Daniel Fuchs
d6f414a1f7 8223196: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java fails on Solaris SPARC
The test is fixed to use InetAddress.getLocalHost consistently, instead of a mix of getLocalHost/wildcard addresses.

Reviewed-by: chegar, vtewari
2019-11-28 12:28:48 +00:00
Martin Doerr
2077bdfa8c 8234645: ARM32: C1: PatchingStub for field access: not enough bytes
Reviewed-by: cgo, goetz
2019-11-28 12:05:02 +01:00
Boris Ulasevich
2efe5f0ea1 8234891: AArch64: Fix build failure after JDK-8234387
Reviewed-by: vlivanov, smonteith
2019-11-28 10:57:38 +03:00
Sibabrata Sahoo
f97eccfdc9 8234725: sun/security/ssl/SSLContextImpl tests support TLSv1.3
Missing TLSv1.3 test cases

Reviewed-by: xuelei
2019-11-27 22:11:08 -08:00
Jesper Wilhelmsson
e3610db9f9 Added tag jdk-14+25 for changeset 17d242844fc9 2019-11-28 07:05:13 +01:00
Hamlin Li
cd55d90507 8232446: logging enhancement for rmi when socket closed
Reviewed-by: rriggs, plevart
2019-11-28 13:48:25 +08:00
Patrick Concannon
b9c7a608d2 8233018: Add a new test to verify that DatagramSocket is not interruptible
Test added to check the interruptability of DatagramSocket, MulticastSocket and DatagramSocketAdaptor.

Reviewed-by: chegar, dfuchs
2019-11-27 16:01:34 +00:00
Julia Boes
aa66dd422f 8234799: javadoc of java.util.Arrays.compare(T[] a, T[] b) misses the word "less"
Add word "less" to method-level javadoc

Reviewed-by: dfuchs, lancea
2019-11-27 15:13:58 +00:00
Joe Darcy
deb0c481e7 8234917: Explicitly discuss java.lang.Enum in Class.isEnum spec
Reviewed-by: jjg
2019-11-27 10:23:40 -08:00
Zhengyu Gu
0a5505f7e9 8228720: Shenandoah: Implementation of concurrent class unloading
Reviewed-by: rkennke
2019-11-27 11:52:57 -05:00
Joe Darcy
6cd20759b6 8234781: Update description of InvalidClassException to include more conditions
Reviewed-by: alanb, chegar
2019-11-27 06:36:41 -08:00
Hannes Wallnöfer
725449932b 8223378: CSS solution for navbar problem with <a> elements is not ideal
Reviewed-by: jjg
2019-11-27 13:08:16 +01:00
Stefan Johansson
4266daf9c9 8141637: Parallelize single threaded heap region iteration during Pre Evacuate Collection Set
Reviewed-by: tschatzl, lkorinth
2019-11-27 12:18:40 +01:00
Stefan Karlsson
53263049c9 8234897: 8234748: Clean up atomic and orderAccess includes - part 2
Reviewed-by: tschatzl, dholmes
2019-11-27 11:31:46 +01:00
Patric Hedlin
f054a79881 8220376: C2: Int >0 not recognized as !=0 for div by 0 check
Reviewed-by: neliasso, vlivanov, mdoerr
2019-11-15 16:39:08 +01:00
Stefan Karlsson
161333eeba 8234748: Clean up atomic and orderAccess includes
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Thomas Schatzl
a5b3bfd8a2 Merge 2019-11-27 10:21:22 +01:00
Thomas Schatzl
198beefccb 8233301: Implementation of JEP 366: Deprecate the ParallelScavenge + SerialOld GC Combination
Deprecate the ParallelScavenge + SerialOld GC combinations by deprecating the UseParallelOldGC flag. Also reviewed by Bernd Eckenfels<ecki@zusammenkunft.net>.

Reviewed-by: pliden
2019-11-27 10:19:45 +01:00
Matthias Baesken
70671882dd 8234525: enable link-time section-gc for linux s390x to remove unused code
Reviewed-by: erikj, mdoerr
2019-11-27 10:07:29 +01:00
Erik Gahlin
ddb7954946 8233870: JFR TestSetEndTime.java times out - onClose() is never called
Reviewed-by: mgronlun
2019-11-26 17:00:57 +01:00
Patricio Chilano Mateo
71ec3b6947 8234613: JavaThread can escape back to Java from an ongoing handshake
Check again if we have a pending/in-progress handshake operation after executing ~ThreadInVMForHandshake()

Reviewed-by: coleenp, dcubed, dholmes, rehn
2019-11-26 15:21:37 +00:00
Roman Kennke
476973c47b 8234768: Shenandoah: Streamline enqueueing runtime barriers
Reviewed-by: zgu
2019-11-26 14:48:04 +01:00
Zhengyu Gu
63b2ab296f 8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, minqi
2019-11-26 09:27:16 -05:00
Matthias Baesken
bdd67c46f3 8234809: set relro in linker flags when building with gcc
Reviewed-by: erikj, fweimer
2019-11-26 13:55:11 +01:00
Jan Lahoda
229e0d1631 8231826: Implement javac changes for pattern matching for instanceof
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2019-11-27 09:00:01 +01:00
Stefan Karlsson
d5c759accb 8234798: Build failure after atomic changes in JDK-8234563
Reviewed-by: tschatzl, rkennke, zgu
2019-11-26 13:50:26 +01:00
Per Lidén
0830eaa398 8234619: ZGC: gc/z/TestSmallHeap.java failure with Out Of Memory
Reviewed-by: tschatzl, eosterlund
2019-11-26 11:57:58 +01:00
Srikanth Adayapalam
05ca3218d9 8234729: Javac should eagerly change code generation for method references to avert IllegalAccessError in future
Reviewed-by: mcimadamore
2019-11-26 11:13:53 +05:30
Serguei Spitsyn
5df8729406 8221372: Test vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java times out
Update test to get rid of unneeded MethodEntry/MethodExit events

Reviewed-by: amenkov, cjplummer
2019-11-26 02:32:32 +00:00
Brian Burkhalter
4d86094783 8179320: File.getUsableSpace() returns a negative number on very large file system
Reviewed-by: alanb, rriggs, darcy
2019-11-25 15:30:35 -08:00
Doug Simon
0ba7b4b907 8234681: Remove UseJVMCIClassLoader logic from JVMCI code
Reviewed-by: kvn, iignatyev
2019-11-25 12:08:20 -08:00
Markus Grönlund
b5f034ad44 8234684: JFR crashes when rotating the JFR output during assertion failure
Reviewed-by: egahlin, mseledtsov
2019-11-25 20:18:54 +01:00
Tom Rodriguez
f81c192da9 8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference
Reviewed-by: kvn, eosterlund
2019-11-25 11:13:02 -08:00
Markus Grönlund
096bacb9ea 8233197: Invert JvmtiExport::post_vm_initialized() and Jfr:on_vm_start() start-up order for correct option parsing
Reviewed-by: sspitsyn, egahlin
2019-11-25 18:38:01 +01:00
Erik Österlund
1b3fd96d2a 8234531: Remove CMS code from CLDG and safepoint cleanup
Reviewed-by: coleenp, zgu
2019-11-25 15:21:44 +00:00
Stefan Karlsson
b468726bdc 8234602: ZGC: Windows compile error in ZHeuristic
Reviewed-by: pliden, eosterlund
2019-11-25 15:00:32 +01:00
Stefan Karlsson
e36fa7783f 8234009: ZGC: Move resurrection unblock to before the _unload.purge() call
Reviewed-by: pliden, eosterlund
2019-11-25 14:57:03 +01:00
Stefan Karlsson
265e2f13aa 8234010: ZGC: Change ZResurrection to use Atomic::load/store
Reviewed-by: pliden, eosterlund
2019-11-25 14:56:15 +01:00
Stefan Karlsson
0ad50c2b5c 8234740: Harmonize parameter order in Atomic - cmpxchg
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf 8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
213af1161a 8234738: Harmonize parameter order in Atomic - sub
Reviewed-by: rehn, dholmes
2019-11-25 12:32:07 +01:00
Stefan Karlsson
d45ec50076 8234737: Harmonize parameter order in Atomic - add
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
8db2c1158e 8234736: Harmonize parameter order in Atomic - store
Reviewed-by: rehn, dholmes
2019-11-25 12:30:24 +01:00
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Erik Gahlin
e06c17ce33 8234703: JFR TestOutOfProcessMigration.java should clean up files
Reviewed-by: mgronlun
2019-11-25 14:06:13 +01:00
Per Lidén
1d2c12c5a6 8234573: ZGC: Enable ZVerifyMarking by default in debug builds
Reviewed-by: stefank, tschatzl
2019-11-25 12:34:43 +01:00
Markus Grönlund
cebc2be1cb 8234433: TestUnloadEventClassCount fails with "assert(SafepointSynchronize::is_at_safepoint()) failed: invariant"
Reviewed-by: pliden
2019-11-25 11:08:30 +01:00
Matthias Baesken
6eedae02a7 8234629: remove unused functions from libnet
Reviewed-by: alanb, vtewari
2019-11-22 10:29:12 +01:00
Erik Österlund
f4fced0e24 8234509: Race in macOS os::processor_id()
Reviewed-by: dholmes, pliden, rehn
2019-11-25 09:10:41 +00:00
Leo Korinth
48615b4ca9 8233029: Obsolete flag GCTaskTimeStampEntries
Reviewed-by: kbarrett, tschatzl
2019-11-25 08:11:24 +01:00
Andrew Haley
78995ebe68 8233232: AArch64: Shenandoah: jni_fast_GetLongField is broken
Reviewed-by: shade, rkennke
2019-11-01 06:04:35 -04:00
Aleksey Shipilev
4fcd28bf54 8233303: Shenandoah: verifier assert erroneously uses byte_size_in_exact_unit
Reviewed-by: rkennke
2019-10-31 10:37:03 +01:00
Jesper Wilhelmsson
843fe9eb03 Added tag jdk-14+21 for changeset c16ac7a2eba4 2019-10-31 04:17:41 +01:00
Coleen Phillimore
2c77ae1ca5 8233266: Remove unnecessary fence in restore_unshareable_info
Reviewed-by: jiangli, dholmes
2019-10-30 22:32:00 -04:00
Valerie Peng
f14e3a60b2 8232950: SUNPKCS11 Provider incorrectly check key length for PSS Signatures
Fixed to treat the queried key size values as bits instead of bytes

Reviewed-by: ascarpino, xuelei
2019-10-31 02:22:42 +00:00
Lance Andersen
3cc7b5babe 8231451: ZipFileInputStream::skip handling of negative values with STORED entries
Reviewed-by: clanger, bpb, alanb
2019-10-30 15:54:41 -04:00
Markus Grönlund
8addc1418a 8226511: Implement JFR Event Streaming
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: egahlin, mseledtsov, mgronlun
2019-10-30 19:43:52 +01:00
Claes Redestad
061b0a6637 8233159: Method::result_type should use calculated value in constMethod
Reviewed-by: lfoltan, iklam, coleenp
2019-10-30 16:14:56 +01:00
Matthias Baesken
a65c0d7afe 8233202: exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java
Reviewed-by: clanger
2019-10-30 14:52:27 +01:00
Matthias Baesken
da61b865b4 8233078: fix minimal VM build on Linux ppc64(le)
Reviewed-by: mdoerr, lucy
2019-11-04 09:54:00 +01:00
Jan Lahoda
a9952bb5d9 8229815: Upgrade Jline to 3.12.1
Reviewed-by: rfield
2019-11-04 09:40:35 +01:00
Weijun Wang
a66829bc89 8231950: keytool -ext camel-case shorthand not working
Reviewed-by: mullan
2019-11-04 14:26:18 +08:00
David Holmes
1d50b2761c 8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Alan Bateman
fd077ea9ae 8233430: (sc) Socket adaptor restoring of blocking mode can override exception if socket closed
Reviewed-by: dfuchs, chegar
2019-11-03 14:07:43 +00:00
Alan Bateman
db4909bf99 8232673: (dc) DatagramChannel socket adaptor issues
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Kim Barrett
5dafc279a7 8233359: Add global sized operator delete definitions
Added new definitions.

Reviewed-by: dholmes
2019-11-01 16:21:17 -04:00
Brian Burkhalter
2cea148cdf 8162520: (fs) FileStore should support file stores with > Long.MAX_VALUE capacity
Reviewed-by: alanb, darcy, rriggs
2019-11-01 13:16:50 -07:00
Julia Boes
012dffcd27 8231632: HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact
Modified method description to disambiguate when false is returned and altered implementation

Reviewed-by: dfuchs, chegar, vtewari
2019-11-01 12:57:01 +00:00
Calvin Cheung
9c7e4bcf59 8233363: Clarify the DumpSharedSpaces condition in InstanceKlass::verify_on
Change DumpSharedSpaces to Arguments::is_dumping_archive().

Reviewed-by: iklam, coleenp
2019-11-01 11:31:37 -07:00
Igor Veresov
83dda95d7f 8227003: Add high-level JIT compilation mode control mechanism
Add tiered mode to emulate non-tiered with special mode for JVMCI compiler. Add -XX:CompilationMode option.

Reviewed-by: never, redestad
2019-11-01 09:39:13 -07:00
Doug Lea
f29d1d172b 8231026: Miscellaneous changes imported from jsr166 CVS 2019-11
Reviewed-by: martin
2019-11-01 09:07:59 -07:00
Doug Lea
dc7d30d08e 8231592: Clarify that ConcurrentHashMap compute methods mapping functions execute at most once
Reviewed-by: martin
2019-11-01 09:04:04 -07:00
Aleksey Shipilev
b56749537d 8233387: Shenandoah: passive mode should disable pacing ergonomically
Reviewed-by: zgu
2019-11-01 16:16:05 +01:00
Coleen Phillimore
026e83632d 8233386: Initialize NULL fields for unused decorations
Reviewed-by: shade, hseigel, dcubed
2019-11-01 10:04:49 -04:00
Christoph Langer
dae8d44447 8232980: Cleanup initialization of function pointers into java.base from classloader.cpp
Reviewed-by: iklam, ccheung
2019-11-01 07:58:05 +01:00
Christian Hagedorn
6df28153fd 8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.

Reviewed-by: kvn, thartmann
2019-10-29 14:29:40 +01:00
Alexey Ivanov
c7acea028c 8232724: Remove indirection with calling JNU_NewStringPlatform
Reviewed-by: dholmes, clanger
2019-10-30 14:08:07 +00:00
Zhengyu Gu
c786ef3418 8233165: Shenandoah:SBSA::gen_load_reference_barrier_stub() should use pointer register for address on aarch64
Reviewed-by: rkennke
2019-10-30 09:42:59 -04:00
Pengfei Li
ec56d9aaf0 8232591: AArch64: Add missing match rules for smaddl, smsubl and smnegl
Reviewed-by: aph
2019-10-30 09:17:36 +08:00
Vladimir Kozlov
5c506779b2 8233035: Update JVMCI
Reviewed-by: dlong
2019-10-29 15:35:06 -07:00
Mark Reinhold
f9f141b6ab 8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080
Reviewed-by: stuefe, iignatyev, mchung
2019-10-29 13:52:04 -07:00
Mandy Chung
5b0fbb2560 8173975: Lookup::in should not allow target class be primitive or array class
Reviewed-by: alanb
2019-10-29 12:52:03 -07:00
Erik Joelsson
0b33bc1617 8232748: Build static versions of certain JDK libraries
Reviewed-by: ihse, bobv
2019-10-29 12:01:14 -07:00
Lance Andersen
4095f60323 8231766: Files.copy and Files.move do not honor requested compression method when copying or moving within the same zip file
Reviewed-by: clanger, bpb, alanb
2019-10-29 14:22:18 -04:00
Eric Caspole
dbbd17b497 8233075: JFR - nmetods - misspelled in several places
Reviewed-by: hseigel, mseledtsov
2019-10-29 13:51:14 -04:00
Jie Fu
66a4fd2b79 8232864: Classes generated at link time by GenerateJLIClassesPlugin are not reproducible
Reviewed-by: redestad, mchung
2019-10-29 10:13:27 -07:00
Mark Reinhold
d83df45396 8232080: jlink plugins for vendor information and run-time options
Reviewed-by: ihse, alanb, kvn, bobv, mchung
2019-10-29 08:26:55 -07:00
Markus Grönlund
72b3f81dd4 8230400: Missing constant pool entry for a method in stacktrace
Reviewed-by: egahlin
2019-10-29 11:33:25 +01:00
Weijun Wang
026a05d0c6 8231365: ServicePermission::equals doesn't comply to the spec
8231196: DelegationPermission allows to create an instance that thows NPE on ::equals call

Reviewed-by: mullan
2019-10-29 09:34:23 +08:00
Weijun Wang
055a49a266 8228969: 2019-09-28 public suffix list update
Reviewed-by: mullan
2019-10-29 09:34:21 +08:00
Coleen Phillimore
26da13e59c 8086003: Test fails on OSX with java.lang.RuntimeException 'Narrow klass base: 0x0000000000000000, Narrow klass shift: 3' missing
Make the test reserve 1G rather than 3G, so it is more reliable.

Reviewed-by: hseigel, stuefe
2019-10-28 16:41:47 -04:00
Naoto Sato
127c4a4e1b 8231273: Upgrade CLDR to v36
Reviewed-by: rriggs
2019-10-28 11:06:17 -07:00
Jaikiran Pai
f3c76c4742 8232879: Writing out data with the Zip File System leads to a CRC failure
Reviewed-by: lancea, clanger
2019-10-28 13:17:54 -04:00
Bob Vandette
25d6a33eb5 8232118: Add JVM option to enable JVMCI compilers in product mode
Reviewed-by: kvn, dholmes
2019-10-28 16:06:08 +00:00
Zhengyu Gu
f906a432e9 8232992: Shenandoah: Implement self-fixing interpreter LRB
Reviewed-by: shade
2019-10-28 11:33:28 -04:00
Harold Seigel
eedc99c9ab 8232890: Remove bad Code attribute parsing code
Remove code that accepts illegal max_stack, max_locals, and length values for Code attribute in old class files.

Reviewed-by: dholmes, lfoltan
2019-10-28 12:55:48 +00:00
Sergey Bylokhov
7d0e14178d 8232200: [macos 10.15] Windows in fullscreen tests jumps around the screen
Reviewed-by: prr
2019-10-24 14:54:31 -07:00
Phil Race
0f2b9390ff 8232154: Update Mesa 3-D Headers to version 19.2.1
Reviewed-by: serb, kcr
2019-10-30 13:47:49 -07:00
Ambarish Rapte
30a4739efa 8226892: ActionListeners on JRadioButtons don't get notified when selection is changed with arrow keys
Reviewed-by: serb, psadhukhan
2019-10-30 16:59:40 +05:30
Phil Race
5e9b812938 8175984: ICC_Profile has un-needed, not-empty finalize method
Reviewed-by: jdv, serb
2019-10-25 13:32:01 -07:00
Sergey Bylokhov
6de547452c 8213119: [macos] java/awt/GraphicsDevice/CheckDisplayModes.java fails
Reviewed-by: prr, jdv
2019-10-24 01:02:08 -07:00
Patric Hedlin
902858e3ce 8231565: More node budget asserts in fuzzed tests
Reviewed-by: neliasso, thartmann
2019-10-23 12:51:53 +02:00
Stefan Karlsson
5e549ca805 8232604: ZGC: Make ZVerifyViews mapping and unmapping precise
Reviewed-by: pliden, eosterlund
2019-10-28 11:27:27 +01:00
Stefan Karlsson
ecb66d2c55 8232650: ZGC: Add initialization hooks for OS specific code
Reviewed-by: pliden, eosterlund
2019-10-28 11:26:53 +01:00
Stefan Karlsson
cc72a06c3b 8232651: Add implementation of os::processor_id() for Windows
Reviewed-by: dholmes, stuefe
2019-10-28 11:26:00 +01:00
Stefan Karlsson
17a041119f 8232649: ZGC: Add callbacks to ZMemoryManager
Reviewed-by: pliden, eosterlund
2019-10-28 11:24:11 +01:00
Stefan Karlsson
8df718fa82 8232648: ZGC: Move ATTRIBUTE_ALIGNED to the front of declarations
Reviewed-by: pliden, eosterlund
2019-10-28 11:23:48 +01:00
Stefan Karlsson
06a479f965 8232602: ZGC: Make ZGranuleMap ZAddress agnostic
Reviewed-by: pliden, eosterlund
2019-10-28 11:23:28 +01:00
Stefan Karlsson
acf447e49e 8232601: ZGC: Parameterize the ZGranuleMap table size
Reviewed-by: pliden, eosterlund
2019-10-28 11:21:23 +01:00
Alan Bateman
0290476112 8212132: (dc) Remove DatagramChannelImpl finalize method
Reviewed-by: bpb, chegar, dfuchs, martin
2019-10-27 12:13:51 +00:00
Tom Rodriguez
a2844b54e1 8233027: OopMapSet::all_do does oms.next() twice during iteration
Reviewed-by: shade, kvn
2019-10-25 13:17:31 -07:00
Vladimir Kozlov
d8c73de1df 8225464: Obsolete TraceNMethodInstalls flag
Reviewed-by: dholmes, thartmann
2019-10-25 11:51:48 -07:00
Patrick Concannon
3c1310a60a 8231570: (dc) Clarify implicit bind behavior of DatagramChannel
Update to DatagramChannel spec to make it clear that SecurityException can be thrown in connect send and receive methods

Reviewed-by: alanb, chegar, dfuchs
2019-10-25 12:05:56 +01:00
Aleksey Shipilev
8e546a3fe0 8233021: Shenandoah: SBSC2::is_shenandoah_lrb_call should match all LRB shapes
Reviewed-by: zgu
2019-10-25 17:30:25 +02:00
Ekaterina Pavlova
db24eb1e6a 8233000: Mark vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize test as stress test
Reviewed-by: iveresov, lmesnik
2019-10-25 07:15:09 -07:00
Thomas Schatzl
ba9ce48bd8 8232776: G1 should always take rs_length_diff into account when predicting rs_lengths
Reviewed-by: sangheki, kbarrett
2019-10-25 12:32:46 +02:00
Thomas Schatzl
9ae0d5f81f 8232777: Rename G1Policy::_max_rs_length as it is no maximum
Reviewed-by: kbarrett, sjohanss
2019-10-25 12:33:30 +02:00
Thomas Schatzl
e4a6d80db2 8232779: G1 current collection parallel time does not include optional evacuation
Reviewed-by: kbarrett, sangheki
2019-10-25 12:34:30 +02:00
Tom Rodriguez
be6a893e1f 8232083: Minimal VM is broken after JDK-8231586
Reviewed-by: dlong
2019-10-24 22:41:24 -07:00
Amy Lu
c87a6fc0b3 8232922: Add java/math/BigInteger/largeMemory/SymmetricRangeTests.java to ProblemList-Xcomp
Reviewed-by: bpb, darcy, iignatyev
2019-10-25 08:50:50 +08:00
Vladimir Kozlov
e15849a0f8 8232904: Update JVMCI
Reviewed-by: dnsimon
2019-10-24 16:58:39 -07:00
Mikhailo Seledtsov
cd4d0bc498 8227317: [TESTBUG] jdk docker/TestDockerMemoryMetrics.java fails on systems w/o kernel memory accounting
Skipping the test case if kernel memory acct not supported

Reviewed-by: sgehwolf, lmesnik
2019-10-24 12:18:32 -07:00
Ekaterina Pavlova
0501511825 8166275: vm/mlvm/meth/stress/compiler/deoptimize keeps timeouting
Reviewed-by: kvn
2019-10-24 11:25:53 -07:00
Martin Doerr
0a5f074a77 8230459: Test failed to resume JVMCI CompilerThread
Reviewed-by: dholmes, kvn
2019-10-21 19:58:16 +02:00
Alan Hayward
9dd7038c43 8231841: AArch64: debug.cpp help() is missing an AArch64 line for pns
Adds missing line for aarch64 to debug.cpp help() for pns

Reviewed-by: adinn
2019-11-13 17:24:53 +08:00
Michael McMahon
9f91b8dde2 8233958: Memory retention due to HttpsURLConnection finalizer that serves no purpose
Reviewed-by: dfuchs, rriggs
2019-11-13 09:09:41 +00:00
Tobias Hartmann
7ba4fc4722 8233656: assert(d->is_CFG() && n->is_CFG()) failed: must have CFG nodes
Explicitly handle ProjNodes with TOP input.

Reviewed-by: kvn, vlivanov
2019-11-13 08:43:35 +01:00
Yasumasa Suenaga
a05b6ae866 8233785: Incorrect JDK version is reported in hs_err log
Reviewed-by: dholmes, stuefe
2019-11-13 10:27:06 +09:00
Amy Lu
0c1f972f4a 8233961: Problem list tools/jlink/JLinkReproducibleTest.java for windows-all
Reviewed-by: alanb
2019-11-13 09:09:04 +08:00
Naoto Sato
9803a8dcb2 8232860: Error formatting integer values with MessageFormat.format() using HOST provider
Reviewed-by: rriggs
2019-11-12 14:05:18 -08:00
Vladimir Yaroslavskiy
de54eb1513 8226297: Dual-pivot quicksort improvements
Reviewed-by: dl, lbourges
2019-11-12 13:49:40 -08:00
Florian Weimer
7dafe378d3 8233880: Support compilers with multi-digit major version numbers
Reviewed-by: tbell
2019-11-12 21:00:08 +00:00
Erik Österlund
857de6c9e8 8230661: ZGC: Stop reloading oops in load barriers
Reviewed-by: pliden, stefank
2019-11-12 20:14:49 +00:00
Erik Österlund
54572d621a 8233797: ZGC: Unify naming convention for functions using atomics
Reviewed-by: pliden, stefank
2019-11-12 20:01:23 +00:00
Erik Österlund
db15bf5174 8233061: ZGC: Enforce memory ordering in segmented bit maps
Reviewed-by: pliden, stefank
2019-11-12 20:01:23 +00:00
Joe Darcy
f13a0df720 8233940: Preview API tests for String methods should use ${jdk.version} as -source arg
Reviewed-by: jlaskey, jlahoda
2019-11-12 10:45:23 -08:00
Martin Balao
171257ea1a 8233946: Add @since 13 annotation to KerberosPrincipal.KRB_NT_ENTERPRISE field
Reviewed-by: clanger
2019-11-12 12:36:16 -03:00
Thomas Schatzl
d8fa5af9a9 8233792: TestG1ParallelPhases.java fails with phase NonYoungFreeCSet not found (2)
Reviewed-by: lkorinth, kbarrett
2019-11-12 16:28:26 +01:00
Martin Doerr
7c242c709d 8233820: Test crashed with assert(phi->operand_count() != 1 || phi->subst() != phi) failed: missed trivial simplification
Verification code needs to skip illegal phi functions.

Reviewed-by: thartmann, vlivanov
2019-11-12 16:13:16 +01:00
Julia Boes
d948bfd584 8232853: AuthenticationFilter.Cache::remove may throw ConcurrentModificationException
Change implementation to use iterator instead of plain LinkedList

Reviewed-by: dfuchs, vtewari
2019-11-08 11:15:16 +00:00
Florian Weimer
e0f7b08376 8233941: adlc should not generate Pipeline_Use_Cycle_Mask::operator=
Removed useless = operator.

Reviewed-by: kvn, thartmann
2019-11-12 12:19:24 +01:00
Jie Fu
b2ce439b85 8233885: Test fails with assert(comp != __null) failed: Ensure we have a compiler
Reviewed-by: thartmann, iveresov
2019-11-11 17:40:28 +08:00
Erik Österlund
d7ae51cc26 8224817: Implementation of JEP 364: ZGC on macOS
Reviewed-by: pliden, stefank
2019-11-12 09:27:21 +00:00
Erik Österlund
8a8b35154b 8233506: ZGC: the load for Reference.get() can be converted to a load for strong refs
Reviewed-by: thartmann, neliasso, pliden
2019-11-12 09:25:39 +00:00
Ivan Gerasimov
8e859259bc 8233884: Avoid looking up standard charsets in security libraries
Reviewed-by: coffeys
2019-11-12 01:36:17 -08:00
Doug Simon
301e068935 8233900: [JVMCI] improve help text for EnableJVMCIProduct option
Reviewed-by: kvn
2019-11-12 10:19:04 +01:00
Tobias Hartmann
1833584f92 8233529: loopTransform.cpp:2984: Error: assert(p_f->Opcode() == Op_IfFalse) failed
Strengthened asserts in locate_pre_from_main() and added a check for is_main_no_pre_loop().

Reviewed-by: kvn, vlivanov
2019-11-12 10:16:04 +01:00
Jan Lahoda
29852ecd80 8232684: Make switch expressions final
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Mat Carter
f390c87d8d 8231863: Crash if classpath is read from @argument file and the main gets option argument
Reviewed-by: alanb, mchung
2019-11-11 17:43:10 -08:00
Daniil Titov
a4c01b3c46 8233868: Unproblem list sun/tools/jstat/jstatClassloadOutput1.sh
Reviewed-by: amenkov, cjplummer
2019-11-11 11:09:49 -08:00
Coleen Phillimore
b4d28f36fc 8232735: Convert PrintJNIResolving to Unified Logging
Converted the existing output at debug level because it is noisy

Reviewed-by: iklam, dholmes
2019-11-11 12:11:34 -05:00
Patric Hedlin
6fa1bf99e2 8233918: 8233498 broke build on SPARC
Reviewed-by: eosterlund
2019-11-11 16:59:42 +01:00
Goetz Lindenmaier
bc116ded54 8231757: [ppc] Fix VerifyOops. Errors show since 8231058
Also make the checks print the wrong value and where a failure occurred.

Reviewed-by: dholmes, mdoerr
2019-11-11 16:24:35 +01:00
Phil Race
53439611f0 Merge 2019-10-18 09:25:06 -07:00
Zhengyu Gu
7987b2fbae 8231324: Shenandoah: avoid duplicated weak root works during final traversal
Reviewed-by: rkennke
2019-10-18 11:36:35 -04:00
Matthias Baesken
01a545b870 8232381: add result NULL-checking to freetypeScaler.c
Reviewed-by: clanger, prr
2019-10-18 14:56:01 +02:00
Jie Fu
75d143bcfc 8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
Reviewed-by: iklam, dholmes
2019-10-18 14:15:10 +08:00
Yasumasa Suenaga
11fbd78f27 8232084: HotSpot build failed with GCC 9.2.1
Reviewed-by: sspitsyn, cjplummer, dholmes, iklam
2019-10-18 09:57:20 +09:00
Sergey Bylokhov
0fcb58c5d5 8230869: [macos 10.15] The String "X Y Z" was not set to application's icon in the taskbar
Reviewed-by: jdv, psadhukhan
2019-10-17 14:07:02 -07:00
Christoph Langer
3e02a34be9 8232370: Refactor some com.sun.jdi tests to enable IDE integration
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-10-17 22:41:36 +02:00
Aleksey Shipilev
f630646baf 8232573: Shenandoah: cleanup and add more logging for in-pause phases
Reviewed-by: rkennke
2019-10-17 20:56:11 +02:00
Aleksey Shipilev
86f50ba1ef 8232534: Shenandoah: guard against reentrant ShenandoahHeapLock locking
Reviewed-by: rkennke
2019-10-17 20:56:04 +02:00
Zhengyu Gu
2324892e0b 8231999: Shenandoah: Traversal failed compiler/jsr292/CallSiteDepContextTest.java
Reviewed-by: rkennke
2019-10-17 13:14:48 -04:00
Joe Darcy
bd96098ec2 8232448: Suppress warnings on non-serializable non-transient instance fields in jdk.jdi
Reviewed-by: sspitsyn
2019-10-17 09:38:32 -07:00
Magnus Ihse Bursie
68dbbf566d 8213239: Configure cannot handle command overrides with arguments
Reviewed-by: erikj
2019-10-17 14:20:26 +02:00
Coleen Phillimore
86fdbc0f85 8232112: MDO extra_data_lock leaks during class unloading
Call the MDO destructor during class unloading.

Reviewed-by: dholmes, eosterlund
2019-10-17 07:35:22 -04:00
Alexey Ivanov
8ca21069c6 8223558: Java does not render Myanmar script correctly
Reviewed-by: prr, serb
2019-10-16 22:30:30 +01:00
Sergey Bylokhov
e4b73897ad 8232225: Rework the fix for JDK-8071483
Reviewed-by: prr
2019-10-15 22:42:23 -07:00
Ralf Schmelter
04e885b498 8232168: Fix non wide char canonicalization on Windows
Reviewed-by: clanger, alanb, ccheung
2019-10-15 17:08:09 +02:00
Dean Long
cf43427ce9 8233273: Update Graal
Reviewed-by: kvn
2019-10-31 16:54:16 -07:00
Alex Menkov
3f93ec68ee 8224159: JDWP IPv6 scope support
Reviewed-by: sspitsyn, cjplummer
2019-10-31 14:23:06 -07:00
Goetz Lindenmaier
a3ee39cb81 8232921: assert(is_object_aligned(result)) failed: address not aligned
Reviewed-by: coleenp, rschmelter
2019-10-29 15:08:19 +01:00
Bob Vandette
f5632e62b2 8227006: [linux] Runtime.availableProcessors execution time increased by factor of 100
Reviewed-by: dholmes, sgehwolf, redestad
2019-10-31 19:32:41 +00:00
Daniel Fuchs
7df849224b 8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
Sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly

Reviewed-by: chegar, vtewari
2019-10-31 19:31:03 +00:00
Alan Bateman
6d98a3bdd8 8205132: Degrade Thread.countStackFrames() to throw UOE
Reviewed-by: mchung, dholmes, dcubed
2019-10-31 16:45:58 +00:00
Vojin Jovanovic
29f2d74173 8232806: Introduce a system property to disable eager lambda initialization
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Prasanta Sadhukhan
65a60129c8 Merge 2019-10-15 14:19:55 +05:30
Goetz Lindenmaier
d8c6516c92 8218628: Add detailed message to NullPointerException describing what is null
This is the implementation of JEP 358: Helpful NullPointerExceptions.

Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
Magnus Ihse Bursie
6147018a0f 8223998: Missing MakeDir in ExecuteWithLog
Reviewed-by: tbell, erikj
2019-10-17 10:35:18 +02:00
Richard Reingruber
6e08f8434c 8232162: Object reallocation in Deoptimization::fetch_unroll_info_helper should not depend on EliminateNestedLocks
Reviewed-by: thartmann, neliasso
2019-10-16 17:03:40 +02:00
Hamlin Li
600b3e7e37 8134599: TEST_BUG: java/rmi/transport/closeServerSocket/CloseServerSocket.java fails intermittently with Address already in use
Reviewed-by: weijun, darcy, rriggs, coffeys
2019-10-17 13:34:06 +08:00
Hamlin Li
2a43248dba 8209824: Improve the code coverage for ThreadLocal
Reviewed-by: dholmes, alanb
2019-10-17 13:18:01 +08:00
Ivan Gerasimov
463d6e9640 8231859: Extra dash after the exception name in @throws clause of javadoc
Reviewed-by: weijun
2019-10-16 18:47:11 -07:00
Jesper Wilhelmsson
60f7a49958 Added tag jdk-14+19 for changeset 9b67dd88a931 2019-10-17 02:49:14 +02:00
Joe Darcy
98c9f8bdc7 8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
Reviewed-by: martin
2019-10-16 16:55:52 -07:00
Weijun Wang
49883054db 8232357: Compare version info of Santuario to legal notice
Reviewed-by: mullan
2019-10-17 07:31:35 +08:00
Claes Redestad
a4e6e67553 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
Reviewed-by: bobv, sgehwolf
2019-10-17 00:19:02 +02:00
Claes Redestad
638fe2b833 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: dholmes, dcubed, rehn
2019-10-17 00:00:13 +02:00
Ivan Gerasimov
31afddccae 8230407: SocketPermission and FilePermission action list allows leading comma
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Man Cao
7e6ebde13c 8232232: G1RemSetSummary::_rs_threads_vtimes is not initialized to zero
Fix error in "Concurrent refinement threads times" in GC log and cleanup.

Reviewed-by: tschatzl, kbarrett
2019-10-14 18:48:10 -07:00
Yudi Zheng
db097ae201 8231754: [JVMCI] Make r27 unconditionally reserved in JVMCI
Reserve r27 (heap base register) on AArch64 unconditionally

Reviewed-by: adinn, dlong
2019-10-16 16:54:56 +02:00
Daniel Fuchs
ecde34ee35 8231449: HttpClient’s client ssl certificate authentication seems to be broken
SSLFlowDelegate.Reader and SubscriberWrapper are changed to better cooperate on when more demand should be requested from upstream. The issue encountered in this scenario was triggered by a large certificate which caused the SSLFlowDelegate to stop requesting data from upstream during the handshake although the engine handshake status was NEED_UNWRAP.

Reviewed-by: chegar
2019-10-16 14:50:53 +01:00
Thomas Schatzl
1c9dd15716 8232260: Remove g1 prefix in G1CollectedHeap::g1_hot_card_cache() getter
Reviewed-by: kbarrett, sjohanss
2019-10-16 12:36:44 +02:00
Martin Doerr
79c1634258 8232106: [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
Reviewed-by: kvn, thartmann
2019-10-16 11:52:56 +02:00
Zhengyu Gu
0046f1ea4f 8229919: Support JNI Critical functions in object pinning API on x86_32 platforms
Reviewed-by: rkennke, adinn
2019-10-15 22:22:23 -04:00
Henry Jen
9dd506f713 Merge 2019-10-15 21:33:54 +00:00
Joe Darcy
b5d427b0bc 8232234: Suppress warnings on non-serializable non-transient instance fields in java.rmi
Reviewed-by: rriggs
2019-10-15 13:25:57 -07:00
Aleksey Shipilev
6b11446797 8232051: Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
Reviewed-by: zgu
2019-10-15 19:45:09 +02:00
Aleksey Shipilev
c1972ecd19 8232205: Shenandoah: missing "Update References" -> "Update Roots" tracing
Reviewed-by: rkennke, zgu
2019-10-15 19:38:59 +02:00
Naoto Sato
406c2a9b00 8212749: DecimalFormat.setGroupingSize(int) allows setting negative grouping size
8231984: Clarify semantics of DecimalFormat.getGroupingSize(0)

Reviewed-by: rriggs
2019-10-15 09:25:59 -07:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Kim Barrett
b8c7a95859 8232147: Remove notproduct option IgnoreLockingAssertions
Removed option.

Reviewed-by: coleenp, dholmes
2019-10-12 00:22:53 -04:00
Prasanta Sadhukhan
b2b054bea6 8223158: Docked MacBook cannot start any Java Swing applications
Reviewed-by: prr, serb
2019-10-12 08:49:59 +05:30
Anton Kozlov
4b7bbaf5b0 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call
Reviewed-by: mchung
2019-10-11 14:49:05 -07:00
Mikhailo Seledtsov
725da985e1 8230865: [TESTBUG] jdk/jfr/event/io/EvilInstrument.java fails at-run shell MakeJAR.sh target
Prebuilding the test class before adding it into a jar file

Reviewed-by: iignatyev, egahlin
2019-10-11 13:14:00 -07:00
Naoto Sato
d60ee287e1 8225435: Upgrade IANA Language Subtag Registry to the latest for JDK14
Reviewed-by: rriggs
2019-10-11 11:06:46 -07:00
Roger Riggs
3af3b5de61 8232135: Add diagnostic output to test java/util/ProcessBuilder/Basic.java
Reviewed-by: lancea
2019-10-11 13:14:33 -04:00
Roger Riggs
942402bab8 8231427: Warning cleanup in tests of java.io.Serializable
Reviewed-by: darcy, lancea
2019-10-11 13:11:56 -04:00
Igor Ignatyev
c3b33c0631 8225654: rework vmTestbase/jit/graph
Reviewed-by: thartmann, neliasso
2019-10-11 09:43:41 -07:00
Prasanta Sadhukhan
b871c1ff3a Merge 2019-10-11 12:08:01 +05:30
Claes Redestad
94365d3210 8232150: aarch64 build broken after JDK-8232050
Reviewed-by: dholmes
2019-10-11 01:11:28 +02:00
Tom Rodriguez
81da915128 8231659: [JVMCI] Could not work PrintAssembly for JVMCI installed code
Reviewed-by: ysuenaga
2019-10-10 11:40:59 -07:00
Coleen Phillimore
a95a39a04e 8232120: com/sun/jdi/InvokeTest fails with -Xcheck:jni: assert(k->is_instance_klass()) failed: cast to InstanceKlass
Should have allowed recv klass to be an array.

Reviewed-by: hseigel, dcubed
2019-10-11 11:50:04 -04:00
Weijun Wang
7853270bc7 8231507: Update Apache Santuario (XML Signature) to version 2.1.4
Co-authored-by: Fedor Burdun <fedor.burdun@azulsystems.com>
Reviewed-by: weijun
2019-10-10 17:36:38 +03:00
Erik Gahlin
0cdb4d19f3 8226897: Provide object age with JFR OldObjectSample event
Reviewed-by: mgronlun, mseledtsov
2019-11-24 01:03:33 +01:00
Dean Long
edf902a3c9 8234432: AOT tests failing with 'used 'epsilon gc' is different from current 'g1 gc'' after CMS removal
Reviewed-by: kvn
2019-11-22 19:23:30 -08:00
Ioi Lam
4edbdd1cb3 8234622: [TESTBUG] ArchivedModuleCompareTest.java fails with -vmoptions:-Xlog:cds
Reviewed-by: mseledtsov
2019-11-22 15:32:00 -08:00
Ioi Lam
2429c8a484 8233446: Improve error handling when specified dynamic archive doesn't exist
Reviewed-by: lfoltan, ccheung
2019-11-22 15:31:52 -08:00
Ioi Lam
af586a9cf2 8234429: appcds/dynamicArchive tests crashing with Graal
Reviewed-by: ccheung
2019-11-22 14:48:40 -08:00
Man Cao
5f2ac35cd0 8087198: G1 card refinement: batching, sorting
Reviewed-by: tschatzl, kbarrett
2019-11-22 17:03:55 -08:00
Jonathan Gibbons
6025207be8 8234687: change javap reporting on unknown attributes
Reviewed-by: mchung
2019-11-22 16:26:35 -08:00
Mikhailo Seledtsov
60ae5d4262 8229209: [TESTBUG] test for cross-process JFR event streaming
New test for cross-process JFR event streaming

Reviewed-by: iignatyev, egahlin
2019-11-22 13:44:06 -08:00
Mandy Chung
34c43f791e 8233956: MethodHandles.dropArguments javadoc lists parameters in wrong order
Reviewed-by: jjg
2019-11-22 11:34:22 -08:00
Jaikiran Pai
0435ec1aaa 8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
Reviewed-by: jjg
2019-11-22 10:38:35 -08:00
Daniel Fuchs
ba7b8e9558 8231516: network QuickAckTest.java failed due to "SocketException: maximum number of DatagramSockets reached"
Fix the test to run in /othervm mode

Reviewed-by: chegar
2019-11-22 17:53:09 +00:00
Brian Burkhalter
adf0d4eae8 8164993: (ch) ReadableByteChannel should note a possible IllegalArgumentException
Reviewed-by: alanb, darcy
2019-11-22 09:00:16 -08:00
Erik Gahlin
8a5e087ed8 8233700: EventStream not closed
Reviewed-by: mgronlun, mseledtsov
2019-11-22 17:20:43 +01:00
Daniel D. Daugherty
008bdefad4 8234544: ObjectSynchronizer::FastHashCode() cleanups from Async Monitor Deflation project
Reviewed-by: dholmes
2019-11-22 09:06:35 -05:00
Daniel Fuchs
8333ea85fa 8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.

Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Serguei Spitsyn
0a1737ca97 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Add necessary check to GetLocalInstance implementation

Reviewed-by: amenkov, cjplummer
2019-11-22 10:07:21 +00:00
Thomas Schatzl
7d160282f2 8233597: Clean up code in G1Analytics::compute_pause_time_ratio
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
9915f88688 8233702: Introduce helper function to clamp value to range
Reviewed-by: sjohanss, kbarrett
2019-11-22 10:03:38 +01:00
Thomas Schatzl
79cfb94d36 8234000: Make HeapRegion::bottom/end/hrm_index const
Reviewed-by: kbarrett, sjohanss
2019-11-22 10:03:38 +01:00
Thomas Schatzl
3e492436fd 8233997: Some members of HeapRegion are not cleared in HeapRegion::hr_clear()
Reviewed-by: sjohanss, sangheki
2019-11-22 10:03:38 +01:00
Thomas Schatzl
d29dcafa50 8233306: Sort members in G1's HeapRegion after removal of Space dependency
Reviewed-by: sangheki, sjohanss
2019-11-22 10:03:38 +01:00
Matthias Baesken
70c5d41f28 8234339: replace JLI_StrTok in java_md_solinux.c
Reviewed-by: clanger, rriggs
2019-11-18 16:49:39 +01:00
Christoph Langer
b240008ba2 8234089: (zipfs) Remove classes JarFileSystemProvider and JarFileSystem
Reviewed-by: lancea, alanb
2019-11-22 09:25:09 +01:00
David Buck
3600213f1d 8230611: infinite loop in LogOutputList::wait_until_no_readers()
Add copy constructor and copy assignment operator to ensure reader count remains accurate

Reviewed-by: kbarrett, dholmes
2019-11-21 23:32:11 -05:00
Xue-Lei Andrew Fan
5161ab9493 8233954: UnsatisfiedLinkError or NoSuchAlgorithmException after removing sunec.dll
Reviewed-by: ascarpino
2019-11-21 18:42:33 -08:00
Weijun Wang
8c6eb44946 8026393: jarsigner never shows a warning in badKeyUsage case
Reviewed-by: mullan
2019-11-22 09:33:03 +08:00
Joe Wang
f83b2b3c5c 8233548: Update CUP to v0.11b
Reviewed-by: lancea
2019-11-22 00:29:48 +00:00
Igor Ignatyev
4e0ac78eed 8234290: compiler/c2/Test6857159.java times out and fail to clean up files
Reviewed-by: thartmann
2019-11-21 14:15:31 -08:00
Jonathan Gibbons
27807bc768 8234051: doclet crashes if HTML files in module doc-files directories
Reviewed-by: hannesw
2019-11-21 13:41:24 -08:00
Harold Seigel
1c5322b998 8234058: runtime/CompressedOops/CompressedClassPointers.java fails with 'Narrow klass base: 0x0000000000000000' missing from stdout/stderr
Don't run test on Windows because ASLR can cause unexpected memory addresses

Reviewed-by: coleenp
2019-11-21 18:54:21 +00:00
Anton Litvinov
09cc9f2b18 8068184: Fix for JDK-8032832 caused a deadlock
Reviewed-by: dfuchs, chegar
2019-11-21 17:04:27 +00:00
Patrick Concannon
6a7f775347 8234083: DatagramSocket should report SO_BROADCAST as a supported option
DatagramSocket had a setBroadcast and getBroadcast setter/getter pair but curiously didn't report SO_BROADCAST as a supported option. Note: the source code changes were accidentally pushed with 8234103 so this changeset only has the test changes. The reviewers listed below had already reviewed the full (source+test) changes.

Reviewed-by: alanb, vtewari, chegar
2019-11-21 16:33:00 +00:00
Chris Hegarty
76e5a32c52 8233847: (sctp) Flx link-local IPv6 scope handling and test cleanup
Reviewed-by: alanb
2019-11-21 12:14:29 +00:00
Chris Hegarty
180ffe5e45 8232097: (sctp) SctpNet.init() results in java.lang.UnsatisfiedLinkError
Reviewed-by: alanb
2019-11-21 12:14:28 +00:00
Chris Hegarty
262d5f1790 8232101: (sctp) Add minimal sanity tests for SCTP
Reviewed-by: alanb
2019-11-21 12:14:26 +00:00
Chris Hegarty
7eaf8be1c7 8233845: (sctp) Relax assertion in sun.nio.ch.sctp.AssociationChange::association
Reviewed-by: alanb
2019-11-21 12:14:25 +00:00
Julia Boes
a8a2246158 8234335: Remove line break in class declaration in java.base
Remove line break in class declarations where applicable

Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Patrick Concannon
e636c69e61 8234103: DatagramSocketImpl::socket is not needed
DatagramSocketImpl has a socket field that links back to the DatagramSocket. This is only used to figure out whether multicasting is supported or not. This fix replaces it with a boolean isMulticast.

Reviewed-by: alanb, chegar, dfuchs
2019-11-20 10:13:10 +00:00
Sean Coffey
a0b8244416 8233801: GCMEmptyIv.java test fails on Solaris 11.4
Reviewed-by: valeriep
2019-11-21 11:31:58 +00:00
Thomas Schatzl
9a4c25731e 8228609: G1 copy cost prediction uses used vs. actual copied byte
Let the object copy cost predictor use the actual copied bytes as input for the prediction instead of the used bytes.

Reviewed-by: kbarrett, sjohanss
2019-11-21 11:42:54 +01:00
Matthias Baesken
20a03807b8 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Matthias Baesken
2882b4c549 8232107: support ThreadPriorityPolicy flag on AIX
Reviewed-by: clanger, dholmes
2019-10-10 14:20:43 +02:00
David Holmes
485f2e7f52 8232182: RedefineNestmateAttr/TestNestmateAttr.java failes due to ObjectCollectedException
Reviewed-by: phh, sspitsyn
2019-10-14 22:20:03 -04:00
Huang Wang
4fb2bb554d 8231988: Unexpected test result caused by C2 IdealLoopTree::do_remove_empty_loop
Duplicate cmp node in empty loop if it has other users

Co-authored-by: Tuo Xie <xietuo@huawei.com>
Reviewed-by: neliasso, thartmann
2019-10-11 16:52:18 +08:00
Mikhailo Seledtsov
5b7d56fdb9 8232224: [TESTBUG] problemlist JFR TestLargeRootSet.java
Problem listed the test

Reviewed-by: egahlin, dcubed
2019-10-14 14:40:02 -07:00
Leonid Mesnik
7e3316e3be 8231981: Refactor test definitions to split RT and SVC tests
Reviewed-by: sspitsyn, dholmes
2019-10-14 12:22:09 -07:00
Claes Redestad
35fb2da425 8232165: Reduce allocations in ValueStack copying constructor
Reviewed-by: neliasso, kvn
2019-10-14 20:58:08 +02:00
Daniil Titov
76d7e33569 8227231: JDWP help information shows use of obsolete Xdebug flag
Reviewed-by: dholmes, sspitsyn, amenkov
2019-10-14 11:24:23 -07:00
Aleksey Shipilev
67a89143dd 8232176: Shenandoah: new assert in ShenandoahEvacuationTask is too strong
Reviewed-by: rkennke
2019-10-14 11:03:13 +02:00
Robbin Ehn
9de8d240ff 8218543: ThreadsList handling during error reporting can crash
Reviewed-by: dcubed, dholmes
2019-10-14 08:59:12 +02:00
Andrew Leonard
0dbfc97c05 8231717: Improve performance of charset decoding when charset is always compactable
Reviewed-by: rriggs, redestad, alanb
2019-10-10 10:28:55 +01:00
Jorn Vernee
4ad3d82c76 8232167: Visual Studio install found through --with-tools-dir value is discarded
Reviewed-by: erikj, ihse
2019-10-11 06:57:33 -07:00
Erik Joelsson
d527c076c4 8232134: Change to Visual Studio 2017 15.9.16 for building on Windows at Oracle
Reviewed-by: ihse
2019-10-11 06:31:52 -07:00
Erik Joelsson
32540b6fc3 8232133: Change to GCC 8.3 for building on Linux at Oracle
Reviewed-by: kbarrett, dholmes, ihse
2019-10-11 06:38:52 -07:00
Erik Österlund
1a0e073932 8232116: ZGC: Remove redundant ZLock in ZNMethodTable
Reviewed-by: stefank, pliden
2019-10-11 13:07:21 +00:00
Andrew Dinn
67ebe0d274 8232046: AArch64 build failure after JDK-8225681
Reviewed-by: eosterlund
2019-10-10 10:59:13 +01:00
Coleen Phillimore
986f2bbf2c 8231769: Test tools/javac/tree/MakeTypeTest.java fails with -Xcheck:jni
Delete local jni handles in create_from_platform_dependent_str() after upcall to Java.

Reviewed-by: dholmes, hseigel
2019-10-11 08:49:42 -04:00
Jie Fu
179aab2fe2 8232151: Minimal VM build broken after JDK-8232050
Reviewed-by: dholmes, clanger
2019-10-11 17:49:25 +08:00
Sergey Bylokhov
f3a9ad9290 8229810: [macos] NullPointerException getting bounds of GraphicsConfiguration
Reviewed-by: jdv
2019-10-09 17:06:06 -07:00
Xin Liu
1ad5c5bfb7 8165056: move JIT Compiler related files from runtime/ to compiler/ directory
Reviewed-by: kvn, coleenp, dholmes
2019-10-09 12:43:32 -07:00
Aleksey Shipilev
d2d6b6378e 8231947: Shenandoah: cleanup ShenandoahHumongousMoves flag treatment
Reviewed-by: rkennke
2019-10-10 21:54:54 +02:00
Aleksey Shipilev
57fcedc33d 8232102: Shenandoah: print everything in proper units
Reviewed-by: rkennke
2019-10-10 21:54:53 +02:00
Ioi Lam
5a120f0967 8232071: Avoid shared dictionary lookup when the class name is not shared
Reviewed-by: jiangli, ccheung
2019-10-10 10:48:31 -07:00
Ioi Lam
dc66194e63 8231986: [SA] Consolidate parts of the Linux and MacOSX versions of ps_core.c
Reviewed-by: sspitsyn, cjplummer
2019-10-10 10:47:45 -07:00
Claes Redestad
88d28a2bf9 8232050: Improve inlining of Klass accessors
Reviewed-by: lfoltan, tschatzl, coleenp, dholmes, jiangli
2019-10-10 13:26:22 +02:00
Christian Hagedorn
9751b5669a 8231720: Some perf regressions after 8225653
Fixed emitting of unused assembly code in 8225653​ which had a negative impact on performance in tight loops.

Reviewed-by: kvn, thartmann
2019-10-10 10:27:12 +02:00
Matthias Baesken
7256d38458 8232045: cleanup AIX 5.3 workarounds from libnio/ch/Net.c
Reviewed-by: alanb, clanger, chegar
2019-10-09 09:57:33 +02:00
Daisy Zhou
273a5277ee 8231213: Migrate SimpleDateFormatConstTest to JDK Repo
Reviewed-by: naoto
2019-10-10 14:43:41 +08:00
Dean Long
183e2e119d 8231973: Update Graal
Reviewed-by: kvn
2019-10-09 21:53:48 -07:00
Joe Darcy
2918f86d2b 8232078: Suppress warnings on non-serializable non-transient instance fields in java.datatransfer
Reviewed-by: serb
2019-10-09 19:38:11 -07:00
Joe Darcy
728644f37d 8232076: Suppress warnings on non-serializable non-transient instance fields java.naming
Reviewed-by: lancea
2019-10-09 18:23:20 -07:00
Serguei Spitsyn
4091899994 8231595: [TEST] develop a test case for SuspendThreadList including current thread
Extend test coverage for SuspendThreadList

Reviewed-by: amenkov, cjplummer, dholmes
2019-10-10 01:10:26 +00:00
Jesper Wilhelmsson
341c223f92 Added tag jdk-14+18 for changeset e84d8379815b 2019-10-10 01:48:08 +02:00
Calvin Cheung
1a3f40f25d 8231529: [TESTBUG] runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java shouldn't wrap SkippedException into Exception
Removed the try-catch in the test.

Reviewed-by: iklam, lfoltan
2019-10-09 16:42:18 -07:00
Tom Rodriguez
4a41f86a39 8231586: enlarge encoding space for OopMapValue offsets
Reviewed-by: dlong
2019-10-09 16:35:44 -07:00
Rajan Halade
a544dedf18 8231887: ComodoCA.java fails because certificate was revoked
Reviewed-by: mullan, clanger
2019-10-09 12:21:28 -07:00
Ekaterina Pavlova
036a3528ea 8231903: [Graal] Update com.oracle.mxtool.junit classes
Reviewed-by: kvn
2019-10-09 10:59:45 -07:00
Per Lidén
c4650cc71f 8232056: GetOwnedMonitorInfoWithEATest.java fails with ZGC: Heap too small
Reviewed-by: dholmes, rrich
2019-10-09 20:12:46 +02:00
Brad Corso
990ae581ac 8231990: Remove unnecessary else-if branch in Types.union
Reviewed-by: mcimadamore
2019-10-09 10:02:54 -07:00
Joe Darcy
3c9b6d8554 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
Reviewed-by: rriggs, chegar
2019-10-09 10:17:50 -07:00
Joe Darcy
fbb4093562 8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
Reviewed-by: mullan, chegar
2019-10-09 09:57:41 -07:00
Daniel Fuchs
a690af3832 8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.

Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Erik Joelsson
fddd963cec 8231974: Build fails if no common legal notices are present
Reviewed-by: dholmes, mchung, ihse
2019-10-09 09:23:22 -07:00
Erik Österlund
42885307f6 8230565: ZGC: Redesign C2 load barrier to expand on the MachNode level
Co-authored-by: Per Liden <per.liden@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: pliden, stefank, neliasso
2019-10-09 12:30:06 +00:00
Severin Gehwolf
dcc9cc3fdd 8232003: (fs) Files.write can leak file descriptor in the exception case
Be sure to close the leaked OutputStream in all cases

Reviewed-by: alanb, bpb, clanger
2019-10-08 15:30:46 +02:00
Kiran Ravikumar
6fe51396a2 8214560: Use {@systemProperty} for definitions of system properties (httpserver)
Reviewed-by: dfuchs, coffeys, chegar
2019-10-09 10:15:58 +00:00
Kiran Ravikumar
4b36fb50ed 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Richard Reingruber
a683592254 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken
Reviewed-by: sspitsyn, dholmes, kvn
2019-10-08 15:30:39 +02:00
Per Lidén
9e17946ab2 8231489: GC watermark_0_1 failed due to "metaspace.gc.Fault: GC has happened too rare"
Reviewed-by: tschatzl, sjohanss
2019-10-09 08:09:12 +02:00
Joe Darcy
8fe60f46d7 8231368: Suppress warnings on non-serializable non-transient instance fields in java.security.jgss
Reviewed-by: mullan, coffeys
2019-10-08 15:27:13 -07:00
David Holmes
d113ca0727 8231737: Cleanup JvmtiRawMonitor code
Reviewed-by: sspitsyn, pliden, coleenp, dcubed
2019-10-08 17:30:48 -04:00
Kim Barrett
d7fcd0ccac 8231153: Improve concurrent refinement statistics
8043505: G1RemSet::_conc_refine_cards is incremented unsynchronized

Added refinement rates and counts, removed _conc_refine_cards

Reviewed-by: tschatzl, sjohanss
2019-10-08 15:15:50 -04:00
Claes Redestad
8edf64d236 8232006: Remove dead code from klassVtable
Reviewed-by: coleenp, jiangli, lfoltan
2019-10-08 20:47:46 +02:00
Evgeny Mandrikov
422a77c3b1 8199136: Dead code in src/jdk.jcmd/share/classes/sun/tools/common/ProcessArgumentMatcher.java
Reviewed-by: dholmes, dtitov
2019-10-08 11:18:00 -07:00
Coleen Phillimore
2f4bd6db09 8225681: vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine fails due a) MT-unsafe modification of inline cache
Allow old methods in CompiledStaticDirectCall::set_to_interpreted

Reviewed-by: sspitsyn, eosterlund
2019-10-08 13:18:40 -04:00
Daniil Titov
0f1f9fe653 8231666: ThreadIdTable::grow() invokes invalid thread transition
Reviewed-by: dholmes, rehn
2019-10-08 09:39:10 -07:00
Daniil Titov
7306526835 8170299: Debugger does not stop inside the low memory notifications code
Reviewed-by: sspitsyn, dholmes
2019-10-08 09:13:08 -07:00
Patrick Concannon
dcceed10b6 8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
Clarifies behaviour of setSoTimeout() method when given negative timeout value.

Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Patrick Concannon
ee87f2a7a4 8230946: Clarify security manager behaviour of a connected DatagramSocket and DatagramChannel
Update to API, to clarify that packets are dropped in the receive method of non-connected sockets if they fail the security manager checks

Reviewed-by: alanb, chegar, dfuchs
2019-10-08 14:56:46 +01:00
Brad Corso
3e8d409cee 8230162: ScopeImpl.remove() has O(N) performance
Reviewed-by: jlahoda
2019-10-08 15:43:38 +02:00
Claes Redestad
fe8c0edee0 8231993: Remove redundant pkg_str param from is_shared_class_visible_for_classloader
Reviewed-by: hseigel, coleenp
2019-10-08 15:48:36 +02:00
Aleksey Shipilev
f412bfc34e 8231931: [TESTBUG] serviceability/sa/TestUniverse.java looks for wrong string with Shenandoah
Reviewed-by: rkennke
2019-10-08 15:08:59 +02:00
Alan Bateman
51e94d8dac 8231921: (se) SelectorImpl.register does not need to set the attachment when it is null
Reviewed-by: bpb
2019-10-08 10:58:36 +01:00
Claes Redestad
f8f7cdcbe3 8231355: Remove unused utility methods in libjava
Reviewed-by: dholmes, jrose, alanb
2019-10-08 10:24:22 +02:00
Matthias Baesken
d10abea7cf 8231753: use more Posix functionality in aix os::print_os_info
Reviewed-by: clanger, dholmes
2019-10-08 09:33:57 +02:00
Sergey Bylokhov
70762d3972 8185041: Incorrect GPL header in pnglibconf.h
Reviewed-by: prr
2019-10-06 21:42:50 -07:00
Sergey Bylokhov
24b9c2a59e 8234325: Delete unused vsync related code from the OGL pipeline on macOS
Reviewed-by: jdv
2019-11-18 10:39:34 -08:00
Prasanta Sadhukhan
999f05b13b Merge 2019-12-03 12:45:47 +05:30
Sergey Bylokhov
37c069446a 8230597: Update GIFlib library to the 5.2.1
Reviewed-by: prr, psadhukhan, jdv
2019-12-02 16:38:34 -08:00
Prasanta Sadhukhan
cb13ea5977 Merge 2019-12-02 12:01:40 +05:30
Anthony Scarpino
0e9916f25b 8228825: Enhance ECDSA operations
Reviewed-by: mullan
2019-10-04 13:44:11 -07:00
Sergey Bylokhov
1d4f4016ee 8228676: Cleanup the native code related to fonts on Unix
Reviewed-by: jdv
2019-10-03 18:17:54 -07:00
Matthias Baesken
0072545f58 8231751: on aix handle Power 9 in os::get_summary_cpu_info
Reviewed-by: clanger, mdoerr
2019-10-02 10:01:18 +02:00
Stuart Marks
ba63c30a94 8231977: Discuss serializability of collections
Reviewed-by: darcy, plevart, chegar
2019-10-07 17:13:59 -07:00
Valerie Peng
381e90eb6b 8229243: SunPKCS11-Solaris provider tests failing on Solaris 11.4
For CK_GCM_PARAMS, try the spec definition first before falling back to the header file definition

Reviewed-by: xuelei
2019-10-08 00:01:20 +00:00
David Holmes
f3df804e24 8231289: Disentangle JvmtiRawMonitor from ObjectMonitor and clean it up
Reviewed-by: sspitsyn, dcubed, coleenp
2019-10-07 18:44:53 -04:00
Dean Long
b1bffdfa00 8231902: Build of jdk.internal.vm.compiler.management/module-info.java.extra failed
Reviewed-by: kvn, ihse, erikj
2019-10-07 13:56:11 -07:00
Jiangli Zhou
874037d252 8231630: Optimize boot loader with no bootclasspath append entry
Optimize SystemDictionary::load_instance_class for boot loader. Immediately return NULL if the requested class is either in the unnamed package or unnamed module, or in a module not defined to the boot loader, when there is no bootclasspath append entry.

Reviewed-by: martin, aeubanks, dthomson, redestad, lfoltan, iklam
2019-10-07 11:29:10 -07:00
Aleksey Shipilev
67a0aa7960 8231946: Remove obsolete and unused ShenandoahVerifyObjectEquals flag
Reviewed-by: rkennke
2019-10-07 17:12:22 +02:00
Aleksey Shipilev
89c8b7be66 8231932: Shenandoah: conc/par GC threads ergonomics overrides user settings
Reviewed-by: rkennke
2019-10-07 17:12:13 +02:00
Claes Redestad
fba19ffbb2 8230043: Lazily load libverify
8230140: Remove unused mutex and monitor declarations

Reviewed-by: hseigel, erikj, alanb, dholmes
2019-10-07 16:55:24 +02:00
Chihiro Ito
204ed44122 8225694: Destination option missing in FlightRecorderMXBeanImpl
Reviewed-by: egahlin
2019-10-07 16:44:12 +02:00
Coleen Phillimore
638910826a 8229900: RedefineDeleteJmethod.java fails with -Xcheck:jni
Remove RedefineClasses adjustment and test, but improve checking for method/class matching.

Reviewed-by: dholmes, sspitsyn
2019-10-07 10:04:01 -04:00
Hannes Wallnöfer
bb09c0c1d8 8220217: Javadoc missing link to member method
Reviewed-by: jjg
2019-10-07 15:58:04 +02:00
Aleksey Shipilev
c1474ca64b 8231930: Windows build fails after JDK-8191521
Reviewed-by: dholmes, clanger
2019-10-07 15:00:24 +02:00
Christoph Langer
d00fd45b66 8231885: Fix/remove malformed assert in os_windows.cpp
Reviewed-by: dcubed, stuefe, kbarrett
2019-10-07 13:32:44 +01:00
Roland Westrelin
703760bbec 8231550: C2: ShouldNotReachHere() in verify_strip_mined_scheduling
Reviewed-by: vlivanov, thartmann
2019-10-02 17:32:08 +02:00
Sergey Bylokhov
876251f840 7124404: [macosx] no awt.multiClickInterval desktop property
Reviewed-by: dmarkov
2019-10-01 10:28:12 -07:00
Roland Westrelin
a81dcf4dbf 8231620: assert(bol->is_Bool()) crash during split if due to FastLockNode
Reviewed-by: vlivanov, thartmann
2019-10-01 10:28:12 +02:00
Claes Redestad
b9204e62a4 8231895: Avoid String allocations in JVM_FindLoadedClass
Reviewed-by: jiangli, dholmes, iklam
2019-10-07 12:06:47 +02:00
Per Lidén
0009f8a51f 8231825: ZGC: Remove ZMaxHeapSize and ZMaxHeapSizeShift
Reviewed-by: tschatzl, eosterlund
2019-10-07 07:53:38 +02:00
Lance Andersen
515db21790 8231093: Document the ZIP FS properties noCompression and releaseVersion
Reviewed-by: clanger, martin, alanb
2019-10-06 13:08:58 -04:00
Lance Andersen
3e47bb2c2e 8223771: FileSystemProvider.newFileSystem(Path, Map) should throw IOException when called with a file that cannot be open
Reviewed-by: alanb
2019-10-04 15:51:17 -04:00
Vivek Deshpande
dce5f5dbc8 8221092: UseAVX=3 has performance degredation on Skylake (X7) processors
Fix for UseAVX=3 has performance degredation on Skylake (X7) processors

Reviewed-by: kvn
2019-10-04 11:45:16 -07:00
Eric Caspole
4325a8443b 8215521: add microbenchmark to measure AccessController.getContext
Reviewed-by: redestad, alanb
2019-10-04 12:00:16 -04:00
Fairoz Matte
80d6ffee5f 8216352: SA: ClhsdbLauncher should throw errors on Unrecognized commands
Reviewed-by: cjplummer, sspitsyn
2019-10-04 07:54:57 +01:00
Julia Boes
4dafa3033f 8231161: Wrong return type in code sample in Collector API documentation
Correct declaration of container from R to A and add compilation test

Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Leonid Mesnik
f1a1fadb63 Merge 2019-10-03 08:51:40 -07:00
Leonid Mesnik
2cb764b24b 8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
Reviewed-by: sspitsyn, phh, cjplummer
2019-10-03 08:50:10 -07:00
Joe Darcy
68385de385 8231777: Remove extraneous @serial javadoc tag in NodeChangeEvent.java
Reviewed-by: alanb, chegar
2019-10-03 08:49:09 -07:00
Claes Redestad
4084a43111 8231707: Improve Mutex inlining
Reviewed-by: rehn, dholmes, coleenp
2019-10-03 13:45:08 +02:00
Per Lidén
022c87228b 8231776: ZGC: Fix incorrect address space description
Reviewed-by: eosterlund
2019-10-03 10:56:39 +02:00
Per Lidén
fb0197c5db 8231774: ZGC: ZVirtualMemoryManager unmaps incorrect address
Reviewed-by: kbarrett, stefank
2019-10-03 10:54:18 +02:00
Sergey Bylokhov
d6e6060b19 8231335: [macos] Delete unused and partly implemented JOGL/Java2D bridge
Reviewed-by: jdv
2019-09-30 22:36:03 -07:00
Aleksey Shipilev
d157ebb41c 8222766: Shenandoah: streamline post-LRB CAS barrier (x86)
Reviewed-by: rkennke
2019-09-30 22:39:11 +02:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Markus Grönlund
b4d37ba6b9 8231081: TestMetadataRetention fails due to missing symbol id
Reviewed-by: egahlin
2019-10-24 16:37:22 +02:00
Martin Doerr
a5fab79984 8231949: [PPC64, s390]: Make async profiling more reliable
Better checks if method from interpreter frame is valid.

Reviewed-by: rrich, ghaug, goetz
2019-10-24 16:28:51 +02:00
Martin Doerr
aba2880e2e 8232005: [s390, PPC64] More exception checks missing in interpreter
Reviewed-by: rrich, goetz
2019-10-24 16:28:49 +02:00
Coleen Phillimore
9308d18580 8232788: Move biased locking initalization
Reviewed-by: pchilanomate, dholmes
2019-10-24 08:52:33 -04:00
Christoph Goettschkes
31ab60e211 8231953: Wrong assumption in assertion in oop::register_oop
On ARM32 thumb mode, the pc of the current frame is always zero

Reviewed-by: coleenp, dcubed
2019-10-24 08:49:21 -04:00
Christoph Goettschkes
89cdeeb6fe 8231952: ARM32: Wrong assumption in assertion in LIRGenerator::atomic_xchg and LIRGenerator::atomic_add
Reviewed-by: dlong, shade
2019-10-24 15:46:50 +03:00
Aleksei Efimov
217b2cc4fc 8232713: Update BCEL version to 6.3.1 in license file
Reviewed-by: joehw
2019-10-24 11:54:33 +01:00
Alan Bateman
e69b4d261d 8231602: Deprecate Thread.suspend/resume for removal
Reviewed-by: mchung, dholmes, chegar
2019-10-24 11:07:31 +01:00
Aleksey Shipilev
06d37a2754 8232908: Shenandoah: compact heuristics has incorrect trigger "Free is lower than allocated recently"
Reviewed-by: rkennke
2019-10-24 11:49:56 +02:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Weijun Wang
72330c70d7 8231598: keytool does not export sun.security.mscapi
Reviewed-by: mullan
2019-10-24 15:53:20 +08:00
Claes Redestad
574263a884 8232613: Move Object.registerNatives into HotSpot
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
2019-10-24 09:57:29 +02:00
Paul Hohensee
68e5c40f6f 8231968: getCurrentThreadAllocatedBytes default implementation s/b getThreadAllocatedBytes
Pass Thread.currentThread().getId() to getThreadAllocatedBytes, remove its implSpec

Reviewed-by: dholmes, mchung, sspitsyn
2019-10-23 18:43:18 -07:00
Jesper Wilhelmsson
3f50e2563e Added tag jdk-14+20 for changeset 54ffb15c4839 2019-10-24 02:58:29 +02:00
Joe Darcy
d8240afe42 8232442: Suppress warnings on non-serializable non-transient instance fields in java.management.*
Reviewed-by: rriggs, mchung
2019-10-23 13:01:40 -07:00
Claes Redestad
36ac846d35 8232881: Remove unnecessary InstanceKlass::casts
Reviewed-by: coleenp
2019-10-23 18:34:25 +02:00
Aleksey Shipilev
bbc4e0d999 8232882: GCC 4.8.5 build failure after JDK-8211073
Reviewed-by: thartmann
2019-10-23 17:35:32 +02:00
Daniel Fuchs
b3477399d0 8232625: HttpClient redirect policy should be more conservative
When enabled, HttpClient redirect is fixed to drop the body when the request method is changed, and to relay any redirection code it does not understand to the caller.

Reviewed-by: chegar
2019-10-23 15:54:39 +01:00
Claes Redestad
86329fc198 8232887: Remove SystemDictionary::has_checkPackageAccess
Reviewed-by: coleenp, lfoltan
2019-10-23 15:48:11 +02:00
Erik Joelsson
3ab90ac5be 8232834: RunTest sometimes fails to produce valid exitcode.txt
Reviewed-by: ihse
2019-10-23 05:48:17 -07:00
Thomas Schatzl
f2abda172b 8232771: Revert JDK-8230794 because of environment changes
Reviewed-by: pliden, sjohanss
2019-10-23 14:06:39 +02:00
Tobias Hartmann
7b38a7e87d 8232883: compiler/c2/CmpPNodeSubTest.java fails because test class name is wrong
Renamed test file to match class name.

Reviewed-by: roland
2019-10-23 13:52:33 +02:00
Christian Hagedorn
465f4c1200 8231412: C2: InitializeNode::detect_init_independence() bails out on simple IR shapes
Avoids early bailout of capturing a field store to remove unnecessary zeroing in simple methods containing only non-escaping objects.

Reviewed-by: roland, thartmann
2019-10-23 12:21:32 +02:00
Christian Hagedorn
13b4952f11 8232874: Add missing test for 8230062
Adds a missing test which verifies the bug fix of 8230062.

Reviewed-by: roland, thartmann
2019-10-23 12:17:14 +02:00
Christian Hagedorn
3cc9ed08e7 8232873: Add missing test for 8220416
Adds a missing test which verifies the bug fix of 8220416.

Reviewed-by: roland, thartmann
2019-10-23 12:15:42 +02:00
Jie Fu
a2c5af45fd 8232768: Configuration with --disable-cds --enable-generate-classlist should be reported as an error
Reviewed-by: ihse
2019-10-23 09:53:07 +02:00
Magnus Ihse Bursie
21585ebcdf 8232770: Enable more warnings on solaris studio
Reviewed-by: erikj
2019-10-23 09:48:46 +02:00
Magnus Ihse Bursie
29e2c16e5b 8211073: Remove -Wno-extra from Hotspot
Reviewed-by: dholmes, erikj, kbarrett
2019-10-23 09:45:41 +02:00
Michihiro Horie
f004d45d3d 8231649: PPC64: Intrinsics for Math.ceil, floor, rint on Power
Reviewed-by: mdoerr, vlivanov
2019-10-22 21:26:45 -05:00
Benoit Daloze
54be25b07b 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Yasumasa Suenaga
c6672a2f20 8232592: <Unknown compiled code> is shown in jstack mixed mode
Reviewed-by: cjplummer, phh
2019-10-23 10:02:26 +09:00
Chihiro Ito
010675849e 8223697: jfr tool can't format duration values greater than 1 minute
Reviewed-by: egahlin
2019-10-22 23:55:33 +02:00
Aleksey Shipilev
80f1aaa7a8 8232802: Shenandoah: transition between "cset" and "pinned_cset" does not require cancelled gc
Reviewed-by: zgu
2019-10-22 18:53:28 +02:00
Aleksey Shipilev
fd5d5d7622 8232791: Shenandoah: passive mode should disable pacing
Reviewed-by: zgu
2019-10-22 18:53:22 +02:00
Mandy Chung
3f94fb08c7 8232617: Update the outdated code comments in java.lang.System class
Reviewed-by: dholmes, bchristi
2019-10-22 09:20:21 -07:00
Zhengyu Gu
094a1b8a5f 8232747: Shenandoah: Concurrent GC should deactivate SATB before processing weak roots
Reviewed-by: shade
2019-10-22 11:59:42 -04:00
Aleksey Shipilev
02dc957198 8232778: Shenandoah: SBSA::arraycopy_prologue checks wrong register
Reviewed-by: rkennke
2019-10-22 14:05:56 +02:00
Magnus Ihse Bursie
41bd7c5e76 8223400: Replace some enums with static const members in hotspot/runtime
Reviewed-by: iklam, coleenp
2019-10-22 08:57:41 +02:00
Jie Fu
8bdffc5f7e 8232757: VM fails to report an error for DumpLoadedClassList when cds is disabled
Reviewed-by: iklam, dholmes
2019-10-22 11:32:19 +08:00
Jie Fu
750eab1ecc 8232692: [TESTBUG] compiler/aot/fingerprint/SelfChangedCDS.java fails when cds is disabled
Reviewed-by: kvn
2019-10-21 17:27:51 +08:00
Aleksey Shipilev
fd9052f3c5 8232729: Shenandoah: assert ShenandoahHeap::cas_oop addresses are aligned
Reviewed-by: rkennke
2019-10-21 22:44:49 +02:00
Aleksey Shipilev
d262906093 8232730: Shenandoah: Traversal should not CAS the roots
Reviewed-by: zgu, rkennke
2019-10-21 22:44:48 +02:00
Alexey Ivanov
16f3919405 8232624: Java cannot start: NewStringPlatform missing
Reviewed-by: dholmes, alanb, redestad
2019-10-21 21:36:26 +01:00
Florian Weimer
c483fbe6d6 8231587: Memory leak in WorkArounds.serializedForms
Reviewed-by: hannesw
2019-10-21 13:25:36 -07:00
Jonathan Gibbons
f5b14bd780 8232639: Change module graph images to use SVG instead of PNG format
Reviewed-by: mchung, ihse
2019-10-21 11:35:36 -07:00
Zhengyu Gu
b96be4b7ae 8232712: Shenandoah: SIGBUS in load_reference_barrier_native
Reviewed-by: shade, rkennke
2019-10-21 14:26:10 -04:00
Erik Joelsson
938be1ecfb 8232569: Use test image from different jib profile for testing
Reviewed-by: tbell
2019-10-21 10:32:49 -07:00
Lois Foltan
fce4320369 8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
Increase the use of type signature constants instead of hard coded characters within the JVM.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Erik Joelsson
0192c5a02f 8232572: Add hooks for custom output dir in Bundles.gmk
Reviewed-by: tbell
2019-10-21 09:26:14 -07:00
Jan Lahoda
a1894385b3 8226585: Improve javac messages for using a preview API
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.

Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Aleksey Shipilev
f771978f53 8232702: Shenandoah: gc/shenandoah/TestVerifyJCStress.java uses non-existent -XX:+VerifyObjectEquals
Reviewed-by: rkennke
2019-10-21 15:11:44 +02:00
Aleksey Shipilev
c3d807276d 8232575: Shenandoah: asynchronous object/region pinning
Reviewed-by: rkennke
2019-10-21 15:11:43 +02:00
Aleksey Shipilev
76465eb1d9 8232674: Fix build and rename ShenandoahBarrierSet::oop_load_from_native_barrier
Reviewed-by: zgu
2019-10-21 15:11:42 +02:00
Per Lidén
ee4c8f5f19 8232239: ZGC: Inline ZCPU::count() and ZCPU:id()
Reviewed-by: tschatzl
2019-10-21 09:58:32 +02:00
Per Lidén
cb5e226306 8232238: ZGC: Move ZList inline funtions to zList.inline.hpp
Reviewed-by: eosterlund
2019-10-21 09:58:07 +02:00
Per Lidén
b2ac9a5937 8232237: ZGC: Move ZArray inline funtions to zArray.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:57:26 +02:00
Per Lidén
6ca7febb54 8232236: ZGC: Move ZThread inline funtions to zThread.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:58 +02:00
Per Lidén
11d949f202 8232235: ZGC: Move ZValue inline funtions to zValue.inline.hpp
Reviewed-by: tschatzl
2019-10-21 09:56:43 +02:00
Per Lidén
cf86d3519c 8231996: ZGC: Replace ZStatisticsForceTrace with check if JFR event is enabled
Reviewed-by: eosterlund
2019-10-21 09:55:58 +02:00
Per Lidén
2e1040e4c6 8231940: ZGC: Print correct low/high capacity
Reviewed-by: eosterlund
2019-10-21 09:55:48 +02:00
Per Lidén
db89b5fdf9 8231943: ZGC: Enable serviceability/dcmd/gc/RunGCTest
Reviewed-by: tschatzl, eosterlund, sspitsyn
2019-10-21 09:55:31 +02:00
Per Lidén
f751808df9 8232001: ZGC: Ignore metaspace GC threshold until GC is warm
Reviewed-by: eosterlund
2019-10-21 09:51:24 +02:00
Amy Lu
b404ddd9a2 8232195: Enable BigInteger tests: DivisionOverflow, SymmetricRangeTests and StringConstructorOverflow
Reviewed-by: bpb, darcy
2019-10-21 14:04:16 +08:00
Jie Fu
048b09bdbe 8232616: JVMCI_lock fails to get initialized when cds is disabled
Reviewed-by: iklam, dholmes
2019-10-18 20:28:16 +08:00
Chris Plummer
5db7fc5aa9 8232276: Problem list serviceability/sa/ClhsdbJstackXcompStress.java
Reviewed-by: sgehwolf, dholmes
2019-10-18 14:07:47 -07:00
Zhengyu Gu
ce4a41c71f 8232008: Shenandoah: C1 load barrier does not match interpreter version
Reviewed-by: rkennke
2019-10-18 14:03:44 -04:00
Zhengyu Gu
0f822d90d1 8232010: Shenandoah: implement self-fixing native barrier
Reviewed-by: rkennke
2019-10-18 13:07:46 -04:00
Patrick Concannon
c497b2b066 8231719: Correct contradictions in timeout range descriptions
Clarified verbiage in method descriptions.

Reviewed-by: chegar, dfuchs
2019-10-16 11:12:47 +01:00
Julia Boes
f8440c33d2 8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
Enclose IPv6 literal in brackets and adjust string format for unresolved addresses

Reviewed-by: dfuchs, chegar
2019-10-17 08:56:06 +01:00
Zhengyu Gu
2c573582ab 8232009: Shenandoah: C2 load barrier does not match interpreter version
Reviewed-by: rkennke
2019-10-18 12:20:51 -04:00
Calvin Cheung
21ce9772a7 8232030: HelloDynamic.java fails with latest Graal
Include the dynamic dumping condition when setting up the merged_ordering array in merge_in_new_methods() of defaultMethods.cpp.

Reviewed-by: iklam, coleenp
2019-10-18 09:17:38 -07:00
Stefan Karlsson
3b181e51b1 8231563: ZGC: Fails to warn when user sets the max heap size to larger than 16TB
Reviewed-by: tschatzl, pliden
2019-09-27 09:01:39 +02:00
Aleksey Shipilev
3d4da79186 8231713: x86_32 build failures after JDK-8226721 (Missing intrinsics for Math.ceil, floor, rint)
Reviewed-by: kvn
2019-10-03 07:38:00 +02:00
Jesper Wilhelmsson
e587fc13cf Added tag jdk-14+17 for changeset 5c83830390ba 2019-10-03 07:10:36 +02:00
Chris Plummer
b9bde2ed45 8231288: "jhsdb jmap" test needed to reproduce issues that used to be reproduced by JShellHeapDumpTest
Reviewed-by: sgehwolf, sspitsyn
2019-10-02 17:56:46 -07:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Roger Riggs
72c2079fd0 8231663: Incorrect GPL header in some RMI/SQL package-info.java files
Reviewed-by: bpb, iris, lancea
2019-10-02 13:57:03 -04:00
Erik Joelsson
634780ebd7 8231505: Bump required boot jdk version to 13
Reviewed-by: darcy, ihse
2019-10-02 10:04:46 -07:00
Brian Burkhalter
c1b844a225 8229022: BufferedReader performance can be improved by using StringBuilder
Reviewed-by: igerasim, vtewari, dfuchs
2019-10-02 07:50:06 -07:00
Leo Korinth
85a62dcc5c 8231671: Fix copyright headers in hotspot (missing comma after year)
Reviewed-by: tschatzl, dholmes
2019-10-02 16:08:02 +02:00
Alan Bateman
38bdacafbc 8231603: (se) Selector implementations do not need to use cancelledKeys
Reviewed-by: chegar, bpb
2019-10-02 09:16:18 +01:00
Christian Hagedorn
8200eb4d45 8231626: DeoptimizeRandom should not be a product flag
The DeoptimizeRandom flag is changed to develop since it has no effect in production.

Reviewed-by: neliasso, thartmann
2019-10-02 08:27:17 +02:00
Joe Darcy
48f186bb62 8231545: Suppress warnings on non-serializable instance fields in jdk.jshell module
Reviewed-by: rfield
2019-10-01 20:07:30 -07:00
Florian Weimer
cb9510da2b 8231600: Avoid GCC 8 strncpy error in jdk.jdwp.agent
Reviewed-by: cjplummer, amenkov
2019-09-28 11:04:01 +02:00
Erik Joelsson
5e8690c247 8231594: Configure fails on some Linux systems
Reviewed-by: tbell, ihse
2019-10-01 08:11:02 -07:00
Brian Burkhalter
17c057bd76 8229333: java/io/File/SetLastModified.java timed out
Reviewed-by: lancea, rriggs
2019-10-01 07:37:39 -07:00
Aleksey Shipilev
808a435d79 8231667: Shenandoah: Full GC should take empty regions into slices for compaction
Reviewed-by: rkennke
2019-10-01 15:38:27 +02:00
Aleksey Shipilev
4cdb9708c4 8231503: [TESTBUG] compiler/{jvmci,aot} tests should not run with GCs that do not support JVMCI/AOT
Reviewed-by: kvn, dlong, stefank
2019-10-01 15:38:26 +02:00
Christoph Langer
8fc1b67944 8223869: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java on more platforms
Reviewed-by: goetz
2019-10-01 14:51:04 +02:00
Ralf Schmelter
98a2c05b5d 8191521: handle long relative path specified in -Xbootclasspath/a on windows
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Roland Westrelin
fd3a403512 8231665: 8231055 broke escapeAnalysis/TestSelfArrayCopy.java
Reviewed-by: thartmann
2019-09-30 17:58:05 +02:00
Julia Boes
82747fa960 8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
Preserve BODY in poster output stream before sending CONNECT request

Reviewed-by: dfuchs, vtewari
2019-09-26 12:35:51 +01:00
Daniel Fuchs
8e98ce54bf 8231506: Fix some instabilities in a few networking tests
Reviewed-by: alanb, chegar, msheppar
2019-10-01 12:10:33 +01:00
Per Lidén
990ec34714 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails
Reviewed-by: sspitsyn, dcubed, iignatyev
2019-10-01 12:27:14 +02:00
Jatin Bhateja
d3ca3a02ff 8226721: Missing intrinsics for Math.ceil, floor, rint
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Matthias Baesken
09c012be4e 8231357: sun/security/pkcs11/Cipher/TestKATForGCM.java fails on SLES11 using mozilla-nss-3.14
Reviewed-by: clanger, valeriep
2019-09-26 13:51:43 +02:00
Joe Wang
a664c9cf99 8016914: CoreDocumentImpl.setXmlVersion NPE
Reviewed-by: lancea
2019-09-30 17:54:11 +00:00
Coleen Phillimore
c5ca4409e0 Merge 2019-09-30 13:22:05 -04:00
Coleen Phillimore
98f454c9ca 8184732: Deadlock detection improvements for 'special' locks
Assert that special ranked locks cannot safepoint and allow_vm_block and remove locks from the exceptional lock list in no_safepoint_verifier.

Reviewed-by: dholmes, eosterlund
2019-09-30 13:10:11 -04:00
Patrick Concannon
0364ad244a 8229338: clean up test/jdk/java/util/RandomAccess/Basic.java
General refactoring of code and increased test coverage

Reviewed-by: lancea, aefimov
2019-09-30 17:19:58 +01:00
Aleksey Shipilev
8a50aa7d21 8231583: Shenandoah: Fix register clash in SBSA::resolve_forwarding_pointer() borrowing
Reviewed-by: rkennke
2019-09-30 18:02:24 +02:00
Lutz Schmidt
722b4b4fda 8231403: [ppc]: Align ReservedCodeCacheSize default value with other platforms
Reviewed-by: goetz
2019-09-30 17:18:30 +02:00
Roman Kennke
aa251e0762 8231499: Shenandoah: compiler/arraycopy/TestDefaultMethodArrayCloneDeoptC2 fails
Reviewed-by: shade, roland
2019-09-30 17:00:16 +02:00
Claes Redestad
56bc7979cb 8231616: Simplify compilation policy hierarchy
Reviewed-by: thartmann, neliasso
2019-09-30 14:04:42 +02:00
Alexey Ivanov
c1ac50d803 8231144: Wrap contents of plain HTML files into contentContainer
Reviewed-by: prr, serb
2019-09-25 22:45:43 +01:00
Prasanta Sadhukhan
a0c379d9bd Merge 2019-09-25 14:52:33 +05:30
Prasanta Sadhukhan
83b11a570a Merge 2019-09-25 14:48:39 +05:30
Michael McMahon
b8bda05c60 8231450: Copyright header line omitted from 8231187 changeset
Reviewed-by: chegar
2019-09-25 09:38:20 +01:00
Alan Bateman
72e62cf835 8231413: Several test/hotspot/jtreg/runtime tests updates to run with --illegal-access=deny
Reviewed-by: hseigel, lfoltan, dholmes
2019-09-25 09:17:32 +01:00
Prasanta Sadhukhan
f0b476a981 Merge 2019-09-25 13:40:36 +05:30
Phil Race
4a4fbbaaa9 8231243: [TESTBUG] CustomFont.java cannot find font file
Reviewed-by: serb
2019-09-24 09:09:15 -07:00
Vladimir Kempik
67ad501e5b 8229872: (fs) Increase buffer size used with getmntent
Dynamically allocate memory for getmntent

Reviewed-by: alanb
2019-09-24 14:54:57 +03:00
Thomas Schatzl
628283fe53 8231553: Deprecate unused G1RSetScanBlockSize command line option
Reviewed-by: lkorinth, sjohanss
2019-09-30 10:21:11 +02:00
Christian Hagedorn
08f652aa51 8230062: assert(i == p->size()-1) failed: must be last element of the pack
Avoids vectorization of reduction chain in which an intermediate result is used.

Reviewed-by: roland, thartmann
2019-09-30 09:29:10 +02:00
Arno Zeller
03c764c5e3 8231457: Asserts on AIX because os::elapsed_counter() is not monotonic
Replace gettimeofday with javaTimeNanos

Reviewed-by: dholmes, stuefe
2019-09-28 17:52:07 -04:00
Chris Plummer
f6a5479a44 8231287: JMap should do a better job of reporting exception it catches
Retrhow any caught exception, and always print exceptions before exiting

Reviewed-by: sspitsyn, phh
2019-09-28 12:33:34 -07:00
Ivan Gerasimov
680fceb9ba 8230415: Avoid redundant permission checking in FilePermissionCollection and SocketPermissionCollection
Reviewed-by: mullan
2019-09-27 17:50:09 -07:00
Bob Vandette
68937e9b9f 8231431: JAOTC issues with JAR path containing spaces
Reviewed-by: kvn
2019-09-27 18:27:42 +00:00
Doug Lea
8c647801fc 8231036: vmTestbase monitoring tests fail after JSR 166 refresh
Reviewed-by: martin, dholmes
2019-09-27 12:20:14 -07:00
Doug Lea
a9254cbcfa 8231032: ThreadMXBean locking tests fail after JSR 166 refresh
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -07:00
Leonid Mesnik
3e3d90d6a1 8230942: Support compressed cores in SA tests
Reviewed-by: dholmes, sspitsyn
2019-09-27 10:48:23 -07:00
Joe Darcy
9f4484ff92 8231557: Suppress warnings on non-serializable instance fields in jdk.scripting.nashorn module
Reviewed-by: jlaskey
2019-09-27 08:57:25 -07:00
Daniel Fuchs
8578ab1c23 8231037: java/net/InetAddress/ptr/Lookup.java fails intermittently due to reverse lookup failed
The test is updated to verify whether reverse lookup is altogether possible.

Reviewed-by: chegar
2019-09-27 14:43:35 +01:00
Robbin Ehn
29e4d9fa82 8231321: compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java failed assertion
Reviewed-by: thartmann, eosterlund
2019-09-27 15:15:07 +02:00
Jie Fu
dd47d1871a 8231567: minimal build failed after JDK-8226690
Reviewed-by: shade, coleenp
2019-09-27 20:06:02 +08:00
Coleen Phillimore
59dcb50e96 8231472: Clean up Monitor::_safepoint_check usage to Mutex::_safepoint_check
Change Monitor:: to Mutex:: when allocating a Mutex, and in mutexLocker.

Reviewed-by: rehn, dholmes
2019-09-27 07:56:02 -04:00
Severin Gehwolf
c4f5c4fe9b 8196969: JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
Account for serialized null scopes in NMethod

Reviewed-by: aph, never
2019-09-23 20:26:18 +02:00
Thomas Schatzl
5e9b772767 8231956: Remove seq_add_card/reference from PerRegionTable class
Reviewed-by: sjohanss, pliden
2019-10-11 11:21:28 +02:00
Per Lidén
e598c94852 8232070: ZGC: Remove unused ZVerifyLoadBarriers
Reviewed-by: tschatzl
2019-10-11 10:16:35 +02:00
Matthias Baesken
63b1c4c213 8230957: [TESTBUG] containers/docker/TestJcmdWithSideCar.java sporadic failures
Reviewed-by: clanger, bobv, mseledtsov
2019-10-11 09:55:35 +02:00
Magnus Ihse Bursie
54a3efc829 8065704: Set LC_ALL=C for all relevant commands in the build system
Reviewed-by: naoto, erikj
2019-10-11 09:43:18 +02:00
Matthias Baesken
19a6085f43 8232052: use string literal for format string when handling PauseAtStartupFile
Reviewed-by: clanger, stuefe
2019-10-09 14:07:44 +02:00
Matthias Baesken
124bc7bb1e 8232060: add some initializations using sigemptyset in os_aix.cpp
Reviewed-by: clanger, stuefe
2019-10-10 08:46:07 +02:00
Dmitry Markov
01ec1f2fec 8230782: Robot.createScreenCapture() fails if “awt.robot.gtk” is set to false
Reviewed-by: prr, serb
2019-09-23 17:18:03 +01:00
Roland Westrelin
dfc5c795c7 8229483: Sinking load out of loop may trigger: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: thartmann, neliasso
2019-09-23 16:49:09 +02:00
Calvin Cheung
0da443e7ae 8231097: [TESTBUG] runtime/cds/appcds/DirClasspathTest.java can fail with a mapping error
Check output for mapping failure and throw a SkippedException.

Reviewed-by: iklam, dholmes
2019-09-24 20:16:13 -07:00
Joe Darcy
dab1284a36 8231334: Suppress warnings on non-serializable instance fields in client libs serializable classes
Reviewed-by: prr
2019-09-24 18:25:54 -07:00
Milan Mimica
464c8b84eb 8228580: DnsClient TCP socket timeout
Reviewed-by: vtewari, chegar, prappo
2019-09-24 22:57:28 +01:00
Ioi Lam
c85075b31a 8231367: [TESTBUG] ParallelLoadTest.java fails with "test.dynamic.dump not supported"
Reviewed-by: ccheung
2019-09-24 10:36:35 -07:00
Dean Long
0812854427 8229201: Update Graal
Reviewed-by: kvn
2019-09-24 12:47:15 -04:00
Ekaterina Pavlova
8731e6339d 8231376: Unproblem list compiler/unsafe/Unsafe{Off,On}HeapBooleanTest.java tests
Reviewed-by: iignatyev
2019-09-24 08:54:08 -07:00
Naoto Sato
5fba45641e 8230531: API Doc for CharsetEncoder.maxBytesPerChar() should be clearer about BOMs
Reviewed-by: martin, alanb
2019-09-24 08:55:13 -07:00
Jia Huang
8bc0885215 8231351: Add notes for PKCS11 tests in the test doc
Reviewed-by: erikj, jjiang
2019-09-24 11:39:47 +08:00
Michael McMahon
aa5329e0d3 8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Per Lidén
f740058c3d 8231270: ZGC: Remove ZAddressSpace* and ZAddressReserved*
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:19 +02:00
Per Lidén
68f811cd61 8231266: ZGC: Minor cleanups in ZCollectedHeap and ZHeap
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:18 +02:00
Per Lidén
07144b3299 8231251: ZGC: Fix ZHeap includes
Reviewed-by: stefank, eosterlund
2019-09-24 17:08:18 +02:00
Coleen Phillimore
e49e9292d3 8213150: Add verification for locking by VMThread
Extend verification for all locking not just VMOperations, and fix CLDG lock to not be taken by VM thread.

Reviewed-by: rehn, dholmes
2019-09-24 10:12:56 -04:00
Patrick Concannon
11d43732bc 8217825: Verify @AfterTest is used correctly in WebSocket tests
Remove @AfterTest tags; added in explicit closing of resources e.g. httpServer, webSocket, etc

Reviewed-by: dfuchs, prappo
2019-09-23 16:53:16 +01:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Erik Österlund
13d0bac294 8224820: ZGC: Support discontiguous heap reservations
Reviewed-by: pliden, stefank
2019-09-24 10:04:13 +00:00
Hannes Wallnöfer
8743f0b6d1 8231122: @index tag with newline causes tag search to fail
Reviewed-by: jjg
2019-09-24 11:49:48 +02:00
Prasanta Sadhukhan
3afd808de8 Merge 2019-09-23 13:08:20 +05:30
Ioi Lam
b18626ae7a 8231275: Remove null check in the beginning of SystemDictionary::load_shared_class()
Reviewed-by: ccheung, coleenp
2019-09-22 17:17:58 -07:00
Ioi Lam
9c92ecba04 8231125: Improve testing of parallel loading of shared classes by the boot class loader
Reviewed-by: ccheung, coleenp, dholmes
2019-09-22 17:16:35 -07:00
Daniel D. Daugherty
83f41d2736 8231323: ProblemList jdk/jfr/jcmd/TestJcmdConfigure.java
Reviewed-by: ysuenaga
2019-09-21 10:13:25 -04:00
John Jiang
0a0956bcda 8180837: SunPKCS11-NSS tests failing with CKR_ATTRIBUTE_READ_ONLY and CKR_MECHANISM_PARAM_INVALID
Reviewed-by: xuelei
2019-09-21 08:06:00 +08:00
Joe Wang
c77f6fdcb6 8231083: Clarify SAX documentation
Reviewed-by: lancea, alanb
2019-09-20 22:11:45 +00:00
Valerie Peng
46db25e188 8176837: SunPKCS11 provider needs to check more details on PKCS11 Mechanism
Disable mechanisms with partial support, e.g. can decrypt but cannot encrypt

Reviewed-by: xuelei
2019-09-20 21:33:24 +00:00
Leonid Mesnik
d564ab722a 8229853: Problemlist compiler/codecache/jmx/PoolsIndependenceTest.java
Reviewed-by: thartmann
2019-09-20 13:14:50 -07:00
Joe Darcy
f3208bfcd0 8199424: consider removing ObjectInputStream and ObjectOutputStream native methods
Reviewed-by: bpb, rriggs, redestad
2019-09-20 09:32:45 -07:00
Coleen Phillimore
b770e9a6b4 8225628: Remove unused Thread::muxAcquireW function
Reviewed-by: dcubed, hseigel
2019-09-20 10:23:40 -04:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Jia Huang
2fc6c6459d 8231242: G1CollectedHeap::print_regions_on() does not print description for "OA" and "CA" regions
Reviewed-by: tschatzl, jiangli
2019-09-20 11:33:30 +08:00
Jagjot Singh
6b80f1e7cd 8165828: [TEST_BUG] The reg case:javax/swing/plaf/metal/MetalIcons/MetalHiDPIIconsTest.java failed as No Metal Look and Feel
Reviewed-by: psadhukhan
2019-09-18 07:18:44 -07:00
Sergey Bylokhov
f3778ba355 8225372: accessibility errors in tables in java.desktop files
Reviewed-by: aivanov
2019-09-09 12:23:22 -07:00
Sergey Bylokhov
d05b24b3f4 8229896: Delete an unused code in the BufferedContext
Reviewed-by: prr, jdv
2019-09-13 17:35:12 -07:00
Sergey Bylokhov
0356d202b6 8225101: Crash at sun.awt.X11.XlibWrapper.XkbGetUpdatedMap when change keybord map
Reviewed-by: prr, pbansal
2019-09-12 22:20:35 -07:00
Pankaj Bansal
38c425df73 8225805: Java Access Bridge does not close the logger
Reviewed-by: dmarkov, jdv
2019-09-11 15:58:27 +05:30
Laurent Bourgès
027fdb2d3b 8230728: Thin stroked shapes are not rendered if affine transform has flip bit
Use abs(at.getDeterminant()) in userSpaceLineWidth() to ensure positive value

Reviewed-by: prr, jdv
2019-09-10 21:20:51 +02:00
Zhengyu Gu
7f3ef14d5b 8230765: Implement nmethod barrier for x86_32 platforms
Reviewed-by: rkennke, eosterlund
2019-09-09 11:43:16 -04:00
Zhengyu Gu
598ec40995 8233500: Shenandoah: Shenandoah load barrier should save registers before calling keep alive barrier on x86
Reviewed-by: rkennke
2019-11-26 14:33:56 -05:00
Ioi Lam
2a36577e68 8234539: ArchiveRelocationTest.java failed: Archive mapping should always succeed
Reviewed-by: ccheung
2019-11-22 17:45:48 -08:00
Christoph Göttschkes
c9cfa99719 8234535: Cross compilation fails due to missing CFLAGS for the BUILD_CC
Reviewed-by: erikj
2019-11-26 10:00:33 +01:00
Sandhya Viswanathan
73d9d8567d 8234610: MaxVectorSize set wrongly when UseAVX=3 is specified after JDK-8221092
Reviewed-by: kvn, vlivanov
2019-11-26 19:19:39 +03:00
Vladimir Ivanov
b7251c4eb4 Merge 2019-11-26 19:18:07 +03:00
Jatin Bhateja
a96089059a 8234394: C2: Dynamic register class support in ADLC
Reviewed-by: vlivanov, sviswanathan, thartmann, kvn
2019-11-26 16:09:25 +03:00
Jatin Bhateja
fb0b8f1d0c 8234387: C2: Better support of operands with multiple match rules in AD files
Reviewed-by: vlivanov, sviswanathan, thartmann, dlong
2019-11-26 16:09:23 +03:00
Vladimir Ivanov
b89d2fd169 8234403: C2: Enable CallSite.target updates in constructors
Reviewed-by: psandoz, kvn
2019-11-26 16:09:21 +03:00
Vladimir Ivanov
e515a609e9 8234401: ConstantCallSite may stuck in non-frozen state
Reviewed-by: psandoz
2019-11-26 16:09:17 +03:00
Sergey Bylokhov
17c2843ddb 8229515: [macos] access to window property of NSView on wrong thread
Reviewed-by: prr, dmarkov
2019-09-07 11:38:36 -07:00
Matthias Baesken
4db0f9cbbb 8230480: check malloc/calloc results in java.desktop
Reviewed-by: rriggs
2019-09-04 10:12:42 +02:00
Tejpal Rebari
603689f760 8194944: Regression automated test 'open/test/jdk/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java' fails
Reviewed-by: jdv, arapte
2019-09-04 22:18:48 +05:30
Prasanta Sadhukhan
4af2b012c3 Merge 2019-08-29 16:11:22 +05:30
Prasanta Sadhukhan
bcff4990ad Merge 2019-08-29 15:09:48 +05:30
Joe Darcy
9b0cfaf53e 8230074: Improve specification for {Math, StrictMath}.negateExact
Reviewed-by: bpb
2019-08-28 22:30:26 -07:00
Jesper Wilhelmsson
bc1c0aec0d Added tag jdk-14+12 for changeset 8570f22b9b6a 2019-08-29 02:54:50 +02:00
Phil Race
cfe9df2ae2 8229800: WindowsServerCore 1809 does not provide d2d1.dll library required by awt.dll
Reviewed-by: jdv, serb, aaivanov
2019-08-28 09:13:01 -07:00
Roland Westrelin
a63b541842 8230061: # assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node
Reviewed-by: thartmann, neliasso
2019-08-28 15:51:03 +02:00
Ramanand Patil
27353b0353 8231098: (tz) Upgrade time-zone data to tzdata2019c
Reviewed-by: martin, naoto
2019-09-24 10:16:00 +01:00
Aleksey Shipilev
23ae4b93c8 8231395: Backout JDK-8231249
Reviewed-by: tschatzl
2019-09-24 09:38:14 +02:00
David Holmes
23ec926327 8230395: Code checks for NULL value returned from NEW_C_HEAP_ARRAY which can not happen
Reviewed-by: lkorinth, hseigel, thartmann, dnsimon
2019-09-24 03:28:42 -04:00
Matthias Baesken
0e264cfe36 8231222: fix pkcs11 P11_DEBUG guarded native traces
Reviewed-by: clanger
2019-09-23 17:02:08 +02:00
Matthias Baesken
e2ebf7b822 8231171: remove remaining sun.java.launcher.pid references
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Robbin Ehn
bb56c020f4 8229778: TestJstatdDefaults.java failed due to "fatal error: LEAF method calling lock?"
Reviewed-by: dholmes, dcubed
2019-09-24 08:54:39 +02:00
Ioi Lam
35bfbfd600 8231278: Rename FileMapHeader::_read_only_tables_start to _serialized_data_start
Reviewed-by: ccheung
2019-09-23 19:55:26 -07:00
Ioi Lam
7c2de83027 8231257: Avoid calling FileMapInfo::write_region twice
Reviewed-by: ccheung
2019-09-23 19:54:37 -07:00
Brian Burkhalter
d6b7266547 8231254: (fs) Add test for macOS Catalina changes to protect system software
Reviewed-by: alanb
2019-09-23 13:59:41 -07:00
Erik Joelsson
340a1db025 8210794: Incorrect escaping of in native test libraries
Reviewed-by: tbell
2019-09-23 12:56:50 -07:00
Aleksey Shipilev
01755225a1 8231375: AArch64 build failure after JDK-8230505
Reviewed-by: dcubed
2019-09-23 21:46:44 +02:00
Lois Foltan
0c507f3180 8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Zhengyu Gu
c080a4a4d5 8231250: Shenandoah: Traversal GC should keep alive weak load from heap
Reviewed-by: rkennke
2019-09-23 14:39:11 -04:00
Erik Joelsson
7ae384b2ad 8206125: [windows] cannot pass relative path to --with-boot-jdk
Reviewed-by: tbell
2019-09-23 08:52:05 -07:00
Erik Joelsson
79192e3648 8150741: make <module> not equivalent to make <module-dependencies> <module>
Reviewed-by: mchung
2019-09-23 09:00:28 -07:00
Aleksey Shipilev
e965dca90e 8231249: Shenandoah: GC retries are too aggressive for tests that expect OOME
Reviewed-by: rkennke
2019-09-23 16:24:32 +02:00
Tobias Hartmann
6bc9833f65 8231058: VerifyOops crashes with assert(_offset >= 0) failed: offset for non comment?
Offset method should only be called for comments.

Reviewed-by: roland, dholmes
2019-09-23 14:30:31 +02:00
Zhengyu Gu
470168868f 8231293: Shenandoah: Traversal should not revive dead weak roots
Reviewed-by: shade
2019-09-23 07:45:12 -04:00
Christoph Langer
8551294077 8230857: Avoid reflection in sun.tools.common.ProcessHelper
Reviewed-by: sspitsyn, dholmes
2019-09-23 12:32:13 +02:00
Thomas Schatzl
f92526e6fd 8231189: Rename worker_i parameters to worker_id
Reviewed-by: kbarrett, sjohanss
2019-09-23 11:37:08 +02:00
Thomas Schatzl
03e769bd64 8159984: Remove call to ClassLoaderDataGraph::clear_claimed_marks during the initial mark pause
The CLDG is only iterated once during garbage collection, so we do not need to claim CLDs any more.

Reviewed-by: sjohanss, kbarrett
2019-09-23 11:37:02 +02:00
Thomas Schatzl
9ccc00d1dd 8231117: Remove G1EvacuationRootClosures::raw_strong_oops()
Reviewed-by: kbarrett, sjohanss
2019-09-23 11:36:53 +02:00
Jie Fu
72d8e98a9d 8230228: [TESTBUG] Several runtime/ErrorHandling tests may fail on some platforms
Reviewed-by: coleenp, stuefe, mseledtsov
2019-08-28 08:47:40 +08:00
Mikhailo Seledtsov
5b34d00fbc 8230115: Problemlist JFR TestNetworkUtilization test
Added test to the problem list

Reviewed-by: dcubed
2019-08-28 15:15:38 -07:00
Alex Menkov
3ac8462ead 8228554: Accessibility errors in jdwp-protocol.html
Reviewed-by: dholmes, sspitsyn
2019-08-28 13:34:15 -07:00
Joe Wang
7b6b6702e3 8230094: CCE in createXMLEventWriter(Result) over an arbitrary XMLStreamWriter
Reviewed-by: lancea
2019-08-28 19:02:51 +00:00
Evgeny Mandrikov
ac7b48d1ed 8215166: Remove unused G1PretouchAuxiliaryMemory option
Removed experimental option.

Reviewed-by: kbarrett
2019-08-28 14:37:45 -04:00
Kim Barrett
a34e8be4f3 8230126: delay_to_keep_mmu can delay shutdown
Wait on CGC_lock instead of sleeping to provide the delay.

Reviewed-by: sangheki, sjohanss
2019-08-28 14:06:37 -04:00
Daniel D. Daugherty
be0cd9908a 8230317: serviceability/sa/ClhsdbPrintStatics.java fails after 8230184
Reviewed-by: eosterlund
2019-08-28 12:53:37 -04:00
Daniel D. Daugherty
9b992ead1e 8230184: rename, whitespace, indent and comments changes in preparation for lock free Monitor lists
Reviewed-by: kbarrett, dholmes
2019-08-28 10:56:50 -04:00
Ioi Lam
a2c067f6e8 8230294: runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
Reviewed-by: lfoltan
2019-08-28 07:41:57 -07:00
Sergey Bylokhov
145c5111a6 8146238: [macosx] Java2D Queue Flusher crash on OSX after switching between user accounts
Reviewed-by: prr, avu
2019-08-27 04:43:01 -07:00
Nils Eliasson
336b64a259 8230091: Add verification of clean_catch_blocks
Reviewed-by: rbackman, kvn
2019-08-26 11:36:45 +02:00
Erik Österlund
855f16ef50 8229278: Improve hs_err location printing to assume less about GC internals
Reviewed-by: stefank, kbarrett
2019-08-28 11:19:09 +02:00
Per Lidén
2750569c00 8230096: ZGC: Remove unused ZObjectAllocator::_nworkers
Reviewed-by: stefank
2019-08-28 09:50:23 +02:00
Per Lidén
536122fed6 8230092: ZGC: Consolidate ZBackingFile, ZBackingPath and ZPhysicalMemoryBacking on Linux
Reviewed-by: stefank
2019-08-28 09:50:21 +02:00
Per Lidén
1a76c72367 8230090: ZGC: Introduce ZSyscall
Reviewed-by: stefank
2019-08-28 09:50:20 +02:00
Ioi Lam
87eefe2e00 8227370: Remove SharedPathsMiscInfo
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Ioi Lam
11ca73d744 8230168: Use ClasspathStream for FileMapInfo::create_path_array
Reviewed-by: lfoltan, fparain
2019-08-27 22:14:15 -07:00
Frank Yuan
f85fe3a3d6 8230010: Remove jdk8037819/BasicTest1.java
8230002: javax/xml/jaxp/unittest/transform/SecureProcessingTest.java runs zero test

Reviewed-by: joehw, vtewari
2019-08-28 11:00:55 +08:00
Ivan Gerasimov
3ed845784d 8226831: Use Objects.equals() when appropriate
Reviewed-by: rriggs, bpb
2019-08-27 14:44:21 -07:00
Claes Redestad
99bf89c581 8228507: Archive FDBigInteger
Reviewed-by: jiangli, bpb
2019-08-27 22:26:42 +02:00
Patricio Chilano Mateo
85dbabe345 8229844: Remove attempt_rebias parameter from revoke_and_rebias()
Removed attempt_rebias parameter and merged fast_enter() and slow_enter() into enter()

Reviewed-by: dholmes, rehn, coleenp, dcubed
2019-08-27 20:10:06 +00:00
Aleksey Shipilev
702199983a 8230118: 32-bit build failures after JDK-8227054
Reviewed-by: zgu, kbarrett
2019-08-27 19:22:58 +02:00
Erik Österlund
858b1c1853 8219708: Stop flushing OSR nmethods earlier in the sweeper
Reviewed-by: neliasso, thartmann
2019-08-27 16:35:50 +02:00
Kim Barrett
b0632088a8 8230192: Rename G1RedirtyCardsBufferList to G1BufferNodeList
Rename class and move to new files.

Reviewed-by: sjohanss, lkorinth
2019-08-27 11:05:17 -04:00
Aleksey Shipilev
b76a9b8f11 8230215: MacOS debug build is broken after JDK-8230003
Reviewed-by: zgu, mdoerr
2019-08-27 17:02:38 +02:00
Jaikiran Pai
f8e6dcdd09 8230220: java/net/HttpURLConnection/HttpURLProxySelectionTest.java fails intermittently
Fix the test to use volatile on members which are accessed across threads

Reviewed-by: dfuchs
2019-08-27 16:17:40 +05:30
Aleksey Shipilev
72eeb749f5 8230214: AArch64 build failures after JDK-8229836 (Remove include of globals.hpp from allocation.hpp)
Reviewed-by: dholmes
2019-08-27 11:15:00 +02:00
Prasanta Sadhukhan
672ec6f12a Merge 2019-08-26 11:20:26 +05:30
Coleen Phillimore
05322fdd98 8230116: Test workaround to Klass::_class_loader_data sometimes NULL problem
This is a low frequency problem that we are seeing internally, this patch is mostly to rule out one theory.

Reviewed-by: dcubed
2019-08-23 23:27:19 +00:00
Andrew Luo
4ab1119494 8230104: JNU_IsInstanceOfByName needs const parameter
Reviewed-by: alanb, rriggs
2019-08-23 15:24:26 -04:00
Julia Boes
ce3face998 8229485: Add decrementExact(), incrementExact(), and negateExact() to java.lang.StrictMath
Three methods are added to StrictMath for consistency with Math. Tests are updated accordingly.

Reviewed-by: bpb, lancea, igerasim, dfuchs, joehw, rriggs
2019-08-23 19:55:08 +01:00
Philippe Marschall
ed17c3aafb 8230058: Replace exception from sun.rmi.runtime.Log#getSource() with StackWalker
Reviewed-by: mchung, rriggs
2019-08-23 14:04:38 -04:00
Ioi Lam
e98ba531a2 8230011: Consolidate duplicated classpath parsing code in classLoader.cpp
Reviewed-by: ccheung, fparain
2019-08-23 10:39:34 -07:00
Joe Wang
94e2e909a9 8229388: ErrorHandler and ContentHandler contain ambiguous/unfinished specification
Reviewed-by: lancea
2019-08-23 17:57:18 +00:00
Julia Boes
3ba89c3e98 8229337: java.lang.Math class doc should be adjusted regarding -Exact methods
Reviewed-by: rriggs, bpb
2019-08-23 18:40:59 +01:00
Dmitry Markov
1ea81a7cda 8225505: ctrl-F1 does not show the tooltip of a menu item (JMenuItems)
Reviewed-by: psadhukhan, serb
2019-08-23 14:25:20 +01:00
Adam Farley
ed45bde1a7 8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN

Reviewed-by: dholmes, coleenp, sspitsyn
2019-08-23 03:06:24 -07:00
Nils Eliasson
6e3a246c9a 8229970: ZGC: C2: fixup_uses_in_catch may fail when expanding many uses
Reviewed-by: kvn, thartmann
2019-08-23 10:11:18 +02:00
Nils Eliasson
67738a72bd 8228839: Non-CFG nodes have control edges to calls, instead of the call's control projection
Reviewed-by: kvn, thartmann
2019-08-23 10:11:00 +02:00
Per Lidén
1801dd06b0 8229127: Make some methods in the allocation path non-virtual
Reviewed-by: eosterlund
2019-08-23 08:48:27 +02:00
Per Lidén
3460bce1c2 8229451: ZGC: Make some roots invisible to the heap iterator
Reviewed-by: eosterlund
2019-08-23 08:48:23 +02:00
Per Lidén
403475d019 8227226: ZGC: Segmented array clearing
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Ryan Sciampacone <sci@amazon.com>
Reviewed-by: eosterlund
2019-08-23 08:48:18 +02:00
Jamil Nimeh
d096e033d0 8225436: Stapled OCSPResponses should be added to PKIXRevocationChecker irrespective of revocationEnabled flag
Reviewed-by: mullan
2019-08-22 14:09:36 -07:00
Aleksey Shipilev
c5813a88e6 8230046: Build failure after JDK-8230003
Reviewed-by: zgu, coleenp
2019-08-22 20:22:29 +02:00
Patrick Concannon
a9f92bec7f 8078219: Verify lack of @test tag in files in java/net test directory
Reviewed-by: alanb
2019-08-22 18:54:56 +01:00
Leonid Mesnik
7d0d71db03 Merge 2019-08-22 10:41:07 -07:00
Leonid Mesnik
186dcb2f42 8229957: Harden pid verification in attach mechanism
Reviewed-by: sspitsyn, ysuenaga, sgehwolf
2019-08-22 10:40:34 -07:00
Mikhailo Seledtsov
18c00e8670 8226779: [TESTBUG] Test JFR API from Java agent
Created new tests for JFR plus Java Agent

Reviewed-by: egahlin
2019-08-22 10:35:31 -07:00
Lance Andersen
0603bec5ce 8229887: (zipfs) zip file corruption when replacing an existing STORED entry
Reviewed-by: alanb, redestad, dfuchs
2019-08-22 10:43:25 -04:00
Coleen Phillimore
5d0682463b Merge 2019-08-22 09:53:19 -04:00
Martin Doerr
cf05d75980 8229925: [s390, PPC64] Exception check missing in interpreter
Reviewed-by: dholmes, rrich
2019-08-22 15:52:03 +02:00
Coleen Phillimore
da18495f38 8230003: Make Monitor inherit from Mutex
Reverse inheritance that makes more sense.

Reviewed-by: dholmes, rehn, pchilanomate
2019-08-22 09:51:36 -04:00
Michael McMahon
e3b6b7f842 8199849: Add support for UTF-8 encoded credentials in HTTP Basic Authentication
Reviewed-by: chegar, dfuchs
2019-08-22 14:36:10 +01:00
Aleksey Shipilev
f2e17b7658 8229998: Build failure after JDK-8227054
Reviewed-by: rkennke, zgu
2019-08-22 13:47:14 +02:00
Aleksey Shipilev
7534985c92 8230024: Shenandoah: remove unnecessary ShenandoahTimingConverter
Reviewed-by: rkennke, zgu
2019-08-22 13:47:13 +02:00
Robbin Ehn
682c25b9fd 8229967: Enable thread local handshakes on zero
Reviewed-by: sgehwolf, shade
2019-08-22 12:46:20 +02:00
Tobias Hartmann
7cff981f5a 8224624: Inefficiencies in CodeStrings::add_comment cause timeouts
Changing CodeStrings to a doubly-linked-list and searching for the comment with the right offset in reverse.

Reviewed-by: kvn
2019-08-22 12:24:02 +02:00
Tobias Hartmann
0941bf8b5e 8230020: [BACKOUT] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Back out JDK-8225670 due to performance regressions.

Reviewed-by: roland
2019-08-22 12:22:02 +02:00
Nick Gasson
84686488e8 8229912: [TESTBUG] java/net/Socks/SocksIPv6Test fails without IPv6
Reviewed-by: alanb, dfuchs
2019-08-22 10:53:48 +08:00
Vladimir Kozlov
a405118f90 8229848: [Graal] missing Graal intrinsics for Electronic Code Book (ECB) encryption
New intrinsics were added to Graal test

Reviewed-by: dlong
2019-08-21 18:03:50 -07:00
Jesper Wilhelmsson
c3ef5233a6 Added tag jdk-14+11 for changeset bf4c808a4488 2019-08-22 02:05:06 +02:00
Kim Barrett
1e1d9319dc 8189633: Missing -Xcheck:jni checking for DeleteWeakGlobalRef
Added validity check on the handle before deleting it.

Reviewed-by: dholmes, dcubed
2019-08-21 19:21:57 -04:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Roger Riggs
de8d01d4d3 8207814: (proxy) upgrade the proxy class generator
Reviewed-by: mchung
2019-08-21 16:19:17 -04:00
Ivan Gerasimov
5c25e2a6fb 8211360: Change #if DEF to #if defined(DEF)
Reviewed-by: bpb, vtewari
2019-08-21 13:49:16 -07:00
Alex Menkov
5c3896ce21 8228547: accessibility errors in jvmti.html
Reviewed-by: jcbeyler, sspitsyn, dholmes
2019-08-21 12:34:37 -07:00
Roman Kennke
864380ada9 8229977: Shenandoah: save/restore FPU state aroud LRB runtime call
Reviewed-by: shade
2019-08-21 18:05:31 +02:00
Harold Seigel
9ccb4dc212 8229930: internal_name() in annotations.hpp returns "{constant pool}"
Fix typo and change text to "{annotations}"

Reviewed-by: mdoerr, dcubed
2019-08-21 11:29:40 -04:00
Boris Ulasevich
9e633ae065 8229254: solaris_x64 build fails after JDK-8191278
Reviewed-by: kbarrett, dholmes
2019-08-21 17:09:05 +03:00
Athijegannathan Sundararajan
0b625536e6 8220700: jlink generated launcher script needs quoting to avoid parameter expansion
Reviewed-by: mchung, alanb, sgehwolf
2019-08-21 17:38:19 +05:30
Evgeny Mandrikov
444e784ce1 8139820: URLClassPath.FileLoader constructor redundantly checks protocol
Reviewed-by: chegar, redestad
2019-08-21 00:08:35 +02:00
Leonid Mesnik
f83ac54e23 8229854: Move runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java out of tier1_runtime
Reviewed-by: dholmes
2019-08-20 11:36:47 -07:00
Roman Kennke
b08e417b06 8229921: Shenandoah: Make Traversal mode non-experimental
Reviewed-by: shade
2019-08-20 18:39:09 +02:00
Arthur Eubanks
916c2e3cf3 8229899: Make java.io.File.isInvalid() less racy
Reviewed-by: alanb, martin, shade
2019-08-19 16:08:28 -07:00
Patrick Concannon
c99c1f8d55 8229916: Delete redundant test java/net/Socket/reset/Test.java
Remove java/net/Socket/reset/Test.java which misses an @test tag and is obsoleted by java/net/Socket/ConnectionReset.java

Reviewed-by: alanb
2019-08-20 15:40:49 +01:00
Evgeny Mandrikov
a6d6619fbb 8152467: remove uses of anachronistic array declarations for method return type
Reviewed-by: shade, alanb
2019-08-20 15:54:46 +02:00
Semyon Sadetsky
07e2ea8e44 8226513: JEditorPane is shown with incorrect size
Reviewed-by: prr, psadhukhan
2019-08-19 12:13:47 +05:30
Alexey Ivanov
11feeaa533 8222108: Reduce minRefreshTime for updating remote printer list on Windows
Reviewed-by: prr, serb
2019-08-18 21:36:01 +01:00
Matthias Baesken
313cb3ce76 8229706: java/net/MulticastSocket/NoLoopbackPackets.java fails on some AIX machines
Reviewed-by: chegar, clanger
2019-08-14 15:07:04 +02:00
Wang Xue
103cd91d42 8230079: Update test document by changing "TIMEOUT" to "TIMEOUT_FACTOR"
Reviewed-by: erikj
2019-08-26 07:14:15 -07:00
Julia Boes
fb3b0ab1fb 8230000: some httpclients testng tests run zero test
Two tests needed to declared their test methods public, the last one was a simple abstract framework for subclasses and needed its @test keyword removed.

Reviewed-by: chegar, aefimov, dfuchs
2019-08-26 14:48:12 +01:00
Jaikiran Pai
1d67d474a5 8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +01:00
Michael McMahon
ec24017b02 8222363: Update ServerSocket.isBound spec to reflect implementation after close
Reviewed-by: dfuchs
2019-08-26 11:46:54 +01:00
Stefan Karlsson
04ef527ede 8224878: Use JVMFlag parameters instead of name strings
Reviewed-by: gziemski, dholmes, jrose
2019-08-26 09:15:43 +02:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Laurent Bourgès
383e7dfb30 8228711: Path rendered incorrectly when it goes outside the clipping region
Fixed closePath() to preserve last position and its outcode in Stroker and TransformingPathConsumer2D.PathClipFilter

Reviewed-by: prr, kcr
2019-08-07 10:25:50 +02:00
Hannes Wallnöfer
139f72ec90 8226765: Commentary on Javadoc comments
Reviewed-by: jjg, rhalade, skoivu
2019-08-06 20:39:48 +02:00
Abdul Kolarkunnu
c4b6dfbad1 8221312: test/jdk/sanity/client/SwingSet/src/ColorChooserDemoTest.java failed
Reviewed-by: serb, psadhukhan
2019-08-06 00:16:38 -07:00
Prasanta Sadhukhan
8cecc798a3 Merge 2019-07-25 12:23:54 +05:30
Prasanta Sadhukhan
26c0fbda93 Merge 2019-07-25 12:20:04 +05:30
Christian Hagedorn
ce70e6c481 8071275: remove AbstractAssembler::update_delayed_values dead code
Removed dead code.

Reviewed-by: thartmann, mdoerr
2019-07-25 08:04:33 +02:00
Prasanta Sadhukhan
93f105e32a Merge 2019-07-25 11:31:07 +05:30
Mikael Vidstedt
74c3432b28 Added tag jdk-14+7 for changeset 28ab01c06755 2019-07-24 17:08:14 -07:00
Mandy Chung
068575e9b1 8173978: Lookup.in should allow teleporting from a lookup class in a named module without dropping all access
Reviewed-by: alanb, plevart
2019-07-24 16:46:42 -07:00
Coleen Phillimore
221da20713 8228485: JVM crashes when bootstrap method for condy triggers loading of class whose static initializer throws exception
Add case for JVM_CONSTANT_Dynamic in error_message function.

Reviewed-by: dholmes, shade
2019-07-24 10:22:11 -04:00
Zhengyu Gu
f2e1bfa38a 8227927: Move ParallelCleaningTask back to G1
Reviewed-by: tschatzl, kbarrett
2019-07-24 08:34:06 -04:00
Patrick Concannon
00395fe0d0 8227721: test/jdk/java/net/NetworkInterface/NetworkInterfaceRetrievalTests.java should open the java.net package
Reviewed-by: chegar, bpb, alanb
2019-07-24 13:08:36 +01:00
Thomas Schatzl
5e48c76e81 8228388: Add information about dirty/skipped card for Merge HCC in G1 log
Collect and print informatio about the number of processed cards during the Merge HCC phase to improve log output.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
b3c21d9a9b 8227719: G1 Pending cards estimation too conservative in cost prediction
Instead of using a coarse prediction for the log buffers, accumulate the actual number directly.

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Thomas Schatzl
550408d240 8226913: Scale cards per chunk used during heap root scanning with region size
Scale cards per chunk based on heap size to decrease constant overhead with heap root scanning data structure initialization

Reviewed-by: kbarrett, sangheki
2019-07-24 11:49:39 +02:00
Prasanta Sadhukhan
c322806a5f Merge 2019-07-24 12:49:44 +05:30
Prasanta Sadhukhan
a1dfe588e7 Merge 2019-07-24 12:21:36 +05:30
Abdul Kolarkunnu
63bc445628 8228479: Correct the format of ColorChooserDemoTest
Reviewed-by: serb, psadhukhan
2019-07-23 22:21:16 -07:00
Mandy Chung
203db2596f 8219774: Reexamine the initialization of LangReflectAccess shared secret at AccessibleObject::<clinit>
Reviewed-by: alanb
2019-07-23 20:03:03 -07:00
Mikhailo Seledtsov
94c38c4cc1 8227122: [TESTBUG] Create Docker sidecar test cases
Created test cases for container sidecar pattern

Reviewed-by: bobv, sgehwolf
2019-07-23 11:36:05 -07:00
Coleen Phillimore
d9c3c6f9bf 8228484: Remove NoAllocVerifier because nothing uses it
Reviewed-by: hseigel, kbarrett
2019-07-23 13:56:41 -04:00
Prasanta Sadhukhan
33bc0e3c6f Merge 2019-07-22 11:08:27 +05:30
Kim Barrett
4b3c528140 8162929: Enqueuing dirty cards into a single DCQS during GC does not scale
Refactor into G1RedirtyCardsQueue[Set] and G1DirtyCardQueueSet

Reviewed-by: tschatzl, sangheki
2019-07-19 16:47:11 -04:00
Antonios Printezis
c0f6ce7c54 8227179: Test for new gc+metaspace=info output format
Reviewed-by: tschatzl, kbarrett
2019-07-19 12:39:31 -04:00
Claes Redestad
1d8c827e12 8228394: Cleanup unused java.net SharedSecrets classes
Reviewed-by: alanb, chegar
2019-07-19 15:36:23 +02:00
Vladimir Ivanov
242bd67c6c 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr, dpochepk
2019-07-19 16:25:04 +03:00
Anthony Scarpino
81db7083a7 8228396: Re-enable Stateless Resumption On by default for merge to mainline
Reviewed-by: jnimeh
2019-07-18 13:58:34 -07:00
Mikael Vidstedt
f73a94a772 Merge 2019-07-23 11:17:59 -07:00
Jonathan Gibbons
6e90474edf 8228492: Remove pako.md
Reviewed-by: mchung
2019-07-22 15:54:25 -07:00
Anthony Scarpino
199f179340 8228399: Remove mistaken open.iml
Reviewed-by: xuelei
2019-07-22 10:39:10 -07:00
Naoto Sato
8fc55ee1f5 8228450: unicode.md and icu.md text should be pre-formatted
Reviewed-by: rriggs
2019-07-22 08:07:15 -07:00
Matthias Baesken
9bba8fb124 8228426: xlc: switch to clang-style warning disabling
Reviewed-by: clanger, mdoerr
2019-07-19 11:09:41 +02:00
Matthias Baesken
2953d87fad 8228468: awt_Robot.c : format string contains 0 within the string body
Reviewed-by: serb
2019-07-22 10:15:46 +02:00
David Holmes
3e9d9e5e2e 8225782: Remove expired flags in JDK 14
Reviewed-by: hseigel
2019-07-23 00:29:31 -04:00
Andrey Turbanov
43c54e9c7f 6573239: Typo in jfc text file
Reviewed-by: serb
2019-07-16 17:00:00 -07:00
Roland Westrelin
2f2ec624a2 8227384: C2 compilation fails with "graph should be schedulable" when running with -XX:-EliminateLocks
Reviewed-by: thartmann, kvn
2019-07-16 08:56:08 +02:00
Claes Redestad
c127592320 8231471: Obsolete -XX:CompilationPolicyChoice
Reviewed-by: kvn, dholmes, thartmann
2019-09-27 12:46:14 +02:00
Roland Westrelin
e4314c158d 8231405: [Shenandoah] guarantee(d != NULL) failed: Null dominator info
Reviewed-by: shade, rkennke
2019-09-26 17:49:44 +02:00
Chris Hegarty
0b881387f2 8231504: Update networking tests to avoid implicit dependency on the system proxies
Reviewed-by: dfuchs
2019-09-27 09:55:35 +01:00
Chris Plummer
6212eb36c3 8228625: [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
Give jshell process time to fully startup and stablize before requesting heap dump

Reviewed-by: sspitsyn, amenkov
2019-09-26 14:41:09 -07:00
Joe Darcy
b03fbff866 8231546: Suppress warnings on non-serializable instance fields in java.prefs module
Reviewed-by: rriggs
2019-09-26 12:13:57 -07:00
Roger Riggs
725031769f 8231314: java.time serialization warning cleanup
Reviewed-by: chegar, naoto, plevart
2019-09-26 11:10:19 -04:00
Erik Joelsson
f8bb7b3a26 8231467: Missing make prerequisite declaration corrupts make dependency files on Windows
Reviewed-by: ihse, tbell
2019-09-26 07:20:51 -07:00
Coleen Phillimore
6e1aa9065c 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata
Dont create nmethod if classes have been redefined since compilation start.

Reviewed-by: sspitsyn, dlong, eosterlund, gdub
2019-09-26 09:22:49 -04:00
Matthias Baesken
848614a01c 8231448: s390 and ppc - replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Reviewed-by: coleenp, lfoltan
2019-09-26 14:04:25 +02:00
Per Lidén
cf5af650de 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails
Reviewed-by: shade, dholmes
2019-09-26 13:56:58 +02:00
Patric Hedlin
8275b17b07 8229499: Node budget assert in fuzzed test
Reviewed-by: thartmann, neliasso
2019-09-12 11:44:51 +02:00
Erik Österlund
c1865c4ad3 8219724: ZGC: Make inline cache cleaning more robust
Reviewed-by: pliden
2019-09-26 10:00:07 +00:00
Matthias Baesken
7a052c979c 8231445: check ZALLOC return values in awt coding
Reviewed-by: clanger, prr
2019-09-25 09:15:43 +02:00
Tobias Hartmann
a03e92201d 8231223: C2's conditional move optimization fails with assert(bol->Opcode() == Op_Bool) failed
Bail out if the range check If has an Opaque4Node input instead of a BoolNode.

Reviewed-by: roland, kvn
2019-09-26 09:16:08 +02:00
Joe Darcy
fa2176c3c4 8231414: Mark various instance fields of javac internal types as transient
Reviewed-by: jjg
2019-09-25 21:26:38 -07:00
Jesper Wilhelmsson
eb45b79244 Added tag jdk-14+16 for changeset d29f0181ba42 2019-09-26 04:20:19 +02:00
Paul Hohensee
1bce27d402 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-25 15:22:33 -07:00
Brent Christian
916bbc23b7 8221623: Add StackWalker micro benchmarks to jdk repo
Reviewed-by: dfuchs, mchung, redestad
2019-09-25 14:33:44 -07:00
Joe Darcy
a36b2af52b 8231443: Add java.io.Serial to list of platform annotations for annotation processing
Reviewed-by: jjg
2019-09-25 13:37:42 -07:00
Brian Burkhalter
12178ec008 8231174: (fs) FileTime should have 100ns resolution (win)
Reviewed-by: alanb
2019-09-25 11:44:52 -07:00
Daniil Titov
6ccf3351d7 8185005: Improve performance of ThreadMXBean.getThreadInfo(long ids[], int maxDepth)
Reviewed-by: sspitsyn, dholmes, dcubed, rehn
2019-09-25 11:10:05 -07:00
Aleksey Shipilev
c49aa4ffa5 8231410: Shenandoah: clone barrier should use base pointer
Reviewed-by: rkennke
2019-09-25 12:21:10 +02:00
Joe Darcy
37465fba75 8231442: Suppress warnings on non-serializable instance fields in java.sql.* modules
Reviewed-by: lancea
2019-09-25 09:37:18 -07:00
Tianmin Shi
2b56811616 8231387: java.security.Provider.getService returns random result due to race condition with mutating methods in the same class
Synchronize access to legacyMap in Provider.getService.

Reviewed-by: valeriep
2019-09-25 08:29:03 -07:00
Arno Zeller
3fab0b8407 8230110: TestLinkageErrorInGenerateOopMap times out
Reviewed-by: stuefe, clanger, thartmann
2019-09-24 14:46:38 +02:00
Chihiro Ito
2260d0c6a3 8231317: jdk/jfr/jcmd/TestJcmdConfigure.java fails with "java.lang.RuntimeException: assertTrue: expected true, was false"
Reviewed-by: ysuenaga, dcubed
2019-09-25 20:32:56 +09:00
Roman Kennke
b8715b4004 8231447: Shenandoah: Compilation-time regression after JDK-8231086
Reviewed-by: shade
2019-09-25 12:33:05 +02:00
Roland Westrelin
e2803ed999 8231055: C2: arraycopy with same non escaping src and dest but different positions causes wrong execution
Reviewed-by: thartmann, vlivanov
2019-09-17 15:58:54 +02:00
Weijun Wang
12c278c3e3 8228659: Record which Java methods are called by native codes in JGSS and JAAS
Reviewed-by: mullan
2019-09-25 17:54:21 +08:00
Thejasvi Voniadka
1f325a0f20 8154520: java.time: appendLocalizedOffset() should return the localized "GMT" string
Changes to produce/consume the locale-specific equivalent corresponding to the english string "GMT".

Reviewed-by: naoto, rriggs
2019-07-11 03:28:43 +05:30
Jonathan Gibbons
2cd3eb0d40 8222791: Order of evaluation of -link params in Javadoc tool reversed -> regression with split packages
Reviewed-by: hannesw
2019-07-22 16:10:25 -07:00
Zhengyu Gu
3f470a2466 8227866: Shenandoah: Split weak root processing and class unloading in parallel cleaning task
Reviewed-by: rkennke
2019-07-13 12:15:17 -04:00
Alex Menkov
97af5fecb2 8227693: HTML error in jdwp-protocol.html
Reviewed-by: dcubed, sspitsyn
2019-07-22 10:26:21 -07:00
Ralf Schmelter
678b5df6c7 8227868: jinfo and jstack can fail converting UTF8 output to strings
Reviewed-by: sgehwolf, dholmes, cjplummer
2019-07-22 14:40:00 +02:00
Severin Gehwolf
5732fe95a6 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Move container constant to separate test lib class

Reviewed-by: alanb
2019-07-22 10:48:14 +02:00
Jan Lahoda
03270bb92a 8227923: End position of EndElementTree is -1
Fixing end positions for DocTrees EndElementTree, EntityTree and CommentTree.

Reviewed-by: jjg
2019-07-22 12:21:18 +02:00
Jie Fu
8d62f19e8d 8225648: [TESTBUG] java/lang/annotation/loaderLeak/Main.java fails with -Xcomp
Reviewed-by: alanb, iklam
2019-07-22 14:31:04 +08:00
Matthias Baesken
e576eaa483 8227869: fix wrong format specifiers in os_aix.cpp
Reviewed-by: dholmes, mdoerr, clanger
2019-07-17 15:40:27 +02:00
Matthias Baesken
a573f6a6b5 8227737: avoid implicit-function-declaration on AIX
Reviewed-by: clanger, goetz
2019-07-16 16:01:10 +02:00
Matthias Baesken
e57e8f4db2 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Daniil Titov
3c6c2d8ca2 8221303: sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails due to java.rmi.server.ExportException: Port already in use
Reviewed-by: cjplummer, amenkov, sgehwolf
2019-07-18 12:29:57 -07:00
Igor Ignatyev
b97433e763 8226910: make it possible to use jtreg's -match via run-test framework
Reviewed-by: dholmes, mseledtsov
2019-07-18 11:47:52 -07:00
Kim Barrett
4d471e7845 8228340: JVMCI deleteGlobalHandle doesn't delete the handle
Add missing call to OopStorage::release() when deleting global handles in JVMCI to prevent handles leak.

Reviewed-by: kvn, dlong
2019-07-18 09:15:26 -07:00
Christoph Langer
0ce0ff51c4 8227441: Enhance logging when reading the fontconfig info file
Co-authored-by: Matthias Baesken <matthias.baesken@sap.com>
Reviewed-by: prr, mbaesken
2019-07-09 15:58:22 +02:00
Severin Gehwolf
96d9d06cc9 8227397: Add --with-extra-asflags configure option
Reviewed-by: phh
2019-07-08 17:44:34 +02:00
Matthias Baesken
9fb552745f 8228420: compile error in shenandoahSupport.cpp with clang 9
Reviewed-by: shade
2019-07-19 12:35:33 +02:00
Severin Gehwolf
da0f6da7e8 8227642: [TESTBUG] Make docker tests podman compatible
Reviewed-by: mseledtsov, iignatyev
2019-07-12 19:37:25 +02:00
Martin Doerr
d2611c4e2c 8227692: Remove develop feature PrintMallocStatistics
Reviewed-by: coleenp, dcubed
2019-07-19 10:18:48 +02:00
Matthias Baesken
781b790f18 8228368: avoid incompatible pointer to integer conversion initializing gint in gtk2_interface
Reviewed-by: prr
2019-07-18 14:01:54 +02:00
Matthias Baesken
39b7b5bbf9 8227633: avoid comparing this pointers to NULL
Reviewed-by: coleenp, mdoerr
2019-07-16 14:42:36 +02:00
Joe Wang
a91f9c4c7e 8157830: Errors in XSLT stylesheet are not dispatched correctly to ErrorListener
Reviewed-by: lancea
2019-07-19 02:40:59 +00:00
Brian Burkhalter
ba9c952f87 8228392: Backout incorrect change done by JDK-8067801
Reviewed-by: lancea
2019-07-18 17:10:33 -07:00
Kim Barrett
e396e38bb3 8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage.

Reviewed-by: tschatzl, lfoltan, kvn
2019-07-18 14:57:32 -04:00
Zhengyu Gu
1a115f9763 8227755: Need more than 2 distinct CodeCache unloading cycles
Reviewed-by: eosterlund, rkennke
2019-07-17 08:33:38 -04:00
Kim Barrett
7b176df9c9 8227652: SetupOperatorNewDeleteCheck should discuss deleting destructors
Add comment describing deleting destructors

Reviewed-by: dholmes
2019-07-18 11:54:54 -04:00
Brian Burkhalter
9b23ca4eb4 8228338: tools/pack200/TimeStamp.java fails with NullPointerException
Reviewed-by: lancea
2019-07-18 07:54:21 -07:00
Yasumasa Suenaga
fc0b8141d3 8227815: Minimal VM: set_state is not a member of AttachListener
Reviewed-by: cjplummer
2019-07-18 21:25:41 +09:00
Roman Kennke
6a746de90e 8228364: Shenandoah: Remove unused code from ShenandoahBarrierSetC1
Reviewed-by: shade
2019-07-18 13:16:10 +02:00
Coleen Phillimore
d35c1540e6 8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it.

Reviewed-by: lfoltan, eosterlund
2019-07-18 07:06:33 -04:00
Ralf Schmelter
d97475df72 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by: sspitsyn, clanger, dholmes
2019-07-18 10:25:49 +02:00
Matthias Baesken
27b4d31b65 8227834: build.log output from failing commands : include the hs_error file path in case of crashes in build
Reviewed-by: tbell
2019-07-17 09:58:42 +02:00
Matthias Baesken
c3bd80322e 8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Brian Burkhalter
ba761b4cbd 8073213: javadoc of PushbackInputStream methods should specify NullPointerExceptions
Reviewed-by: lancea, darcy
2019-07-17 15:12:47 -07:00
Brian Burkhalter
2c59ffda98 8228204: Fix for JDK-8067801 breaks java/io/NegativeInitSize.java
Reviewed-by: lancea
2019-07-17 15:12:30 -07:00
Brian Burkhalter
a7016e3b5d 8067801: Enforce null check for underlying I/O streams
Reviewed-by: lancea
2019-07-17 14:24:37 -07:00
Brian Burkhalter
60530bae7c 8131664: Javadoc for PrintStream is now incorrect
Reviewed-by: lancea, darcy
2019-07-17 14:24:24 -07:00
Mikael Vidstedt
0e81c8e54d Added tag jdk-14+6 for changeset 443f7359b34d 2019-07-17 13:41:38 -07:00
Daniil Titov
1ea3869a92 8206179: com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value
Reviewed-by: sspitsyn, cjplummer
2019-07-17 11:23:51 -07:00
Thomas Schatzl
1ddf09fb12 8227090: G1 does not account the OptMergeRS in cost per card calculation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
b4d014896a 8227089: Add timing information for merging humongous remembered sets
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
ffe79a37c3 8227084: Add timing information for merge heap root preparation
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Thomas Schatzl
5a0525a560 8227671: G1: assert_used_and_recalculate_used_equal performs work in product builds
Reviewed-by: kbarrett, sangheki
2019-07-17 16:33:19 +02:00
Thomas Schatzl
bb7bf64fd7 8226232: Move merge heap roots code out from G1RemSetScanState
Reviewed-by: sangheki, kbarrett
2019-07-17 16:33:19 +02:00
Yasumasa Suenaga
20053ae242 8227738: jvmti/DataDumpRequest/datadumpreq001 failed due to "exit code is 134"
Reviewed-by: sspitsyn, cjplummer
2019-07-17 23:22:48 +09:00
Zhengyu Gu
cb37e2f821 8227635: Shenandoah: SHBSA::load_at() needs to deal IN_NATIVE load
Reviewed-by: rkennke, roland
2019-07-13 12:14:24 -04:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Claes Redestad
78a1c8ea0a 8227587: Add internal privileged System.loadLibrary
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Roman Kennke
ec7f1c13d9 8227677: Shenandoah: C2: Make in-native LRB special case of normal LRB
Reviewed-by: roland
2019-07-17 11:43:38 +02:00
Henry Jen
f860f94696 Merge 2019-07-17 00:21:02 +00:00
Anton Litvinov
cf5433ff56 8227392: Colors with alpha are painted incorrectly on Linux, after JDK-8214579
8224825: java/awt/Color/AlphaColorTest.java fails in linux-x64 system

Reviewed-by: prr
2019-07-16 15:15:45 +01:00
Matthias Baesken
5224520e9f 8227631: Adjust AIX version check
Reviewed-by: clanger, goetz
2019-07-16 11:10:38 +02:00
Xiaohong Gong
2c6a826899 8227615: [TESTBUG] JTReg "jdk/sun/security/util/FilePermCompat/CompatImpact.java" fails with graal
Reviewed-by: kvn
2019-07-17 10:11:05 +08:00
Jan Lahoda
c0d870559f 8227640: javac crashes on text blocks with invalid escapes
Do not translate escape sequences if text block contains illegal escapes.

Reviewed-by: jlaskey
2019-07-16 10:48:22 +02:00
Pengfei Li
a5388f21b7 8227512: [TESTBUG] Fix JTReg javac test failures with Graal
Reviewed-by: mcimadamore
2019-07-16 00:57:00 +00:00
Joe Wang
5dcfefbae0 8176447: javax.xml.validation.Validator validates incorrectly on uniqueness constraint
Reviewed-by: lancea
2019-07-16 21:12:14 +00:00
Claes Redestad
365d1188bf 8227720: Improve ExtendedSocketOptions initialization
Reviewed-by: chegar, vtewari
2019-07-16 17:50:54 +02:00
Boris Ulasevich
587ce2f4c1 8227632: Incorrect PrintCompilation message: made not compilable on levels 0 1 2 3 4
Fixing the message to print actual comp_level

Reviewed-by: dlong, kvn
2019-07-16 18:05:42 +03:00
Ralf Schmelter
b0adbe8fcf 8227440: Implement fix to JDK-8224642 on all platforms
Reviewed-by: sspitsyn, clanger
2019-07-16 13:57:13 +02:00
Sergey Bylokhov
768ef3cd20 8226653: [accessibility] Can edit text cell correctly, but Accessibility Tool reads nothing about editor
Reviewed-by: prr
2019-07-15 16:25:23 -07:00
Calvin Cheung
530176f933 8227496: Update NUM_CDS_REGIONS and CURRENT_CDS_ARCHIVE_VERSION in cds.h
Reviewed-by: jiangli
2019-07-15 09:53:23 -07:00
Xiaohong Gong
53635b436c 8227574: [TESTBUG] JTReg tests fail with Graal due to access denied
Reviewed-by: kvn
2019-07-15 03:14:28 +00:00
Peter Levart
49daf1dc19 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: smarks
2019-07-13 10:43:45 +00:00
Christoph Langer
f2141ffd9e 8227636: Fix output dir for jlink_jre target in Images.gmk
Reviewed-by: tbell
2019-07-12 21:38:46 +02:00
Matthias Baesken
74143d5ab8 8227630: adjust format specifiers in loadlib_aix.cpp
Reviewed-by: mdoerr, shade
2019-07-12 12:19:58 +02:00
Yasumasa Suenaga
2870c9d55e 8225690: Multiple AttachListener threads can be created
Reviewed-by: sspitsyn, cjplummer
2019-07-16 07:29:12 +09:00
Zhengyu Gu
5b05ea5a02 8225483: Shenandoah: Enhance native access barrier
Reviewed-by: rkennke
2019-07-15 11:23:05 -04:00
Daisy Zhou
116af970c8 8227289: Enable assertions for some shell to java conversion tests after JDK-8218960
Reviewed-by: naoto
2019-07-15 10:21:33 +08:00
Roman Kennke
159a99ee41 8227676: Shenandoah: More consistent naming of LRB entry points
Reviewed-by: shade
2019-07-15 15:27:06 +02:00
Roman Kennke
02a90281ec 8227637: Adjust Shenandoah C2 verifier to recognize IN_NATIVE barriers
Reviewed-by: roland
2019-07-15 12:31:35 +02:00
Frank Yuan
2169215b29 8227438: [TESTLIB] Determine if file exists by Files.exists in function FileUtils.deleteFileIfExistsWithRetry
Reviewed-by: lancea, joehw
2019-07-15 17:53:36 +08:00
Yasumasa Suenaga
81a59941af 8227594: sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"
Reviewed-by: cjplummer, sspitsyn
2019-07-13 20:55:25 +09:00
Jonathan Gibbons
a1bbcd7892 8227644: make more build-time variables available to Markdown files
Reviewed-by: mchung
2019-07-12 15:15:07 -07:00
Jamsheed Mohammed C M
da3672a299 8227068: [Graal] MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copyMemory access failures are handled gracefully.

Reviewed-by: dnsimon, kvn
2019-07-12 11:51:07 -07:00
Jonathan Gibbons
7821fee0db 8227613: "draft" header should be in a <header> instead of <div>
Reviewed-by: mchung, iris
2019-07-12 10:44:11 -07:00
Jiangli Zhou
24b025163b 8227582: runtime/TLS/testtls.sh fails on x86_32
Disable the negative test case for regular testing.

Reviewed-by: shade
2019-07-12 10:39:19 -07:00
Mikael Vidstedt
cfcd0223a9 Merge 2019-07-12 02:50:43 -07:00
Christoph Langer
cca67cab99 8227578: Wrong JRE targets in Images.gmk after JDK-8219971
Reviewed-by: tbell
2019-07-12 10:57:27 +02:00
Frank Yuan
0518393598 8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
Reviewed-by: dfuchs
2019-07-12 13:59:22 +08:00
Prasanta Sadhukhan
eb2ce06cc2 8225423: GTK L&F: JSplitPane: There is no divider shown
Reviewed-by: prr, serb
2019-07-12 09:27:00 +05:30
Valerie Peng
175faeeadf 8225745: NoSuchAlgorithmException exception for SHA256withECDSA with RSASSA-PSS support
Fixed SignatureUtil and ECDSA signature impl to handle EC parameters

Reviewed-by: weijun
2019-07-11 20:11:47 +00:00
Jonathan Gibbons
27c77d3d29 8227602: Update nroff version of man pages
Reviewed-by: mchung
2019-07-11 12:13:52 -07:00
Joe Wang
ea81ec7896 8178843: A bug in an inner loop in MethodGenerator's getLocals method
Reviewed-by: lancea
2019-07-11 15:58:54 +00:00
Hannes Wallnöfer
cd18508b2f 8227391: Update double-conversion to version 3.1.5
Reviewed-by: attila
2019-07-11 17:11:54 +02:00
Hannes Wallnöfer
61d10a507d 8223451: Make optimistic types disabled by default
Reviewed-by: sundar, jlaskey, attila
2019-07-11 16:43:15 +02:00
Claes Redestad
987fad27b7 8227527: LogDecorations should lazily resolve host name
Reviewed-by: gziemski, lfoltan, stuefe
2019-07-11 15:38:09 +02:00
Harold Seigel
5e24afc868 8226798: JVM crash in klassItable::initialize_itable_for_interface(int, InstanceKlass*, bool, Thread*)
When calculating vtable size at class load time, do not look for miranda method if matching package private method is found in a super class.

Reviewed-by: acorn, lfoltan
2019-07-11 09:26:04 -04:00
Andrew Haley
60b005d766 Merge 2019-07-11 11:36:56 +01:00
Jonathan Gibbons
6e6aab17b0 8227549: Fix style of links in specs for consistency
Reviewed-by: iris, mchung
2019-07-10 13:14:22 -07:00
Valerie Peng
29215b987b 8181386: CipherSpi ByteBuffer to byte array conversion fails for certain data overlap conditions
Detect potential buffer overlap and use extra buffer if necessary

Reviewed-by: xuelei
2019-07-10 18:43:45 +00:00
Nils Eliasson
019b9891d7 8226536: Catch OOM from deopt that fails rematerializing objects
Reviewed-by: vlivanov, thartmann
2019-07-10 18:48:05 +02:00
Mikael Vidstedt
8c52f63fe1 Added tag jdk-13+29 for changeset 3081f39a3d30 2019-07-10 08:24:31 -07:00
Ramanand Patil
7087f2eae2 8224560: (tz) Upgrade time-zone data to tzdata2019a
8225580: tzdata2018i integration causes test failures on jdk-13

Reviewed-by: andrew, naoto
2019-07-10 05:12:23 +01:00
Leo Jiang
8c3e30202b 8227009: JDK 13 L10n resource files update - msgdrop 10
Reviewed-by: naoto
2019-07-10 01:19:18 -07:00
Jan Lahoda
32a7e50bee 8220041: NullPointerException at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0
LambdaToMethod must correctly capture local variables inside switch expressions inside local variable initializers.

Reviewed-by: mcimadamore, vromero
2019-07-10 09:04:42 +02:00
Weijun Wang
32d0bae08d 8227059: sun/security/tools/keytool/DefaultSignatureAlgorithm.java timed out
Reviewed-by: xuelei
2019-07-10 09:43:35 +08:00
Weijun Wang
e133dbf7bd 8227381: GSS login fails with PREAUTH_FAILED
Reviewed-by: xuelei
2019-07-10 09:43:34 +08:00
Weijun Wang
e03c2a270b 8225687: Newly added sspi.cpp in JDK-6722928 still contains some small errors
Reviewed-by: xuelei
2019-07-10 09:43:34 +08:00
Jatin Bhateja
3fe67141c7 8227222: vmTestbase/jit/FloatingPoint/gen_math/Loops04/Loops04.java failed XMM register should be 0-15
Reviewed-by: thartmann, vlivanov, ctornqvi, bsrbnd
2019-07-09 15:42:44 -07:00
Tom Rodriguez
75d87ff254 8227034: Graal crash with gcbasher
Adjust Graal's registers declaration for String intrinisics.

Reviewed-by: dlong, dnsimon, kvn
2019-07-09 14:59:12 -07:00
Dean Long
d307ec4dba 8227237: [Graal] org.graalvm.compiler.api.directives.test.ProbabilityDirectiveTest fails with -Xcomp
Reviewed-by: kvn
2019-07-09 13:46:39 -04:00
Erik Österlund
f111dd0cbb 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-07-09 16:39:41 +02:00
Erik Österlund
a577b1a972 8227277: HeapInspection::find_instances_at_safepoint walks dead objects
Reviewed-by: dholmes, kbarrett, tschatzl, coleenp
2019-07-09 16:39:37 +02:00
Naoto Sato
0f1ad36584 8227127: Era designator not displayed correctly using the COMPAT provider
Reviewed-by: rriggs
2019-07-09 08:05:38 -07:00
Daniel D. Daugherty
6ee36b98ac Merge 2019-07-08 12:16:13 -04:00
Daniel D. Daugherty
37b39bc642 8227117: normal interpreter table is not restored after single stepping with TLH
Reviewed-by: sspitsyn, eosterlund, dholmes, coleenp
2019-07-08 11:38:49 -04:00
Jamsheed Mohammed C M
7fbf691c01 8221577: [Graal] Implement basic type consistency checks for Low level MH intrinsics
Reviewed-by: kvn
2019-07-08 04:01:54 -07:00
Martin Doerr
516578513c 8226302: Test failures on IBM platforms (power and s/390) after JDK-8223837
Adjust heap size values for 32M heap aligment (page size 64k)

Reviewed-by: goetz, rschmelter, tschatzl
2019-07-08 10:56:05 +02:00
Tom Rodriguez
291dfa4da5 8221514: [Graal] java/lang/String/CompactString/ tests fail with "GraalError: failed guarantee: no FrameState at DeoptimizingNode" in Graal -Xcomp mode
Put FrameState directly on final StateSplit in intrinsics.

Reviewed-by: thartmann, kvn, dnsimon, gdub
2019-07-07 18:27:38 -07:00
Yudi Zheng
173e014b80 8224254: compiler/graalunit/HotspotJdk9Test.java is timing out intermittently
Reviewed-by: kvn, thartmann
2019-07-07 18:17:46 -07:00
Vladimir Kozlov
4124d403c0 8225064: [Graal] Application SEGV in G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markOopDesc*)+0x48
Switch off ReduceInitialCardMarks optimization in Graal in JDK 13 (full fix is in JDK 14)

Reviewed-by: thartmann, never
2019-07-07 18:10:18 -07:00
Alexey Ushakov
a4905bae9b 8226654: Some swing gtk regression tests fail with "java.lang.InternalError: Unable to load native GTK librarie
Reviewed-by: prr, psadhukhan
2019-07-07 10:52:30 -07:00
Weijun Wang
17bc4c4bcf 8227305: Krb5Util::getTicketFromSubjectAndTgs is useless
Reviewed-by: xuelei
2019-07-06 08:11:19 +08:00
Jamsheed Mohammed C M
259a0b4a7b 8226627: assert(t->singleton()) failed: must be a constant
Implemented constant folding for MaxFD, MinFD.

Reviewed-by: thartmann, bsrbnd, pli
2019-07-05 00:24:54 -07:00
Roman Kennke
5cb091693d 8226695: Shenandoah: Wire C1 and C2 IN_NATIVE barrier
Reviewed-by: roland
2019-07-04 17:31:03 +02:00
Thomas Stuefe
ac0e72332e 8227275: Within native OOM error handling, assertions may hang the process
Reviewed-by: mdoerr, coleenp
2019-07-11 06:56:51 +02:00
Thomas Stuefe
4b5b4f479c 8227031: Print NMT statistics on fatal errors
Reviewed-by: mbaesken, mdoerr
2019-07-11 06:49:49 +02:00
Jonathan Gibbons
2cbbe809a6 8227416: Add a "Table Of Contents" to HTML version of man pages
Reviewed-by: mchung
2019-07-10 16:23:59 -07:00
Yasumasa Suenaga
cf39d96d3a 8209790: SA tools not providing option to connect to debug server
Reviewed-by: sspitsyn, cjplummer
2019-07-11 08:19:56 +09:00
Daniel Fuchs
dc300483a7 8227539: Replace wildcard address with loopback or local host in tests - part 20
Update some tests to stop using the wildcard address.

Reviewed-by: michaelm
2019-07-10 22:33:23 +02:00
Joe Wang
8286318f2a 7148925: StAXSource causes exceptions to be thrown with certain wellformed XML instances
Reviewed-by: lancea
2019-07-10 16:45:28 +00:00
Thomas Stuefe
937f230ce3 8227252: [aix] Disable jdk/java/lang/reflect/exeCallerAccessTest
Reviewed-by: goetz
2019-07-04 11:55:00 +02:00
Calvin Cheung
a6b4e5c3d1 8226406: JVM fails to detect mismatched or corrupt CDS archive
Check important archive header fields such as _jvm_ident before processing other fields.

Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00
Tejpal Rebari
fe80d6458c 8042383: [TEST_BUG] Test javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails with shortcuts on menus do not work
Reviewed-by: jdv, psadhukhan
2019-07-04 12:28:34 +05:30
Andrew Haley
5f05ce78ec 8226525: HotSpot compile-time error for x86-32
Reviewed-by: shade
2019-07-02 16:54:52 +01:00
Markus Grönlund
ebde73209f 8227011: Starting a JFR recording in response to JVMTI VMInit and / or Java agent premain corrupts memory
Reviewed-by: egahlin, rwestberg
2019-07-02 17:46:38 +02:00
Fairoz Matte
9f4fd8c7ab 8225715: jhsdb jmap fails to write binary heap dump of a jshell process
Add a Null check for getSourceFileName() before writing into thread dump.

Reviewed-by: cjplummer, kevinw
2019-07-02 08:43:44 -07:00
Mikael Vidstedt
3b92d73c3f Added tag jdk-14+5 for changeset 0f1e29c77e50 2019-07-10 08:20:41 -07:00
Patrick Concannon
76785af549 8226756: Replace wildcard address with loopback or local host in tests - part 18
Reviewed-by: dfuchs
2019-07-10 16:09:20 +01:00
Mikael Vidstedt
e9d003926b Merge 2019-07-10 07:27:58 -07:00
Daniel D. Daugherty
d3ab43a5f4 8227338: templateInterpreter.cpp: copy_table() needs to be safer
Reviewed-by: dholmes, eosterlund, sspitsyn, kbarrett
2019-07-10 10:18:06 -04:00
Michael McMahon
f7d689f4bc 8225479: com.sun.net.httpserver.HttpContext that does not end with '/' has surprising matches
Reviewed-by: dfuchs
2019-07-10 14:27:51 +01:00
Coleen Phillimore
04b98fd1df 8222446: assert(C->env()->system_dictionary_modification_counter_changed()) failed: Must invalidate if TypeFuncs differ
Remove SystemDictionary::modification_counter optimization

Reviewed-by: dlong, eosterlund
2019-07-10 07:58:24 -04:00
Ramanand Patil
475cf213d9 8224560: (tz) Upgrade time-zone data to tzdata2019a
8225580: tzdata2018i integration causes test failures on jdk-13

Reviewed-by: andrew, naoto
2019-07-10 05:12:23 +01:00
Mikael Vidstedt
ff3eeb4773 Merge 2019-07-09 16:37:30 -07:00
Jatin Bhateja
80f41ad334 8227222: vmTestbase/jit/FloatingPoint/gen_math/Loops04/Loops04.java failed XMM register should be 0-15
Reviewed-by: thartmann, vlivanov, ctornqvi, bsrbnd
2019-07-09 15:02:28 -07:00
Patricio Chilano Mateo
fe39168fa7 8191890: Biased locking still uses the inferior stop the world safepoint for revocation
Revocations are now executed with thread local handshakes instead of safepoints

Reviewed-by: dcubed, coleenp, dholmes, rehn, mgronlun
2019-07-09 14:38:48 -04:00
Jeremy Manson
238c17bdb5 8225035: Thread stack size issue caused by large TLS size
Adjust thread stack size for static TLS on Linux when AdjustStackSizeForTLS is enabled.

Co-authored-by: Florian Weimer <fweimer@redhat.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: dholmes, fweimer, stuefe, rriggs, martin
2019-07-09 10:27:38 -07:00
Matthias Baesken
bb96156548 8227389: Remove unsupported xlc16 compile options on aix
Reviewed-by: clanger, mdoerr
2019-07-08 13:29:02 +02:00
Jan Lahoda
d24296edf4 8223443: Calling Trees.getScope early changes names of local/anonymous classes
Ensure Trees.getScope does not affect the rest of the compilation.

Reviewed-by: mcimadamore
2019-07-09 09:20:04 +02:00
Mikael Vidstedt
2b7170b33c Merge 2019-07-08 16:20:40 -07:00
Eric Caspole
49bba0212c Merge 2019-07-08 18:30:09 -04:00
Shravya Rukmannagari
19d1cb63bb 8225626: JMH Test Support for JDK-8222074
Micros for new SuperWord optimizations

Reviewed-by: vlivanov, ecaspole
2019-07-08 17:57:33 -04:00
Kim Barrett
b85ebc19e0 8217170: gc/arguments/TestUseCompressedOopsErgo.java timed out
Disable ZapUnusedHeapArea and VerifyBeforeExit for gc/arguments tests.

Reviewed-by: tschatzl, tonyp
2019-07-08 17:24:21 -04:00
Daniel D. Daugherty
9135141482 Merge 2019-07-08 12:14:15 -04:00
Thomas Schatzl
c03b0c2f62 8224741: Optimize the scan area during the Scan Heap Roots phase
When scanning card blocks, remember the last address already scanned. Continue scanning from this address.

Reviewed-by: kbarrett, lkorinth
2019-07-08 09:24:40 +02:00
Aleksey Shipilev
41ff22e552 8227327: Shenandoah: Faster and more parallel tests
Reviewed-by: rkennke
2019-07-05 23:31:32 +02:00
Mikael Vidstedt
15bde6d32d Merge 2019-07-05 11:01:31 -07:00
Alex Menkov
f464df375f 8227124: "could not open pipe" error does not report error details
Reviewed-by: sspitsyn, cjplummer
2019-07-05 10:35:37 -07:00
Claes Redestad
7f1f9a50ae 8225239: Refactor NetworkInterface lookups
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Vladimir Ivanov
eb2818421a 8226409: Enable argument profiling for sun.misc.Unsafe.put*/get*
Reviewed-by: kvn
2019-07-05 12:55:54 +03:00
Roman Kennke
d6dd171ece 8227039: Shenandoah: Aggressive heuristics for Traversal mode
Reviewed-by: shade
2019-07-05 11:07:09 +02:00
Roman Kennke
9c2e15364c 8222079: Don't use memset to initialize fields decode_env constructor in disassembler.cpp
Reviewed-by: dlong, stuefe, mdoerr
2019-07-04 20:29:56 +02:00
Kim Barrett
872e04a6a6 8226793: Replace OopStorage dup_name with os::strdup
Use os::strdup and os::free.

Reviewed-by: tschatzl
2019-07-04 13:26:41 -04:00
Roman Kennke
36bb50bad5 8226823: Adjust BarrierSetC2 for C2 runtime calls
Reviewed-by: neliasso, roland
2019-07-04 17:02:19 +02:00
Roman Kennke
4b821f00f3 8226822: GC interface for C1 runtime calls
Reviewed-by: neliasso, roland
2019-07-04 17:02:17 +02:00
Jan Lahoda
c4213848c0 8227010: Error recovery after local variable redeclaration can be improved
Entering duplicate local variables into the current scope so that the new variable is used instead of the previous variable.

Reviewed-by: mcimadamore
2019-07-04 16:51:24 +02:00
Claes Redestad
eddf2cf920 8224657: [TESTBUG] java/util/Locale/SoftKeys.java should be ignored but run
Reviewed-by: alanb
2019-07-04 15:00:03 +02:00
Roman Kennke
d4afa4e1c8 8226757: Shenandoah: Make traversal and passive modes explicit
Reviewed-by: shade
2019-07-04 14:28:31 +02:00
Markus Grönlund
6e16ff4cea 8225706: JFR RootResolver resets CLD claims with no restore
Reviewed-by: zgu, egahlin
2019-07-02 14:31:43 +02:00
Stefan Karlsson
605b3f051b 8227086: Use AS_NO_KEEPALIVE loads in HeapDumper
Reviewed-by: kbarrett, sspitsyn
2019-07-02 12:28:41 +02:00
Stefan Karlsson
ebf98ac78c 8229839: Break circular dependency between oop.inline.hpp and markWord.inline.hpp
Reviewed-by: pliden, tonyp
2019-08-19 12:40:27 +02:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Patrick Concannon
9f41d4d2f2 8229421: The logic of java/net/ipv6tests/TcpTest.java is flawed
The test is fixed to ignore rogue client connection. However it remains succeptible to intermittent failures due to the use of the wildcad address.

Reviewed-by: dfuchs
2019-08-20 11:15:23 +01:00
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Christian Hagedorn
db359f11b5 8229158: make UseSwitchProfiling non-experimental or false by-default
Changed UseSwitchProfiling from experimental to diagnostic.

Reviewed-by: dholmes, shade, thartmann
2019-08-20 10:46:23 +02:00
Thomas Schatzl
f543e8e4ea 8227442: Make young_index_in_cset zero-based
Avoid unnecessary increment of young_index_in_cset in copy_to_survivor_space.

Reviewed-by: kbarrett, sangheki
2019-08-20 09:22:18 +02:00
Tobias Hartmann
672fa8b97a 8228888: C2 compilation fails with assert "m has strange control"
Weakened too strong assert.

Reviewed-by: kvn, roland
2019-08-20 07:47:13 +02:00
Joe Darcy
792a6d1645 8202385: Annotation to mark serial-related fields and methods
Reviewed-by: rriggs, chegar, alanb
2019-08-19 18:12:09 -07:00
Xue-Lei Andrew Fan
c299c4fd46 8228757: Fail fast if the handshake type is unknown
Reviewed-by: jnimeh
2019-08-19 12:56:48 -07:00
Aleksey Shipilev
94130be62e 8229865: Use explicit #include debug.hpp for STATIC_ASSERT in gc/shenandoah/shenandoahUtils.cpp
Reviewed-by: zgu
2019-08-19 19:58:50 +02:00
Florian Weimer
7895862fa9 8229835: Shenandoah should recommend -Xlog:safepoint+stats
Reviewed-by: shade
2019-08-16 21:20:21 +02:00
Chris Hegarty
cbfcd9c72e 8225425: java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
Reviewed-by: dfuchs, alanb, erikj
2019-08-19 14:28:43 +01:00
Christoph Goettschkes
ff9d768630 8229352: Use of an uninitialized register in 32-bit ARM template interpreter
Reviewed-by: dlong, shade
2019-08-19 15:36:07 +03:00
Yasumasa Suenaga
c0ac482452 8226204: SA: Refactoring for option processing in SALauncher
Reviewed-by: cjplummer, sspitsyn
2019-08-19 19:43:28 +09:00
Daniel Fuchs
bd1521e1a6 8191169: java/net/Authenticator/B4769350.java failed intermittently
Fixed a race condition in AuthenticationInfo when serializeAuth=true

Reviewed-by: chegar, michaelm
2019-08-19 11:14:50 +01:00
Claes Redestad
2c245bd2b9 8229773: Resolve permissions for code source URLs lazily
Reviewed-by: alanb, mullan, rriggs, dfuchs
2019-08-19 06:13:52 +02:00
Jamil Nimeh
742e9f26c8 8224997: ChaCha20-Poly1305 TLS cipher suite decryption throws ShortBufferException
Reviewed-by: xuelei
2019-08-17 06:20:49 -07:00
David Holmes
07c1c7fcd8 8229808: javaVFrame::print_lock_info_on fails to disable extra printing
Reviewed-by: hseigel, dcubed
2019-08-16 18:27:36 -04:00
Shravya Rukmannagari
793585b494 8225625: AES Electronic Codebook (ECB) encryption and decryption optimization using AVX512 + VAES instructions
AES-ECB encryption and decryption optimization for x86_64 architectures supporting AVX3+VAES

Co-authored-by: Smita Kamath <smita.kamath@intel.com>
Reviewed-by: kvn, valeriep
2019-08-16 14:42:50 -07:00
Kim Barrett
0b9a90e0d1 8229044: G1RedirtyCardsQueueSet should be local to a collection
Stack allocate redirty qsets in do_collection_pause_at_safepoint.

Reviewed-by: tschatzl, sangheki
2019-08-16 14:46:52 -04:00
Ivan Gerasimov
c0b8844dce 8221307: String.substring() OOB exception on start index reports improper information
Reviewed-by: rriggs, redestad
2019-08-16 11:35:17 -07:00
Poonam Bajaj
a073e1261b 8229420: [Redo] jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-08-16 18:06:51 +00:00
Erik Österlund
f0ff63c19c 8229345: Memory leak due to vtable stubs not being shared on SPARC
Reviewed-by: mdoerr, dholmes, kvn
2019-08-16 16:50:17 +02:00
Daniel Fuchs
e81ee784d3 8229481: sun/net/www/protocol/https/ChunkedOutputStream.java failed with a SSLException
The test is updated to ignore plain text connections

Reviewed-by: chegar, michaelm
2019-08-16 15:01:58 +01:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Leo Korinth
f075a3278b 8224666: Parallel GC: Use WorkGang (8: obsolete and remove flags)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:41 +02:00
Leo Korinth
1447c5c0e3 8224665: Parallel GC: Use WorkGang (7: remove task manager)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:38 +02:00
Leo Korinth
fd1966fa3a 8224664: Parallel GC: Use WorkGang (6: PSRefProcTaskProxy)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:35 +02:00
Leo Korinth
82b140f83d 8224663: Parallel GC: Use WorkGang (5: ScavengeRootsTask)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:32 +02:00
Leo Korinth
8142753031 8224662: Parallel GC: Use WorkGang (4: SharedRestorePreservedMarksTaskExecutor)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:29 +02:00
Leo Korinth
3eba0ec9ba 8224661: Parallel GC: Use WorkGang (3: UpdateDensePrefixAndCompactionTask)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:26 +02:00
Leo Korinth
855895f61b 8224660: Parallel GC: Use WorkGang (2: MarksFromRootsTask)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:23 +02:00
Leo Korinth
3a38bec5ae 8224659: Parallel GC: Use WorkGang (1: PCRefProcTask)
Reviewed-by: stefank, kbarrett, tschatzl
2019-08-16 09:18:19 +02:00
Weijun Wang
b84ffae32f 8229775: Incorrect warning when jar was signed with -sectionsonly
Reviewed-by: mullan
2019-08-16 08:42:09 +08:00
Calvin Cheung
63baaf7a56 8226645: [TESTBUG] some AppCDS tests rely on illegal reflective access
Updated tests to use Lookup.defineClass instead of ClassLoader.defineClass.

Reviewed-by: iklam, dholmes, alanb
2019-08-15 16:23:41 -07:00
Bob Vandette
9893531f35 8229699: [Graal] jck tests fail on windows with AOTed Graal
Reviewed-by: kvn
2019-08-15 19:29:58 +00:00
Mandy Chung
5542307097 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767
Reviewed-by: coleenp, fparain, shade, plevart
2019-08-15 13:41:30 -07:00
Jan Lahoda
04cb846933 8226848: jline/terminal/impl files missing classpath exception clause in license header
Adding CPE to several files in jdk.internal.le.

Reviewed-by: jjg
2019-08-15 14:35:29 +02:00
Daniel Fuchs
77d09f0f14 8229486: Replace wildcard address with loopback or local host in tests - part 21
Reviewed-by: chegar
2019-08-15 12:58:27 +01:00
Weijun Wang
ca919052e9 8229767: Typo in java.security: Sasl.createClient and Sasl.createServer
Reviewed-by: xuelei
2019-08-15 15:39:43 +08:00
Robbin Ehn
57dbffe53f 8225788: Dead code in thread and safepoint
Reviewed-by: dholmes, dcubed, coleenp
2019-08-15 09:06:42 +02:00
Nick Gasson
6af89d6412 8229118: [TESTBUG] serviceability/sa/ClhsdbFindPC fails on AArch64
Reviewed-by: cjplummer, adinn
2019-08-15 14:00:36 +08:00
Jesper Wilhelmsson
eed736fecd Added tag jdk-14+10 for changeset ececb6dae777 2019-08-15 03:57:17 +02:00
David Holmes
000a25c0bf 8228858: Reimplement JVM_RawMonitors to use PlatformMutex
Reviewed-by: coleenp, dcubed, pchilanomate
2019-08-14 18:26:23 -04:00
Aleksey Shipilev
517f13e1c6 8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default
Reviewed-by: rkennke
2019-08-14 20:32:44 +02:00
Aleksey Shipilev
0005ab68af 8229709: x86_32 build and test failures after JDK-8228369 (Shenandoah: Refactor LRB C1 stubs)
Reviewed-by: rkennke
2019-08-14 20:32:43 +02:00
Lance Andersen
a572017379 8184432: Remove references to jdbc@sun.com from javax.sql.rowset.spi.SyncProvider
Reviewed-by: rriggs
2019-08-14 12:57:34 -04:00
Coleen Phillimore
d1ca6221a4 5103339: Strengthen NoSafepointVerifier
Add NSV check at possible safepoint transition or places that could take out locks.  Consolidate with clearing unhandled oops.

Reviewed-by: dholmes, rehn
2019-08-14 10:07:00 -04:00
Chris Yin
af89550878 8217606: LdapContext#reconnect always opens a new connection
Reviewed-by: lancea, vtewari, rriggs
2019-08-14 11:14:54 +01:00
David Holmes
392b5f8f62 8228857: Refactor PlatformMonitor into PlatformMutex and PlatformMonitor
Reviewed-by: kbarrett, dcubed, pliden
2019-08-14 00:18:00 -04:00
Valerie Peng
6212473fc4 8228835: Memory leak in PKCS11 provider when using AES GCM
Updated freeCKMechanismPtr to free mechanism-specific memories

Reviewed-by: jnimeh
2019-08-14 01:40:29 +00:00
Valerie Peng
effe3eb806 8228613: java.security.Provider#getServices order is no longer deterministic
Changed to use SunEntries.DEF_SECURE_RANDOM_ALGO instead of relying on ordering of SecureRandom services

Reviewed-by: weijun
2019-08-14 00:57:15 +00:00
Mandy Chung
182c19e8c4 8209005: Lookup.unreflectSpecial fails for default methods when Lookup.findSpecial works
8209078: Unable to call default method from interface in another module from named module

Reviewed-by: dfuchs, plevart
2019-08-13 15:49:11 -07:00
Daniel D. Daugherty
2207d884d5 8229212: clear up CHECK_OWNER confusion in objectMonitor.cpp
Reviewed-by: dholmes, coleenp
2019-08-13 16:13:22 -04:00
Naoto Sato
cf9351a41f 8211990: DateTimeException thrown when calculating duration between certain dates
Reviewed-by: lancea, scolebourne, rriggs
2019-08-13 10:10:42 -07:00
Zhengyu Gu
320eaaccc4 8229474: Shenandoah: Cleanup CM::update_roots()
Reviewed-by: rkennke
2019-08-13 13:01:41 -04:00
Daniel Fuchs
6d63995ada 8229348: java/net/DatagramSocket/UnreferencedDatagramSockets.java fails intermittently
The test was observed blocking on receive and is updated to avoid using the wildcard address

Reviewed-by: chegar, msheppar
2019-08-13 16:18:43 +01:00
Aleksei Efimov
b4a7fb856b 8228508: [TESTBUG] java/net/httpclient/SmokeTest.java fails on Windows7
Reviewed-by: dfuchs, chegar
2019-08-13 16:11:28 +01:00
Roman Kennke
a8aedcea47 8229470: Shenandoah: Fix C1 getAndSetObject() failure
Reviewed-by: shade
2019-08-13 16:05:58 +02:00
Aleksey Shipilev
b1ea3a780c 8229419: Shenandoah: Cleanup LRB strength selector code
Reviewed-by: rkennke
2019-08-13 14:59:29 +02:00
Jan Lahoda
f033152eae 8228502: javac crashed on a broken classfile with ConstantValue attribute on a field of type Object
Produce an error when reading a classfile with a field with ConstantValue with a wrong type.

Reviewed-by: vromero
2019-08-13 10:27:34 +02:00
Jan Lahoda
36ae680f2a 8228647: Broken enum produce inconvenient errors and AST
Improving error recovery for misplace members in enums.

Reviewed-by: vromero
2019-08-13 10:27:33 +02:00
Jan Lahoda
6e86f5b47b 8227922: DocTreeScanner does not dive into AttributeTree.getValue() and LiteralTree.getBody()
DocTreeScanner.visitAttribute and visitLiteral have to scan through the subnodes of AttributeTree and LiteralTree, respectivelly.

Reviewed-by: vromero
2019-08-13 10:27:32 +02:00
Tobias Hartmann
da43cb5e46 8224957: C2 compilation fails with assert: Bad graph detected in build_loop_late
Disable walking up the dominator chain for regions with more than 2 input paths.

Reviewed-by: roland, kvn
2019-08-13 09:56:13 +02:00
Tobias Hartmann
f1763a5e86 8228772: C2 compilation fails due to unschedulable graph if DominatorSearchLimit is reached
Ignore membar if the load is already control dependent on it.

Reviewed-by: neliasso, kvn
2019-08-13 09:54:40 +02:00
Tobias Hartmann
5225d254ee 8229447: Problem list compiler/unsafe/UnsafeGetConstantField.java on Sparc until JDK-8229446 is fixed
Problem list a test.

Reviewed-by: dholmes
2019-08-13 08:25:29 +02:00
Xue-Lei Andrew Fan
316140ff92 8226374: Restrict TLS signature schemes and named groups
Reviewed-by: mullan
2019-08-12 21:36:29 -07:00
Roman Kennke
de8ce983b3 8228369: Shenandoah: Refactor LRB C1 stubs
Reviewed-by: shade
2019-08-12 23:37:48 +02:00
Aleksey Shipilev
47c9c44b16 8229416: Shenandoah: Demote or remove ShenandoahOptimize*Final optimizations
Reviewed-by: rkennke
2019-08-12 20:27:14 +02:00
Claes Redestad
cfb3b64704 8229407: Avoid ConcurrentHashMap resizes during bootstrap
Reviewed-by: alanb, shade, dfuchs
2019-08-12 15:27:57 +02:00
Michael McMahon
438c7a5dba 8185898: setRequestProperty(key, null) results in HTTP header without colon in request
Reviewed-by: chegar, dfuchs
2019-08-12 11:24:53 +01:00
Matthias Baesken
acd7750971 8219082: jdk/jfr/event/runtime/TestShutdownEvent.java failed in validateStackTrace()
Reviewed-by: mdoerr, mseledtsov
2019-08-09 15:39:32 +02:00
Hao Tang
681475de5b 8229406: ZGC: Fix incorrect statistics
Reviewed-by: pliden, eosterlund
2019-08-12 10:49:40 +02:00
Martin Doerr
50baeb8180 8229236: CriticalJNINatives: dll handling should be done in native thread state
Temporarily switch thread state from _thread_in_vm to _thread_in_native to execute I/O.

Reviewed-by: dlong, dholmes
2019-08-12 10:02:25 +02:00
Tobias Hartmann
fd4dc1dfd2 8225670: compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"
Clear entry in the ciProfileData object if the klass is NULL.

Reviewed-by: eosterlund, thartmann
2019-08-12 08:48:47 +02:00
Jonathan Gibbons
23e3128b6a 8229386: Typo "lables" in doc comment
Reviewed-by: mchung
2019-08-09 15:22:43 -07:00
Ioi Lam
e9b271dd10 8229267: [TESTBUG] Remove unnecessary @modules dependencies in CDS tests
Reviewed-by: alanb, lfoltan
2019-08-09 13:13:36 -07:00
Jonathan Gibbons
e74e541d56 8227697: Improve text in Taglet API spec for expected results with standard doclet
Reviewed-by: hannesw
2019-08-09 12:27:05 -07:00
Chris Plummer
29875f63ef 8227645: Some tests in serviceability/sa run with fixed -Xmx values and risk running out of memory
Move tests to seprate directory

Reviewed-by: dtitov, jcbeyler, ctornqvi, sspitsyn
2019-08-09 11:27:08 -07:00
Claes Redestad
46e4b55e23 8229283: StringLatin1 should consistently use CharacterDataLatin1.instance when applicable
Reviewed-by: jlaskey
2019-08-09 13:58:48 +02:00
Aleksey Shipilev
28737bd07f 8229350: Shenandoah does not need barriers before CreateEx
Reviewed-by: rkennke
2019-08-09 13:07:18 +02:00
Robbin Ehn
c6446d44b7 8226228: Make Threads_lock an always safepoint checked lock
Reviewed-by: coleenp, dcubed, dholmes
2019-08-09 11:04:08 +02:00
Erik Österlund
98fb7b85e5 8229027: Improve how JNIHandleBlock::oops_do distinguishes oops from non-oops
Reviewed-by: pliden, stuefe, dlong
2019-08-09 10:06:44 +02:00
Jesper Wilhelmsson
c11080efd9 Merge 2019-08-09 03:51:20 +02:00
Jesper Wilhelmsson
7929b6fbc5 Added tag jdk-13+33 for changeset 9c250a7600e1 2019-08-09 03:36:59 +02:00
Aleksei Efimov
4312f54e51 8225430: Replace wildcard address with loopback or local host in tests - part 14
Reviewed-by: dfuchs, chegar, vtewari
2019-08-08 21:58:11 +01:00
Patrick Concannon
9f7cbf60e4 8228970: AssertionError in ResponseSubscribers$HttpResponseInputStream
HttpResponseInputStream::read(byte[],int,int) now implements the same check than the InputStream::read(byte[],int,int).

Reviewed-by: prappo, chegar, dfuchs
2019-08-08 18:44:11 +01:00
Jean Christophe Beyler
b036071125 8229036: Remove the testing against NSK_TRUE from tests
Remove the testing against NSK_TRUE from tests

Reviewed-by: sspitsyn, cjplummer
2019-08-08 04:29:56 -07:00
Rahul Raghavan
090734266c 8227439: Turn off AOT by default
Made UseAOT, AOTLibrary experimental and UseAOT false by default

Reviewed-by: iignatyev, kvn
2019-08-08 14:13:16 +05:30
Jerry Zhou
d5914f1839 8229180: Remove EA from JDK 13 version string
Reviewed-by: tbell, mikael
2019-08-08 05:05:04 +00:00
Leo Jiang
6864d7826d 8228778: JDK 13 L10n resource files update - msgdrop 20
Reviewed-by: naoto
2019-08-08 09:32:15 -07:00
Richard Reingruber
3699e4d834 8228359: [TESTBUG] jdk.jfr.e.g.c.TestGCHeapConfigurationEventWith32BitOops.java does not expect MinHeapSize to be aligned to HeapAlignment
Reviewed-by: mseledtsov, clanger
2019-08-08 07:07:06 +01:00
Tobias Hartmann
976a5c6166 8229219: C2 compilation fails with assert: Bad graph detected in build_loop_late
Backed out JDK-8173196.

Reviewed-by: shade, rbackman
2019-08-08 07:05:17 +02:00
Jesper Wilhelmsson
da8d152448 Added tag jdk-14+9 for changeset 18f189e69b29 2019-08-08 03:09:46 +02:00
Jesper Wilhelmsson
29b3fc5dc4 Added tag jdk-13+33 for changeset 5c85b58e2a42 2019-08-08 03:08:49 +02:00
Naoto Sato
865afd7fda 8215181: Accounting currency format support
Reviewed-by: lancea, rriggs
2019-08-07 14:56:26 -07:00
Jesper Wilhelmsson
2ce6d6ba36 Merge 2019-08-07 22:43:49 +02:00
Valerie Peng
7f8bf2616d Merge 2019-08-07 20:47:43 +00:00
Valerie Peng
ef9b6ed5c3 8229214: Don't use GCM with PKCS5Padding in test/micro/org/openjdk/bench/javax/crypto/
Update AESGCMBench.java and CipherBench.java accordingly

Reviewed-by: xuelei, ecaspole
2019-08-07 20:46:28 +00:00
Lance Andersen
5233e25c4c 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Patrick Concannon
c98e06ff52 8228971: Locale API doc has redundant hyphens for some parameters
Reviewed-by: lancea
2019-08-07 08:42:14 -07:00
Zhengyu Gu
2b164a34ad 8229213: Shenandoah: Allow VM global oop storage to be processed concurrently
Reviewed-by: shade, rkennke
2019-08-07 09:17:08 -04:00
Coleen Phillimore
8251ba4817 8229208: Remove Monitor::ClearMonitor
Reviewed-by: dholmes
2019-08-07 08:10:45 -04:00
Ramanand Patil
1f0295ca65 8228469: (tz) Upgrade time-zone data to tzdata2019b
Reviewed-by: naoto, martin
2019-08-07 13:00:57 +01:00
Zhengyu Gu
0512111dd9 8229206: Shenandoah: ShenandoahWeakRoot::oops_do() uses wrong timing phase
Reviewed-by: shade
2019-08-07 07:45:37 -04:00
Christoph Langer
302a162704 8213031: (zipfs) Add support for POSIX file permissions
Reviewed-by: alanb, lancea
2019-08-07 11:28:14 +01:00
Tobias Hartmann
ac2ea95788 8229016: C2 scalarization crashes with assert(node->Opcode() == Op_CastP2X) failed: ConvP2XNode required
Detect array copy to self to avoid emitting another load to the to-be-removed allocation.

Reviewed-by: kvn
2019-08-07 12:09:55 +02:00
Jie Fu
854eeb238e 8229169: False failure of GenericTaskQueue::pop_local on architectures with weak memory model
Reviewed-by: mdoerr, kbarrett, tschatzl
2019-08-07 17:00:19 +08:00
Thomas Schatzl
c64f70be82 8228503: Rename "rs_lengths" to "rs_length" in ergo code
Reviewed-by: pliden, kbarrett
2019-08-07 10:29:07 +02:00
Antonios Printezis
3f2a661b7e 8227225: ParallelGC: add subspace transitions for young gen for gc+heap=info log lines
Reviewed-by: tschatzl, kbarrett
2019-08-06 15:03:48 -04:00
Kim Barrett
27600c60e2 8229156: ProblemList gc/stress/gclocker/TestExcessGCLockerCollections.java
Reviewed-by: shade
2019-08-06 11:40:23 -04:00
Per Lidén
1747e9763d 8229129: ZGC: Fix incorrect format string for doubles
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:30 +02:00
Per Lidén
1f33105379 8229128: ZGC: Remove unused ZThreadRootsIterator
Reviewed-by: eosterlund, stefank
2019-08-06 15:50:25 +02:00
Per Lidén
a862b9341f 8229017: ZGC: Various cleanups of ZVerify
Reviewed-by: stefank, eosterlund
2019-08-06 15:50:12 +02:00
Per Lidén
285193d13c 8228657: ZGC: ZObjectAllocator::used() should take undone allocations into account
Reviewed-by: eosterlund
2019-08-06 15:50:00 +02:00
Per Lidén
a31fd3fc6d 8229135: ZGC: Adding missing ZStatTimerDisable before call to ZVerify::roots_strong()
Reviewed-by: stefank, eosterlund
2019-08-06 15:49:53 +02:00
Sean Mullan
22cb2d8b5b 8210755: Define standard names for EC curves and TLS signature schemes
Reviewed-by: xuelei
2019-08-06 09:27:38 -04:00
Coleen Phillimore
7c0a5865fb 8228753: Deprecate -XX:FieldsAllocationStyle product option
8228749: Deprecate product flag -XX:CompactFields

Reviewed-by: kvn, shade
2019-08-06 07:43:18 -04:00
Aleksey Shipilev
7b37608a65 8229134: [TESTBUG] 32-bit build fails gc/arguments/TestSurvivorAlignmentInBytesOption.java after JDK-8228855
Reviewed-by: tschatzl
2019-08-06 12:14:41 +02:00
Aleksey Shipilev
705b9c9496 8229176: Shenandoah should acquire CodeCache_lock without safepoint check
Reviewed-by: rkennke
2019-08-06 11:57:42 +02:00
Matthias Baesken
f454862e65 8228902: add os::dll_load to the unified logging os category
Reviewed-by: coleenp, mdoerr
2019-08-02 10:10:42 +02:00
Mikael Vidstedt
2e6e33eba1 Merge 2019-08-05 16:27:30 -07:00
Man Cao
1b1f8d48db 8225776: Optimize branch frequency of G1's write post-barrier in C2
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: tschatzl, dlong
2019-08-05 13:18:31 -07:00
Coleen Phillimore
8426db3d74 8229000: Fix lock and reenable assert in Monitor::check_safepoint_state
Reviewed-by: dholmes, kbarrett
2019-08-05 11:16:48 -04:00
Alan Bateman
d5ceec68b4 8229018: Switching to an infinite socket timeout on Windows leads to high CPU load
Reviewed-by: michaelm
2019-08-05 10:40:36 +01:00
Thejasvi Voniadka
9a217b9313 8158880: test/java/time/tck/java/time/format/TCKDateTimeFormatterBuilder.java fail with zh_CN locale
Reviewed-by: naoto
2019-08-05 11:11:18 +05:30
Erik Joelsson
2d7792b54e 8058539: Platform specific source files may not end up in src.zip
Reviewed-by: alanb
2019-08-05 07:59:42 -07:00
Hannes Wallnöfer
1701207a00 8228393: Add an indicator for external links in javadoc
Reviewed-by: jjg
2019-08-05 15:29:09 +02:00
Pankaj Bansal
2f16ca0f59 8226964: [Yaru] GTK L&F: There is no difference between menu selected and de-selected
Reviewed-by: prr, kcr
2019-08-03 13:53:19 +05:30
Jie Fu
e33ff344e8 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else?
Reviewed-by: tschatzl, kbarrett
2019-08-03 09:04:04 +08:00
Christian Hagedorn
a3c85f810c 6394013: C2: Remove VerifyOpto
Removed the VerifyOpto flag.

Reviewed-by: kvn, thartmann
2019-08-05 08:03:25 +02:00
Mikhailo Seledtsov
e163037e31 8228687: [TESTBUG] exclude Container tests from hotspot_misc group
Excluded hotspot_containers from hotspot_misc

Reviewed-by: dcubed
2019-08-02 13:51:34 -07:00
Daniel D. Daugherty
46a5f5a299 8229032: ProblemList jdk/internal/platform/docker/TestDockerMemoryMetrics.java
Reviewed-by: mseledtsov, kbarrett
2019-08-02 15:13:10 -04:00
Jean Christophe Beyler
76b7c9a0ce 8228998: Remove the testing against NSK_FALSE from tests
Remove the testing against NSK_FALSE from tests

Reviewed-by: cjplummer, sspitsyn
2019-08-02 11:24:59 -07:00
Martin Doerr
f84231bfbd 8228649: [PPC64] SA reads wrong slots from interpreter frames
Make frame layout consistent between dbg and product build and implement offsets accordingly.

Reviewed-by: goetz, gromero
2019-08-02 11:28:58 +02:00
Roman Kennke
afdd397471 8229002: Shenandoah: Missing node types in ShenandoahLoadReferenceBarrier::needs_barrier_impl()
Reviewed-by: shade
2019-08-02 11:21:41 +02:00
Ivan Gerasimov
66dc6cf25b 8228352: CANON_EQ breaks when pattern contains supplementary codepoint
Reviewed-by: naoto
2019-08-01 07:14:03 -07:00
Daniel D. Daugherty
465eff703f 8228999: ProblemList vmTestbase/nsk/jvmti/GetThreadState/thrstat001/TestDescription.java
Reviewed-by: cjplummer
2019-08-01 16:07:07 -04:00
Daniel D. Daugherty
ae9388adeb 8226899: Problemlist compiler/rtm tests
Reviewed-by: kvn
2019-08-01 15:54:45 -04:00
Mikael Vidstedt
1e6f44004c Added tag jdk-14+8 for changeset c0023e364b6f 2019-08-01 09:29:13 -07:00
Mikael Vidstedt
ce4c42b376 Merge 2019-08-01 09:23:21 -07:00
Matthias Baesken
2ddc670661 8228764: New library dependencies due to JDK-8222720
Reviewed-by: goetz, dholmes
2019-08-01 09:37:24 +02:00
Matthias Baesken
57dac13ec5 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-08-01 08:59:31 +02:00
Mikhailo Seledtsov
e3aa4909df 8228904: Problemlist docker/TestJcmdWithSideCar.java until JDK-8228850 and JDK-8228960 are fixed
Problem listed the test

Reviewed-by: dcubed
2019-07-31 16:48:51 -07:00
Coleen Phillimore
921748e33c 8228907: Some gc argument checking tests fail after JDK-8228855
Use new SurvivorAlignmentInBytes range in tests, remove test cases that verify unnecessarily large values.

Reviewed-by: kbarrett, dcubed, dholmes
2019-07-31 17:30:25 -04:00
Jaikiran Pai
c4c918f410 8227170: (.hg)Ignore the JTwork and JTreport directories generated at the root of the repo
Fix the .hgignore file to properly ignore the following: .DS_Store file, .metadata, .recommenders, JTwork and JTreport directories at the root of the repo (in addition to being ignored as sub-directories). src/utils/hsdis/build/ directory

Reviewed-by: erikj
2019-07-29 16:31:09 +05:30
Kim Barrett
6d65b4fd25 8048556: Unnecessary GCLocker-initiated young GCs
Fixed recognition of unnecessary GCLocker collections.

Reviewed-by: pliden, tschatzl
2019-07-31 14:28:51 -04:00
Coleen Phillimore
caf7ee9bb5 8228855: Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails after JDK-8227123
Give SurvivorAlignmentInBytes a range same as ObjectAlignmentInBytes

Reviewed-by: shade
2019-07-31 13:40:59 -04:00
Eric Caspole
c3c35c1b6d 8228674: LogCompilation: Improvements to log compare feature
Show compiler and level in compare output

Reviewed-by: kvn, thartmann
2019-07-31 09:55:26 -04:00
Coleen Phillimore
ab9aab646b 8228630: Remove always true parameter to NoSafepointVerifier
Also remove NoGCVerifier since NoSafepointVerifier covers GC checking when not already at a safepoint and is a stronger check.

Reviewed-by: kbarrett, dholmes
2019-07-31 06:54:50 -04:00
Coleen Phillimore
9ad5641ce5 8228673: Remove develop flag StrictSafepointChecks
Reviewed-by: shade, dholmes
2019-07-31 06:37:13 -04:00
Roman Kennke
8996d4782d 8228775: Shenandoah: Remove useless null-input-verification in Shenandoah/C2 verifier
Reviewed-by: shade
2019-07-31 10:03:44 +02:00
Christian Hagedorn
ade0b9d914 8193042: NativeLookup::lookup_critical_entry() should only load shared library once
Avoids repeated loads/unloads of the same shared library.

Reviewed-by: dholmes, dlong, thartmann
2019-07-31 08:05:14 +02:00
David Holmes
9e4054bd0e 8227250: UserHandler contains ancient LinuxThreads code
Reviewed-by: hseigel, dcubed
2019-07-31 00:02:01 -04:00
Patricio Chilano Mateo
3c80eb4f3c 8227528: TestAbortVMOnSafepointTimeout.java failed due to "RuntimeException: 'Safepoint sync time longer than' missing from stdout/stderr"
Biased locking was disable for this test.

Reviewed-by: dcubed, mdoerr, dholmes
2019-07-30 17:31:29 -04:00
Aleksey Shipilev
cfb06a603c 8228725: AArch64: Purge method call format support
Reviewed-by: adinn
2019-07-30 22:16:48 +02:00
Aleksey Shipilev
1ed64c2a95 8228672: [TESTBUG] gc/metaspace/TestSizeTransitions.java fails on 32-bit platforms
Reviewed-by: tonyp
2019-07-30 22:15:23 +02:00
Brian Burkhalter
3155cd829b 8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
Reviewed-by: alanb, lancea, fweimer
2019-07-30 09:46:06 -07:00
Martin Doerr
918492bb58 8228743: [PPC64, s390] Implement FastJNIAccessors
Reviewed-by: goetz, lucy
2019-07-30 17:54:53 +02:00
Coleen Phillimore
1186d8203b 8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
Increase max size for SymbolTable and fix experimental option range.  Fix option range test to include experimental options.

Reviewed-by: jiangli, dholmes, hseigel, gziemski
2019-07-30 09:56:18 -04:00
Sean Mullan
28479937ea 8191138: Remove deprecated java.security.acl APIs
Reviewed-by: alanb, mchung
2019-07-30 09:26:47 -04:00
Weijun Wang
855e5f5282 8228745: sun/security/tools/jarsigner/Warning.java test timeout
Reviewed-by: xuelei
2019-07-30 11:14:16 +08:00
Rajan Halade
285edd49e9 8228755: ProblemList sun/security/tools/jarsigner/Warning.java
Reviewed-by: xuelei
2019-07-29 16:09:36 -07:00
Valerie Peng
c720219beb 8228668: compiler/codegen/aes/TestAESMain.java failed with GCM mode must be used with NoPadding
Updated test to use NoPadding as default if the mode is one of GCM, CTR and CTS

Reviewed-by: xuelei
2019-07-29 20:18:43 +00:00
Xue-Lei Andrew Fan
4ac4c838d9 8228742: Remove javax/net/ssl/SSLSocket/Tls13PacketSize.java from ProblemList
Reviewed-by: mullan
2019-07-29 11:23:49 -07:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Martin Doerr
70fb85adc5 8227680: FastJNIAccessors: Check for JVMTI field access event requests at runtime
Check JvmtiExport::_field_access_count != 0 at runtime

Reviewed-by: dholmes, eosterlund, bulasevich
2019-07-29 18:22:55 +02:00
Brian Burkhalter
62c2d1fbd9 8078891: java.io.SequenceInputStream.close is not atomic and not idempotent
Reviewed-by: prappo, dfuchs, alanb
2019-07-29 09:09:23 -07:00
Brian Burkhalter
20ee82bf0a 8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Reviewed-by: alanb, lancea
2019-07-29 08:48:52 -07:00
Coleen Phillimore
1ed3649f48 8202339: [TESTBUG] Consolidate the tests in runtime/SharedArchiveFile and runtime/appcds
Add top level cds directory and adjust test groups

Reviewed-by: mseledtsov, ccheung
2019-07-29 10:34:20 -04:00
Harold Seigel
3d6ba9735f 8228596: Class redefinition fails when condy instructions are removed
Make sure has_dynamic_constant flag value gets copied to merged constant pool, when it is set to TRUE

Reviewed-by: coleenp, dcubed, sspitsyn
2019-07-29 09:57:37 -04:00
Aleksey Shipilev
f5b92a4ca7 8228400: Remove built-in AArch64 simulator
Reviewed-by: adinn, aph, dsamersoff
2019-07-29 11:14:06 +02:00
Richard Reingruber
a24a333cfd 8228618: s390: c1/c2 fail to add a metadata relocation in the static call stub
Reviewed-by: mdoerr, goetz
2019-07-26 16:03:08 +02:00
Erik Österlund
a42636d34b 8227407: ZGC: C2 loads and load barriers can get separated by safepoints
Reviewed-by: neliasso, smonteith, roland
2019-07-29 13:57:54 +02:00
John Jiang
804e840856 8228403: SignTwice.java failed with java.io.FileNotFoundException: File name too long
Reviewed-by: mullan
2019-07-27 10:02:35 +08:00
Ralf Schmelter
5bbe479ade 8228589: BasicJStackTest.java and JcmdOutputEncodingTest.java failing after JDK-8227868
Reviewed-by: cjplummer, sgehwolf
2019-07-26 10:52:47 +02:00
Sean Coffey
bb3d5aed04 8228645: Don't run sun/security/pkcs11/Cipher/TestKATForGCM.java on buggy NSS solaris versions
Reviewed-by: valeriep
2019-07-29 08:17:26 +00:00
Matthias Baesken
dde37610c0 8228650: runtime/SharedArchiveFile/CheckDefaultArchiveFile.java test fails on AIX
Reviewed-by: mseledtsov
2019-07-26 15:05:24 +02:00
Christian Hagedorn
3135a96dc0 8156207: Resource allocated BitMaps are often cleared unnecessarily
Removed unnecessary clearing of BitMap.

Reviewed-by: kbarrett, kvn, thartmann
2019-07-29 09:40:02 +02:00
Christian Hagedorn
b2a9f90a94 8223769: Assert triggers with -XX:+StressReflectiveCode
Fixed too strong assert.

Reviewed-by: kvn, thartmann
2019-07-29 09:34:07 +02:00
David Holmes
3e45ca1ad7 8221205: Obsolete AllowJNIEnvProxy
Reviewed-by: hseigel, dcubed
2019-07-28 23:14:07 -04:00
Mandy Chung
19ec64630a 8228671: Fastdebug VM throws InternalError when publicLookup.in(T) is used to resolve a member
Reviewed-by: alanb
2019-07-27 14:49:16 -07:00
Kim Barrett
80ebfe9bba 8226796: Reduce debug level logging for oopstorage+blocks
Adjust logging levels based on expected volume of output.

Reviewed-by: tschatzl, pliden
2019-07-26 23:37:51 -04:00
Kim Barrett
b729cda18e 8228631: Fix inconsistent OopStorage::Block owner usage
Only use Block's owner member for address validation.

Reviewed-by: tschatzl, pliden
2019-07-26 20:15:13 -04:00
Naoto Sato
11ab995e6c 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00
Lance Andersen
d711c4e18e 8226808: PreparedStatement javadoc typo
Reviewed-by: bpb, joehw
2019-07-26 15:06:22 -04:00
Joe Wang
136cfdb1e3 8068376: Validator fails valid XML files due to String == in XSD validator code
Reviewed-by: lancea
2019-07-26 17:15:17 +00:00
Naoto Sato
c1a479ad67 8212970: TZ database in "vanguard" format support
Reviewed-by: rriggs, joehw, erikj, scolebourne
2019-07-26 08:56:28 -07:00
Leo Jiang
4b791747ef 8228623: Update copyright year to 2019 for several java properties file
Reviewed-by: naoto
2019-07-26 11:47:50 +08:00
Calvin Cheung
fc7aa2306c 8228407: JVM crashes with shared archive file mismatch
Stop processing other header fields if initial header check has failed.

Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Weijun Wang
3476b6dab8 8228602: Add sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java to problem list
Reviewed-by: mullan
2019-07-25 21:21:29 +08:00
Matthias Baesken
adfa9a7eb1 8228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
Reviewed-by: dholmes, sgehwolf
2019-07-25 12:15:27 +02:00
Matthias Baesken
1f088e0f3f 8228650: runtime/SharedArchiveFile/CheckDefaultArchiveFile.java test fails on AIX
Reviewed-by: mseledtsov
2019-07-26 15:05:24 +02:00
Matthias Baesken
01e4da6809 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms
Reviewed-by: dholmes, jcbeyler
2019-08-01 08:59:31 +02:00
Markus Grönlund
946d2b3197 8228834: Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
Reviewed-by: egahlin
2019-08-02 10:43:30 +02:00
Ichiroh Takiguchi
7ca72d55c3 8227919: 8213232 causes crashes on solaris sparc64
Reviewed-by: prr, vkempik
2019-08-01 10:47:51 -07:00
Mikael Vidstedt
2f5e3d0d04 Added tag jdk-13+32 for changeset 929f37a9c35d 2019-08-01 09:27:24 -07:00
Leo Jiang
0de207a5e0 8228397: Missing license copyright header in some properties files
Reviewed-by: iris, mchung, naoto
2019-07-25 15:29:50 +08:00
Igor Ignatyev
cac96b1b58 8226905: unproblem list applications/ctw/modules/* tests on windows
Reviewed-by: kvn
2019-07-24 18:23:16 -07:00
Mikael Vidstedt
3424644dae Added tag jdk-13+31 for changeset 6a159c6c23cc 2019-07-24 16:54:17 -07:00
Vladimir Ivanov
32eb2e45b6 8227260: JNI upcalls should bypass class initialization barrier in c2i adapter
Reviewed-by: eosterlund, dholmes, mdoerr
2019-07-24 10:50:40 +03:00
Weijun Wang
78c7364c17 8228341: SignTwice.java fails intermittently on Windows
Reviewed-by: mullan
2019-07-24 10:09:30 +08:00
Weijun Wang
9c12b7f41d 8227595: keytool/fakegen/DefaultSignatureAlgorithm.java fails due to "exitValue = 6"
Reviewed-by: mullan
2019-07-24 10:09:22 +08:00
Zhengyu Gu
e17feae1e8 8228532: Shenandoah: Implement SBSA::try_resolve_jobject_in_native()
Reviewed-by: rkennke
2019-07-23 15:33:52 -04:00
Matthias Baesken
4449a99f84 8228578: fix CFData object leak in macosx KeystoreImpl.m
Reviewed-by: weijun
2019-07-24 12:36:12 +02:00
Christoph Langer
d3fa36896e 8228571: [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512
Reviewed-by: iignatyev, jjg
2019-07-26 09:06:03 +02:00
Valerie Peng
ded94368d1 Merge 2019-07-25 21:51:13 +00:00
Dean Long
bc1ccab62c 8226771: Update Graal
Reviewed-by: kvn
2019-07-25 17:35:58 -04:00
Brian Burkhalter
a8af569fa0 8184157: (ch) AsynchronousFileChannel hangs with internal error when reading locked file
Reviewed-by: alanb
2019-07-25 11:44:37 -07:00
Matthias Baesken
da6f042616 8228585: jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
Reviewed-by: dholmes, sgehwolf
2019-07-25 12:15:27 +02:00
Valerie Peng
6b662abe74 8180392: SunJCE provider should throw exceptions for unsupported mode and padding combinations
Change JCA Cipher class to create obj to ensure the mode and padding combination is supported

Reviewed-by: xuelei
2019-07-25 02:16:49 +00:00
Matthias Baesken
ff6b5404eb 8228501: java_props_macosx.c - provide missing CFRelease for CFLocaleCopyCurrent
Reviewed-by: naoto
2019-07-24 09:28:48 +02:00
Jonathan Gibbons
5fc206ea7d 8228494: Update nroff version of man pages
Reviewed-by: mchung
2019-07-23 11:30:31 -07:00
Zhengyu Gu
6a94be7047 8228490: Shenandoah: Shenandoah concurrent root evacuation may race against OopStorage::release()
Reviewed-by: rkennke
2019-07-22 16:32:58 -04:00
Severin Gehwolf
843ee2be16 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
Move container constant to separate test lib class

Reviewed-by: alanb
2019-07-22 10:48:14 +02:00
Severin Gehwolf
422e04e98f 8227642: [TESTBUG] Make docker tests podman compatible
Reviewed-by: mseledtsov, iignatyev
2019-07-12 19:37:25 +02:00
Erik Österlund
a8842c9f59 8225642: ZGC: Crash due to bad oops being spilled to stack in load barriers
Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: neliasso, pliden
2019-07-02 11:33:05 +02:00
Erik Österlund
ec5bfaba53 8219687: G1 asserts nmethod should not be unloaded during parallel code cache unloading
Reviewed-by: tschatzl, kvn
2019-07-02 11:33:01 +02:00
Thomas Stuefe
0fa1047733 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00
Erik Österlund
03030e473c 8224674: NMethod state machine is not monotonic
Reviewed-by: dlong, coleenp, thartmann
2019-07-18 11:15:20 +02:00
Weijun Wang
e23d02b484 8228342: Add SignTwice.java to problem list
Reviewed-by: xuelei
2019-07-18 13:41:55 +08:00
Philipp Kunz
b6d1b1e085 8217375: jarsigner breaks old signature with long lines in manifest
Reviewed-by: jjiang, weijun
2019-07-18 08:53:06 +08:00
Martin Balao
3cd50f2666 8227437: S4U2proxy cannot continue because server's TGT cannot be found
Reviewed-by: weijun
2019-07-17 12:26:56 -03:00
Rajan Halade
5fd772a6f1 8048595: problemList failing/ignored manual tests in security-libs
Reviewed-by: ascarpino
2019-07-17 16:13:26 -07:00
Anthony Scarpino
200254b479 8226338: Updates to Stateless Resumption
Reviewed-by: xuelei, jnimeh
2019-07-17 14:37:50 -07:00
Mikael Vidstedt
e352e9327c Added tag jdk-13+30 for changeset 2e63fb0a885f 2019-07-17 13:41:12 -07:00
Anthony Scarpino
bc7a8842a3 8227551: Session Resumption without Server-Side State off by default
Reviewed-by: xuelei, jnimeh, jjiang
2019-07-17 12:31:21 -07:00
Calvin Cheung
6f3bb94427 8227646: [TESTBUG] appcds/SharedArchiveConsistency timed out
Remove the FileChannel.force() calls.

Reviewed-by: dcubed, iklam
2019-07-17 08:34:45 -07:00
Jan Lahoda
1dd6e7a3eb 8226522: No compilation error reported when yield is used in incorrect context
Reviewed-by: mcimadamore
2019-07-02 09:14:51 +02:00
Phil Race
bb7ac5cc11 Merge 2019-07-01 14:57:02 -07:00
Poonam Bajaj
355346c10a 8215523: jstat reports incorrect values for OU for CMS GC
Reviewed-by: tschatzl, sgehwolf
2019-07-01 18:24:06 +00:00
Thomas Stuefe
ba3ba19536 8227032: MetaspaceUtils::print_report crashes when called before initialization
Reviewed-by: tschatzl, goetz
2019-07-01 16:28:17 +02:00
Thomas Stuefe
9e02985246 8227252: [aix] Disable jdk/java/lang/reflect/exeCallerAccessTest
Reviewed-by: goetz
2019-07-04 11:55:00 +02:00
Matthias Baesken
3bb469aa4f 8227171: provide function names in native stack trace on aix with xlc16
Reviewed-by: stuefe
2019-07-03 13:34:10 +02:00
Tobias Hartmann
e844e34e81 8227173: Minor cleanup of unused code in compile.hpp
Removed unused code.

Reviewed-by: kvn
2019-07-04 09:12:21 +02:00
Joe Darcy
86adc981f1 8227202: clarify Class.isEnum() doc
Reviewed-by: bpb
2019-07-03 16:29:20 -07:00
Mikael Vidstedt
7ffa6686b6 Merge 2019-07-03 15:47:39 -07:00
Brian Burkhalter
c6c82dd736 8227080: (fs) Files.newInputStream(...).skip(n) is slow
Reviewed-by: sbordet, rriggs, fweimer
2019-07-03 14:37:19 -07:00
Mikael Vidstedt
5b24465467 Added tag jdk-14+4 for changeset 19d0b382f086 2019-07-03 14:18:15 -07:00
Mikael Vidstedt
67e5c778aa Added tag jdk-13+28 for changeset 1e95931e7d8f 2019-07-03 14:11:21 -07:00
Antonios Printezis
dacaff48e2 8223575: add subspace transitions to gc+metaspace=info log lines
Reviewed-by: stuefe, tschatzl
2019-07-03 15:46:48 -04:00
Doug Simon
509442b2a4 8226566: [JVMCI] java.* classes are no longer necessarily resolved by the boot class loader
Reviewed-by: kvn, dlong
2019-07-03 11:07:48 -07:00
Joe Wang
5c12a30062 8223291: Whitespace is added to CDATA tags when using OutputKeys.INDENT to format XML
Reviewed-by: dfuchs, lancea
2019-07-03 16:30:19 +00:00
Roman Kennke
307b7e3c04 8227199: Shenandoah: Remove superfluous calls to can_do_traversal_gc()
Reviewed-by: shade
2019-07-03 17:52:56 +02:00
Mikael Vidstedt
c200fc1f34 Merge 2019-07-03 07:56:41 -07:00
Poonam Bajaj
58d760898e 8227178: Backout of 8215523
Reviewed-by: tschatzl
2019-07-03 14:33:40 +00:00
Matthias Baesken
202159bc57 8226238: Improve error output and fix elf issues in os::dll_load
Reviewed-by: clanger, mdoerr
2019-07-02 13:45:08 +02:00
Stefan Karlsson
53fefe466c 8227085: ZGC: Add on_weak load barrier verification
Reviewed-by: eosterlund
2019-07-02 12:24:28 +02:00
Stefan Karlsson
e632ccd508 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
70b0862972 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
Harold Seigel
72bb0855ad 8226956: Add invocation tests for Graal and C1
Add new tests for these JIT's

Reviewed-by: lfoltan, coleenp
2019-07-02 13:20:27 -04:00
Andrew Haley
4902fc723a Merge 2019-07-02 16:55:22 +01:00
Andrew Haley
61c24da895 8226525: HotSpot compile-time error for x86-32
Reviewed-by: shade
2019-07-02 16:54:52 +01:00
Jaikiran Pai
178bf44f56 8226976: SessionTimeOutTests uses == operator for String value check
Use String.equals() instead of == operator

Reviewed-by: xuelei
2019-07-02 11:07:40 +05:30
Brian Burkhalter
4833b4b3d5 8224480: (fc) java/nio/channels/FileChannel/MapTest.java fails intermittently
Reviewed-by: lancea, alanb
2019-07-02 08:32:33 -07:00
Zhengyu Gu
803c03c094 8227101: Shenandoah: Use ShenandoahSharedFlag for claimed flag in ShenandoahSerialRoot
Reviewed-by: shade
2019-07-02 10:21:23 -04:00
Pavel Rappo
3395bb591b 8226602: Test convenience reactive primitives from java.net.http with RS TCK
Reviewed-by: chegar, dfuchs
2019-07-02 13:25:51 +01:00
Thomas Stuefe
4598deaf64 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00
Thomas Stuefe
3749d0a03d 8227035: JVM::printFlags fails in native OOM situations
Reviewed-by: goetz, gziemski
2019-07-02 10:25:00 +02:00
Mikael Vidstedt
c15943f7a8 Merge 2019-07-01 17:08:04 -07:00
Serguei Spitsyn
fdfeffc99b 8226603: accessibility issues in specs/jvmti.html
Fix accessability issues in the JVMTI spec

Reviewed-by: dholmes, amenkov
2019-07-01 11:40:34 -07:00
Zhengyu Gu
d843b2f58e 8226957: Shenandoah: Remove obsoleted ShenandoahStoreCheck option
Reviewed-by: shade
2019-07-01 08:24:45 -04:00
Claes Redestad
00026605f6 8225344: Avoid VM_EnableBiasedLocking VM operation during bootstrap if BiasedLockingStartupDelay is 0
Reviewed-by: dcubed, shade, dholmes
2019-07-01 12:16:58 +02:00
Nils Eliasson
ccbc87cc31 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Nils Eliasson
37a2e72937 8226287: Make process_users_of_allocation handle gc barriers
Reviewed-by: kvn, roland
2019-07-01 10:49:58 +02:00
Ao Qi
095da5385c 8226967: Minimal VM: FALSE was not declared in this scope
Reviewed-by: dholmes
2019-07-01 12:50:34 +08:00
Igor Veresov
a7511da8af 8226778: [JVMCI] Handle unpacking properly in Deoptimiziation::get_cached_box()
Properly decode StackValue on big-endian machines

Reviewed-by: kvn
2019-06-28 21:41:04 -07:00
Jesper Wilhelmsson
37599ff955 Merge 2019-06-29 05:26:55 +02:00
Joe Darcy
d96ed63fd0 8226809: Circular reference in printed stack trace is not correctly indented & ambiguous
Reviewed-by: bpb
2019-06-28 18:51:01 -07:00
Serguei Spitsyn
ff1f2fad6e 8226917: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails on jvmti->InterruptThread (JVMTI_ERROR_THREAD_NOT_ALIVE)
Fix one more sync issue in the test

Reviewed-by: dcubed, gadams, amenkov
2019-06-28 16:06:44 -07:00
Doug Simon
9d6c7764b6 8226533: JVMCI: findUniqueConcreteMethod should handle statically bindable methods directly
Reviewed-by: kvn, dlong
2019-06-28 16:50:14 -04:00
Brian Burkhalter
4d1ff6a295 8226706: (se) Reduce the number of outer loop iterations on Windows in java/nio/channels/Selector/RacyDeregister.java
Reviewed-by: alanb
2019-06-28 13:02:18 -07:00
Christoph Langer
a8fc8c4c21 8226869: Test java/util/Locale/LocaleProvidersRun.java should enable assertions
Reviewed-by: naoto
2019-06-28 20:46:25 +01:00
Valerie Peng
1e0c8e5b26 8226651: Setting the mgfHash in CK_RSA_PKCS_PSS_PARAMS has no effect
Fixed to get the MGF digest algorithm from MGF1ParameterSpec

Reviewed-by: xuelei
2019-06-28 19:36:32 +00:00
Calvin Cheung
5d1361df03 8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Ao Qi
302b8d06ce 8226878: zero crashes after JDK-8191278
Reviewed-by: shade, jcm
2019-06-28 18:01:36 +02:00
Naoto Sato
bb9049d3c1 8226876: Assertion in sun/util/locale/provider/CalendarDataUtility on Windows after JDK-8218960
Reviewed-by: clanger
2019-06-28 08:48:17 -07:00
Daniel Fuchs
2ad9f11d77 8226514: Replace wildcard address with loopback or local host in tests - part 14
Improve test stabilty by getting rid of the wildcard address whenever possible.

Reviewed-by: chegar, vtewari
2019-06-28 15:58:10 +01:00
Dmitrij Pochepko
685c7b8a43 8223173: Implement fast class initialization checks on AARCH64
Reviewed-by: aph
2019-06-28 17:10:22 +03:00
Michael McMahon
faea44aec3 8222968: ByteArrayPublisher is not thread-safe resulting in broken re-use of HttpRequests
Reviewed-by: chegar, dfuchs
2019-06-28 11:26:07 +01:00
Tobias Hartmann
b1692c1eaa 8226879: Memory leak in Type::hashcons
Call delete on xdual type.

Reviewed-by: kvn
2019-06-28 09:12:49 +02:00
Jesper Wilhelmsson
1b8e41bf5b Merge 2019-06-27 22:03:19 +02:00
Phil Race
f9c491c478 8226783: GTK is not being returned as the System L&F on Gnome
Reviewed-by: serb, psadhukhan
2019-06-27 12:55:55 -07:00
Coleen Phillimore
74b8b47283 8225437: JvmtiExport::gc_epilogue is unnecessary
Remove jvmtiExport::gc_epilogue after full GCs

Reviewed-by: dholmes, sspitsyn, dlong
2019-06-27 11:40:18 -04:00
Julia Boes
c45f932cc5 8226825: Replace wildcard address with loopback or local host in tests - part 19
Replace use of wildcard by the loopback address, or possibly the local host address, wherever possible, to improve test stability.

Reviewed-by: chegar, bpb
2019-06-27 16:12:39 +01:00
Ao Qi
7a1bd61849 8226871: invalid use of incomplete type class MacroAssembler when building minimal after JDK-8191278
Reviewed-by: shade
2019-06-27 18:00:54 +08:00
Thomas Schatzl
d46d9318c1 8213108: Improve work distribution during remembered set scan
Before scanning the heap for roots into the collection set, merge them into a single remembered set (card table) and do work distribution based on location like other collectors do.

Reviewed-by: kbarrett, lkorinth
2019-06-27 11:48:32 +02:00
Jan Lahoda
e81d3fa8c3 8226510: No compilation error when switch expression has no result expressions
Ensure a compile-time error is produced when there are no result expressions in an switch expression.

Reviewed-by: vromero
2019-06-27 10:39:27 +02:00
John Jiang
df6fbdb2af 8224650: Add tests to support X25519 and X448 in TLS
Reviewed-by: xuelei
2019-06-28 05:29:54 +08:00
Ralf Schmelter
334e93b09e 8226608: Hide the onjcmd option from the help output
Reviewed-by: sspitsyn, clanger
2019-06-27 00:51:04 -07:00
Jesper Wilhelmsson
a77f50d3d1 8225497: Update Graal
Reviewed-by: kvn
2019-06-27 03:33:44 +02:00
Jesper Wilhelmsson
c4f68dd8b6 Added tag jdk-13+27 for changeset b7f68ddec66f 2019-06-27 03:13:54 +02:00
Jesper Wilhelmsson
a756f8a1bd Added tag jdk-14+3 for changeset e64383344f14 2019-06-27 03:10:52 +02:00
Ivan Gerasimov
f853b31306 8224716: Javadoc of Int/Long/DoubleSummaryStatistics should mention possible overflow of count
Reviewed-by: bpb
2019-06-26 17:06:43 -07:00
Sergey Bylokhov
a66ce2eb45 8134672: [TEST_BUG] Some tests should check isDisplayChangeSupported
Reviewed-by: prr
2019-06-26 15:34:13 -07:00
Jesper Wilhelmsson
16548883ec Merge 2019-06-26 22:16:00 +02:00
Kim Barrett
805258f3a9 8225255: Make SATB qset lock-free
Refactor PtrQueueSet, use lock-free stack for SATB completed buffers

Reviewed-by: tschatzl, shade
2019-06-26 13:18:38 -04:00
Robbin Ehn
8b067a95ed 8225702: Safepoint counter can't be used for safepoint detection
Reviewed-by: dcubed, dholmes
2019-06-26 18:22:28 +02:00
Bob Vandette
1a72f29e35 8224764: Create jtreg test for JDK-8222252
Reviewed-by: tschatzl
2019-06-26 11:25:51 -04:00
Harold Seigel
b6c6f3ce43 8224137: Analyze and port invocation tests to jtreg and co-locate to jdk repo
Add JTReg compatible main programs to run tests for various invoke* instructions

Reviewed-by: lfoltan, coleenp
2019-06-26 09:06:32 -04:00
Joe Wang
622cdc7189 8224157: BCEL: update to version 6.3.1
Reviewed-by: dfuchs, lancea
2019-06-26 05:49:59 +00:00
Joe Darcy
3d4d89b2ae 8226785: MandatoryWarningHandler.java contains implementation of Objects.equals functionality
Reviewed-by: jjg
2019-06-25 18:46:51 -07:00
Ivan Gerasimov
c9ca2c7a90 8224849: Flag (?U:...) is allowed for non-capturing groups
Reviewed-by: bchristi
2019-06-25 18:20:21 -07:00
Ivan Gerasimov
e96576ee30 8226543: Reduce GC pressure during message digest calculations in password-based encryption
Reviewed-by: mullan
2019-06-25 17:27:31 -07:00
Valerie Peng
870330c60c 8226607: Inconsistent info between pcsclite.md and MUSCLE headers
Updated the info based on MUSCLE v1.8.24

Reviewed-by: ascarpino
2019-06-25 21:33:24 +00:00
Kevin Rushforth
064f2d1624 8222563: Remove terminally deprecated method netscape.javascript.JSObject::getWindow
Reviewed-by: prr, herrick
2019-06-25 14:27:31 -07:00
Bernard Blaser
0a1d85e5a3 8225644: C1 dumps incorrect class name in ClassCastException message
Co-authored-by: Jie Fu <fujie@loongson.cn>
Reviewed-by: vlivanov, bsrbnd
2019-06-25 21:24:37 +02:00
Stuart Monteith
d704504260 8226515: AArch64: float point register corruption in ZBarrierSetAssembler::load_at
Reviewed-by: aph
2019-06-25 10:50:59 +01:00
Valerie Peng
f35f2cdc3f 8226607: Inconsistent info between pcsclite.md and MUSCLE headers
Updated the info based on MUSCLE v1.8.24

Reviewed-by: ascarpino
2019-06-26 01:15:51 +00:00
Vicente Romero
b2e7d0367e 8226709: MethodTypeDesc::resolveConstantDesc needs access check per the specification
Reviewed-by: mchung, mcimadamore
2019-06-25 18:21:21 -04:00
Calvin Cheung
5c5126f5ee 8226462: [TESTBUG] runtime/appcds/sharedStrings/SysDictCrash.java failed with Cannot dump shared archive
Add a CDS log statement in arguments.cpp. The test catches RuntimeException duing dumping and checks if the log statement is in the stdout.

Reviewed-by: iklam, dholmes
2019-06-25 09:41:03 -07:00
Patrick Concannon
5629241827 8226730: Missing @ in code tags
Reviewed-by: bpb
2019-06-25 16:34:08 +01:00
Tejpal Rebari
be762d7ac8 8196467: javax/swing/JInternalFrame/Test6325652.java fails
Reviewed-by: jdv, psadhukhan
2019-06-25 14:13:33 +05:30
Prasanta Sadhukhan
3da101fa7f 8226361: jdk ProblemList file contains more than 1 entry for a test
Reviewed-by: serb, jdv
2019-06-25 11:05:07 +05:30
Daniel D. Daugherty
d6be015b16 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Phil Race
41d734bc77 8226697: Several tests which need the @key headful keyword are missing it
Reviewed-by: serb
2019-06-24 17:31:00 -07:00
Dean Long
01c739c34a 8225369: [AOT] vm/classfmt/cpl/cplres001/cplres00101m004/cplres00101m004.html fails
Reviewed-by: kvn, never
2019-06-24 18:51:54 -04:00
Jonathan Gibbons
d50c63ac29 8226628: The copyright footer should be enclosed in <footer>
Reviewed-by: iris, lancea
2019-06-24 13:40:23 -07:00
Jamsheed Mohammed C M
aedbb75803 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copy*Memory access failures are handled gracefully.

Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: kvn, dcubed, thartmann, coleenp, aph
2019-06-24 11:37:56 -07:00
Bob Vandette
1719c0cc12 8224506: [TESTBUG] TestDockerMemoryMetrics.java fails with exitValue = 137
Reviewed-by: sgehwolf, mseledtsov
2019-06-24 11:52:01 -04:00
Bob Vandette
4786d88ba9 8224502: [TESTBUG] JDK docker test TestSystemMetrics.java fails with access issues and OOM
Reviewed-by: sgehwolf, mseledtsov
2019-06-24 11:49:59 -04:00
Sean Mullan
6ad9eba4cd 8180005: Provide specific links in KeyManagerFactory and TrustManagerFactory to the Standard Algorithm Names Specification
Reviewed-by: ascarpino
2019-06-24 10:11:17 -04:00
Serguei Spitsyn
8cf8442085 8226595: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java still fails due to wrong number of MonitorContendedEntered events
Fix one more sync issue in the test

Reviewed-by: dcubed, amenkov
2019-06-22 14:35:57 -07:00
Serguei Spitsyn
fc6de2505d 8224555: vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/TestDescription.java failed
Improve synchronization in the test

Reviewed-by: dcubed, amenkov
2019-06-21 18:20:49 -07:00
Sergey Bylokhov
035e07b212 8225146: Accessibility issues in javax/swing/plaf/nimbus/doc-files/properties.html
Reviewed-by: aivanov
2019-06-21 16:20:01 -07:00
Jonathan Gibbons
177f031d00 8226593: Fix HTML in com/sun/jdi/doc-files/signature.html
Reviewed-by: sspitsyn, lancea
2019-06-21 12:09:07 -07:00
Jonathan Gibbons
03051ed79d 8226592: Fix HTML in table for jdk.zipfs module-info
Reviewed-by: bpb, lancea
2019-06-21 11:41:29 -07:00
Erik Joelsson
ff8b711ec2 8226269: Race in SetupProcessMarkdown
Reviewed-by: tbell
2019-06-21 10:38:53 -07:00
Phil Race
d0107dc695 Merge 2019-06-21 09:05:45 -07:00
Weijun Wang
a2b3db108a 8225257: sun/security/tools/keytool/PSS.java timed out
Reviewed-by: valeriep
2019-06-21 23:44:58 +08:00
Coleen Phillimore
3ba752295e 8226394: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError
Don't use printStackTrace to verify OOM type.

Reviewed-by: lfoltan, dholmes
2019-06-21 09:53:12 -04:00
Andrew Dinn
547e919979 8226203: MappedByteBuffer.force method may have no effect on implementation specific map modes
Fix comment for MappedByteBuffer force methods

Reviewed-by: alanb
2019-06-21 15:16:03 +01:00
Erik Joelsson
d1017b71ad 8226538: find-files.gmk gets corrupted if tab completion is used before running make first
Reviewed-by: tbell
2019-06-21 06:33:55 -07:00
Sean Mullan
a7a94701fe 8226307: Curve names should be case-insensitive
Reviewed-by: igerasim, jnimeh, wetmore
2019-06-21 08:38:26 -04:00
Hannes Wallnöfer
66e90a11f9 8225802: Remove unused CSS classes from HTML doclet
Reviewed-by: jjg
2019-06-21 12:23:46 +02:00
Sean Coffey
3f0730930d 8133489: Better messaging for PKIX path validation matching
Reviewed-by: xuelei
2019-06-21 08:07:18 +00:00
Serguei Spitsyn
fc6b87472c 8223736: jvmti/scenarios/contention/TC04/tc04t001/TestDescription.java fails due to wrong number of MonitorContendedEntered events
Fix the synchronization issue in the test

Reviewed-by: cjplummer, dcubed, amenkov
2019-06-20 23:12:12 -07:00
Jesper Wilhelmsson
86ce4e9448 Merge 2019-06-21 04:16:18 +02:00
Daniil Titov
338958936d 8220175: serviceability/dcmd/framework/VMVersionTest.java fails with a timeout
Reviewed-by: sspitsyn, cjplummer
2019-06-20 18:47:44 -07:00
Zhengyu Gu
2548e0bc5d 8225590: Shenandoah: Refactor ShenandoahClassLoaderDataRoots API
Reviewed-by: rkennke
2019-06-20 18:29:34 -04:00
Jonathan Gibbons
a911306343 8226412: Fix command-line help text for javac -target
Reviewed-by: vromero
2019-06-20 14:24:13 -07:00
Rob McKenna
9d9f9abe81 8223727: com/sun/jndi/ldap/privconn/RunTest.java failed due to hang in LdapRequest.getReplyBer
Reviewed-by: prappo
2019-06-20 20:20:01 +00:00
Lance Andersen
b1c6ff7193 8226518: Typo in the ConnectionBuilder javadoc examples
Reviewed-by: bpb
2019-06-20 16:15:10 -04:00
Dan Smith
61a4303c42 8226325: Support building of filtered spec bundles
Reviewed-by: erikj
2019-06-20 14:03:10 -06:00
Ekaterina Pavlova
5a4675362f 8225684: [AOT] vmTestbase/vm/oom/production/AlwaysOOMProduction tests fail with AOTed java.base
Reviewed-by: kvn
2019-06-20 11:42:33 -07:00
Naoto Sato
8f39def1ec 8220229: Timezone pattern "OOOO" does not result in the full "GMT+00:00" substring
Reviewed-by: lancea, rriggs
2019-06-20 11:21:54 -07:00
Vladimir Kozlov
2ccecc495c 8223794: applications/kitchensink/Kitchensink.java crash bad oop with Graal
Added new nmethod::oop_at_phantom() method for JVMCI to notify GC that oop should be kept alive

Reviewed-by: dlong, eosterlund
2019-06-20 10:32:25 -07:00
Andrew Luo
4c4bd162c5 8226521: Detect WSL2 as WSL in configure
Reviewed-by: erikj
2019-06-20 09:35:41 -07:00
Erik Joelsson
4934681f19 8226404: bootcycle build uses wrong CDS archive
Reviewed-by: iklam
2019-06-20 07:56:28 -07:00
Zhengyu Gu
cd130d9b39 8226413: Shenandoah: Separate root scanner for SH::object_iterate()
Reviewed-by: rkennke
2019-06-20 10:12:31 -04:00
Steve Groeger
4a7e2b57ea 8226468: [aix] loadquery failed error message displayed
Reviewed-by: stuefe, mbaesken
2019-06-20 14:09:22 +01:00
Jesper Wilhelmsson
a1e6e5f785 Merge 2019-06-25 14:36:31 +02:00
Daniel D. Daugherty
b0933034e0 8226699: [BACKOUT] JDK-8221734 Deoptimize with handshakes
Reviewed-by: dholmes, rehn, dlong
2019-06-24 22:38:17 -04:00
Coleen Phillimore
cd598622cc 8214822: Move ConcurrentHashTable VALUE parameter to CONFIG
Make VALUE parameter be included in CONFIG configuration, also remove BaseConfig

Reviewed-by: dholmes, kbarrett
2019-06-24 16:51:23 -04:00
Zhengyu Gu
13d3c63405 8226310: Shenandoah: Concurrent evacuation of CLDG
Reviewed-by: rkennke
2019-06-24 14:13:49 -04:00
Zhengyu Gu
cfb99c9382 8226311: Shenandoah: Concurrent evacuation of OopStorage backed weak roots
Reviewed-by: rkennke
2019-06-24 11:46:46 -04:00
Michael McMahon
54dfd47fa8 8226683: Remove review suggestion from fix to 8219804
Reviewed-by: chegar
2019-06-24 15:19:11 +01:00
Michael McMahon
eccfec498d 8219804: java/net/MulticastSocket/Promiscuous.java fails intermittently due to NumberFormatException
Reviewed-by: chegar, dfuchs
2019-06-24 15:10:44 +01:00
Zhengyu Gu
052e0e91c3 8226586: Shenandoah: No need to pre-evacuate roots for degenerated GC
Reviewed-by: rkennke
2019-06-24 09:51:45 -04:00
Jesper Wilhelmsson
dc0082255a Merge 2019-06-22 02:03:41 +02:00
Vladimir Kozlov
3b0ee5a6d8 8225810: Update JVMCI
Reviewed-by: never, dnsimon
2019-06-21 16:21:13 -07:00
Vladimir Kozlov
c956e7ca8d 8185139: [Graal] Tests which set too restrictive security manager fail with Graal
Tests should also check default policy

Reviewed-by: mchung, dfuchs, alanb, mullan
2019-06-21 13:04:14 -07:00
Gary Adams
3c29fa1203 8224642: Test sun/tools/jcmd/TestJcmdSanity.java fails: Bad file descriptor
Reviewed-by: cjplummer, rschmelter, clanger
2019-06-20 07:13:06 -04:00
Sean Coffey
8d4f4b0491 8213561: ZipFile/MultiThreadedReadTest.java timed out in tier1
Reviewed-by: lancea
2019-06-20 08:02:41 +00:00
Xue-Lei Andrew Fan
dbf62785ef 8225766: Curve in certificate should not affect signature scheme when using TLSv1.3
Reviewed-by: ascarpino
2019-06-19 21:49:33 -07:00
Tagir F. Valeev
985e0c53b3 8226286: Remove unused method java.lang.Integer::formatUnsignedInt and cleanup Integer/Long classes
Reviewed-by: bpb, redestad
2019-06-20 03:32:14 +00:00
Jesper Wilhelmsson
cab837c7d6 Added tag jdk-14+2 for changeset 43627549a488 2019-06-20 04:15:01 +02:00
Jesper Wilhelmsson
be2a48350d Added tag jdk-13+26 for changeset 0692b67f5462 2019-06-20 04:08:29 +02:00
Jesper Wilhelmsson
333c0c2453 Merge 2019-06-20 02:10:53 +02:00
Alexandre Iline
5c4b515856 8226359: Switch to JCov build which supports byte code version 58
Reviewed-by: erikj
2019-06-19 05:04:08 -08:00
Harold Seigel
69a123c769 8226304: Obsolete the -XX:+FailOverToOldVerifier option
Change the option from deprecated to obsolete

Reviewed-by: lfoltan, coleenp
2019-06-19 13:34:31 -04:00
Sergey Bylokhov
c2824531a7 8214469: [macos] PIT: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.java fails
Reviewed-by: psadhukhan
2019-06-18 21:40:50 -07:00
Andrew Haley
f66bd2d52e 8225716: G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: kbarrett, tschatzl
2019-06-18 16:15:15 +01:00
Harold Seigel
b304a57980 8225789: Empty method parameter type should generate ClassFormatError
Check for an empty name when verifying unqualified names

Reviewed-by: lfoltan, coleenp
2019-06-19 08:42:15 -04:00
Tobias Hartmann
9b2f151f30 8226382: ProblemList java/lang/constant/MethodTypeDescTest.java
Put test on AOT ProblemList.

Reviewed-by: iignatyev
2019-06-19 12:25:12 +02:00
Tobias Hartmann
3b22c24b74 8226381: ProblemList java/lang/reflect/PublicMethods/PublicMethodsTest.java
Put test on AOT ProblemList.

Reviewed-by: iignatyev
2019-06-19 12:24:26 +02:00
Igor Ignatyev
0223655711 8226360: merge entries in hotspot problem lists
Reviewed-by: epavlova, kvn
2019-06-19 03:21:38 -07:00
Alex Menkov
95a0560a0a 8225682: Reference to JNI spec on java.sun.com
Reviewed-by: gadams, cjplummer, sspitsyn
2019-06-18 16:08:31 -07:00
Igor Ignatyev
db0a78f9d4 8226313: problem list compiler/types/correctness tests
Reviewed-by: thartmann
2019-06-18 09:19:57 -07:00
Jonathan Gibbons
454f9f9fd0 8225748: Use SHA-256 for javap classfile checksum
Reviewed-by: mchung
2019-06-18 11:52:57 -07:00
Gerard Ziemski
2cf9999ae2 8225310: JFR crashed in JfrPeriodicEventSet::requestProtectionDomainCacheTableStatistics()
Added lock around table usage

Reviewed-by: coleenp, hseigel
2019-06-18 12:39:29 -05:00
Andrew Haley
41ca20f5b5 8225716: G1 GC: Undefined behaviour in G1BlockOffsetTablePart::block_at_or_preceding
Reviewed-by: kbarrett, tschatzl
2019-06-18 16:15:15 +01:00
Zhengyu Gu
fe66fd327f 8225582: Shenandoah: Enable concurrent evacuation of JNIHandles
Reviewed-by: rkennke, shade
2019-06-19 08:52:15 -04:00
Pavel Rappo
b870874d22 Merge 2019-06-19 12:17:22 +01:00
Per Lidén
0cc21805ba 8225779: Remove unused CollectedHeap::cell_header_size()
Reviewed-by: eosterlund, rkennke, shade
2019-06-19 08:43:23 +02:00
Pavel Rappo
d49e648148 8226303: Examine the HttpRequest.BodyPublishers for exception handling
Reviewed-by: chegar
2019-06-18 14:12:06 +01:00
Rahul Raghavan
28f3ab8596 8226198: use of & instead of && in LibraryCallKit::arraycopy_restore_alloc_state
Used logical operator correctly

Reviewed-by: kvn, thartmann
2019-06-18 10:00:35 +05:30
Robert Field
a38e980eb5 8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number

Build corralled (recoverable undeclared definitions) declarations from position translating wraps....

Reviewed-by: jlahoda
2019-06-17 17:14:05 -07:00
Daniil Titov
6ad0d8a6c7 8217348: assert(thread->is_Java_thread()) failed: just checking
Reviewed-by: sspitsyn, dholmes, amenkov, jcbeyler
2019-06-17 14:31:49 -07:00
Pengfei Li
42cb79a91f 8226222: [JVMCI] Export AArch64 field VM_Version::_psr_info.dczid_el0
Reviewed-by: kvn
2019-06-17 09:40:07 +00:00
Zhengyu Gu
da39f4ff6e 8225573: Shenandoah: Enhance ShenandoahVerifier to ensure roots to-space invariant
Reviewed-by: shade
2019-06-18 17:58:07 -04:00
Lance Andersen
9c90f44bea 8225680: Address links in java.sql.rowset
Reviewed-by: jjg, bpb
2019-06-18 17:50:33 -04:00
Jesper Wilhelmsson
dc82364e05 Merge 2019-06-18 22:48:27 +02:00
Chris Hegarty
d577d9c678 8226319: Add forgotten test/jdk/java/net/httpclient/BodySubscribersTest.java
Reviewed-by: dfuchs, prappo
2019-06-18 18:38:53 +01:00
Zhengyu Gu
0a61fe5532 8225804: SA: Remove unused CollectedHeap.oopOffset() method
Reviewed-by: rkennke
2019-06-18 13:11:09 -04:00
Roger Riggs
339b71d427 8226242: Diagnostic output for posix_spawn failure
Reviewed-by: bpb, stuefe, dholmes, martin
2019-06-18 10:37:28 -04:00
Chris Hegarty
af2a46b094 8225583: Examine the HttpResponse.BodySubscribers for null handling
Reviewed-by: dfuchs, prappo
2019-06-18 14:52:36 +01:00
Robbin Ehn
21ab801a22 8226227: Missing include of thread.inline.hpp
Reviewed-by: coleenp
2019-06-18 11:06:29 +02:00
Yasumasa Suenaga
f37c24999d 8225636: SA can't handle prelinked libraries
Reviewed-by: sspitsyn, cjplummer
2019-06-18 10:54:00 +09:00
Daniel Fuchs
5b21004fe0 8225578: Replace wildcard address with loopback or local host in tests - part 16
Fixes java/net/Authenticator and java/net/CookieHandler to stop depending on the wildcard address, wherever possible.

Reviewed-by: chegar
2019-06-17 20:03:34 +01:00
Nick Gasson
a0a919603c 8224851: AArch64: fix warnings and errors with Clang and GCC 8.3
Reviewed-by: aph, kbarrett
2019-06-17 15:31:49 +08:00
Robert Field
6fe98143bc 8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number

Build corralled (recoverable undeclared definitions) declarations from position translating wraps....

Reviewed-by: jlahoda
2019-06-14 20:30:10 -07:00
Zhengyu Gu
639c6026d9 8225801: Shenandoah: Adjust SA to reflect recent forwarding pointer changes
Reviewed-by: shade
2019-06-14 12:08:55 -04:00
Zhengyu Gu
9a2f403a3f 8225550: Shenandoah: Prevent SH::object_iterate() call's side-effects
Reviewed-by: shade
2019-06-14 11:58:23 -04:00
Aleksey Shipilev
5370654910 8225743: Remove ShenandoahBarrierSetC2::escape_is_barrier_node and related GC interface
Reviewed-by: roland, eosterlund
2019-06-14 16:47:58 +02:00
Tobias Hartmann
813a9cf6cb 8225783: Incorrect use of binary operators on booleans in type.cpp
Use logical operators instead.

Reviewed-by: roland
2019-06-14 13:26:52 +02:00
Jaikiran Pai
a92f0016f3 8217705: HttpClient - wrong exception type when bad status line is received
Throw a ProtocolException if the status code in the HTTP response's status line isn't a 3-digit integer

Reviewed-by: dfuchs
2019-06-14 10:19:04 +05:30
Tagir F. Valeev
822c02437a 8225339: Optimize HashMap.keySet()/HashMap.values()/HashSet toArray() methods
Reviewed-by: rriggs, redestad, smarks
2019-06-14 05:02:58 +00:00
Joe Darcy
51cf24fcc0 8222369: ExecutableElement.getReceiverType returns null instead of NOTYPE
Reviewed-by: jjg
2019-06-13 16:39:20 -07:00
Jesper Wilhelmsson
31249c3c09 Added tag jdk-14+1 for changeset 2f4e214781a1 2019-06-14 01:09:45 +02:00
Brian Burkhalter
179d586e72 8223813: (aio) Iocp.getErrorMessage should drop trailing \r\n
Reviewed-by: alanb, igerasim, rriggs
2019-06-13 13:43:34 -07:00
Joe Darcy
aeedfd44b0 8164819: Make javac's toString() on annotation objects consistent with core reflection
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Daniil Titov
c7df05efea 8225543: Jcmd fails to attach to the Java process on Linux using the main class name if whitespace options were used to launch the process
Reviewed-by: sspitsyn, dholmes
2019-06-13 11:21:50 -07:00
Vladimir Kozlov
6fc80b4eed 8181837: [Graal] compiler/jvmci/SecurityRestrictionsTest.java fails with AccessControlException
Remove test from Problem list because it does not fail anymore.

Reviewed-by: iignatyev
2019-06-17 09:11:27 -07:00
Zhengyu Gu
356c9f1db8 8225801: Shenandoah: Adjust SA to reflect recent forwarding pointer changes
Reviewed-by: shade
2019-06-14 12:08:55 -04:00
Weijun Wang
c12cf04011 8225392: Comparison builds are failing due to cacerts file
Reviewed-by: erikj, martin, mullan
2019-06-15 14:39:04 +08:00
Xue-Lei Andrew Fan
a4277e56c8 8224829: AsyncSSLSocketClose.java has timing issue
Reviewed-by: jnimeh, dfuchs
2019-06-14 12:19:14 -07:00
Aleksey Shipilev
8125b0c2ba 8225695: 32-bit build failures after JDK-8080462 (Update SunPKCS11 provider with PKCS11 v2.40 support)
Reviewed-by: alanb
2019-06-14 10:02:57 +02:00
Jesper Wilhelmsson
97b0d45622 Added tag jdk-13+25 for changeset 22b3b7983ada 2019-06-14 03:50:25 +02:00
Vladimir Kozlov
2527f768bc 8209590: compiler/compilercontrol/DontInlineCommandTest.java test fails with "Inline message differs" error
Increase InlineSmallCode to 4000 for tests which check inlining decisions.

Reviewed-by: iignatyev
2019-06-13 17:18:06 -07:00
Sean Mullan
b2893466aa 8225730: Add sun/security/pkcs11/tls/tls12/FipsModeTLS12.java to ProblemList for linux
Reviewed-by: xuelei
2019-06-13 17:49:49 -04:00
Igor Ignatyev
545e81413e 8225746: hotspot problem lists list unexciting tests
Reviewed-by: kvn
2019-06-13 13:42:41 -07:00
Daniil Titov
7cff3750d9 8225543: Jcmd fails to attach to the Java process on Linux using the main class name if whitespace options were used to launch the process
Reviewed-by: sspitsyn, dholmes
2019-06-13 11:21:50 -07:00
Aleksey Shipilev
63d9446117 8224881: Shenandoah: trashing "Collection Set, Pinned" region during Degenerated GC
Reviewed-by: rkennke, zgu
2019-06-13 19:37:49 +02:00
Markus Grönlund
f5a2730b48 8214542: JFR: Old Object Sample event slow on a deep heap in debug builds
Reviewed-by: egahlin, rwestberg
2019-07-03 11:34:46 +02:00
Weijun Wang
d678ba83dd 8226719: Kerberos login to Windows 2000 failed with "Inappropriate type of checksum in message"
Reviewed-by: xuelei
2019-07-03 11:43:01 +08:00
Kim Barrett
ae6dee44ed 8226366: Excessive ServiceThread wakeups for OopStorage cleanup
Drive wakes via safepoint cleanups with interval minimums.

Reviewed-by: coleenp, tschatzl
2019-07-02 18:24:47 -04:00
Serguei Spitsyn
f99eec9c0d 8226596: Accessibility errors in jdwp-protocol.html
Fix accessability issues in the JDWP spec

Reviewed-by: amenkov, dholmes
2019-07-02 14:02:32 -07:00
Igor Ignatyev
b1dc14ab94 8227112: exclude compiler/intrinsics/sha/sanity tests from AOT runs
Reviewed-by: kvn
2019-07-02 13:55:21 -07:00
Alex Menkov
e1b1da5cee 8225679: reference to http://java.sun.com/products/JavaManagement/download.html
Reviewed-by: sspitsyn
2019-07-02 12:36:31 -07:00
Aleksey Shipilev
0711ca8671 8224881: Shenandoah: trashing "Collection Set, Pinned" region during Degenerated GC
Reviewed-by: rkennke, zgu
2019-06-13 19:37:49 +02:00
Sean Mullan
a5090ae779 Merge 2019-06-13 13:04:33 -04:00
Sean Mullan
5881889732 8225730: Add sun/security/pkcs11/tls/tls12/FipsModeTLS12.java to ProblemList for linux
Reviewed-by: xuelei
2019-06-13 13:03:15 -04:00
Weijun Wang
977870ccea 8225180: SignedObject with invalid Key not throwing the InvalidKeyException in Windows
Reviewed-by: mullan
2019-06-13 23:53:21 +08:00
Stuart Monteith
51eeaf9cb5 8214527: ZGC for Aarch64
Implement ZGC for AArch64

Reviewed-by: aph, pliden, eosterlund, rkennke, shade, njian, adinn
2019-06-13 15:24:34 +01:00
Erik Gahlin
b4b823c4ae 8220657: JFR.dump does not work when filename is set
Reviewed-by: ysuenaga
2019-06-13 12:27:29 +02:00
Thomas Schatzl
55492a7d8b 8225418: G1: region attribute remembered set state disagrees with actual remembered set state
Keep remembered set update information when updating region attributes when abandoning the remaining collection set after mixed gc.

Reviewed-by: kbarrett, mdoerr
2019-06-13 11:54:55 +02:00
Martin Doerr
fad846280b 8225663: [testbug] Missing JNIEXPORT in XAbortProvoker native function
Reviewed-by: mbaesken, gromero, kvn
2019-06-13 11:12:23 +02:00
Michael McMahon
247a6a2ce4 8216417: cleanup of IPv6 scope-id handling
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +01:00
Prasanta Sadhukhan
04ea6ae9b3 Merge 2019-06-13 12:22:28 +05:30
Ron Shapiro
a7a5e567df 8224161: Check.checkOverrideClashes n^2 algorithm
Caching type's members in Check.checkOverrideClashes to improve performance.

Reviewed-by: mcimadamore, jlahoda
2019-06-13 08:42:49 +02:00
Toshio Nakamura
0f42d9870e 8224184: jshell got IOException at exiting with AIX
Reviewed-by: rfield, jlahoda
2019-06-13 08:42:47 +02:00
Prasanta Sadhukhan
53ea90ebf6 Merge 2019-06-13 11:31:36 +05:30
Igor Ignatyev
44b309d38c 8225676: cleanup hotspot ProblemList
Reviewed-by: dholmes
2019-06-12 17:22:11 -07:00
Igor Ignatyev
2329e64f2b 8208236: [TESTBUG] vmTestbase/nsk/stress/stack tests fail by timeout
Reviewed-by: dholmes
2019-06-12 21:17:26 -07:00
Weijun Wang
475996adc2 6722928: Support SSPI as a native GSS-API provider
Reviewed-by: erikj, nwilliams, valeriep
2019-06-13 10:06:07 +08:00
Bradford Wetmore
118fd65d44 8171279: Support X25519 and X448 in TLS
Reviewed-by: xuelei, mullan
2019-06-12 18:58:00 -07:00
Hannes Wallnöfer
3353016bbc 8225671: Support HTML 5 character references in javadoc
Reviewed-by: jjg
2019-06-12 23:21:24 +02:00
Joe Darcy
78f3c596a3 8225675: Outdated citation of JLS in java.lang.ref.Reference
Reviewed-by: lancea, jjg, mchung
2019-06-12 14:14:39 -07:00
Sergey Bylokhov
9c61833190 8217676: Upgrade libpng to 1.6.37
Reviewed-by: prr, jdv, kcr
2019-06-12 13:50:37 -07:00
Markus Grönlund
f508e14d9a 8227605: Kitchensink fails "assert((((klass)->trace_id() & (JfrTraceIdEpoch::leakp_in_use_this_epoch_bit())) != 0)) failed: invariant"
Reviewed-by: dholmes, dcubed, egahlin
2019-07-31 16:09:17 +02:00
Pengfei Li
dcf57abbc1 8228601: AArch64: Fix interpreter code at JVMCI deoptimization entry
Reviewed-by: adinn, aph
2019-07-31 09:52:28 +08:00
Tobias Hartmann
8f7206a674 8228710: Disable AggressiveUnboxing until JDK-8224957 is fixed
Disabled AggressiveUnboxing.

Reviewed-by: roland, kvn
2019-07-30 07:22:05 +02:00
Ekaterina Pavlova
9c5a2bf5af 8225622: [AOT] runtime/SharedArchiveFile/TestInterpreterMethodEntries.java crashed with AOTed java.base
Reviewed-by: kvn
2019-06-12 12:31:32 -07:00
Igor Ignatyev
d1348f46f3 8158048: Fix failure message from jtreg gtest wrapper
Reviewed-by: kvn, mseledtsov
2019-06-12 11:48:14 -07:00
Calvin Cheung
f1a897b494 8224710: [TESTBUG] dynamicArchive/ExcludedClasses.java test failed in tier6 testing on Windows
Account for the failure in loading of the base archive in CDSTestUtils::isUnableToMap().

Reviewed-by: jiangli, iklam
2019-06-12 10:45:46 -07:00
Vladimir Kozlov
919c0e9d8e 8223796: JVMCIEnv::get_jvmci_type does not keep klasses alive
Reviewed-by: iveresov, eosterlund
2019-06-12 10:37:35 -07:00
Chris Hegarty
5b9c330db8 8225651: Missed the @ in a couple of code tags of SocketImpl
Reviewed-by: alanb, dfuchs
2019-06-12 16:10:39 +01:00
Daniel D. Daugherty
d02937254d 8225453: is_busy diagnostics and other baseline cleanups from Async Monitor Deflation project
Reviewed-by: dholmes, rehn, coleenp
2019-06-12 10:52:45 -04:00
Kazunori Ogata
f93ae041ad 8224090: [PPC64] Fix SLP patterns for filling an array with double float literals
Reviewed-by: mdoerr, simonis
2019-06-12 14:24:11 +02:00
Martin Doerr
3eaf9567b4 8224827: Implement fast class initialization checks on s390
Reviewed-by: vlivanov, gromero
2019-06-12 14:22:04 +02:00
Martin Doerr
460b4197c4 8223249: [s390] Cleanup TemplateInterpreterGenerator::generate_fixed_frame
Reviewed-by: coleenp, gromero
2019-06-12 14:21:36 +02:00
Tobias Hartmann
31d261dda2 8224658: Unsafe access C2 compile fails with assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr: adr_type = NULL
Handle unsafe off-heap access with constant zero address.

Reviewed-by: vlivanov, roland
2019-06-12 14:06:16 +02:00
Jan Lahoda
d9407ce428 8220018: javac crash when compiling try-catch-finally inside switch expression
Correcting handling of finally that yields from a switch expression.

Reviewed-by: mcimadamore, jlahoda
2019-06-12 13:49:43 +02:00
Hannes Wallnöfer
0d8209a2b7 8223364: Bad placement of anchor relative to header
Reviewed-by: jjg
2019-06-12 13:21:25 +02:00
Sangheon Kim
62d7317f86 8225478: Make G1CMRootRegions independent of HeapRegions
Remove dependency of HeapRegion from G1CMRootRegions class

Reviewed-by: tschatzl, kbarrett
2019-06-12 10:34:29 +02:00
Prasanta Sadhukhan
93ed663cf0 Merge 2019-06-12 10:02:49 +05:30
Joe Darcy
d3dd56d3b2 7086604: (reflect) Clarifications to javadoc for getGeneric*Type methods in j.l.r
Reviewed-by: lancea, abuckley
2019-06-11 17:20:51 -07:00
Phil Race
65a2f12843 8225487: giflib legal file is missing attribution for openbsd-reallocarray.c
Reviewed-by: serb, kcr
2019-06-11 17:15:25 -07:00
Joe Darcy
4750064828 8214546: Start of release updates for JDK 14
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14

Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00
Jesper Wilhelmsson
d3af9ce324 Added tag jdk-14+0 for changeset 22b3b7983ada 2019-06-13 18:02:18 +02:00
Anthony Scarpino
94e1d7530f 8211018: Session Resumption without Server-Side State
Reviewed-by: xuelei, jnimeh, jjiang
2019-06-11 16:31:37 -07:00
Sergey Bylokhov
f10a064297 8221246: NullPointerException within Win32ShellFolder2
Reviewed-by: prr
2019-06-11 16:23:33 -07:00
Zhengyu Gu
9597144fb2 8225572: Shenandoah: Move JNIHandles root out of serial roots
Reviewed-by: rkennke
2019-06-11 19:15:31 -04:00
Igor Ignatyev
4f171abe26 8066173: compiler/types/correctness/OffTest.java failed with assert
Reviewed-by: kvn
2019-06-11 14:59:46 -07:00
Jonathan Gibbons
81a6bc8b4b 8214399: Javap -help should provide information about --multi-release option
Reviewed-by: jlahoda
2019-06-11 14:56:48 -07:00
Valerie Peng
8813b93095 8080462: Update SunPKCS11 provider with PKCS11 v2.40 support
Added support for GCM, PSS, and other mechanisms

Reviewed-by: jnimeh
2019-06-11 21:30:28 +00:00
Phil Race
f9d8df7253 8217731: Font rendering and glyph spacing changed from jdk-8 to jdk-11
Reviewed-by: serb, neugens
2019-06-11 10:34:42 -07:00
Sergey Bylokhov
09efbc41ee 8225144: [macos] In Aqua L&F backspace key does not delete when Shift is pressed
Reviewed-by: psadhukhan
2019-06-11 10:15:30 -07:00
Lance Andersen
9115f920d2 8225189: Multiple JNI calls within critical region in ZIP Library
Reviewed-by: alanb
2019-06-11 13:04:36 -04:00
Daniel Fuchs
b99e9165f1 8225512: Replace wildcard address with loopback or local host in tests - part 15
Updates httpserver tests to use the loopback instead of the wildcard wherever possible.

Reviewed-by: michaelm
2019-06-11 15:46:26 +01:00
Prasanta Sadhukhan
7fc422dd93 8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64
Reviewed-by: serb, prr
2019-06-11 11:01:22 +05:30
Stefan Karlsson
02a31bf561 8227175: ZGC: ZHeapIterator visits potentially dead objects
Reviewed-by: zgu, eosterlund
2019-06-10 13:04:12 +02:00
Stefan Karlsson
24f58a0ac0 8227083: ZGC: C2: Generates on_weak barrier for WeakCompareAndSwap
Reviewed-by: neliasso, eosterlund
2019-07-02 12:24:26 +02:00
Stefan Karlsson
1e9f16c448 8225770: ZGC: C2: Generates on_weak instead of on_strong barriers
Reviewed-by: neliasso, eosterlund
2019-07-02 12:10:18 +02:00
David Holmes
67906954ea 8227055: Minor edits to launcher help text
Reviewed-by: mchung
2019-07-03 23:34:20 +00:00
Weijun Wang
77a6a6e1ae 8226963: More clarification on possible sequencing error in GSSContext::unwrap
Reviewed-by: mullan
2019-07-04 07:25:47 +08:00
Weijun Wang
c0fddce0f5 8227061: KDC.java test behaves incorrectly when AS-REQ contains a PAData not PA-ENC-TS-ENC
Reviewed-by: mullan
2019-07-04 07:25:11 +08:00
Daniel Fuchs
96bb069a2d 8224865: Replace wildcard address with loopback or local host in tests - part 13
Fixes intermittent failures observed in some network tests

Reviewed-by: chegar
2019-06-10 11:17:57 +01:00
Andrew Haley
83377c41ff 8225429: Regression in disassembly quality
Reviewed-by: never
2019-06-10 10:11:42 +01:00
Coleen Phillimore
d571d105ae 8224847: gc/stress/TestReclaimStringsLeaksMemory.java fails with reserved greater than expected
Rehash threshold was too low for StringTable, and rehashed size table was too large.

Reviewed-by: rehn, gziemski
2019-06-11 07:31:47 -04:00
David Holmes
02f1d4430c 8225568: ProblemList compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java
Reviewed-by: thartmann
2019-06-11 08:03:29 -04:00
Nils Eliasson
5fa2642f15 8225564: Remove wrong assert in clean_catch_blocks
Reviewed-by: thartmann
2019-06-11 12:39:37 +02:00
Erik Österlund
cf79907536 8224871: os::attempt_reserve_memory_at() tries too hard
Reviewed-by: pliden, coleenp, stuefe
2019-06-11 10:55:17 +02:00
Rahul Raghavan
2f25526470 8225567: Wrong file headers with 8202414 fix changeset
Corrected source file headers

Reviewed-by: thartmann
2019-06-11 14:33:34 +05:30
Chris Hegarty
b6696bad84 8225426: Replace plain with system-default in Socket and ServerSocket
Reviewed-by: alanb, dfuchs
2019-06-11 09:21:34 +01:00
Martin Doerr
98e6903c57 8224826: Implement fast class initialization checks on PPC64
Reviewed-by: vlivanov, gromero
2019-06-11 09:51:33 +02:00
Nils Eliasson
d216c34a43 8225509: clean_catch_blocks must add preds first
Reviewed-by: kvn
2019-06-11 09:27:51 +02:00
Igor Ignatyev
6a7c8b3e01 8209917: fix TODO in GatherDiagnosticInfoObserver
Reviewed-by: jjg, dholmes
2019-06-10 17:11:04 -07:00
Stuart Marks
6758853b54 8205131: remove Runtime trace methods
Reviewed-by: lancea, rriggs, iklam
2019-06-10 17:33:11 -07:00
Joe Darcy
ac1a11dfc6 8225532: Update source enums to describe 12 and 13 language features
Reviewed-by: jjg
2019-06-10 15:53:35 -07:00
Doug Simon
3c5ff8db74 8225492: Update JVMCI
Reviewed-by: iveresov, kvn
2019-06-10 15:55:11 -07:00
Zhengyu Gu
712996ae87 8225514: Shenandoah: ShenandoahCodeRoots should inherit from AllStatic
Reviewed-by: shade
2019-06-10 13:42:11 -04:00
Daniil Titov
2f1b1de1e8 8222828: vmTestbase/nsk/jdi/BScenarios/multithrd/tc02x004/TestDescription.java failed
Reviewed-by: cjplummer, gadams, jcbeyler
2019-06-10 09:41:09 -07:00
Dmitrij Pochepko
be42d7e20d 8222412: AARCH64: multiple instructions encoding issues
Reviewed-by: aph
2019-06-10 17:02:35 +03:00
Harold Seigel
9ee5ab5124 8224952: RI deviates from JVMS - non-zero minor_version for class files throws UnsupportedClassVersionError
Change the JVM to follow the JVM Spec and accept non-zero minor_version for appropriate older class file versions.

Reviewed-by: acorn, dholmes, iignatyev
2019-06-10 09:52:04 -04:00
Philipp Kunz
6d3f5f851e 8221719: Jarsigner fails to verify signed by alias if alias given in wrong case
Reviewed-by: weijun
2019-06-10 20:38:15 +08:00
Per Lidén
797a62e938 8225227: ZGC: Be exact in what load barrier to use in ZHeapIterator
Reviewed-by: stefank
2019-06-10 12:52:57 +02:00
Per Lidén
fa85fe2012 8224966: ZGC: Don't skip oop verification in OopMapSet::all_do()
Reviewed-by: stefank, eosterlund
2019-06-10 12:52:56 +02:00
Prasanta Sadhukhan
024c62ce0c 8225368: broken links in java.desktop files
Reviewed-by: serb
2019-06-10 10:52:11 +05:30
Sergey Bylokhov
992b2081e3 8224171: The cleanup multi-font related code in the XFontPeer
Reviewed-by: prr
2019-06-09 18:14:48 -07:00
Sergey Bylokhov
cb5aa60f49 8223045: GraphicsEnvironment does not detect resolution changes in multiscreen systems
Reviewed-by: prr
2019-06-09 17:46:05 -07:00
Sergey Bylokhov
4a53af6cbc 8222083: Support of "64-bit IEEE floating point" encoding for the AU file format
Reviewed-by: prr
2019-06-09 14:12:18 -07:00
Phil Race
845bf8c1bc Merge 2019-06-07 09:38:40 -07:00
Erik Joelsson
f28e32dbe3 8217739: Cannot reuse java.base UnixConstants.java from target in BuildJDK when cross compiling
Reviewed-by: tbell, aoqi
2019-06-07 09:16:11 -07:00
Stefan Karlsson
2fded1c480 8223837: Add -XX:MinHeapSize flag to set the minimum heap size
Reviewed-by: pliden, tschatzl
2019-06-07 13:50:14 +02:00
Anton Tarasov
eb555dec77 8225118: Robot.createScreenCapture() returns black image on HiDPI linux with gtk3
Reviewed-by: serb
2019-06-06 15:46:36 +03:00
Matthias Baesken
0bf2650bb1 8224958: add os::dll_load calls to event log
Reviewed-by: dholmes, mdoerr, stuefe
2019-06-05 16:53:52 +02:00
Jim Laskey
189345db4a 8225448: String::translateEscapes javadoc has accessibility issues
Reviewed-by: jjg
2019-06-07 08:47:28 -03:00
Chris Hegarty
752cefa3f2 8216988: ServerSocket.implAccept should include warnings about Socket type/state
Reviewed-by: alanb
2019-06-07 11:51:27 +01:00
Chris Hegarty
2edcc74725 8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests
Reviewed-by: alanb
2019-06-07 11:47:49 +01:00
Aleksey Shipilev
fdef3f9305 8225441: Cleanup ShenandoahHeap::atomic_compare_exchange_oop
Reviewed-by: rkennke
2019-06-07 11:48:01 +02:00
Aleksey Shipilev
46ba311bda 8225357: Rewire ShenandoahHeap::maybe_update_with_forwarded for contending fixups
Reviewed-by: rkennke
2019-06-07 11:47:53 +02:00
Per Lidén
d690fc86dd 8222467: ZGC: Log min/max/softmax capacity
Reviewed-by: stefank
2019-06-07 11:19:34 +02:00
Per Lidén
c9f1b74865 8222182: ZGC: Use SoftMaxHeapSize to guide GC heuristics
Reviewed-by: stefank, tschatzl
2019-06-07 11:19:34 +02:00
Per Lidén
a6aa1030b4 8222145: Add -XX:SoftMaxHeapSize flag
Reviewed-by: eosterlund, tschatzl
2019-06-07 11:19:34 +02:00
Per Lidén
bfc30c8dbc 8225340: ZGC: Add logging of High Usage rule
Reviewed-by: stefank, eosterlund
2019-06-07 11:19:34 +02:00
Martin Doerr
4a13459dd5 8225347: [s390] Unexpected exit from stack overflow test
Reviewed-by: simonis
2019-06-07 10:13:30 +02:00
Jan Lahoda
1d050ec2e9 8223782: jshell parser should handle Text Blocks
Completion analysis should detect text blocks properly.

Reviewed-by: jlaskey, rfield
2019-06-07 10:09:41 +02:00
Matthias Baesken
b156396481 8225402: events logging in deoptimization.cpp should go to deopt-log
Reviewed-by: mdoerr, stuefe, coleenp
2019-06-06 09:30:00 +02:00
Igor Ignatyev
51b861c303 8225469: clean up problem lists
Reviewed-by: kvn
2019-06-06 23:06:47 -07:00
Erik Gahlin
042e93613e 8224139: Deprecate -XX:FlightRecorder option
Reviewed-by: mgronlun, mseledtsov
2019-06-07 04:57:51 +02:00
Daniil Titov
f198fdd639 8206074: nsk/jdi/EventRequestManager/createStepRequest/crstepreq001/TestDescription.java is timing out
Reviewed-by: cjplummer, gadams
2019-06-06 18:57:28 -07:00
Joe Darcy
a073e354ce 8225465: Add @jls tags to receiver type methods
Reviewed-by: lancea, jjg
2019-06-06 17:48:06 -07:00
Ivan Gerasimov
4a3b3d365e 8225397: Integer value miscalculation in toString() method of BitSet
Reviewed-by: aph
2019-06-06 17:20:19 -07:00
Vladimir Kozlov
bb4d2bc846 8222371: Use UL for TraceNMethodInstalls code
Reviewed-by: dholmes
2019-06-06 16:06:10 -07:00
Vladimir Kozlov
4bd89c7401 8208379: compiler/jvmci/events/JvmciNotifyInstallEventTest.java failed with "Got unexpected event count after 2nd install attempt: expected 9 to equal 2"
Reviewed-by: iignatyev
2019-06-06 15:12:37 -07:00
Brian Burkhalter
185be26580 8224617: (fs) java/nio/file/FileStore/Basic.java found filesystem twice
Reviewed-by: alanb
2019-06-06 14:13:59 -07:00
Igor Ignatyev
8bdcada62b 8225450: use @file in CtwRunner
Reviewed-by: kvn
2019-06-06 13:42:41 -07:00
Erik Gahlin
d55497d5d4 8219205: JFR file without license header
Reviewed-by: mgronlun
2019-06-06 22:31:13 +02:00
Coleen Phillimore
7235c5b0e2 8224151: Test vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java might hang with release binaries
Fix deadlock on ClassLoaderDataGraph_lock and g1 clear_claimed_marks.

Reviewed-by: tschatzl, lfoltan, eosterlund
2019-06-06 15:09:17 -04:00
Erik Gahlin
60b662d85e 8216283: Allow shorter method sampling interval than 10 ms
Reviewed-by: mgronlun
2019-06-06 20:19:03 +02:00
Jonathan Gibbons
948577bb1f 8225321: Repeated use of {@systemProperty} in a file causes duplicate ids
Reviewed-by: hannesw
2019-06-06 10:36:43 -07:00
Mark Reinhold
332d079057 8197927: Allow the system property java.vendor.version to be undefined
Reviewed-by: lancea, mchung, clanger
2019-06-06 10:01:36 -07:00
Prasanta Sadhukhan
427e1e28b1 8224876: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedPerPixelTranslucentGradient.java fails on linux-x64
Reviewed-by: serb, jdv
2019-06-04 14:43:57 +05:30
Prasanta Sadhukhan
3123e7d158 Merge 2019-06-04 14:23:33 +05:30
Prasanta Sadhukhan
60f385e737 Merge 2019-06-04 13:34:50 +05:30
Thomas Stuefe
1b21a47c71 8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Reviewed-by: dcubed, dholmes
2019-06-04 07:49:58 +02:00
Semyon Sadetsky
b5b24b904a 8196096: javax/swing/JPopupMenu/6580930/bug6580930.java fails
Reviewed-by: serb
2019-06-03 08:13:18 -07:00
Robin Westberg
43f89eb1fd 8223678: Add Visual Studio Code workspace generation support (for native code)
Reviewed-by: erikj
2019-06-03 10:28:03 +02:00
Ekaterina Pavlova
b8e5aefce8 8225199: [Graal] compiler/jvmci/compilerToVM/IsMatureVsReprofileTest.java fails with -XX:CompileThresholdScaling=0.1
Reviewed-by: kvn
2019-06-03 17:14:23 -07:00
Coleen Phillimore
7acdde31ca 8225212: ProblemList gc/stress/TestReclaimStringsLeaksMemory.java
Reviewed-by: dholmes
2019-06-03 19:42:58 -04:00
Robert Field
b84187ca17 8225208: Re-Problem list jdk/jshell/ExceptionsTest.java fails on windows
Reviewed-by: jjg
2019-06-03 16:24:34 -07:00
Jonathan Gibbons
0fdd5f8227 8225207: redundant <p> in Instrumentation.java
Reviewed-by: lancea
2019-06-03 16:16:50 -07:00
Kishor Kharbas
f0f679de2a 8224247: AllocateOldGenAt fires assertion failure
Split the heap_reserved_size_bytes() into two methods - one for use during heap initialization and other for at later stages.

Reviewed-by: sangheki, tschatzl
2019-06-03 11:04:24 -07:00
Igor Veresov
f238aed808 8225202: Add missing include after JDK-8223320
Reviewed-by: kvn
2019-06-03 14:15:11 -07:00
Igor Veresov
e47daab7b4 8223320: [AOT] jck test api/javax_script/ScriptEngine/PutGet.html fails when test classes are AOTed
Materialization of primitive boxes should use caches

Reviewed-by: kvn, never
2019-06-03 13:21:02 -07:00
Roman Kennke
7d63888ac8 8225171: Remove leftovers in shenandoahBarrierSetC1.cpp
Reviewed-by: shade
2019-06-03 21:28:45 +02:00
Erik Joelsson
c0def3b731 8225140: Build fails if directory contains 'unix'
Reviewed-by: tbell
2019-06-03 10:52:18 -07:00
Robert Field
4bc1fdf83c 8199623: JShell: corralling not restored on drop
Reviewed-by: jlahoda
2019-06-03 08:21:04 -07:00
Robert Field
50d54d86cd 8225151: JShell API: Fix position of @jls tag
Reviewed-by: jjg
2019-06-03 07:46:47 -07:00
Erik Österlund
328ab43c45 8224816: Provide os::processor_id() implementation for Mac OS
Reviewed-by: rehn, pliden, kbarrett, gziemski
2019-06-03 13:35:08 +02:00
Erik Österlund
50e2aa7306 8224814: Remove dead JNIHandleBlock freelist code
Reviewed-by: stefank, tschatzl, kbarrett
2019-06-03 13:35:05 +02:00
Aleksey Shipilev
d25350462e 8225046: Shenandoah metrics logs refactoring
Reviewed-by: rkennke
2019-06-03 14:50:59 +02:00
Jayathirth D V
abe29730ed 8225105: java/awt/Focus/ShowFrameCheckForegroundTest/ShowFrameCheckForegroundTest.java fails in Windows 10
Reviewed-by: prr, serb
2019-06-03 11:56:48 +05:30
Prasanta Sadhukhan
4651ce7fc9 Merge 2019-06-03 11:06:24 +05:30
Toshio Nakamura
189e938d3a 8219901: Noto fonts for East Asian countries cannot belong to CompositeFont
Reviewed-by: prr, jdv
2019-06-02 16:59:41 -07:00
Lance Andersen
cb6e66a5ee 8212807: tools/jar/multiRelease/Basic.java times out
Reviewed-by: bchristi
2019-06-02 17:13:31 -04:00
Andrew Luo
86c9e2e1ce 8224056: Fix some assignments of string literals to LPSTR (instead of LPCSTR)
Reviewed-by: prr
2019-06-02 12:38:45 -07:00
Aleksey Shipilev
769993939e 8225048: Shenandoah x86_32 support
Reviewed-by: erikj, rkennke
2019-06-02 10:08:39 +02:00
Aleksey Shipilev
d4dca25c8f 8225111: Make Shenandoah tests work with 32-bit VMs
Reviewed-by: rkennke
2019-06-02 10:08:38 +02:00
Aleksey Shipilev
cf3c6e0345 8225104: 32-bit build failures after JDK-8222252
Reviewed-by: bobv, rkennke, dholmes
2019-06-02 10:08:37 +02:00
Robert Field
0be741c70b 8223688: JShell: crash on the instantiation of raw anonymous class
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
50971d6ea7 8080353: JShell: Better error message on attempting to add default method
Special handling for errors with "default" modifier

Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
Claes Redestad
1813ce706a 8225061: Performance regression in Regex
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Reviewed-by: naoto, alanb
2019-06-01 03:18:23 +02:00
Jonathan Gibbons
d2ad9dabdf 8225134: Update man-page files
Reviewed-by: erikj, mchung
2019-05-31 17:27:28 -07:00
Calvin Cheung
561c9182e8 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit()

Reviewed-by: jiangli, zgu
2019-05-31 15:49:12 -07:00
Vicente Romero
e36693bc29 8224083: javadoc Reporter generates warning for Kind.NOTE
8224082: NPE in javadoc Reporter

Reviewed-by: jjg
2019-05-31 18:35:17 -04:00
Andrew Luo
7202c3b943 8225032: Fix some C++ conformance issues in AWT Windows code
Reviewed-by: prr, serb
2019-05-30 17:14:06 -07:00
Phil Race
312d66471a 8223271: SplashScreen is still shown if defaulting to headless on MacOS
Reviewed-by: bpb, serb, kcr
2019-05-30 11:52:23 -07:00
Phil Race
10cac15976 8225007: java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
Reviewed-by: serb, jdv
2019-05-30 09:23:14 -07:00
Phil Race
a806ced291 8225020: Problem list some sanity test failures
Reviewed-by: psadhukhan, akolarkunnu
2019-05-30 09:16:43 -07:00
Prasanta Sadhukhan
d10495627b 8224824: ProblemList java/awt/Color/AlphaColorTest failure in linux_x64
Reviewed-by: serb
2019-05-30 10:45:51 +05:30
Prasanta Sadhukhan
72bef42c4a 8224821: java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java fails linux-x64
Reviewed-by: jdv
2019-05-28 16:38:01 +05:30
Prasanta Sadhukhan
15acb9faf7 8224830: test/jdk/java/awt/Focus/ModalExcludedWindowClickTest/ModalExcludedWindowClickTest.java fails on linux-x64
Reviewed-by: jdv
2019-05-28 16:35:47 +05:30
Phil Race
d655301d49 8224778: test/jdk/demo/jfc/J2Ddemo/J2DdemoTest.java cannot find J2Ddemo.jar
Reviewed-by: erikj, psadhukhan
2019-05-27 12:24:26 -07:00
Phil Race
a34bbe6c30 8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
2019-05-24 13:52:33 -07:00
Phil Race
cf5f70d4ec 8224771: backout RemoveDropTargetCrashTest.java fix to re-push with correct bugid
Reviewed-by: serb
2019-05-24 13:50:56 -07:00
Phil Race
501916030f 8224705: Tests that need to be problem-listed or have printer resources
Reviewed-by: serb, psadhukhan
2019-05-24 09:10:10 -07:00
Ralf Schmelter
be0c2eedb5 8224673: Adjust permission for delayed starting of debugging
Changed permission from monitor to control

Reviewed-by: sspitsyn, clanger
2019-05-24 04:18:18 -07:00
Patric Hedlin
ca29203cac 8225475: Node budget asserts on x86_32/64
Make the (ad-hoc) loop cloning size estimate more pessimistic.

Reviewed-by: shade
2019-06-25 11:43:36 +02:00
Matthias Baesken
4dececb589 8226943: compile error in libfollowref003.cpp with XCode 10.2 on macosx
Reviewed-by: sspitsyn
2019-06-28 13:16:11 +02:00
Phil Race
033c08fcce 8223804: [macos] remove obsoleted reference to security framework in launcher code
Reviewed-by: rriggs, erikj
2019-05-23 15:02:47 -07:00
Arthur Eubanks
df9ad2af75 8224645: Only test multicast interfaces if they exist
Reviewed-by: alanb, dfuchs, chegar
2019-05-23 10:06:37 -07:00
Jim Laskey
08e1ece107 8223967: Implement Text Blocks (Preview) in the Java compiler
Reviewed-by: vromero, jlahoda, abuckley
2019-06-06 12:24:44 -03:00
Jim Laskey
9c6c6eae1d 8203444: String::formatted (Preview)
Reviewed-by: smarks, rriggs, sherman
2019-06-06 12:24:44 -03:00
Jim Laskey
fead01f2c9 8223780: String::translateEscapes (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, igerasim, smarks
2019-06-06 12:24:44 -03:00
Jim Laskey
0777a86d68 8223775: String::stripIndent (Preview)
Reviewed-by: abuckley, vromero, jlahoda, bchristi, rriggs, smarks
2019-06-06 12:24:44 -03:00
Brian Burkhalter
618afc3fa2 8219992: Correct the documentation of PrintWriter to refer System.lineSeparator
Reviewed-by: darcy, lancea, rriggs
2019-06-06 08:11:25 -07:00
Martin Balao
5aae9ef0db 8215032: Support Kerberos cross-realm referrals (RFC 6806)
Reviewed-by: weijun
2019-06-05 01:42:11 -03:00
Roger Riggs
8ee8c48696 8224905: java/lang/ProcessBuilder/Basic.java#id1 failed with stream closed
Reviewed-by: lancea, bpb, naoto
2019-06-06 10:03:22 -04:00
Erik Gahlin
77b1472e9b 8224217: RecordingInfo should use textual representation of path
Reviewed-by: mgronlun
2019-06-06 15:22:12 +02:00
Weijun Wang
f4dfa02438 8225304: Tiny HTML error (bad heading) in org.ietf.jgss package-info.java
Reviewed-by: xuelei
2019-06-06 21:19:07 +08:00
Vladimir Ivanov
829c81bbf9 8225141: Better handling of classes in error state in fast class initialization checks
Reviewed-by: dlong, dholmes
2019-06-06 13:46:03 +03:00
Vladimir Ivanov
6346d77b03 8225106: C2: Parse::clinit_deopt asserts when holder klass is in error state
Reviewed-by: mdoerr
2019-06-06 13:46:01 +03:00
Jie Fu
d738e209f3 8224162: assert(profile.count() == 0) failed: sanity in InlineTree::is_not_reached
Reviewed-by: vlivanov, kvn
2019-06-06 13:45:59 +03:00
Nick Gasson
72daa46d46 8224853: CDS address sanitizer errors
Reviewed-by: iklam, dholmes
2019-06-04 17:56:16 +08:00
Lois Foltan
c66a7b734b 8225325: Add tests for redefining a class' private method during resolution of the bootstrap specifier
Add new tests

Reviewed-by: dholmes, sspitsyn
2019-06-05 22:19:09 -07:00
Serguei Spitsyn
f1cb8f2e23 8205126: JVMTI spec incorrectly states that PopFrame can not be called on the current thread
Align the PopFrame spec with the implementation

Reviewed-by: amenkov, jcbeyler, cjplummer, dcubed
2019-06-05 21:02:42 -07:00
John Jiang
2564e79c23 8225390: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8161536
Reviewed-by: xuelei
2019-06-06 10:11:24 +08:00
Jesper Wilhelmsson
f49f66a330 Added tag jdk-13+24 for changeset 7e2238451585 2019-06-06 04:04:03 +02:00
Vicente Romero
43114a091a 8225386: test for JDK-8216261 fails in Windows
Reviewed-by: jjg
2019-06-05 21:50:29 -04:00
Naoto Sato
aa43d1ab22 8225182: JNI exception pending in DestroyXIMCallback of awt_InputMethod.c:1327
Reviewed-by: serb
2019-06-05 16:10:08 -07:00
Vicente Romero
d69bc696f2 8223942: Missing methods in ClientCodeWrapper$WrappedJavaFileManager
Reviewed-by: jjg
2019-06-05 17:01:43 -04:00
Erik Joelsson
bacc6655b8 8209381: Default CDS classlist generation should run with an explicit locale setting
Reviewed-by: iklam, tbell
2019-06-05 13:46:31 -07:00
Vicente Romero
16a0533eac 8216261: Javap ignores default modifier on interfaces
Reviewed-by: jjg, darcy
2019-06-05 16:01:50 -04:00
Thomas Stuefe
19ab931c71 8225348: serviceability/dcmd/vm/EventsTest.java failed
Reviewed-by: jcbeyler, cjplummer
2019-06-05 21:14:46 +02:00
Thomas Stuefe
d45aa9c1a9 8223777: In posix_spawn mode, failing to exec() jspawnhelper does not result in an error
Reviewed-by: rriggs, martin, fweimer
2019-06-05 09:12:45 +02:00
Daniel D. Daugherty
858b7e21d6 8188872: runtime/ErrorHandling/TimeoutInErrorHandlingTest.java fails intermittently
Reviewed-by: dholmes, stuefe
2019-06-05 14:07:14 -04:00
Daniel D. Daugherty
09b642e937 8224793: os::die() does not honor CreateCoredumpOnCrash option
Reviewed-by: kbarrett, dholmes, stuefe
2019-06-05 14:01:01 -04:00
Joe Darcy
c31f5bfa4a 8225353: Add @jls links to java.lang.Enum
Reviewed-by: lancea, jjg
2019-06-05 10:49:09 -07:00
Thomas Stuefe
a7f5e6f7fd 8225225: stringStream internal buffer should always be zero terminated
Reviewed-by: coleenp, dholmes
2019-06-05 19:34:43 +02:00
Mikael Vidstedt
51f09f2e3e 8225305: ProblemList java/lang/invoke/VarHandles tests
Reviewed-by: kvn, iignatyev, mchung, alanb
2019-06-05 08:43:41 -07:00
Jonathan Gibbons
b09003ef5d 8225346: Convert file to HTML5
Reviewed-by: lancea
2019-06-05 08:24:03 -07:00
Mandy Chung
857b2e6271 8221368: Error message when module main class cannot be loaded is missing exception details
Reviewed-by: alanb, sundar
2019-06-05 07:49:20 -07:00
Hannes Wallnöfer
9f039257cb 8221709: replace use of style blockListLast
Reviewed-by: jjg
2019-06-05 16:26:13 +02:00
Roger Riggs
ab88704c67 8220238: Enhancing j.l.Runtime/System::gc specification with an explicit 'no guarantee' statement
Reviewed-by: shade, dholmes, mchung, plevart
2019-06-05 10:21:02 -04:00
Aleksey Shipilev
9e80843829 8225342: Shenandoah: use COMPILER2_OR_JVMCI macro consistently
Reviewed-by: zgu
2019-06-05 15:19:13 +02:00
Zhengyu Gu
5d46bc86b8 8225341: Shenandoah: CM::update_thread_roots() needs to handle derived pointers
Reviewed-by: shade
2019-06-05 09:15:42 -04:00
Chris Hegarty
cc353da44d 8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Prasanta Sadhukhan
1f138e1009 8211703: JInternalFrame : java.lang.AssertionError: cannot find the internal frame
Reviewed-by: prr, serb
2019-05-23 10:50:47 +05:30
Alan Malloy
f573b23f72 8224629: Unnecessary cast in LambdaToMethod
Reviewed-by: vromero
2019-05-22 15:30:11 -07:00
Naoto Sato
8dfd33c2b4 8223773: DateTimeFormatter Fails to throw an Exception on Invalid CLOCK_HOUR_OF_AMPM and HOUR_OF_AMPM
Reviewed-by: lancea, scolebourne, rriggs
2019-05-31 13:49:35 -07:00
Erik Joelsson
1cdcf154e0 8219788: Configure recommends JDK 8
Reviewed-by: tbell
2019-05-31 13:37:58 -07:00
Ioi Lam
43e23020f2 8224692: runtime/appcds tests crash in "HotSpotJVMCI::compute_offset" when running in Graal as JIT mode
Reviewed-by: ccheung
2019-05-31 12:51:36 -07:00
Kim Barrett
67defd71f2 8219149: ProcessTools.ProcessBuilder should print timing info for subprocesses
Add some timestamped logging messages to OutputBuffer.

Reviewed-by: rriggs, dcubed, lmesnik, dholmes
2019-05-31 14:42:28 -04:00
Brian Burkhalter
cf4fa3f72f 8225117: java/math/BigInteger/SymmetricRangeTests.java fails with ParseException
Reviewed-by: darcy
2019-05-31 11:13:58 -07:00
Jonathan Gibbons
d710316029 8225129: Fix minor HTML issues in java.naming
Reviewed-by: mchung, lancea
2019-05-31 10:59:54 -07:00
Harold Seigel
1b0445639f 8222936: mlvm/anonloader/stress/randomBytecodes/Test.java fails due to "ERROR: There were 1 hangups during parsing."
Prevent false failures by blocking the test until either it times out or the loading thread finishes

Reviewed-by: dholmes, coleenp
2019-05-31 13:09:15 -04:00
Jonathan Gibbons
913ab5c6f4 8225094: Fix minor HTML issues in jdk.zipfs
Reviewed-by: clanger, mchung, lancea
2019-05-31 09:26:27 -07:00
Patricio Chilano Mateo
84242de3ef 8225016: Dead code due to VMOperationQueue::add() always returning true
Removed dead code in vmThread.cpp

Reviewed-by: coleenp, hseigel, dholmes
2019-05-31 11:17:55 -04:00
Arno Zeller
bb2e4df367 8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
Changed test to no longer use hardcoded ports.

Reviewed-by: chegar, clanger
2019-05-28 20:12:16 +02:00
Chris Hegarty
53b022d9eb 8224973: URLStreamHandler.openConnection(URL,Proxy) - spec and implementation mismatch
Reviewed-by: alanb, dfuchs
2019-05-31 15:02:45 +01:00
Roland Westrelin
98b1d8c798 8173196: [REDO] C2 does not optimize redundant memory operations with G1
Reviewed-by: thartmann, kvn
2019-05-21 15:46:09 +02:00
Patric Hedlin
d222b01dee 8223363: Bad node estimate assertion failure
8223502: Node estimate for loop unswitching is not correct: assert(delta <= 2 * required) failed: Bad node estimate
8224648: assert(!exceeding_node_budget()) failed: Too many NODES required! failure with ctw

Tighten the node estimates. New est_loop_clone_sz() implementation that will compute a "fan-out" complexity estimate as part of the size estimate (to better estimate complex loop body size after cloning). New est_loop_unroll_sz() function, used to estimate the size of a loop body att full/maximal unrolling. Correction to node budget final tests and asserts.

Reviewed-by: neliasso, kvn
2019-05-28 14:56:58 +02:00
Thomas Schatzl
d36c7bad82 8223693: Memory wastage in size of per-region type buffers in GC
Reviewed-by: kbarrett, sangheki
2019-06-03 10:51:28 +02:00
Thomas Schatzl
ac21f1bdd5 8223162: Improve ergonomics for Sparse PRT entry sizing
Scale Sparse PRT table sizes exponentially according to region size.

Reviewed-by: kbarrett, sangheki
2019-06-03 10:50:14 +02:00
Prasanta Sadhukhan
f7e4fb87b2 8214702: Wrong text position for whitespaced string in printing Swing text
Reviewed-by: prr, serb
2019-05-21 14:41:43 +05:30
Roland Westrelin
04c0750041 8224580: Matcher can cause oop field/array element to be reloaded
Reviewed-by: neliasso, rkennke, dlong
2019-05-21 09:08:01 +02:00
Chris Hegarty
9fbdec42c4 8225214: Socket.getOption(SocketOption) not returning the expected type for the StandardSocketOptions.SO_LINGER
Reviewed-by: alanb
2019-06-05 12:02:01 +01:00
Peter Januschke
0835c96bda 8222103: [testbug] compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest may exceed VM limit
Reviewed-by: iignatyev, mdoerr
2019-05-31 14:52:01 +02:00
Per Lidén
0b647d15bf 8225084: gc/z/TestHighUsage.java fails with unexpected allocation stall
Reviewed-by: eosterlund
2019-06-05 10:43:45 +02:00
Per Lidén
8db95fbee9 8224965: ZGC: Strengthen ZHeap::is_in()
Reviewed-by: eosterlund
2019-06-05 10:43:45 +02:00
Per Lidén
06c7a66c22 8224962: ZGC: Strengthen ZHeap::is_oop()
Reviewed-by: eosterlund
2019-06-05 10:43:44 +02:00
Claes Redestad
27d8c3f7b4 8224240: Properties.load fails to throw IAE on malformed unicode in certain circumstances
Reviewed-by: smarks, rriggs, dfuchs
2019-06-05 10:23:06 +02:00
Claes Redestad
a2f40ec3e1 8225179: (regex) Minor Pattern cleanup
Reviewed-by: igerasim
2019-06-05 10:07:22 +02:00
Aleksey Shipilev
bb4d8b504a 8225229: Shenandoah: trim down default number of GC threads
Reviewed-by: rkennke
2019-06-05 09:23:09 +02:00
Thomas Stuefe
7fa6705cb3 8224181: On child process spawn, child may write to random file descriptor instead of the fail pipe
Reviewed-by: rriggs, martin
2019-06-05 08:59:17 +02:00
Thomas Stuefe
dbc3f88d5c 8224600: Provide VM.events command
Reviewed-by: minqi, dholmes, mbaesken, clanger
2019-06-05 07:25:09 +02:00
Stuart Marks
2ead52addc 8225315: test java/util/ArrayDeque/WhiteBox.java isn't part of the jdk_collections test group
Reviewed-by: martin, darcy
2019-06-04 18:59:53 -07:00
Weijun Wang
64b04922c4 8193255: Root Certificates should be stored in text format and assembled at build time
Reviewed-by: clanger, erikj, mullan
2019-06-05 09:58:05 +08:00
Ivan Gerasimov
90e6c1cc36 8225198: Optimize regex tree for greedy quantifiers of type {N,}
Reviewed-by: redestad, bchristi
2019-06-04 18:55:53 -07:00
David Holmes
4098f0ecdd 8225217: Backout: JDK-8224814: Remove dead JNIHandleBlock freelist code
Reviewed-by: kvn, kbarrett
2019-06-04 21:25:40 -04:00
Mikael Vidstedt
aacff490bf 8225307: ProblemList compiler/codegen/TestCharVect2.java and compiler/c2/cr6340864/TestLongVect.java
Reviewed-by: kvn
2019-06-04 18:12:25 -07:00
Jonathan Gibbons
dee3f4e8c1 8225324: Bad HTML in jdk.jfr module-info.java
Reviewed-by: lancea
2019-06-04 16:50:25 -07:00
Jonathan Gibbons
077ecbf2b2 8225314: broken links in java.base
Reviewed-by: darcy
2019-06-04 15:42:16 -07:00
Jonathan Gibbons
8c5651e0f5 8225309: HTML issues in jdk.jdi module
Reviewed-by: lancea
2019-06-04 14:47:25 -07:00
Jonathan Gibbons
62426ed024 8225306: bad headings in java.sql.rowset SyncProvider.java
Reviewed-by: lancea
2019-06-04 13:47:59 -07:00
Mandy Chung
a9e23e8305 8222448: java/lang/reflect/PublicMethods/PublicMethodsTest.java times out
Set empty class path for compilation to avoid unnecessary opening/scanning of JAR files

Reviewed-by: alanb, dholmes
2019-06-04 12:50:15 -07:00
Vladimir Kozlov
7356905a83 8225019: Update JVMCI
Reviewed-by: never, dlong
2019-06-04 12:44:53 -07:00
Stuart Marks
766a7dd9f7 8217412: deprecate rmic for removal
Reviewed-by: rriggs, sundar
2019-06-04 11:55:51 -07:00
Jonathan Gibbons
45f6ff3894 8223805: DocCommentParser should allow for <main> and </main>
Reviewed-by: hannesw
2019-06-04 11:29:29 -07:00
Kim Barrett
9965ded5dd 8212630: jtreg/gc/logging/TestMetaSpaceLog.java failed with Agent timed out
Use driver with framework test options passed through to subtask.

Reviewed-by: tschatzl, lmesnik
2019-06-04 13:26:20 -04:00
Hannes Wallnöfer
1761b47cd5 8178982: Javadoc search specification
Reviewed-by: jjg, erikj
2019-06-04 17:51:14 +02:00
Coleen Phillimore
f855474b0d 8222468: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError
Preload StackTraceElement$HashedModules in test.

Reviewed-by: lmesnik, dholmes
2019-06-04 10:29:42 -04:00
Mikhailo Seledtsov
80002ae2bb Merge 2019-06-04 07:54:16 -07:00
Mikhailo Seledtsov
7d3aebccc0 8223396: [TESTBUG] several jfr tests do not clean up files created in /tmp
Using test utils to create temp files and directories

Reviewed-by: dholmes, erikj, hseigel, lmesnik
2019-06-04 07:53:12 -07:00
Andrey Turbanov
9eda28e6ea 6394787: Typos in javadoc of OIS.readObjectOverride and OOS.writeObjectOverride
Reviewed-by: alanb, chegar
2019-06-04 15:52:26 +01:00
Hannes Wallnöfer
4b01aa4f71 8214126: Method signatures not formatted correctly in browser
Reviewed-by: jjg
2019-06-04 16:33:37 +02:00
Hannes Wallnöfer
4d08dd703e 8222091: Javadoc does not handle package annotations correctly on package-info.java
Reviewed-by: jjg
2019-06-04 16:20:42 +02:00
Patric Hedlin
4cadab8492 8225110: IGV build definition uses non-secure transport
Reviewed-by: neliasso
2019-05-16 17:09:11 +02:00
Claes Redestad
fd7c38aa35 8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
Reviewed-by: jlaskey, rriggs
2019-05-31 12:20:21 +02:00
Nils Eliasson
25b1131e33 8224538: LoadBarrierNode::common_barrier must check address
Reviewed-by: thartmann, kvn
2019-05-31 10:13:24 +02:00
Athijegannathan Sundararajan
0bb2f86867 8216535: tools/jimage/JImageExtractTest.java timed out
Reviewed-by: jlaskey
2019-05-31 08:27:06 +05:30
Zhengyu Gu
1a3d4e638c 8225014: Separate ShenandoahRootScanner method for object_iterate
Reviewed-by: shade
2019-05-30 21:12:26 -04:00
Jonathan Gibbons
5edd5f5805 8220251: fix headings in java.management
Reviewed-by: lancea
2019-05-30 17:28:26 -07:00
Zhengyu Gu
c73e5b1401 8224978: Shenandoah: Allows root verifier to verify some roots outside safepoints with proper locks
Reviewed-by: shade
2019-05-29 11:55:30 -04:00
Joe Darcy
bcd13b790f 8224687: Add clarifying overrides of Element.asType to more specific subinterfaces
Reviewed-by: jjg
2019-05-30 16:21:08 -07:00
Serguei Spitsyn
110ead8bea 8223718: Checks in check_slot_type_no_lvt() should be always executed
Call check_slot_type_no_lvt() even if the LVT is present

Reviewed-by: kvn, gadams, amenkov
2019-05-30 15:55:16 -07:00
Jonathan Gibbons
ec83d0304e 8225077: fix references to broken link in java.compiler module
Reviewed-by: darcy, lancea
2019-05-30 13:45:48 -07:00
Sergey Kuksenko
145f06a155 8223504: Improve performance of forall loops by better inlining of "iterator()" methods
Reviewed-by: vlivanov, shade
2019-05-30 12:45:02 -07:00
Xiang Yuan
76361f63bd 8224828: aarch64: rflags is not correct after safepoint poll
Reviewed-by: aph, adinn
2019-05-30 10:29:55 +08:00
Jonathan Gibbons
26fe539bbd 8225066: Add missing file
Reviewed-by: mchung
2019-05-30 11:00:23 -07:00
Jonathan Gibbons
5317d41dd9 8224257: fix issues in files generated by pandoc
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Reviewed-by: tbell, jjg, erikj
2019-05-30 10:37:48 -07:00
Chris Hegarty
89c51948ff 8225060: java.net.DefaultInterface invokes NetworkInterface::getInetAddresses without doPriv
Reviewed-by: alanb
2019-05-30 18:10:34 +01:00
Vladimir Ivanov
5db82de14b 8223216: C2: Unify class initialization checks between new, getstatic, and putstatic
Reviewed-by: kvn, dlong
2019-05-30 19:12:11 +03:00
Sean Mullan
8ac3b68688 8224767: Add String constants for Canonical XML 1.1 URIs
Reviewed-by: xuelei
2019-05-30 09:24:13 -04:00
Bob Vandette
087c3a9c3a 8222252: Java ergonomics limits heap to 128GB with disabled compressed oops
Reviewed-by: dholmes
2019-05-30 07:07:15 -04:00
Athijegannathan Sundararajan
90fb4990ed 8224946: jrtfs URI to Path and Path to URI conversions are wrong
Reviewed-by: alanb
2019-05-30 17:30:33 +05:30
Chris Hegarty
3ab3ffd29f 8224730: java.net.ServerSocket::toString not invoking checkConnect
Reviewed-by: alanb
2019-05-30 12:36:04 +01:00
Vladimir Ivanov
e72bfe15ad 8223213: Implement fast class initialization checks on x86-64
Reviewed-by: kvn, redestad, dholmes, mdoerr, coleenp
2019-05-30 13:39:13 +03:00
Markus Grönlund
ba723fbdfb 8224172: assert(jfr_is_event_enabled(id)) failed: invariant
Reviewed-by: dcubed, dholmes
2019-05-30 11:42:53 +02:00
Aleksey Shipilev
fbed983c90 8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long
Reviewed-by: rkennke
2019-05-30 10:21:51 +02:00
Alan Bateman
7e14aeb133 8221481: Reimplement the Legacy Socket API
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01:00
David Holmes
23be0f0c2a 8224790: Remove Xusage.txt file
Reviewed-by: alanb, dcubed, erikj, mchung
2019-05-29 22:17:48 -04:00
Jesper Wilhelmsson
40011fe4ec Added tag jdk-13+23 for changeset b034d2dee5fc 2019-05-30 03:15:06 +02:00
Daniel D. Daugherty
d3fd7e2a25 8225022: Put compiler/graalunit/JttThreadsTest.java on ProblemList-graal.txt
Reviewed-by: kvn
2019-05-29 19:25:45 -04:00
Erik Joelsson
cc2d5d3f01 8224011: Failure handling in ExecuteWithLog fails in run-test-prebuilt
Reviewed-by: tbell
2019-05-29 15:29:06 -07:00
Christoph Langer
64462e484f 8224729: Cleanups in sun/security/provider/certpath/ldap/LDAPCertStoreImpl.java
Reviewed-by: mullan
2019-05-29 22:30:14 +01:00
Ivan Gerasimov
f5e2916507 8224789: Parsing repetition count in regex does not detect numeric overflow
Reviewed-by: rriggs, bchristi
2019-05-29 13:44:27 -07:00
Xue-Lei Andrew Fan
051b4e2963 8224991: Problemlist javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java
Reviewed-by: mullan
2019-05-29 13:39:08 -07:00
Dean Long
57f57afed4 8224931: disable JAOTC invokedynamic support until 8223533 is fixed
Reviewed-by: kvn, never
2019-05-29 13:31:56 -07:00
Arthur Eubanks
acad8d1d68 8224081: SOCKS v4 doesn't work with IPv6
Reviewed-by: chegar, dfuchs, mullan, vtewari
2019-05-16 15:58:15 -07:00
Joe Wang
e30203390b 8225005: Xerces 2.12.0: License file
Reviewed-by: lancea
2019-05-29 11:58:30 -07:00
Igor Ignatyev
18eb89aac0 8224945: googlemock update breaks the build of arm32 and ppc
Reviewed-by: dholmes, simonis
2019-05-29 11:54:26 -07:00
Joe Darcy
bc10b6aaff 8224012: AnnotatedType implementations of hashCode() lead to StackOverflowError
Reviewed-by: jfranck
2019-05-29 09:53:28 -07:00
Zhengyu Gu
951e0b22d7 8224875: Shenandoah: ParallelCleaning code unloading should take lock to protect shared code roots array
Reviewed-by: shade
2019-05-29 10:57:19 -04:00
Weijun Wang
71825293eb 8223053: [xmldsig] Add KeyValue::EC_TYPE
Reviewed-by: mullan
2019-05-29 23:36:36 +08:00
Gustavo Romero
88cef8d961 8223660: jtreg: Decouple Unsafe from RTM tests
Reviewed-by: mdoerr, shade
2019-05-22 12:17:26 -04:00
Xue-Lei Andrew Fan
cee4dcf04f 8224984: Problemlist javax/net/ssl/SSLSocket/Tls13PacketSize.java
Reviewed-by: mullan
2019-05-29 07:48:27 -07:00
Xue-Lei Andrew Fan
a687fabde0 8224981: Problemlist test/jdk/sun/security/pkcs11/tls/tls12/FipsModeTLS12.java
Reviewed-by: mullan
2019-05-29 06:56:19 -07:00
Hannes Wallnöfer
f191f6d514 8224982: JDK-8222318 breaks tools/doclint/html/EntitiesTest.java
Reviewed-by: sundar
2019-05-29 15:52:12 +02:00
Zhengyu Gu
36144f235b 8224932: Shenandoah: Rename ShenandoahHeapLock, make it general purpose lock
Reviewed-by: shade
2019-05-29 09:43:37 -04:00
Aleksey Shipilev
b33580af3e 8224970: ShenandoahRootScanner::roots_do assert is too strong
Reviewed-by: zgu
2019-05-29 15:25:21 +02:00
Chris Hegarty
bc24d17e80 8224477: java.net socket types new-style socket option methods - spec and impl mismatch
Reviewed-by: alanb
2019-05-29 13:58:05 +01:00
Harold Seigel
cf48689855 8224763: Update man pages to show deprecation of -Xverify:none
Add the appropriate deprecation text

Reviewed-by: dholmes, lfoltan
2019-05-29 08:21:33 -04:00
Roland Westrelin
02958a41ef 8224496: Shenandoah compilation fails with assert(is_CountedLoopEnd()) failed: invalid node class
Reviewed-by: rkennke
2019-05-22 10:11:04 +02:00
Markus Grönlund
be2b567e90 8217089: JFR: Lazy install os interface components for improved startup
Reviewed-by: dholmes, egahlin
2019-05-29 13:30:17 +02:00
Hannes Wallnöfer
88a3fd3b40 8222318: javadoc does not accept valid HTML5 entity names
Reviewed-by: jjg
2019-05-29 12:43:29 +02:00
Roman Kennke
fb4bb0a6cb 8224584: Shenandoah: Eliminate forwarding pointer word
Reviewed-by: shade, roland
2019-05-29 12:01:21 +02:00
Stefan Karlsson
114ba5a57c 8223392: Add missing BitMap comments for JDK-8222986
Reviewed-by: tschatzl, pliden
2019-05-29 09:25:20 +02:00
Matthias Baesken
c8d5c2961e 8224750: Display thread once in Internal exceptions event log lines
Reviewed-by: mdoerr
2019-05-24 14:32:17 +02:00
Osamu Sakamoto
4e38fb3c5f 8223814: SA: jhsdb common help needs to be more detailed
Reviewed-by: dholmes, sspitsyn, ysuenaga
2019-05-29 13:50:33 +09:00
Martin Balao
ebf8e1c0ac 8223482: Unsupported ciphersuites may be offered by a TLS client
Reviewed-by: xuelei
2019-05-28 19:01:38 -03:00
Rahul Raghavan
c4f8325420 8220449: serviceability/dcmd/compiler/CodelistTest.java failure
Added -XX:-BackgroundCompilation to test to eager initialize JVMCI

Reviewed-by: gadams, thartmann
2019-05-29 07:49:06 +05:30
Jim Laskey
4e83c1c4dc 8224908: Revert: 8216553: JrtFileSystemProvider getPath(URI) omits /modules element from file path
Reviewed-by: darcy, kbarrett
2019-05-28 16:51:28 -03:00
Aleksey Shipilev
b71c30f1b8 8224796: C code is not compiled correctly due to undefined "i386"
Reviewed-by: dholmes, mikael
2019-05-28 21:31:07 +02:00
Robbin Ehn
043e3d767c 8224795: some runtime/SelectionResolution tests are timing out
Reviewed-by: dholmes, thartmann
2019-05-28 20:47:47 +02:00
Sean Mullan
7690d3f682 Merge 2019-05-28 14:29:29 -04:00
Sean Mullan
1666a73734 8224885: ProblemList sun/security/tools/keytool/KeyToolTest.java and WeakAlgTest.java on Solaris
Reviewed-by: xuelei
2019-05-28 14:28:40 -04:00
Jonathan Gibbons
c52f3f3d66 Merge 2019-05-28 11:22:23 -07:00
Jonathan Gibbons
a0744051d5 8219147: Javadoc should expose covariant return type overrides
Reviewed-by: hannesw
2019-05-28 11:21:02 -07:00
Sean Coffey
61c0225c71 8042904: apple.security.KeychainStore.getSalt() calling generateSeed()
Reviewed-by: jnimeh
2019-05-28 19:19:58 +01:00
Joe Darcy
f5f5767eae 8224783: Javadoc of String strip methods uses link where linkplain would be better
Reviewed-by: lancea, jlaskey
2019-05-28 10:54:59 -07:00
Vivek Deshpande
920ded41d8 8224558: Fix replicateB encoding
Reviewed-by: thartmann, vlivanov
2019-05-28 09:56:47 -07:00
Calvin Cheung
421c364797 8224548: [TESTBUG] runtime/appcds/jvmti/ClassFileLoadHookTest.java failed: must be shared
Improve the -Xshare:auto case

Reviewed-by: iklam, coleenp
2019-05-28 09:40:49 -07:00
Andrew Haley
e4325bfd90 Merge 2019-05-28 10:20:05 -04:00
Athijegannathan Sundararajan
0c724506b8 8216553: JrtFIleSystemProvider getPath(URI) omits /modules element from file path
Reviewed-by: alanb, jlaskey
2019-05-28 19:30:30 +05:30
Andrew Haley
c841c0fc5f 8224880: AArch64: java/javac error with AllocatePrefetchDistance
Reviewed-by: adinn
2019-05-28 09:13:11 -04:00
Tobias Hartmann
4ff2682a4a 8224870: Problemlist compiler/c2/Test8004741.java until JDK-8214904 is fixed
Added Test8004741 to problem list.

Reviewed-by: shade
2019-05-28 14:53:57 +02:00
Andrew Haley
67b71618cc Merge 2019-05-28 08:25:22 -04:00
Markus Grönlund
d2218f73ea 8221121: applications/microbenchmarks are encountering crashes in tier5
Reviewed-by: egahlin, dholmes
2019-05-28 13:28:48 +02:00
Coleen Phillimore
14ea8f5c59 8220688: [TESTBUG] runtime/NMT/MallocStressTest.java timed out
Reduce number of threads and iterate rather than sleep.

Reviewed-by: zgu, dholmes
2019-05-28 06:42:32 -04:00
Lutz Schmidt
910fa9ad50 8224672: (lib)hsdis-<arch>.so search incorrect after JDK-8213084
Reviewed-by: kvn, shade
2019-05-28 09:41:20 +02:00
Rahul Raghavan
da85e43f56 8213416: Replace some enums with static const members in hotspot/compiler
Changes to fix enumeral and non-enumeral type in conditional expression warnings with -Wextra for gcc on hotspot

Reviewed-by: kvn, thartmann
2019-05-28 12:01:52 +05:30
Igor Ignatyev
99a18f1249 8222414: bring googlemock v1.8.1
Reviewed-by: erikj, rwestberg
2019-05-27 19:46:34 -07:00
Zhengyu Gu
a7307e2709 8224751: Shenandoah: Shenandoah Verifier should select proper roots according to current GC cycle
Reviewed-by: rkennke
2019-05-27 14:34:58 -04:00
Daniel Fuchs
5461726dcc 8224761: Replace wildcard address with loopback or local host in tests - part 12
Fixes a batch of intermittent failures.

Reviewed-by: chegar, vtewari
2019-05-27 19:24:42 +01:00
Roman Kennke
625020c0fd 8224836: Backout: JDK-8224626: Shenandoah: Elide barriers on uncommon traps
Reviewed-by: shade
2019-05-27 14:57:26 +02:00
Aleksei Efimov
57d319210a 8224035: Replace wildcard address with loopback or local host in tests - part 9
Reviewed-by: dfuchs
2019-05-27 13:29:11 +01:00
Matthias Baesken
247729cdd7 8224221: add memprotect calls to event log
Reviewed-by: dholmes, mdoerr
2019-05-23 15:15:01 +02:00
Yasumasa Suenaga
b77c2ea4e9 8224252: [TESTBUG] hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java is timing out again after fix for JDK-8163805
Reviewed-by: cjplummer, sspitsyn
2019-05-25 20:55:33 +09:00
Christoph Langer
4b33ac8f91 8224727: Problem list test security/infra/java/security/cert/CertPathValidator/certification/ActalisCA.java
Reviewed-by: rhalade
2019-05-25 10:54:10 +01:00
Serguei Spitsyn
854b898852 8046018: JVMTI Spec: can_redefine_any_class capability spec is inconsistent
Make the "can_redefine_any_class" capability spec clear and consistent

Reviewed-by: alanb, cjplummer, dholmes, dcubed, jcbeyler
2019-05-24 21:05:19 -07:00
Weijun Wang
764258a114 6682540: Incorrect SASL DIGEST-MD5 behavior
Reviewed-by: jnimeh
2019-05-25 08:30:53 +08:00
Lance Andersen
2c002e9355 8224682: Remove the com.sun.CORBA.ORBIorTypeCheckRegistryFilter security property
Reviewed-by: bchristi
2019-05-24 15:06:58 -04:00
Joe Wang
50eb86d003 8223658: Performance regression of XML.validation in 13-b19
Reviewed-by: lancea
2019-05-24 10:28:21 -07:00
Rajan Halade
dd386b9acb 8202651: Test ComodoCA.java fails
Reviewed-by: mullan
2019-05-24 09:47:41 -07:00
Doug Lea
05cd3a7bce 8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin
2019-05-24 08:55:03 -07:00
Doug Lea
ae0b26613c 8220478: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out intermittently
8223379: Clarify ForkJoinPool.getStealCount() javadoc

Reviewed-by: martin
2019-05-24 08:51:04 -07:00
Doug Lea
22a4313efc 8224024: java/util/concurrent/BlockingQueue/DrainToFails.java testBounded fails intermittently
Reviewed-by: martin
2019-05-24 08:47:39 -07:00
Doug Lea
5892b0663f 8224176: Fix inconsistencies in @jls tags in java.util.concurrent
Reviewed-by: martin, darcy, jjg
2019-05-24 08:43:40 -07:00
Doug Lea
579854e397 8224698: ConcurrentSkipListMap.java does not compile with the Eclipse Java Compiler
Reviewed-by: martin, clanger, smarks, dfuchs
2019-05-24 08:39:37 -07:00
Daniel Fuchs
ee040e4be2 8224603: Replace wildcard address with loopback or local host in tests - part 11
Fixes a batch of tests that were observed failing intermittently.

Reviewed-by: chegar, vtewari
2019-05-24 15:34:14 +01:00
Lutz Schmidt
241c32ca51 8224742: JLONG_FORMAT_W incompatible with type jlong
Reviewed-by: thartmann, clanger
2019-05-24 15:36:48 +02:00
Andrew Haley
671d15c078 8224671: AArch64: mauve System.arraycopy test failure
Reviewed-by: adinn
2019-05-23 07:57:50 -04:00
Zhengyu Gu
deaba32229 8224115: Shenandoah: Eliminate RWLock that protects recorded nmethod data array
Reviewed-by: shade
2019-05-22 21:24:09 -04:00
Zhengyu Gu
96c9fcf22f 8224679: Shenandoah: Make ShenandoahParallelCodeCacheIterator noncopyable
Reviewed-by: rkennke, shade
2019-05-24 09:23:58 -04:00
Jan Lahoda
0112514fde 8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH
Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module.

Reviewed-by: jjg
2019-05-24 12:25:18 +02:00
Deepak Kejriwal
9a193f38a3 8214563: Use {@systemProperty} in specification of system properties in java.nio packages
8214565: Use {@systemProperty} for definitions of system properties

Reviewed-by: alanb, rriggs
2019-05-23 12:36:54 +05:30
Wang Xue
2e04779cef 8224723: [TESTBUG] compiler/arraycopy/TestArrayCopyWithBadOffset.java failed
Added missing -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: thartmann
2019-05-24 09:51:02 +02:00
Aleksey Shipilev
6b0d17744b 8224652: 32-bit build failures after JDK-8213084
Reviewed-by: thartmann, shade
2019-05-23 18:50:48 +02:00
Thomas Stuefe
a46a6bcfeb 8220394: bufferedStream does not honor size limit
Reviewed-by: dholmes, clanger
2019-05-24 09:02:33 +02:00
Christoph Langer
fd67f8ee69 8223553: Fix code constructs that do not compile with the Eclipse Java Compiler
Reviewed-by: smarks, dfuchs
2019-05-24 07:56:29 +01:00
Joe Darcy
4dd6b687ef 8224177: Harden annotation processing framework to irregular behavior from processors
Reviewed-by: jjg
2019-05-23 18:47:24 -07:00
Mikhailo Seledtsov
64d0470860 8224706: [TESTBUG] problem list failing JDK docker API tests
Put the failing tests on a problem list

Reviewed-by: lmesnik
2019-05-23 18:31:38 -07:00
Jesper Wilhelmsson
866c0de81c 8224715: ProblemList compiler/graalunit/HotspotJdk9Test.java
Reviewed-by: mikael
2019-05-24 03:17:31 +02:00
Erik Joelsson
f7a69b417d 8224145: Build compare script fails intermittently on test image native libraries
Reviewed-by: tbell
2019-05-23 14:14:13 -07:00
Erik Joelsson
a455bb486c 8224677: Dtrace .d files clash with make dependency .d files
Reviewed-by: tbell
2019-05-23 14:13:09 -07:00
Ivan Gerasimov
500ed0a5a8 7061590: Javadoc issues in Charset and StandardCharsets
Reviewed-by: alanb, jjg
2019-05-23 13:48:16 -07:00
Roman Kennke
56359d42b1 8224667: Shenandoah: Post-LRB cleanup
Reviewed-by: shade
2019-05-23 17:01:38 +02:00
Ioi Lam
6bf5ad140a 8224689: ProblemList runtime/appcds/SharedArchiveConsistency.java
Reviewed-by: ccheung, dcubed
2019-05-23 12:57:12 -07:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Mikhailo Seledtsov
e4f31b1cd7 8224165: [TESTBUG] Docker tests produce excessive output
Trimmed child process output, saving child stdout to file

Reviewed-by: dholmes, lmesnik
2019-05-23 11:37:24 -07:00
Calvin Cheung
b582ed131a 8224264: [TESTBUG] HelloDynamicCustom.java test failed on the Windows platform in tiers 6 and 7 testing
Making use of the DynamicArchiveTestBase class so that mapping failure can be handled more robustly.

Reviewed-by: iklam
2019-05-23 10:05:02 -07:00
Arthur Eubanks
2bc89b0076 8224635: Revert 8224256 and add back java/security/SecureClassLoader/DefineClass.java test
Reviewed-by: mullan
2019-05-23 09:03:58 -07:00
Claes Redestad
617a981cc4 8224202: Speed up Properties.load
Reviewed-by: rriggs, igerasim
2019-05-23 18:43:47 +02:00
Erik Joelsson
8abeea8a0c 8221543: Indify-dependent microbenchmarks are broken
Reviewed-by: redestad
2019-05-23 08:57:24 -07:00
Daniel Fuchs
368e4d9e53 8224656: Problem list java/security/SecureClassLoader/DefineClass.java until JDK-8224635 is fixed
The test failed consistently on windows and linux, and intermittently (but rarely) on solaris.  This patch problem-list it on all platform.

Reviewed-by: dholmes, chegar, alanb
2019-05-23 11:36:31 +01:00
Roman Kennke
dc783cb6ec 8224626: Shenandoah: Elide barriers on uncommon traps
Reviewed-by: roland, shade
2019-05-23 12:12:04 +02:00
Robbin Ehn
9baafa55a6 8221734: Deoptimize with handshakes
Reviewed-by: dcubed, dholmes, pchilanomate, dlong, coleenp
2019-05-23 10:13:29 +02:00
Tobias Hartmann
4ea77d3e78 8223581: C2 compilation failed with assert(!q->is_MergeMem())
Aggressively remove MergeMems feeding into other MergeMems during incremental inlining.

Reviewed-by: vlivanov
2019-05-23 09:46:49 +02:00
Tobias Hartmann
abe90da665 8224539: C2 compilation fails during ArrayCopyNode optimizations with assert(i < _max) failed: oob: i=1, _max=1
Bail out if src_offset or dst_offset is top.

Reviewed-by: roland, vlivanov, kvn
2019-05-23 08:57:37 +02:00
Per Lidén
868ab3044f 8224185: ZGC: Introduce "High Usage" rule
Reviewed-by: eosterlund
2019-05-23 08:09:29 +02:00
Joe Darcy
c2dbf46d2e 8224628: Note that type parameters are not visited by ElementScanners
Reviewed-by: jjg
2019-05-22 21:49:31 -07:00
Henry Jen
f30500c679 8215156: Deprecate the -Xfuture option
Reviewed-by: dholmes
2019-05-22 21:45:47 -07:00
David Holmes
03428d73fc 8224087: Compile C code for at least C99 Standard compliance
Reviewed-by: simonis, aph, erikj, serb, stuefe
2019-05-22 21:50:16 -04:00
Jesper Wilhelmsson
2531942e5d Added tag jdk-13+22 for changeset 181986c54764 2019-05-23 02:36:15 +02:00
Stuart Monteith
12b2a50bb2 8224187: Refactor arraycopy_prologue to allow ZGC read barriers on arraycopy
Reviewed-by: eosterlund
2019-05-22 06:29:08 -04:00
David Holmes
bef6a3e0db 8224570: Update ProblemList-graal.txt
Reviewed-by: thartmann
2019-05-22 06:13:53 -04:00
Thomas Schatzl
8c6727240e 8224160: Move G1RemSetScanClosure into g1RemSet.cpp file
Reviewed-by: kbarrett, sangheki
2019-05-22 11:19:14 +02:00
Ao Qi
6d1a702a58 8224579: ResourceMark not declared in shenandoahRootProcessor.inline.hpp with --disable-precompiled-headers
Reviewed-by: shade
2019-05-22 10:48:46 +02:00
Christoph Langer
d569450943 8224573: Fix windows build after JDK-8221507
Reviewed-by: shade, stuefe
2019-05-22 08:42:00 +01:00
Thomas Stuefe
7a0ac25b37 8224193: stringStream should not use Resouce Area
Reviewed-by: goetz, coleenp, dholmes
2019-05-22 09:33:22 +02:00
Thomas Stuefe
2257bae7a2 8224487: outputStream should not be copyable
Reviewed-by: kbarrett, coleenp
2019-05-22 07:10:54 +02:00
Henry Jen
b1de49766f 8218997: Xusage text, man help, etc doesn't mention -Xlog option
Reviewed-by: dholmes
2019-05-21 20:14:30 -07:00
Ivan Gerasimov
218204b1a3 8223593: Refactor code for reallocating storage
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Kim Barrett
54d0b2a8d6 8224167: Refactor PtrQueue completed buffer processing
Add handle_completed_buffer and refactor.

Reviewed-by: tschatzl, shade
2019-05-21 19:19:44 -04:00
Joe Wang
2e09b8459b 8219692: DOM and SAX parsers ignore namespace
Reviewed-by: lancea
2019-05-21 14:55:30 -07:00
Naoto Sato
8f1d837e99 8224105: Cannot parse JapaneseDate string on some specified locales
Reviewed-by: bchristi
2019-05-21 13:40:56 -07:00
Vicente Romero
94619467c8 8223725: j.l.c.MethodHandleDesc::of throws undocumented exception IllegalArgumentException
Reviewed-by: rriggs
2019-05-21 15:59:46 -04:00
Ekaterina Pavlova
fddcb90369 8222482: [Graal] Update java-allocation-instrumenter.jar handling in graalunit README.md
Reviewed-by: kvn, shade
2019-05-21 12:29:47 -07:00
Vicente Romero
6002c4e426 8223723: j.l.c.MethodTypeDesc.dropParameterTypes​ throws the undocumented exception: IllegalArgumentException
Reviewed-by: rriggs
2019-05-21 15:44:00 -04:00
Markus Grönlund
0b9afd7a5a 8220293: Deadlock in JFR string pool
Reviewed-by: rehn, egahlin
2019-05-21 20:53:27 +02:00
Zhengyu Gu
55ba58b1c8 8224495: Shenandoah: Do not rescan code roots in final mark pause if it is not degenerated GC
Reviewed-by: shade
2019-05-21 13:06:52 -04:00
Thomas Stuefe
d1145fa663 8224034: [TESTBUG] runtime/ErrorHandlerTest/ErrorHandler fails intermittently for case 13 on Windows
Reviewed-by: dholmes
2019-05-21 18:22:54 +02:00
Coleen Phillimore
168e5cbf66 8224119: Safepoint cleanup logging logs times for things it doesn't do
Test condition before reporting times for cleanup actions.

Reviewed-by: rehn, hseigel
2019-05-21 09:53:16 -04:00
Lutz Schmidt
b730805159 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by: kvn, thartmann
2019-05-21 15:51:35 +02:00
Martin Doerr
6b2615be6a 8224230: [PPC64, s390] Support AsyncGetCallTrace
Reviewed-by: goetz, jcbeyler, sspitsyn
2019-05-21 11:45:37 +02:00
Priya Lakshmi Muthuswamy
c053e706a9 8223733: "Detail" in headings should be "Details"
Reviewed-by: hannesw
2019-05-21 15:02:18 +05:30
Robbin Ehn
0171fba9b8 8223313: Use handshakes for CountStackFrames
Reviewed-by: dholmes, rrich, dcubed
2019-05-21 10:46:08 +02:00
Ken Dobson
8cab46d6ca 8221507: Implement JFR Events for Shenandoah
Reviewed-by: rkennke, shade, egahlin, mseledtsov
2019-05-21 10:36:23 +02:00
Robbin Ehn
1645161cad 8223306: Remove threads linked list (use ThreadsList's array in SA)
Reviewed-by: coleenp, dholmes, dcubed
2019-05-21 10:34:57 +02:00
Serguei Spitsyn
a165ef39c6 8183273: Clarify Instrumentation interface should not be implemented outside java.instrument module
Add a note with a clarification

Reviewed-by: alanb, dholmes, jcbeyler
2019-05-21 00:52:04 -07:00
Jonathan Gibbons
049532b2d3 8224166: Create a taglet to better handle @jls and @jvms tags
Reviewed-by: erikj, darcy
2019-05-20 18:18:42 -07:00
Joe Darcy
6930e80c31 8224175: Fix inconsistencies in @jls and @jvms tags
Reviewed-by: jjg, rfield
2019-05-20 17:29:44 -07:00
Arthur Eubanks
3304879c68 8224256: test/jdk/java/security/SecureClassLoader/DefineClass.java hardcodes 127.0.0.1
Reviewed-by: chegar, dfuchs, mullan
2019-05-20 16:47:08 -07:00
Valerie Peng
74d45e481d 7107615: scalability bloker in javax.crypto.JceSecurity
Change to use ConcurrentHashMap instead of syncing on whole method

Reviewed-by: xuelei, alanb, dfuchs
2019-05-22 21:38:16 +00:00
Aleksey Shipilev
22dfc6db04 8224522: Shenandoah should apply barriers on deoptimization
Reviewed-by: rkennke, zgu
2019-05-22 21:40:58 +02:00
Ao Qi
daeec1c7d1 8224568: minimal and zero build fails after JDK-8213084
Reviewed-by: shade, lucy
2019-05-23 00:21:39 +08:00
Dmitry Chuyko
7a1ce223b9 8220072: GCC 8.3 reports errors in java.base
Reviewed-by: rriggs
2019-05-22 21:33:58 +03:00
Mikhailo Seledtsov
0b3b3b1c43 8224529: [TESTBUG] JFR TestShenandoahHeapRegion* tests fail on build w/o Shenandoah
Fixed at-requires statement, updated TEST.ROOT

Reviewed-by: clanger, egahlin
2019-05-22 10:51:30 -07:00
Dmitrij Pochepko
c21fc9448d 8218966: AArch64: String.compareTo() can read memory after string
Reviewed-by: dsamersoff
2019-05-22 20:39:04 +03:00
Dmitrij Pochepko
d83c89b805 8215792: AArch64: String.indexOf generates incorrect result
Reviewed-by: dsamersoff
2019-05-22 20:12:19 +03:00
Mikhailo Seledtsov
37572de2a1 8220672: [TESTBUG] TestCPUSets should check that cpuset does not exceed available cores
Making sure cpuset size does not exceed available cores

Reviewed-by: dholmes, lmesnik
2019-05-20 15:18:00 -07:00
Arthur Eubanks
f65e76fef0 8224248: test/jdk/java/net/InetAddress/CheckJNI.java assumes 127.0.0.1 is available
Reviewed-by: dfuchs, chegar
2019-05-20 14:19:19 -07:00
Jean Christophe Beyler
2bd36a5352 8224500: Put HeapMonitorStatArrayCorrectnessTest in the problem list
Since the test is failing, let's quarantine it

Reviewed-by: stuefe
2019-05-22 09:32:02 -07:00
Daniil Titov
dc9f6b3991 8214545: sun/management/jmxremote/bootstrap tests hang in revokeall.exe on Windows
Reviewed-by: dholmes, amenkov, bulasevich, dfuchs, erikj
2019-05-22 09:06:24 -07:00
Vicente Romero
ff2fa1e422 8223914: specification of j.l.c.MethodTypeDesc::of should document better the exceptions thrown
Reviewed-by: rriggs
2019-05-22 09:26:48 -04:00
Zhengyu Gu
23b2871246 8224525: Shenandoah: Eliminate shenandoah verifier's side-effects
Reviewed-by: shade, rkennke
2019-05-22 09:10:07 -04:00
Daniel Fuchs
a974268f17 8224204: Replace wildcard address with loopback or local host in tests - part 10
Fixed intermittently failing tests

Reviewed-by: chegar
2019-05-22 13:58:19 +01:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Stefan Karlsson
c9846fce19 8224201: Simplify JVM flag macro expansions
Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
2019-05-22 13:05:37 +02:00
Zhengyu Gu
6beb19a361 8224508: Shenandoah: Need to update thread roots in final mark for piggyback ref update cycle
Reviewed-by: shade, rkennke
2019-05-22 07:12:18 -04:00
Claes Redestad
d3ccef96e5 8224589: Improve startup behavior of SecurityProperties
Reviewed-by: alanb
2019-05-22 13:19:04 +02:00
Jonathan Gibbons
2ad2cce6e0 8223663: Update links for tool guides
Reviewed-by: alanb, erikj, darcy
2019-05-20 10:57:57 -07:00
Jiangli Zhou
fec76f2b95 Merge 2019-05-20 10:32:10 -07:00
Joe Darcy
867d84d731 8224174: java.lang.Number has a default constructor
Reviewed-by: rriggs, bpb
2019-05-20 10:16:45 -07:00
Arthur Eubanks
905330d4ea 8224014: Don't run test/jdk/java/net/NetworkInterface/IPv4Only.java in IPv6 only environment
Reviewed-by: chegar, dfuchs
2019-05-15 16:21:51 -07:00
Arthur Eubanks
21d398288d 8224019: test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available
Reviewed-by: chegar, dfuchs, alanb
2019-05-15 17:21:18 -07:00
Arthur Eubanks
4b7ada1a92 8223214: Inet6AddressImpl.loopbackAddress() should choose loopback address that is available
Reviewed-by: chegar
2019-05-15 09:15:59 -07:00
Lance Andersen
8e30a733c0 8222807: Address iteration with invalid ZIP header entries
Reviewed-by: redestad, clanger
2019-05-20 12:24:05 -04:00
Lutz Schmidt
aa720e27c5 8223444: Improve CodeHeap Free Space Management
Reviewed-by: kvn, thartmann
2019-05-20 17:44:29 +02:00
Coleen Phillimore
e47584d00d 8221967: InternTest.java timed out
Move redundant table lookup and make rehashing be a needed guaranteed safepoint cleanup action.

Reviewed-by: dholmes, rehn
2019-05-20 10:06:07 -04:00
Zhengyu Gu
b08841af0d 8224179: Shenandoah: CTW test failures with traversal GC
Reviewed-by: shade
2019-05-20 09:43:46 -04:00
Zhengyu Gu
18a59944ef 8224210: Shenandoah: Refactor ShenandoahRootScanner to support scanning CSet codecache roots
Reviewed-by: shade
2019-05-20 09:42:37 -04:00
Deepak Kejriwal
a0a09f03e4 8206879: Currency decimal marker incorrect for Peru
Reviewed-by: naoto, rpatil
2019-05-16 12:14:37 +05:30
Daniel Fuchs
cd9e3c1b13 8223856: Replace wildcard address with loopback or local host in tests - part 8
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.

Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01:00
Matthias Baesken
ef5194182f 8130017: use _FORTIFY_SOURCE in gcc fastdebug builds
Reviewed-by: erikj
2019-05-14 10:21:55 +02:00
Priya Lakshmi Muthuswamy
adcb06303c 8219313: Support module specific stylesheets
Reviewed-by: jjg
2019-05-20 14:42:32 +05:30
Leo Jiang
078f5eb6a8 8219781: Localized names for Japanese era Reiwa in COMPAT provider
Reviewed-by: naoto
2019-05-19 22:14:09 +08:00
Thomas Schatzl
4b086a28a5 8222492: G1 unnecessarily scans remembered set cards for regions that already have been evacuated
Filter out cards from the current collection set during evacuation increments.

Reviewed-by: kbarrett, sangheki
2019-05-18 22:11:25 +02:00
Jie Fu
c69b24eb77 8222302: [TESTBUG]test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java fails on any other CPU
Reviewed-by: kvn, dlong
2019-05-18 12:13:38 -07:00
Aleksey Shipilev
65d4cabd51 8224170: Build failures after JDK-8207812 (Implement Dynamic CDS Archive)
Reviewed-by: stuefe, kvn
2019-05-18 18:49:39 +02:00
Yasumasa Suenaga
3b8d8d0a89 8163805: hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java failed with timed out
Reviewed-by: cjplummer, jcbeyler
2019-05-18 15:42:21 +09:00
Robert Field
8d98b75f47 8223595: Consider updating jdk.jshell module description
Conform to module summary standards

Reviewed-by: jlahoda
2019-05-17 12:52:46 -07:00
Vicente Romero
917645194b 8223803: j.l.c.MethodTypeDesc::insertParameterTypes​ doesn't control type of parameters
Reviewed-by: rriggs
2019-05-17 13:16:07 -04:00
Zhengyu Gu
092bb9e108 8223951: Shenandoah: Only need to update thread roots during final update refs
Reviewed-by: shade
2019-05-17 11:47:06 -04:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Roger Riggs
e6c52060dc 8220166: Performance regression in deserialization (4-6% in SPECjbb)
Reviewed-by: shade, dholmes, alanb
2019-05-17 10:48:02 -04:00
Ao Qi
d1be916626 8224028: loop initial declarations introduced by JDK-8184770
Reviewed-by: dfuchs, amenkov, sspitsyn
2019-05-16 21:25:53 +08:00
Zhengyu Gu
3ebc657e40 8223774: Shenandoah: Refactor ShenandoahRootProcessor and family
Reviewed-by: shade, rkennke
2019-05-17 09:52:35 -04:00
Thomas Schatzl
0a6207fe69 8224038: Fix remaining InCSetState mentions
Reviewed-by: kbarrett
2019-05-17 12:33:37 +02:00
Per Lidén
4ded8e61df 8223961: ZGC: Unexpected behaviour due to ZMetronome::wait_for_tick() oversleeping
Co-authored-by: Jie Fu <fujie@loongson.cn>
Reviewed-by: pliden, stefank
2019-05-17 12:06:03 +02:00
Boris Ulasevich
5db94d085a 8223472: volatile long field corruption on x86_32
Reviewed-by: eosterlund, dholmes, shade, coleenp
2019-05-17 11:44:44 +02:00
Christoph Langer
00a7dce177 8222276: (zipfs) Refactoring and cleanups to prepare for JDK-8213031
Reviewed-by: lancea
2019-05-17 09:00:39 +01:00
Boris Ulasevich
cb983d1bd7 8220656: ARM32: -XX:MaxVectorSize=16 makes SIGILL
Reviewed-by: dholmes, dlong
2019-05-17 03:01:21 -04:00
Matthias Baesken
fd58060179 8223944: fix zlib related building docu and comments
Reviewed-by: alanb, erikj
2019-05-16 13:21:41 +02:00
Osamu Sakamoto
94d7b685b3 8223665: SA: debugd options should follow jhsdb style
Reviewed-by: dholmes, sspitsyn, ysuenaga, jcbeyler
2019-05-17 14:14:15 +09:00
Kim Barrett
4af7663979 8160539: Stack frame scanning acquires DerivedPointerTableGC_lock mutex
Use lock-free stack for accumulating table entries.

Reviewed-by: tschatzl, kvn
2019-05-16 20:14:54 -04:00
Boris Ulasevich
989fa190a6 8222825: ARM32 SIGILL issue on single core CPU (not supported PLDW instruction)
Reviewed-by: dholmes, dlong
2019-05-16 18:45:30 -04:00
Jesper Wilhelmsson
993feb95ea 8223346: Update Graal
Reviewed-by: kvn
2019-05-17 00:21:10 +02:00
Igor Ignatyev
1e4085b359 8222154: upgrade gtest to 1.8.1
Reviewed-by: jwilhelm, rwestberg
2019-05-16 12:16:47 -07:00
Ekaterina Pavlova
ca569937da 8224017: [Graal] gc/z/TestUncommit.java fails with Graal
Reviewed-by: kvn
2019-05-16 12:33:44 -07:00
Jean Christophe Beyler
c8319ed0cc 8224020: AsyncGetCallTrace test should not run on PPC64 or IA64
Restrict the test to the right architectures

Reviewed-by: cjplummer, sspitsyn, simonis
2019-05-16 12:48:21 -07:00
Aleksey Shipilev
bddd94f0a6 8224033: os::snprintf should be used in virtualizationSupport.cpp
Reviewed-by: mbaesken, stuefe
2019-05-16 21:32:24 +02:00
Rajan Halade
05736da72d 8223499: Remove two DocuSign root certificates that are expiring
Reviewed-by: mullan
2019-05-16 12:36:08 -07:00
Ekaterina Pavlova
954169d7d1 8223910: TestFloatJNIArgs and TestTrichotomyExpressions time out with Graal as JIT
Reviewed-by: thartmann
2019-05-16 11:30:32 -07:00
Daniil Titov
cca7246a1a 8222422: vmTestbase/nsk/jdi/ClassLoaderReference/definedClasses tests failed with Unexpected Exception: null
Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-16 11:37:26 -07:00
Vicente Romero
fa2ea6a6d8 8223726: j.l.c.MethodTypeDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy
2019-05-16 13:34:33 -04:00
Roman Kennke
11b6437c01 8224043: Shenandoah: Remove clear_claimed_marks() from start of concurrent_traversal()
Reviewed-by: shade
2019-05-16 19:07:31 +02:00
Andrew Dinn
772ad03cb5 8224042: Add private alignDown method to MappedByteBuffer
Use alignDown method to round addresses down to page boundary

Reviewed-by: stuefe, mikael, alanb
2019-05-16 15:45:46 +01:00
Arthur Eubanks
244bdce994 8224018: test/jdk/java/net/ipv6tests/{Tcp,Udp}Test.java assume IPv4 is available
Reviewed-by: dfuchs, chegar
2019-05-15 17:13:57 -07:00
Alan Bateman
a817ac3456 8223442: java/nio/channels/SocketChannel/AdaptorStreams.java testConcurrentTimedReadWrite3(): failure
Reviewed-by: michaelm
2019-05-16 17:06:53 +01:00
Coleen Phillimore
bc264ba95b 8223585: vmTestbase/runtime/pcl/* get SEGV in MetadataOnStackClosure::do_metadata(Metadata*)+0x0
Adjust old method table by only one thread.

Reviewed-by: kvn, jcbeyler, sspitsyn
2019-05-16 11:07:09 -04:00
Jan Lahoda
08193be19c 8224031: Cannot parse switch expressions after type cast
Correctly categorize parentheses followed by the switch keyword as cast.

Reviewed-by: mcimadamore
2019-05-16 16:42:14 +02:00
Matthias Baesken
c39088c391 8223438: add VirtualizationInformation JFR event
Reviewed-by: clanger, egahlin
2019-05-16 09:21:49 +02:00
Richard Reingruber
4e38fe2957 8223572: ~ThreadInVMForHandshake() should call handle_special_runtime_exit_condition()
Reviewed-by: dcubed, rehn, dholmes
2019-05-15 12:30:02 +02:00
Thomas Stuefe
a5b7966e81 8224023: Redo the fix for ErrorFile option does not handle pre-existing error files of the same name
Reviewed-by: clanger, dholmes
2019-05-16 13:57:35 +02:00
Coleen Phillimore
4915cf9b71 8223956: Make SymbolTable and StringTable AllStatic
Removed superfluous and confusing _the_table pointer.

Reviewed-by: gziemski, rehn
2019-05-16 07:09:17 -04:00
Priya Lakshmi Muthuswamy
5fc3474639 8222548: Upgrading JDK 13 with the latest available jQuery 3.4.1
Reviewed-by: hannesw
2019-05-16 16:40:48 +05:30
Jan Lahoda
b32a840e53 8222169: java.lang.AssertionError switch expression in ternary operator - ?
Ensure the stack size recoded at the begining of the let expression is the correct one.

Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: vromero
2019-05-16 10:52:36 +02:00
Ralf Schmelter
6e7ff5e656 8223770: code_size2 still too small in some compressed oops configurations
Reviewed-by: mdoerr, stuefe
2019-05-13 07:41:32 -07:00
Coleen Phillimore
d95f5a3ec0 8224010: Incorrect string interning
Revert jvmci change

Reviewed-by: dholmes, jiangli
2019-05-15 20:33:17 -04:00
Jesper Wilhelmsson
dfe97ffa43 Added tag jdk-13+21 for changeset f2f11d7f7f4e 2019-05-16 02:34:53 +02:00
Aleksey Shipilev
f13e597055 8223980: Shenandoah: Refactor and fix ObjArrayChunkedTask verification
Reviewed-by: rkennke
2019-05-15 22:45:54 +02:00
Gustavo Romero
11d4e9f34d 8223968: Add abort type description to RTM statistic counters
Reviewed-by: mdoerr, kvn
2019-05-10 18:20:02 -04:00
Roland Westrelin
9d40ab91db 8234350: assert(mode == ControlAroundStripMined && (use == sfpt || !use->is_reachable_from_root())) failed: missed a node
Reviewed-by: thartmann, mdoerr
2019-12-09 15:37:04 +01:00
Xue-Lei Andrew Fan
3ba75a656a 8235311: Tag mismatch may alert bad_record_mac
Reviewed-by: mullan
2019-12-10 07:07:49 -08:00
Harold Seigel
02039fd33a 8235513: Change JVM to check for preview features using JVM_CLASSFILE_MAJOR_VERSION
Check for JVM_CLASSFILE_MAJOR_VERSION instead of a hard-wired version number

Reviewed-by: dholmes, coleenp
2019-12-10 15:00:01 +00:00
Erik Österlund
c2bce5e902 8235174: ZGC: Add support for JFR leak profiler
Reviewed-by: stefank, mgronlun, egahlin
2019-12-10 13:50:10 +00:00
Claes Redestad
1142184922 8234863: Increase default value of MaxInlineLevel
Reviewed-by: kvn, neliasso
2019-12-10 14:18:25 +01:00
Daniel Fuchs
7135b5dd9c 8235141: Specify the required standard socket options for the socket types in the java.net package
Reviewed-by: alanb, chegar
2019-12-10 13:22:52 +00:00
Andy Herrick
2c772c7887 8234867: Issue warning for mutually exclusive options on jpackage command line
Reviewed-by: prr, asemenyuk, almatvee
2019-12-10 08:15:45 -05:00
Coleen Phillimore
28099d76b2 Merge 2019-12-10 08:12:29 -05:00
Coleen Phillimore
932f4e6c86 8235334: Deprecate jcmd GC.class_stats
Add a deprecation message

Reviewed-by: zgu, iklam
2019-12-10 08:11:48 -05:00
Andy Herrick
0b1499cb48 8235601: redundant code in IOUtils.java
Reviewed-by: prr, asemenyuk, almatvee
2019-12-10 08:11:27 -05:00
Per Lidén
6ad37680dd 8234654: ZGC: Only disarm NMethods when marking/relocating code roots
Reviewed-by: eosterlund, stefank
2019-12-10 13:39:38 +01:00
Per Lidén
c04194036b 8235366: ZGC: Kitchensink.java fails in ZBarrier::should_mark_through
Reviewed-by: eosterlund, stefank
2019-12-10 13:12:25 +01:00
Michael McMahon
0aaaed9d5b 8234871: deprecate SocketFlow (SO_FLOW_SLA) and related APIs for removal
Reviewed-by: alanb, chegar
2019-12-10 11:26:04 +00:00
Xin Liu
f33087405a 8235383: C1 compilation fails with -XX:+PrintIRDuringConstruction -XX:+Verbose
Added check for printable bci.

Reviewed-by: thartmann
2019-12-10 10:34:31 +01:00
Christian Hagedorn
2ee7b9d3a0 8233032: assert(in_bb(n)) failed: must be
Find first and last memory state of a load pack without relying on bb indices.

Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Reviewed-by: roland, kvn, thartmann
2019-12-10 09:28:38 +01:00
Rajan Halade
5fc46f3c50 8190492: Remove SSLv2Hello and SSLv3 from default enabled TLS protocols
Reviewed-by: mullan, wetmore, xuelei
2019-12-09 21:38:12 -08:00
Arthur Eubanks
4e1d7a6caa 8223532: Don't try creating IPv4 sockets in NetworkInterface.c if IPv4 is not supported
Reviewed-by: dfuchs, chegar
2019-05-07 16:18:21 -07:00
Rajan Halade
47a39418fa 8222136: Remove two Comodo root CA certificates that are expiring
Reviewed-by: mullan
2019-05-15 13:22:29 -07:00
Aleksei Efimov
c9cdfad6ff 8223798: Replace wildcard address with loopback or local host in tests - part 7
Reviewed-by: dfuchs, vtewari
2019-05-15 19:47:28 +01:00
Daniel Fuchs
9e686ef2d1 8223880: Update sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java to work with IPv6 addresses
This fix updates three tests: sun/net/ftp/FtpURL.java, sun/net/ftp/FtpURLConnectionLeak.java, and sun/net/ftp/FtpGetContent.java, to work with IPv6 addresses

Reviewed-by: chegar, aeubanks, vtewari
2019-05-15 19:34:34 +01:00
Daniel Fuchs
e0a87ef8fc 8223716: sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
Reviewed-by: chegar
2019-05-15 19:09:54 +01:00
Alex Menkov
e18cecafb9 8184770: JDWP support for IPv6
Reviewed-by: sspitsyn, chegar
2019-05-15 11:06:33 -07:00
Arthur Eubanks
23301277c5 8223737: Fix HostsFileNameService for IPv6 literal addresses
Reviewed-by: chegar, msheppar
2019-05-10 17:13:02 -07:00
Zhengyu Gu
53845dabdc 8223215: Shenandoah: Support verifying subset of roots
Reviewed-by: shade, rkennke
2019-05-15 08:58:23 -04:00
Tobias Hartmann
48b04f9a08 8223885: hs_err and replay file may contain garbage when overwriting existing file
Truncate file before overwriting.

Reviewed-by: stuefe, dholmes
2019-05-15 14:30:22 +02:00
Aleksey Shipilev
c6307aec19 8223911: Disable bad node budget verification until the fix
Reviewed-by: kvn, thartmann
2019-05-15 11:53:47 +02:00
Prasanta Sadhukhan
e082ba12fc Merge 2019-05-15 13:54:43 +05:30
Prasanta Sadhukhan
dfe0ca547b Merge 2019-05-14 11:23:08 +05:30
Jean Christophe Beyler
127d225d25 8223779: Build failure after 8223040 (Add a AsyncGetCallTrace test)
Fix a build flag for the AGCT test

Reviewed-by: cjplummer, sspitsyn
2019-05-13 20:45:03 -07:00
Ivan Gerasimov
1d0e182e42 8223730: URLClassLoader.findClass() can throw IndexOutOfBoundsException
Reviewed-by: prappo, bchristi
2019-05-13 18:18:42 -07:00
Weijun Wang
0f56400907 8223063: Support CNG RSA keys
Reviewed-by: mullan
2019-05-14 08:47:13 +08:00
Ekaterina Pavlova
b567fe0101 8223235: [Graal] compiler/jsr292/NonInlinedCall/InvokeTest.java failed time out
Reviewed-by: kvn
2019-05-13 13:32:38 -07:00
Stefan Karlsson
feeab37ce7 8223637: Fix build breakage after 8223136
Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: stefank, coleenp
2019-05-11 13:10:24 +02:00
Phil Race
8ca1211aab 8212700: Change the mechanism by which JDK loads the platform-specific AWT Toolkit
Reviewed-by: serb, rriggs
2019-05-10 16:22:35 -07:00
Matthias Baesken
4745d994cc 8222720: Provide extended VMWare/vSphere virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, rehn
2019-05-10 10:18:16 +02:00
Andrew Luo
5bdacf11bd 8223810: HotSpot compile warnings from VS2017
Reviewed-by: dholmes, stuefe
2019-05-14 20:29:40 -04:00
Sergey Kuksenko
712c9911ef 8223921: Update SocketReadWrite benchmark
Reviewed-by: redestad
2019-05-14 15:09:31 -07:00
Jesper Wilhelmsson
062dce8f1b 8223917: Problemlist compiler/ciReplay/TestServerVM.java
Reviewed-by: kbarrett, mikael
2019-05-14 22:31:52 +02:00
Boris Ulasevich
09a10b75de 8223767: Shenandoah fails to build on Solaris x86_64
Trivial changes to make Solaris Studio 12.4 happy

Reviewed-by: shade, rkennke
2019-05-14 21:36:09 +03:00
Coleen Phillimore
204059634d 8223657: Remove unused THREAD argument from SymbolTable functions
Also made lookup and lookup_only functions private to SymbolTable.  External callers use new_symbol or probe.

Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Vicente Romero
23278fea38 8215470: Bad EnclosingMethod attribute on classes declared in lambdas
Reviewed-by: mcimadamore
2019-05-14 11:28:44 -04:00
Phil Race
7f841d6d9a 8222362: Upgrade to Freetype 2.10.0
Reviewed-by: serb, erikj
2019-05-09 16:09:39 -07:00
Ichiroh Takiguchi
0ea35e9bb9 8211826: StringIndexOutOfBoundsException happens via GetStringUTFRegion()
Reviewed-by: serb
2019-05-08 22:59:20 -07:00
Sergey Bylokhov
1d922fee0e 8144125: [macOS] java/awt/event/ComponentEvent/MovedResizedTwiceTest/MovedResizedTwiceTest.java failed automatically
Reviewed-by: dmarkov
2019-05-08 16:19:22 -07:00
Sergey Bylokhov
a9f9b8ff41 7141393: [macosx] CARemoteLayer code refactoring and unit test
Reviewed-by: dmarkov, jdv
2019-05-08 14:34:21 -07:00
Jayathirth D V
f123015ce0 Merge 2019-05-08 11:59:18 +05:30
Sergey Bylokhov
133a7aefc1 8223237: Replace use of string.equals("") with isEmpty() in java.desktop
Reviewed-by: prr
2019-05-07 18:18:54 -07:00
Coleen Phillimore
260ae30b14 8223481: gtest/GTestWrapper.java failed due to "assert(ret == 0) failed: sem_post failed; error='Invalid argument' (errno=EINVAL)"
Remove the test for now.

Reviewed-by: dholmes
2019-05-07 18:24:36 -04:00
David Holmes
b0d52bcca1 8223437: Backout JDK-8219974 Restore static callsite resolution for the current class
Reviewed-by: jwilhelm, vlivanov
2019-05-07 17:33:19 -04:00
Erik Joelsson
9e2784b24f 8223464: Improve version string for Oracle CI builds
Reviewed-by: tbell
2019-05-07 14:05:09 -07:00
Sandhya Viswanathan
707c30fae6 8222074: Enhance auto vectorization for x86
Reviewed-by: kvn, vlivanov
2019-05-07 13:33:27 -07:00
Aleksey Shipilev
0284208ab3 8223447: Stabilize gc/shenandoah/TestStringDedupStress test
Reviewed-by: rkennke
2019-05-07 21:53:46 +02:00
Aleksey Shipilev
c222e1aad0 8223446: Shenandoah breaks alignment with some HumongousThreshold values
Reviewed-by: rkennke
2019-05-07 21:53:38 +02:00
Erik Joelsson
6eb638318a 8223319: Add copyright footer to specs and man pages
Reviewed-by: iris, sspitsyn
2019-05-07 12:32:19 -07:00
Phil Race
1b03f22dff Merge 2019-05-07 11:52:28 -07:00
Daniel Fuchs
1188188ee6 8223463: Replace wildcard address with loopback or local host in tests - part 2
Removes (or documents) some usages of the wildcard address in intermittently failing tests.

Reviewed-by: alanb
2019-05-07 18:10:59 +01:00
Naoto Sato
c797bc008e 8220037: Inconsistencies of generated timezone files between Windows and Linux
Reviewed-by: rriggs
2019-05-07 09:37:02 -07:00
Jean Christophe Beyler
68ae1e7965 8223044: Add back exception checking in tests
Add exception checking to previously modified tests

Reviewed-by: sspitsyn, cjplummer
2019-05-07 07:43:41 -07:00
Michael McMahon
7e142d54bf 8223457: java.net.ServerSocket protected constructor should throw NPE if impl null
Reviewed-by: dfuchs
2019-05-07 15:39:33 +01:00
Aleksey Shipilev
2fdb2a6f85 8223449: Unprotected UseCompressedOops block in gc/shenandoah/shenandoahBarrierSetC1_x86.cpp
Reviewed-by: rkennke
2019-05-07 16:06:10 +02:00
Aleksey Shipilev
0ede258c4d 8223450: Disable Shenandoah C2 barriers verification for x86_32
Reviewed-by: rkennke
2019-05-07 16:05:49 +02:00
Aleksey Shipilev
629d8bea45 8223448: Shenandoah disabled barriers blocks omit LRB
Reviewed-by: rkennke
2019-05-07 16:04:36 +02:00
Erik Joelsson
1427827a19 8223335: Compare baseline builds on linux are failing
Reviewed-by: tbell
2019-05-07 06:58:55 -07:00
Phil Race
5c2948942f 8222819: Remove setting of headless property on MacOS from launcher code
Reviewed-by: serb, rriggs
2019-05-03 17:06:42 -07:00
Jamil Nimeh
86be0cd272 8222678: Improve TLS negotiation
Reviewed-by: mullan, rhalade, mschoene
2019-05-02 17:43:26 -07:00
Roland Westrelin
852cee4c6b 8222738: Shenandoah: assert(is_Proj()) failed when running cometd benchmarks
Reviewed-by: rkennke
2019-05-02 20:47:23 +02:00
Roland Westrelin
8b07b191c3 8223389: Shenandoah optimizations fail with assert(!phase->exceeding_node_budget())
Reviewed-by: thartmann
2019-05-06 13:51:02 +02:00
Xin Liu
63dbcdc874 8222670: pathological case of JIT recompilation and code cache bloat
Prevent downgraded compilation tasks from recompiling.

Reviewed-by: sgehwolf, thartmann
2019-05-07 09:17:03 +02:00
Per Lidén
d5391d290d 8223308: ZGC: Remove ZGranuleMap::size()
Reviewed-by: stefank, eosterlund
2019-05-07 07:44:15 +02:00
Vladimir Ivanov
c6a2274d1a 8223422: [Graal] assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk))) failed: redundant
Reviewed-by: kvn
2019-05-06 21:31:36 -07:00
Phil Race
501a6f3423 Merge 2019-05-02 10:48:56 -07:00
Michael McMahon
70ea5ab6e1 8216978: Drop support for pre JDK 1.4 SocketImpl implementations
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01:00
Ichiroh Takiguchi
3a894521eb 8213232: Unix/X11 setCompositionEnableNative issue
Reviewed-by: serb
2019-04-30 14:30:17 -07:00
Vikrant Agarwal
dfc6e4b49e 8222519: ButtonDemoScreenshotTest fails randomly with "still state to be reached"
Reviewed-by: serb
2019-04-30 04:15:31 -07:00
Alan Malloy
5a496e21d5 8219202: Use Unsynchronized StringBuilder in sun.net.www.ParseUtil
Reviewed-by: chegar
2019-04-29 17:54:15 -07:00
Zhengyu Gu
7c54f240ba 8222992: Shenandoah: Pre-evacuate all roots
Reviewed-by: shade
2019-05-02 09:49:52 -04:00
Doug Lea
187ce630a2 8219138: Miscellaneous changes imported from jsr166 CVS 2019-05
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Doug Lea
146e92ca8a 8220248: fix headings in java.util.concurrent
Reviewed-by: martin, jjg
2019-05-02 06:33:28 -07:00
Doug Lea
82b990abc9 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-05-02 06:33:28 -07:00
Doug Lea
9f5e9b5b5f 8221120: CopyOnWriteArrayList.set should always have volatile write semantics
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Adam Farley8
d97dd4d554 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, smarks
2019-05-02 06:33:28 -07:00
Daniel Fuchs
7d4520c109 8223145: Replace wildcard address with loopback or local host in tests - part 1
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.

Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Stefan Karlsson
bbd9000753 8223064: Minor cleanups in ResolvedMethodTable
Reviewed-by: hseigel, coleenp
2019-05-02 10:32:28 +02:00
Stefan Karlsson
13cd1ce5af 8222986: Add parameter to skip clearing CHeapBitMaps when resizing
Reviewed-by: pliden
2019-05-02 10:32:14 +02:00
Phil Race
d43616c60a 8130266: Change the mechanism by which JDK loads the platform-specific GraphicsEnvironment class
Reviewed-by: serb, bchristi
2019-04-29 10:16:58 -07:00
Prasanta Sadhukhan
1aea77ae37 8222830: PIT: java/awt/Window/AlwaysOnTop/AutoTestOnTop.java listed twice in ProblemList
Reviewed-by: serb
2019-04-28 12:34:49 +05:30
Sergey Bylokhov
cf14b6195f 8222917: GraphicsEnvironment for Unix still have an unused dependency on Solaris
Reviewed-by: prr
2019-04-26 23:32:46 -07:00
Sergey Bylokhov
30576b1898 8213516: jck test api/javax_accessibility/AccessibleState/fields.html fails intermittent
Reviewed-by: prr
2019-05-20 12:17:34 -07:00
Dmitry Markov
3757b1f68c 8214579: JFrame does not paint content in XVFB / X11vnc environment
Reviewed-by: prr
2019-05-20 15:42:20 +01:00
Prasanta Sadhukhan
0dbe4da637 8224096: Add relevant bugid to java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java in ProblemList
Reviewed-by: jdv, serb
2019-05-20 11:03:05 +05:30
Sergey Bylokhov
ef7d75459c 6933331: (d3d/ogl) java.lang.IllegalStateException: Buffers have not been created
Reviewed-by: prr
2019-05-18 23:35:40 -07:00
Sergey Bylokhov
5111ad3ca8 8223766: Remains of ancient code in AWT initialization
Reviewed-by: jdv
2019-05-17 22:48:03 -07:00
Sergey Bylokhov
a57f136b72 8224152: [macOS] ProblemList tests that leave rubbish on the screen
Reviewed-by: prr
2019-05-17 22:37:27 -07:00
Phil Race
1726e8728f 8223804: [macos] remove obsoleted reference to security framework in launcher code
Reviewed-by: rriggs, erikj
2019-05-17 13:05:21 -07:00
Prasanta Sadhukhan
10401d68d2 8223937: PIT: java/awt/Window/ShapedAndTranslucentWindows/StaticallyShaped.java listed twice in ProblemList
Reviewed-by: jdv, pbansal
2019-05-15 15:17:24 +05:30
Phil Race
d374151fb7 8208179: Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK
Reviewed-by: jdv, naoto
2019-04-26 12:31:37 -07:00
Sergey Bylokhov
921b46738e 8222799: java.beans.Introspector uses an obsolete methods cache
Reviewed-by: prr
2019-04-25 15:18:59 -07:00
Sergey Bylokhov
4ee5f65691 8214046: [macosx] Undecorated Frame does not Iconify when set to
Reviewed-by: dmarkov
2019-04-25 15:15:53 -07:00
Sergey Bylokhov
fe21ff6906 8222438: Drop of outdated logging in the com.sun.media.sound package
Reviewed-by: amenkov
2019-04-25 15:13:36 -07:00
Dean Long
a854955d3e 8218700: infinite loop in HotSpotJVMCIMetaAccessContext.fromClass after OutOfMemoryError
Reviewed-by: never, kvn
2019-04-25 13:35:34 -07:00
Vladimir Kozlov
72f082e925 8223332: Update JVMCI
Reviewed-by: never, dnsimon
2019-05-06 20:05:19 -07:00
Weijun Wang
29a4ad9a87 8219013: Update Apache Santuario (XML Signature) to version 2.1.3
Reviewed-by: mullan
2019-05-07 10:21:04 +08:00
Pengfei Li
58a1f6ac13 8223054: [TESTBUG] Put graalJarsCP before existing classpath in GraalUnitTestLauncher
Reviewed-by: iignatyev, dlong
2019-05-07 00:58:10 +00:00
David Holmes
e0dcd3200a 8222534: VerifyBeforeExit is not honored when System.exit is called
Reviewed-by: coleenp, rehn
2019-05-06 21:23:23 -04:00
Ivan Gerasimov
4f02d011b0 8222955: Optimize String.replace(CharSequence, CharSequence) for common cases
Reviewed-by: redestad, tvaleev
2019-05-06 18:07:55 -07:00
Coleen Phillimore
0c6f7e5516 8223412: tier1 build failure after 8222893
Disable the test in PRODUCT

Reviewed-by: dcubed, pliden, kvn
2019-05-06 18:01:01 -04:00
Sangheon Kim
cb62a78492 8221509: Refactor assert( G1CollectedHeap::used() == recalculate_used() ) with better message
Reviewed-by: tschatzl, manc
2019-05-06 14:19:48 -07:00
Coleen Phillimore
26255c10cb 8222893: markOopDesc::print_on() is a bit confused
Add print_on for ObjectMonitor and make markOop printing sensible and add test.

Reviewed-by: dcubed, pchilanomate
2019-05-06 15:25:57 -04:00
Jesper Wilhelmsson
69647ce061 8222665: Update Graal
Reviewed-by: kvn
2019-05-06 21:50:20 +02:00
Jie Fu
0ff8db34ca 8221542: ~15% performance degradation due to less optimized inline decision
Reviewed-by: vlivanov, coleenp
2019-05-06 12:17:54 -07:00
Vladimir Ivanov
2e0c5db11d 8219902: C2: MemNode::can_see_stored_value() ignores casts which carry control dependency
Reviewed-by: kvn
2019-05-06 12:15:55 -07:00
Vladimir Ivanov
75d4f24c97 8223171: Redundant nmethod dependencies for effectively final methods
Reviewed-by: dlong
2019-05-06 12:15:49 -07:00
Vicente Romero
c7faef0785 8219483: j.l.c.ClassDesc::nested(String, String...) doesn't throw NPE if any arg is null
Reviewed-by: darcy
2019-05-06 14:47:55 -04:00
Daniil Titov
5a264ba9db 8222667: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter002/TestDescription.java failed with "event IS NOT a breakpoint"
Reviewed-by: gadams, sspitsyn, jcbeyler, cjplummer
2019-05-06 09:58:14 -07:00
Xue-Lei Andrew Fan
62109f5906 8219991: New fix of the deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: alanb, dfuchs
2019-05-06 08:54:19 -07:00
Gustavo Romero
ffec82917e 8223395: PPC64: Improve comments in the JVM signal handler to match ISA text
Reviewed-by: mdoerr
2019-05-06 09:53:11 -04:00
Man Cao
ce32bc437c 8223267: Fix incorrect usage of GCTraceTime in g1FullCollector and g1CollectedHeap
Reviewed-by: kbarrett, tschatzl
2019-05-02 15:46:34 -07:00
Kim Barrett
a03338e219 8223359: JDK-8221359 breaks TestG1ParallelPhases.java
Removed check for SATBFiltering event.

Reviewed-by: tschatzl
2019-05-05 09:10:21 -04:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04:00
Joe Darcy
53a0327f22 8223178: Improve FileSystems.newFileSystem example with map factory methods
Reviewed-by: alanb, clanger, bpb
2019-05-03 14:09:19 -07:00
Erik Joelsson
03a9d5ad60 8223309: test failing due to self-assign-overloaded
Co-authored-by: Johan Vos <johan.vos@gluonhq.com>
Reviewed-by: tbell
2019-05-03 09:34:02 -07:00
Patricio Chilano Mateo
e8e561e471 8220724: TestBiasedLockRevocationEvents fails while matching revoke events to VMOperation events
Safepoint id used by JavaThread when posting event is now set inside appropiate safepoint

Reviewed-by: dholmes, rehn
2019-05-03 12:33:08 -04:00
Joe Darcy
2f747f3dba 8223265: Clarify operational semantics of java.util.Objects.equals()
Reviewed-by: bpb, alanb
2019-05-03 09:25:59 -07:00
Vladimir Kozlov
c642ba3d7c 8223262: [AOT] jaotc crashes with assert(!(((ThreadShadow*)__the_thread__)->has_pending_exception())) failed: Should not allocate with exception pending
Added missing checks for pending exception.

Reviewed-by: never, gdub, dnsimon
2019-05-03 09:07:30 -07:00
Martin Doerr
63ef71574c 8223248: [AIX] Remove old xlC 10 workaround for load acquire
Reviewed-by: goetz, lucy
2019-05-03 16:31:11 +02:00
Harold Seigel
84c38b8f7f 8222500: runtime/8176717/TestInheritFD.java failed with java.nio.file.NoSuchFileException: /tmp/communication7071713601211876892.txt
Create the test's temporary files inside of jtreg scratch directories instead of /tmp

Reviewed-by: coleenp, lfoltan, dholmes
2019-05-03 07:54:09 -04:00
Krishna Addepalli
f1a245fe46 8219914: Change the environment variable for Java Access Bridge logging to have a directory
Reviewed-by: prr
2019-04-25 15:19:09 +05:30
Phil Race
e3e016b54c 8212701: remove sun.desktop property from launcher code
Reviewed-by: serb, alanb, rriggs
2019-04-24 09:21:02 -07:00
Prasanta Sadhukhan
f7d8bb2c70 Merge 2019-04-23 14:22:34 +05:30
Prasanta Sadhukhan
86eaf87d1f Merge 2019-04-23 14:20:08 +05:30
Priya Lakshmi Muthuswamy
e9da006827 8215580: Remove support for --no-module-directories
Reviewed-by: jjg
2019-04-23 14:13:18 +05:30
Prasanta Sadhukhan
b10133e962 Merge 2019-04-23 13:40:37 +05:30
John Jiang
04bb71a004 8222391: javax/net/ssl/compatibility/Compatibility.java should be more flexible
Reviewed-by: xuelei
2019-04-23 10:08:52 +08:00
Weijun Wang
cd020a13c9 8222751: closed/test/jdk/sun/security/util/DerIndefLenConverter/IndefBerPkcs12.java fail
Reviewed-by: jnimeh, ascarpino, ssahoo, skoivu
2019-04-23 08:34:51 +08:00
Sergey Bylokhov
2c4624394e 8222789: Replace the usage of "Sun's Xinerama API" by the "XFree86's Xinerama API" on Solaris
Reviewed-by: prr
2019-04-22 12:40:55 -07:00
Sergey Bylokhov
c3b64599dc 8216008: -Djavax.accessibility.assistive_technologies empty list leads to exception
Reviewed-by: prr
2019-04-22 12:35:30 -07:00
Ichiroh Takiguchi
46d13560a3 8212676: AWT SystemColor setting on CDE
Reviewed-by: serb
2019-04-22 18:54:19 -07:00
Krishna Addepalli
2044245c90 8218917: KeyEvent.getModifiers() returns inconsistent values for ALT keys
Reviewed-by: serb
2019-04-22 17:02:51 +05:30
Gary Adams
eab5f23c59 8222741: jdi/EventQueue/remove/remove004 fails due to VMDisconnectedException
Reviewed-by: cjplummer, jcbeyler
2019-04-22 07:13:18 -04:00
Aleksey Shipilev
43b4c3732a 8222786: Shenandoah get_barrier_strength should accept all shapes of (Weak)CAS reference barriers
Reviewed-by: rkennke
2019-04-22 11:16:21 +02:00
Prasanta Sadhukhan
7f9a1c0889 Merge 2019-04-22 10:53:45 +05:30
Coleen Phillimore
6ebf2ce655 8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
Introduce new flag fo compatibility: -XX:AllowRedefinitionToAddOrDeleteMethods

Reviewed-by: jcbeyler, sspitsyn
2019-04-19 21:49:54 -07:00
Martin Balao
a8a29bbae6 8221271: sun/security/pkcs11/tls/tls12/TestTLS12.java test failed
Reviewed-by: xuelei
2019-04-19 10:59:09 -03:00
Ekaterina Pavlova
a8550e4589 8222747: [Graal] mx_subprocess files miss testing VM flags
Reviewed-by: kvn
2019-04-19 11:18:06 -07:00
Patrick Zhang
288a115a81 8222753: AAarch64: Add CPU implementer code for Ampere
Add CPU implementer code 0xC0 for Ampere

Reviewed-by: aph, drwhite, fyang
2019-04-19 14:42:23 +08:00
Erik Joelsson
5c7c110557 8222735: Update doc/building.md with current Oracle build platforms and compilers
Reviewed-by: tbell
2019-04-19 06:29:05 -07:00
Naoto Sato
395f3ef0c1 8222668: Add @since tag to JapaneseEra.REIWA
Reviewed-by: chegar, lancea
2019-04-18 17:36:10 -07:00
Daniel Fuchs
853da81cfe 8222527: HttpClient doesn't send HOST header when tunelling HTTP/1.1 through http proxy
HttpClient no longer filters out system host header when sending tunelling CONNECT request to proxy

Reviewed-by: michaelm
2019-04-18 17:56:46 +01:00
Patric Hedlin
e08506e683 8216137: assert failed: Live node limit exceeded
8219520: assert failed: Live node limit exceeded

Adding simplistic node budget support for loop-transformations. This /should/attempts to/ resolve most cases of: "assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit".

Reviewed-by: vlivanov, neliasso
2019-04-17 14:57:53 +02:00
Patric Hedlin
8088ed8317 8223143: Restructure/clean-up for 'loopexit_or_null()'
Minor restructure and clean-up for 'loopexit_or_null()' and its use.

Reviewed-by: vlivanov
2019-04-17 14:56:45 +02:00
Patric Hedlin
7bb9062f84 8223142: Clean-up WS and CB
Reviewed-by: vlivanov
2019-04-17 14:55:37 +02:00
Patric Hedlin
55e3cc8f6f 8223141: Change (count) suffix _ct into _cnt
Reviewed-by: vlivanov
2019-04-17 14:55:29 +02:00
Patric Hedlin
f4faee7bae 8223140: Clean-up in 'ok_to_convert()'
Simplify logic in function. Added precond/postcond macros.

Reviewed-by: vlivanov, neliasso
2019-04-17 14:55:11 +02:00
Patric Hedlin
ceef0f69dc 8223139: Rename mandatory policy-do routines
Rename 'policy_do_remove_empty_loop' to 'do_remove_empty_loop', 'policy_do_one_iteration_loop' to 'do_one_iteration_loop'.

Reviewed-by: vlivanov, dl
2019-04-17 14:55:01 +02:00
Patric Hedlin
205085d8d5 8223138: Small clean-up in loop-tree support
Rename predicate 'is_inner()' to 'is_innermost()' to be accurate. Added 'is_root()' predicate for root parent test in loop-tree. Changed definition of 'is_loop()' to always lazy-read the tail, since it should never be NULL. Cleanup of 'tail()' definition.

Reviewed-by: vlivanov, neliasso
2019-05-02 11:05:47 +02:00
Patric Hedlin
fcbca82247 8223137: Rename predicate 'do_unroll_only()' to 'is_unroll_only()'
Reviewed-by: vlivanov
2019-04-17 14:52:25 +02:00
John Jiang
34e49a24c0 8204203: Many pkcs11 tests failed in Provider initialization, after compiler on Windows changed
Build NSS 3.41 with VS2017 and also upgrade to this NSS for macosx

Reviewed-by: valeriep
2019-05-03 15:57:41 +08:00
Sean Coffey
a712b37bd0 8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Joe Wang
01e5390814 8223052: Cleanup: NodeSortRecord
Reviewed-by: lancea
2019-05-02 14:21:06 -07:00
Brian Burkhalter
27f95e7553 8223254: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: lancea, rriggs
2019-05-02 14:15:09 -07:00
Lance Andersen
5a4cef05d6 8218875: Add new FileSystems.newFileSystem methods
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04:00
Brian Burkhalter
2c35825433 8220793: (fs) No support for changing modification time of symlink
Reviewed-by: alanb, rriggs
2019-05-02 13:25:00 -07:00
Zhengyu Gu
8e1bb92b09 8223258: Shenandoah: SRP::process_all_roots_slow processes JvmtiExport weak oops twice
Reviewed-by: rkennke
2019-05-02 15:20:06 -04:00
Man Cao
f05dc2fa2f 8223227: Rename acquire_tag_map() to tag_map_acquire() in jvmtiEnvBase
Reviewed-by: dholmes, jcbeyler
2019-05-01 20:25:31 -07:00
Prasanta Sadhukhan
6adb478824 8222332: PIT: Problemlist tests that times out consistently
Reviewed-by: serb
2019-04-16 10:09:11 +05:30
Martin Balao
0d35ef38e6 8220513: Wrapper Key may get deleted when closing sessions in SunPKCS11 crypto provider
Do not close the session holding the Wrapper Key while in use. Delete the Wrapper Key when no longer needed.

Reviewed-by: valeriep
2019-04-15 15:52:38 -03:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Claes Redestad
c23dc4dfcf 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer
Reviewed-by: alanb
2019-05-02 10:38:00 +02:00
Coleen Phillimore
b3f4ca4563 8223194: runtime/Shutdown/ShutdownTest.java due to "OutOfMemoryError: Java heap too small"
Use default memory for the test.

Reviewed-by: dholmes, kvn
2019-05-01 20:48:19 -04:00
Jesper Wilhelmsson
1f6747c22d Added tag jdk-13+19 for changeset a43d6467317d 2019-05-02 03:20:32 +02:00
Man Cao
37be9ccd6c 8223177: Data race on JvmtiEnvBase::_tag_map in double-checked locking
Add memory fences on accesses to JvmtiEnvBase::_tag_map

Reviewed-by: dholmes, jcbeyler, sspitsyn
2019-04-30 18:44:41 -07:00
Joe Darcy
75471b411d 8146726: Improve AbstractProcessor to issue warnings for repeated information
Reviewed-by: jjg, smarks, serb, igerasim
2019-05-01 16:47:26 -07:00
Joe Wang
05a9f3541b 8220818: Validator does not find missing match for keyref error
Reviewed-by: lancea
2019-05-01 14:35:28 -07:00
Severin Gehwolf
f69d3532e5 8222769: [TESTBUG] TestJFRNetworkEvents should not rely on hostname command
Using InetAddress.getLocalHost()

Reviewed-by: egahlin, lmesnik
2019-05-01 13:25:54 -07:00
Brent Christian
aeaa78cb26 8221267: Document the jdk.net.URLClassPath.showIgnoredClassPathEntries system property
Reviewed-by: alanb, bpb, lancea
2019-05-01 13:07:30 -07:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Vicente Romero
f9bbbb6e27 8222744: add support for generating method handles from a variable symbol
Reviewed-by: mcimadamore
2019-05-01 12:41:26 -04:00
Rahul Raghavan
fee481d5a2 8202414: Unsafe write after primitive array creation may result in array length change
Avoided collecting unaligned stores in Initialize node by making can_capture_store return false for same

Reviewed-by: dlong, kvn, vlivanov
2019-05-01 22:02:48 +05:30
Martin Buchholz
74770e394e 8223078: Add microbenchmark for array copying/clearing/resizing
Reviewed-by: dl, redestad
2019-05-01 09:06:12 -07:00
Coleen Phillimore
6f95cac0e2 8223190: Test gc/arguments/TestShrinkHeapInSteps.java breaks with change for JDK-8074355
Remove too strict assert.

Reviewed-by: hseigel
2019-05-01 10:54:07 -04:00
Zhengyu Gu
142c9b4907 8223184: Shenandoah: Missing roots in SRP::process_all_roots_slow
Reviewed-by: shade
2019-05-01 10:12:51 -04:00
Coleen Phillimore
6fb8502b77 8074355: make MutexLocker smarter about non-JavaThreads
Use safepoint_check_always/safepoint_check_never instead of safepoint_check_sometimes for locks that are taken by JavaThreads and non-JavaThreads

Reviewed-by: dholmes, rehn, dcubed, lmesnik
2019-05-01 08:56:38 -04:00
Coleen Phillimore
0ab425c187 8213399: DecoderLocker is unused
Remove DecoderLocker

Reviewed-by: iklam, dholmes
2019-05-01 07:12:14 -04:00
Jean Christophe Beyler
95b5fba3d7 8223146: [TESTBUG] new test vmTestbase/nsk/share/ExceptionCheckingJniEnv/exceptionjni001/ fails on Windows
Keep it simple and handle INT32_MIN separately

Reviewed-by: dholmes, sspitsyn
2019-04-30 20:26:16 -07:00
Daniil Titov
5c928d29fb 8222821: com/sun/jdi/ExceptionEvents.java failed
Reviewed-by: dlong, sspitsyn, jcbeyler, cjplummer
2019-04-30 16:11:42 -07:00
Jean Christophe Beyler
4b6adaa5f1 8215113: Sampling interval not always correct
Fix the sampling interval

Reviewed-by: phh, sspitsyn
2019-04-30 15:39:42 -07:00
Rajan Halade
aba919ab50 8222137: Remove T-Systems root CA certificate
Reviewed-by: mullan
2019-04-30 12:53:32 -07:00
Rajan Halade
f08d8b7384 8216577: Add GlobalSign's R6 Root certificate
Reviewed-by: mullan, clanger
2019-04-30 11:04:26 -07:00
Erik Joelsson
cdd906fecd 8222913: Add Jib support for VERSION_EXTRA*
Reviewed-by: tbell, mikael
2019-04-30 10:24:14 -07:00
Daniil Titov
b505fd128d 8222749: vmTestbase/nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001/TestDescription.java failed with "eventSet1.size() != 3 :: 2"
Reviewed-by: sspitsyn, jcbeyler
2019-04-30 08:45:19 -07:00
Severin Gehwolf
fb355041ea 8221639: [i386] expand_exec_shield_cs_limit workaround is undefined code after JDK-8199717
Only perform this optimization for x86_64

Reviewed-by: dholmes, andrew
2019-04-18 13:58:31 +02:00
Tobias Hartmann
048c3dc026 8219807: C2 crash in IfNode::up_one_dom(Node*, bool)
Guard against regions degraded to copies.

Reviewed-by: kvn
2019-04-30 14:49:19 +02:00
Claes Redestad
e7a6cbbd38 8222852: Reduce String concat combinator tree shapes by folding constants into prependers
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: shade, plevart, forax
2019-04-30 12:54:07 +02:00
Serguei Spitsyn
e3aa6f7907 8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
Mark new option depricated

Reviewed-by: dcubed, coleenp, dholmes
2019-04-30 01:56:28 -07:00
Steve Groeger
7c55d53d66 8218152: [javac] fails and exits with no error if a bad annotation processor provided
Handle exceptions thrown while loading annotation processors.

Reviewed-by: jlahoda
2019-04-30 10:39:22 +02:00
Ralf Schmelter
ebedd5cb26 8222529: sun.jdwp.listenerAddress agent property uses wrong encoding
Reviewed-by: sspitsyn, amenkov, clanger, erikj
2019-04-17 01:21:56 -07:00
Priya Lakshmi Muthuswamy
a722889681 8221991: Improve the HTML for the inheritance tree for a type
Reviewed-by: hannesw
2019-04-30 11:58:30 +05:30
Dean Long
61f35bf898 8219403: JVMCIRuntime::adjust_comp_level should be replaced
Reviewed-by: kvn, dnsimon, never
2019-04-24 09:10:45 -07:00
Xue-Lei Andrew Fan
bac946663d 8218873: Improve JSSE endpoint checking
Reviewed-by: mullan, ahgross, rhalade
2019-04-11 17:58:18 -07:00
Dmitry Batrak
b9f32c8148 8220231: Cache HarfBuzz face object for same font's text layout calls
Reviewed-by: prr, avu, serb
2019-04-11 10:49:36 -07:00
Prasanta Sadhukhan
a9bfe45ca8 Merge 2019-04-11 14:20:16 +05:30
Priya Lakshmi Muthuswamy
f04c9d09b8 8217013: javadoc generates references to missing file overview-frame.html
Reviewed-by: hannesw
2019-04-11 12:49:26 +05:30
Sergey Bylokhov
efecbce7fe 8218876: Improve PNG support options
Reviewed-by: prr, rhalade, mschoene
2019-04-10 14:43:13 -07:00
Daniel Fuchs
c9da623b6f 8221518: Normalize normalization
Reviewed-by: chegar, igerasim, ahgross, rhalade
2019-04-10 15:49:24 +01:00
Matthias Baesken
7414acdd07 8221915: cleanup ticks related coding in os_perf_aix.cpp [aix]
Reviewed-by: mdoerr
2019-04-10 09:33:32 +02:00
Ao Qi
2b203281cd 8222300: Zero build broken after JDK-8222231
Reviewed-by: dholmes
2019-04-10 22:41:28 -04:00
Serguei Spitsyn
ff03f5c84e 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
Fix GenerateEvents() to send CompiledMethodLoad events to requesting agent only

Reviewed-by: jcbeyler, amenkov
2019-04-10 17:29:03 -07:00
Jesper Wilhelmsson
141cc31f10 Added tag jdk-13+16 for changeset 9d0ae9508d53 2019-04-11 01:21:11 +02:00
Coleen Phillimore
0314bac167 8222231: Clean up interfaceSupport.inline.hpp duplicated code
Reviewed-by: dholmes, pchilanomate
2019-04-10 17:31:31 -04:00
Daniil Titov
32848d8166 8222224: vmTestbase/nsk/jvmti/SingleStep/singlestep001/TestDescription.java fails
Reviewed-by: sspitsyn, jcbeyler, amenkov
2019-04-10 21:21:31 +00:00
Vicente Romero
2468ac91ee 8222035: minimal inference context optimization is forcing resolution with incomplete constraints
Reviewed-by: mcimadamore, cushon
2019-04-10 17:15:53 -04:00
Claes Redestad
8ee30d4fbe 8222029: Optimize Math.floorMod
Reviewed-by: aph, darcy
2019-04-10 20:03:07 +02:00
Ralf Schmelter
0f4b0947ff 8222264: Windows incremental build is broken with JDK-8217728
Reviewed-by: erikj, clanger
2019-04-10 05:15:50 -07:00
Erik Joelsson
4b898b7aae 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
Reviewed-by: tbell, ysuenaga
2019-04-10 07:04:35 -07:00
Roman Kennke
ebe0ef5ee8 8222259: Shenandoah: Pre-evacuate string-dedup roots in Traversal GC
Reviewed-by: shade
2019-04-10 13:21:38 +02:00
Per Lidén
3a2343d9e6 8221984: ZGC: Clean up ZOop
Reviewed-by: stefank, eosterlund
2019-04-10 12:45:32 +02:00
Prasanta Sadhukhan
de2e2b119a Merge 2019-04-10 10:46:53 +05:30
Prasanta Sadhukhan
a1b71b6951 8222097: ProblemList tests that are failing recurringly and intermittently in PIT
Reviewed-by: prr, kaddepalli
2019-04-10 10:32:43 +05:30
Valerie Peng
d44402f301 Merge 2019-04-10 02:41:43 +00:00
Valerie Peng
3b6b6b3cb3 8216039: TLS with BC and RSASSA-PSS breaks ECDHServerKeyExchange
Add internal Signature init methods to select provider based on both key and parameter

Reviewed-by: xuelei
2019-04-10 02:35:18 +00:00
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
Daniel D. Daugherty
758f02e6cc 8222229: ProblemList compiler/jsr292/InvokerSignatureMismatch.java
Reviewed-by: iignatyev
2019-04-09 18:26:36 -04: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
Alexey Ivanov
9972a6fdaa 8221263: [TEST_BUG] RemotePrinterStatusRefresh test is hard to use
Reviewed-by: serb, prr
2019-04-09 08:50:08 +01:00
Sergey Bylokhov
7a62c46781 8221885: Add intermittent test in the JavaSound to the ProblemList
Reviewed-by: prr
2019-04-08 14:48:35 -07:00
Fei Yang
b0c2b42e40 8221658: aarch64: add necessary predicate for ubfx patterns
Reviewed-by: aph
2019-04-08 14:40:31 +08:00
Jie Fu
8da3230d6e 8221894: Add comments for docker tests in the test doc
Reviewed-by: erikj, dholmes
2019-04-09 06:11:54 -07: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
David Holmes
d7097cb0f4 8218458: [TESTBUG] runtime/NMT/CheckForProperDetailStackTrace.java fails with Expected stack trace missing from output
Reviewed-by: cjplummer, zgu
2019-04-08 17:30:18 -04: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
Ekaterina Pavlova
93c0734d3a 8216551: GraalUnitTestLauncher should be executed as '@run driver'
Reviewed-by: dlong, kvn
2019-04-08 11:11:22 -07:00
Aleksey Shipilev
3592b7ea78 8222130: Shenandoah should verify roots after pre-evacuation
Reviewed-by: rkennke, zgu
2019-04-08 19:43:04 +02:00
Sean Mullan
ae463150c0 8222133: Add temporary exceptions for root certs that are due to expire soon
Reviewed-by: xuelei
2019-04-08 13:33:28 -04: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
Steve Groeger
3ff0b6ea5e 8222027: java/util/logging/LogManager/TestLoggerNames.java generates intermittent ClassCastException
Make a strong reference to TestLogger and dont fetch it from LogManager

Reviewed-by: dfuchs
2019-04-08 15:01:39 +01: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
Sean Mullan
1e6d8fbb1d 8222089: [TESTBUG] sun/security/lib/cacerts/VerifyCACerts.java fails due to cert within 90-day expiry window
Reviewed-by: xuelei
2019-04-08 12:19:51 -04:00
Thomas Stuefe
7e9c683397 8221738: ErrorFile option does not handle pre-existing error files of the same name
Reviewed-by: coleenp, clanger
2019-04-07 09:13:17 +02:00
Thomas Schatzl
b1278c587f 8223018: Rename G1RemSet::*oops_into_collection_set_do methods
Reviewed-by: manc, sangheki
2019-05-14 15:36:26 +02:00
Thomas Schatzl
3d149df158 8200545: Improve filter for enqueued deferred cards
Reviewed-by: kbarrett, sangheki
2019-05-14 15:36:26 +02:00
Coleen Phillimore
2a48a29c33 8219459: oopDesc::is_valid() is broken
Use Metaspace::contains() to test address ranges.

Reviewed-by: mdoerr, stuefe, jiangli
2019-05-14 08:52:51 -04:00
Aleksei Efimov
64b8734964 8223638: Replace wildcard address with loopback or local host in tests - part 6
Reviewed-by: dfuchs
2019-05-14 13:34:49 +01:00
Jie Fu
32ce957de5 8223822: Add gc IDs in the log of gc verification
Reviewed-by: stefank, tschatzl
2019-05-14 10:54:23 +02:00
Erik Österlund
5dd18ea628 8222841: Incorrect static call stub interactions with class unloading
Reviewed-by: kvn, coleenp
2019-05-14 12:07:24 +02:00
Claes Redestad
cc6cc06183 8221478: Disable VerifySharedSpaces by default
Reviewed-by: iklam, dholmes
2019-05-14 12:00:49 +02:00
Daisy Zhou
24f9c71c8d 8222969: Migrate RuleBasedCollatorTest to JDK Repo
Reviewed-by: naoto
2019-05-14 11:06:23 +08:00
Serguei Spitsyn
1c202572d5 8219023: Investigate syncing JVMTI spec version with JDK version
Auto sync versions with the jdk versions

Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-14 02:07:13 -07:00
Christoph Langer
e6b1cd1d4b 8223597: jdk/nio/zipfs/ZipFSTester.java RuntimeException: CHECK_FAILED! (getAttribute.crc <entries20> failed 6af4413c vs 0 ...)
Reviewed-by: redestad, lancea
2019-05-14 09:25:58 +01:00
Per Lidén
44e7959bb8 8222480: Implementation: JEP 351: ZGC: Uncommit Unused Memory
Reviewed-by: stefank, eosterlund
2019-05-14 09:55:02 +02:00
Aleksey Shipilev
4bde1f6471 8223762: Shenandoah: overflows in calculations involving heap capacity
Reviewed-by: rkennke
2019-05-14 09:12:06 +02:00
Aleksey Shipilev
92d97ce512 8223759: Shenandoah should allow arbitrarily low initial heap size
Reviewed-by: rkennke
2019-05-14 09:12:00 +02:00
Matthias Baesken
e7f9a8a263 8223685: used bundled zlib on AIX by default
Reviewed-by: erikj, simonis
2019-05-14 09:14:36 +02:00
Matthias Baesken
9314a2853b 8223574: add more thread-related system settings info to hs_error file on AIX
Reviewed-by: goetz, mdoerr
2019-05-10 09:58:01 +02:00
Erik Joelsson
0974861dd8 8221907: make reconfigure breaks when configured with relative paths
Reviewed-by: dholmes
2019-04-05 06:48:20 -07:00
Aleksey Shipilev
1e9927a2f2 8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function
Reviewed-by: alanb, dholmes
2019-04-08 15:25:27 +02:00
Dmitrij Pochepko
cc4453b2f8 8221995: AARCH64: problems with CAS instructions encoding
Reviewed-by: aph
2019-04-08 15:54:47 +03:00
Christoph Langer
9b93604535 8221880: Better customization for Windows RC properties FileDescription and ProductName
Reviewed-by: erikj
2019-04-08 06:56:37 +01:00
Nick Gasson
71ac3d952b 8221529: [TESTBUG] Docker tests use old/deprecated image on AArch64
Reviewed-by: aph, sgehwolf, mseledtsov
2019-04-08 09:31:39 +08: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
a6ad14cf07 8222082: Build of test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c still failing on Windows
Reviewed-by: alanb, dholmes
2019-04-07 18:09:06 +08:00
Mandy Chung
93ae73b091 8222078: test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530
Reviewed-by: lancea, dholmes
2019-04-07 03:00:52 +00: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
Mandy Chung
ab361746ec 8220282: Add MethodHandle tests on accessing final fields
Reviewed-by: lancea
2019-04-06 21:05:58 +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
Gary Adams
7a093bcf50 8203364: Some serviceability/sa/ tests intermittently fail with java.io.IOException: LingeredApp terminated with non-zero exit code 3
Reviewed-by: cjplummer, jcbeyler
2019-04-05 07:10:07 -04: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
Jamil Nimeh
657f017400 8221345: Better Poly1305 support
Reviewed-by: apetcher, mschoene, rhalade
2019-04-03 13:35:11 -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
Amy Lu
bb1e22adcf 8178335: fake pass: jdk/internal/ref/Cleaner/ExitOnThrow.java
Reviewed-by: mchung
2019-04-03 13:24:12 +08:00
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
Prasanta Sadhukhan
43d432169f 8221731: Fix doclint handling of accessibility heading in java.desktop
Reviewed-by: erikj
2019-04-02 10:55:20 +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
Christian Tornqvist
9910128b44 8212627: [TESTBUG] runtime/CreateMirror/ArraysNewInstanceBug.java timed out
Reviewed-by: coleenp, dcubed, hseigel
2019-04-01 14:34:24 -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
Erik Joelsson
22c61a5981 8221703: Rmic build for java.management.api has bad incremental behavior
Reviewed-by: tbell
2019-04-01 11:02:40 -07: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
Gary Adams
6dad89ceae 8221694: jstatLineCounts1 needs to be NaN resilient
Reviewed-by: cjplummer, jcbeyler
2019-04-01 07:34:56 -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
Nick Gasson
0eadf53694 8220707: [TESTBUG] serviceability/sa/TestHeapDumpForLargeArray.java fails with jtreg -vmoption:-Xmx < 8g
Reviewed-by: clanger, sballal, jcbeyler
2019-03-29 09:31:44 +00:00
Christoph Langer
0569496b69 8221610: Resurrect (legacy) JRE bundle target
Reviewed-by: erikj, azeller
2019-03-30 21:29:37 +01: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
jiefu
d1926144eb 8221596: test/hotspot/jtreg/runtime/containers/docker/TestCPUSets.java failed with FileAlreadyExistsException
Using  StandardCopyOption.REPLACE_EXISTING to copy whitebox.jar

Reviewed-by: dholmes, mseledtsov
2019-03-29 18:25:39 -07:00
Joe Darcy
12802b7e8d 8212328: Exceptional throw cases
Reviewed-by: smarks, rriggs, igerasim, ahgross, skoivu
2019-03-28 14:18:57 -07: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
Aleksey Shipilev
208ecde943 8221918: runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java fails: Shared archive not found
Reviewed-by: jiangli, dholmes
2019-04-05 09:06:19 +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
d6c2cc2413 8219918: ProblemList hotspot tests failing in SAP testing
Reviewed-by: dholmes
2019-04-05 07:59:13 +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
Erik Joelsson
fbba7c49b6 8221996: Bootcycle build broken
Reviewed-by: tbell
2019-04-04 13:56:04 -07:00
Roman Kennke
6292ecd39b 8221848: Shenandoah: ArrayCopy post-barrier improvements
Reviewed-by: zgu
2019-04-04 21:29:46 +02:00
Mikhailo Seledtsov
05b294ea97 8221710: [TESTBUG] more configurable parameters for docker testing
Introduced docker test config properties

Reviewed-by: lmesnik, iignatyev, egahlin
2019-04-04 12:29:43 -07:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Erik Joelsson
60e51498f2 8217728: Speed up incremental rerun of "make hotspot"
Reviewed-by: tbell
2019-04-04 07:43:44 -07: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
Sergey Bylokhov
27e83c186a 8220517: Enhanced GIF support
Reviewed-by: aivanov, ssahoo, mschoene, prr
2019-03-27 00:24:13 -07:00
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
Zhengyu Gu
b51de3d73a 8221688: Quarantine Shenandoah string dedup tests
Reviewed-by: rkennke
2019-03-29 10:21:18 -04: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
Ioi Lam
88db8649df 8221621: FindTests.gmk cannot handle "=" in TEST.groups comments
Reviewed-by: erikj, dholmes
2019-03-28 20:45:40 -07: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
Per Lidén
793c71bf92 8221153: ZGC: Heap iteration and verification pollutes GC statistics
Reviewed-by: stefank, eosterlund
2019-03-28 19:43:59 +01:00
Per Lidén
7a623e6e46 8221540: ZGC: Reduce width of zForwardingEntry::from_index field
Reviewed-by: stefank, eosterlund
2019-03-28 19:43:59 +01:00
Per Lidén
53c904df4a 8221394: Clean up ConcurrentGCThread
Reviewed-by: kbarrett, eosterlund
2019-03-28 19:43:59 +01:00
Jesper Wilhelmsson
e664676423 8221341: Update Graal
Reviewed-by: kvn
2019-03-28 19:39:14 +01:00
Derek Thomson
7a4b473edd 8157372: C2: Node::cmp() should return bool
The method Node::cmp() should return a boolean

Reviewed-by: vlivanov, kvn
2019-03-28 11:06:00 -07:00
Erik Joelsson
caae145476 8205934: Define jdk -source/-target version in version-numbers file
Reviewed-by: tbell
2019-03-28 10:04:27 -07:00
Erik Joelsson
5031959c88 8220530: Build compare script does not compare the contents of the test image
Reviewed-by: tbell
2019-03-28 08:37:05 -07:00
Daniel Fuchs
47b9d898ab 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.

Reviewed-by: chegar, michaelm
2019-03-28 12:16:36 +00:00
Robbin Ehn
76cdc8016f 8220351: Cross-modifying code
Reviewed-by: rrich, mdoerr, dholmes, eosterlund
2019-03-28 11:08:23 +01:00
Ralf Schmelter
a801be79eb 8221325: Add information about swap space to print_memory_info() on MacOS
Reviewed-by: stuefe, dholmes
2019-03-26 01:46:06 -07:00
Coleen Phillimore
8e5a71de44 8221872: Remove uses of ClassLoaderWeakHandle typedef in protection domain table
Make consistent with StringTable and ResolvedMethodTable

Reviewed-by: dholmes
2019-04-03 20:39:19 -04:00
Jesper Wilhelmsson
8c67e267a0 Added tag jdk-13+15 for changeset f855ec13aa25 2019-04-04 01:46:14 +02:00
Xue-Lei Andrew Fan
661b5f1534 8217610: TLSv1.3 fail with ClassException when EC keys are stored in PKCS11
Reviewed-by: valeriep
2019-04-03 16:23:22 -07:00
David Holmes
2f20909d10 8218483: Crash in "assert(_daemon_threads_count->get_value() > daemon_count) failed: thread count mismatch 5 : 5"
Reviewed-by: dcubed, stuefe
2019-04-03 22:03:39 +00:00
Erik Joelsson
18146afe7f 8221764: Reduce make Init.gmk logging overhead
Reviewed-by: tbell
2019-04-03 12:52:37 -07:00
Roman Kennke
004b3ee748 8220664: Simplify ShenandoahUpdateHeapRefsClosure
Reviewed-by: shade
2019-03-27 22:25:03 +01:00
Lance Andersen
518e3a8788 8216539: tools/jar/modularJar/Basic.java times out
Reviewed-by: mchung, alanb, bchristi, bpb
2019-04-03 11:30:23 -04:00
Claes Redestad
5c06e0a912 8221701: Archive constant BaseLocales
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Lutz Schmidt
8cdf747187 8221482: Initialize VMRegImpl::regName[] earlier to prevent assert during PrintStubCode
Reviewed-by: kvn
2019-04-03 16:55:41 +02:00
Thomas Stuefe
dbe0da648a 8220786: Create new switch to redirect error reporting output to stdout or stderr
Reviewed-by: dholmes, goetz
2019-03-25 09:35:40 +01:00
Jan Lahoda
4969d23b89 8221413: javac does not recognize variable assigned in switch expression as DA
Fixing definite assignment in presence of implicit throws clause in switch expressions over enums.

Reviewed-by: vromero
2019-03-28 10:32:05 +01:00
Goetz Lindenmaier
2da45f12f2 8221398: Move test NoClassDefFoundMsg.java to subdir exceptionMsgs/
Reviewed-by: coleenp
2019-03-28 09:15:41 +01:00
Daniil Titov
caa5387a57 8221532: Incorrect copyright header in FileSystemSupport_md.c
Reviewed-by: cjplummer, gadams
2019-03-28 04:30:52 +00:00
Daniil Titov
6d77c76cf2 8218727: vmTestbase/nsk/jvmti/scenarios/events/EM04/em04t001/TestDescription.java crash in native library
Reviewed-by: sspitsyn, gadams
2019-03-28 04:26:36 +00:00
Jesper Wilhelmsson
a5dca99850 Added tag jdk-13+14 for changeset 46cf212cdcca 2019-03-28 01:43:11 +01:00
Brian Burkhalter
8d5cea62b2 8221568: DataOutputStream/WriteUTF.java fails due to "OutOfMemoryError: Java heap space"
Reviewed-by: shade
2019-03-27 16:35:25 -07:00
Joe Wang
007b06bcff 8221533: Incorrect copyright header in DurationDayTimeImpl.java, DurationYearMonthImpl.java and XMLStreamException.java
Reviewed-by: bpb, lancea
2019-03-27 14:40:36 -07:00
Arthur Eubanks
0c2b7c4fc3 8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Brian Burkhalter
b5e3a8220b 8221531: Incorrect copyright header in src/java.base/windows/native/libnio/ch/FileChannelImpl.c
Reviewed-by: lancea, bchristi
2019-03-27 13:00:57 -07:00
Volker Simonis
4049bcaffe 8220528: [AIX] Fix basic Xinerama and Xrender functionality
Reviewed-by: clanger, stuefe, serb
2019-03-27 19:47:47 +01:00
Per Lidén
9f2ac63e67 8221456: nmethod::make_unloaded() clears _method member too early
Reviewed-by: eosterlund, thartmann
2019-03-27 18:30:45 +01:00
Mikhailo Seledtsov
ea59f49e55 8221527: [TESTBUG] DockerBasicTest.java contains hard-coded reference to JDK 10
Using Docker test library to get the image name

Reviewed-by: dholmes
2019-03-27 08:38:05 -07:00
Martin Buchholz
df4f28c041 8219196: DataOutputStream.writeUTF may throw unexpected exceptions
Reviewed-by: martin, darcy, rriggs
2019-03-27 07:21:18 -07:00
Harold Seigel
b1c5ab81c0 8059357: ClassVerifier redundantly checks constant pool entries multiple times
Store translated signature verificationTypes in a hashtable where they can be fetched, instead of having to re-translating the signatures

Reviewed-by: iklam, coleenp
2019-03-27 09:29:34 -04:00
Rahul Raghavan
3f0955154d 8219612: compiler.codecache.stress.Helper.TestCaseImpl can't be defined in different runtime package as its nest host
Test rewritten to use top level classes rather then nested ones

Reviewed-by: iignatyev, kvn, thartmann
2019-03-27 18:33:48 +05:30
Aleksey Shipilev
e8a753f253 8221524: java/util/Base64/TestEncodingDecodingLength.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, alanb
2019-03-27 12:38:29 +01:00
Aleksey Shipilev
5437296fac 8221401: java/math/BigInteger/LargeValueExceptions.java test should be disabled on 32-bit platforms
Reviewed-by: stuefe, bpb
2019-03-27 11:35:41 +01:00
Aleksey Shipilev
785772021b 8221400: java/lang/String/StringRepeat.java test requests too much heap
Reviewed-by: stuefe, alanb
2019-03-27 11:35:40 +01:00
Aleksey Shipilev
af6cddfa78 8220198: Lots of com/sun/crypto/provider/Cipher tests fail on x86_32 due to missing SHA512 stubs
Reviewed-by: kvn, thartmann
2019-03-27 11:35:28 +01:00
Per Lidén
c8725ae469 8221537: ZGC: Fix incorrect comment in zNMethod table entry layout
Reviewed-by: stefank
2019-03-27 10:38:49 +01:00
Per Lidén
8e258756bb 8221392: Reduce ConcurrentGCThreads spinning during start up
Reviewed-by: eosterlund, kbarrett
2019-03-27 10:38:49 +01:00
Per Lidén
229d923b27 8221396: Clean up serviceability/sa/TestUniverse.java
Reviewed-by: stefank, jcbeyler
2019-03-27 10:38:49 +01:00
Gunter Haug
5f9ec8e710 8221479: Fix JFR profiling on s390
Reviewed-by: mdoerr, clanger
2019-03-26 16:00:20 +01:00
Liam Miller-Cushon
31f64932c3 8220687: Add StandardJavaFileManager.getJavaFileObjectsFromPaths overload
Reviewed-by: jjg
2019-03-26 15:00:02 -07:00
Ioi Lam
c532be950a 8217347: [TESTBUG] runtime/appcds/jvmti/InstrumentationTest.java timed out
Avoid using VirtualMachine.list(). Use Process.pid() instead.

Reviewed-by: dholmes
2019-03-26 11:34:40 -07:00
Liam Miller-Cushon
657a0e4d86 8220633: Optimize CacheFSInfo
Reviewed-by: jjg
2019-03-26 15:36:19 -07:00
Adam Farley
be132fcc65 8216558: Lookup.unreflectSetter(Field) fails to throw IllegalAccessException for final fields
Reviewed-by: mchung
2019-03-26 15:53:36 -07:00
Serguei Spitsyn
4df14bb14b 8221513: Add vmTestbase/nsk/jdb/eval/eval001/eval001.java to ProblemList.txt
Add test to the ProblemList.txt

Reviewed-by: dcubed
2019-03-26 14:43:23 -07:00
Mikhailo Seledtsov
7f9103968f 8221342: [TESTBUG] Generate Dockerfile for docker testing
Dockerfile is generated; introduced properties to specify custom base image

Reviewed-by: sgehwolf, dholmes, jiefu
2019-03-26 13:25:26 -07:00
Zhengyu Gu
201cdc50f9 8204552: NMT: Separate thread stack tracking from virtual memory tracking
Reviewed-by: stuefe, minqi
2019-03-26 15:50:34 -04:00
Daniel D. Daugherty
6e84bce1b5 8221350: more monitor logging updates from Async Monitor Deflation project
Reviewed-by: dholmes, coleenp
2019-03-26 15:27:41 -04:00
Volker Simonis
6efb59fad7 8221483: TestOopCmp.java fails due to "Multiple garbage collectors selected"
Reviewed-by: kvn, mdoerr
2019-03-26 18:42:10 +01:00
Chris Hegarty
1933437f12 8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Erik Joelsson
75dd3985ca 8221414: Bump required boot jdk version to 12
Reviewed-by: mikael, tbell
2019-03-26 09:24:01 -07:00
Thomas Stuefe
af4328cd62 8221407: Windows 32bit build error in libsunmscapi/security.cpp
Reviewed-by: clanger
2019-03-26 15:52:08 +01:00
Thomas Stuefe
800a5cdef5 8221406: Windows 32bit build error in NetworkInterface_winXP.c
Reviewed-by: clanger
2019-03-26 15:46:15 +01:00
Claes Redestad
274396e105 8221473: Configuration::reads can use Set.copyOf
Reviewed-by: alanb, forax
2019-03-26 15:20:23 +01:00
Sergey Bylokhov
75325facdd 8177960: Deprecate the Swing Motif Look and Feel and document it as unsupported on macOS
Reviewed-by: psadhukhan, prr
2019-03-22 12:44:47 -07:00
Prasanta Sadhukhan
ec9a6addc7 Merge 2019-03-22 14:39:16 +05:30
Prasanta Sadhukhan
cc590f5765 Merge 2019-03-22 13:42:45 +05:30
Christoph Langer
1a48fa0fb7 8200286: (testbug) MOptionTest test fails with java.lang.AssertionError: Classfiles too old!
Reviewed-by: stuefe, jjg
2019-03-22 08:56:30 +01:00
Phil Race
fed190dd8b 8221304: Problem list java/awt/FontMetrics/MaxAdvanceIsMax.java
Reviewed-by: serb
2019-03-21 21:37:09 -07:00
Nick Gasson
1925ff3540 8220451: jdi/EventQueue/remove/remove004 failed due to "ERROR: thread2 is not alive"
8220456: jdi/EventQueue/remove_l/remove_l004 failed due to "TIMEOUT while waiting for event"

Reviewed-by: sspitsyn, dcubed, gadams
2019-03-22 03:04:09 +00:00
Gustavo Romero
93e77e1767 8221175: Fix bad function case for controlled JVM crash on PPC64 big-endian
Reviewed-by: chrisphi, stuefe, goetz
2019-03-20 16:43:49 -04:00
Gustavo Romero
db264da0fd 8220794: PPC64: Fix signal handler for SIGSEGV on branch to illegal address
Reviewed-by: stuefe, goetz
2019-03-20 16:59:35 -04:00
Robbin Ehn
06fa31e9bc 8221472: Fix HandshakeSuspendExitTest
Reviewed-by: dcubed, redestad
2019-03-26 14:49:54 +01:00
Weijun Wang
28d4630473 8217690: Update public suffix version
Reviewed-by: mullan
2019-03-26 21:33:47 +08:00
Ralf Schmelter
0714b75ac4 8220570: Additonal trace when native thread creation fails
Added additonal trace when native thread creation fails

Reviewed-by: dholmes, goetz
2019-03-22 04:47:02 -07:00
Gary Adams
c986cef7ba 8218128: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003 and 004 use wrong path to test classes
Reviewed-by: cjplummer, dholmes, lmesnik
2019-03-26 07:24:26 -04:00
Robbin Ehn
ed3542d53b 8220774: Add HandshakeALot diag option
Reviewed-by: dcubed, dholmes
2019-03-26 12:08:51 +01:00
Gary Adams
afa3178149 8203026: java.rmi.NoSuchObjectException: no such object in table
Reviewed-by: rriggs, sspitsyn
2019-03-26 07:09:10 -04:00
Volker Simonis
f9c08cc6fb 8221083: [ppc64] Wrong oop compare in C1-generated code
Reviewed-by: mdoerr, goetz
2019-03-26 11:51:41 +01:00
Prasanta Sadhukhan
83e8947b90 Merge 2019-03-20 16:07:43 +05:30
Chris Hegarty
defc86bd5b 8221098: Run java/net/URL/HandlerLoop.java in othervm mode
Reviewed-by: alanb, martin
2019-03-20 09:17:48 +00:00
Dmitry Cherepanov
f16af8d4d5 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-03-20 11:51:43 +03:00
Chris Hegarty
42b8e78a7a 8153508: ContentHandler API contains link to private contentPathProp
Reviewed-by: dfuchs, vtewari
2019-03-20 08:33:33 +00:00
Priya Lakshmi Muthuswamy
1c0f35a5b4 8219958: Automatically load taglets from a jar file
Reviewed-by: jjg
2019-03-20 09:58:12 +05:30
Adam Petcher
95b189916f 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size
Truncate the digest according to the group order, not the field size

Reviewed-by: jnimeh
2019-03-19 15:18:35 -04:00
Coleen Phillimore
3ed98222a7 8220744: Move RedefineTests to from runtime to serviceability
Move tests out of runtime to jvmti/RedefineClasses

Reviewed-by: sspitsyn, dcubed, cjplummer, hseigel, mseledtsov
2019-03-19 14:22:47 -04:00
Kim Barrett
2946ff5ca5 8218975: Bug in macOSX kernel's pthread support
Use freelist of pthread_mutex/condvar pairs on macOSX.

Co-authored-by: Patricio Chilano Mateo <patricio.chilano.mateo@oracle.com>
Reviewed-by: tschatzl, dholmes, dcubed
2019-03-19 14:32:41 -04:00
Bob Vandette
646779038f Merge 2019-03-19 14:31:52 -04:00
Kim Barrett
a11369d781 8220690: ATTRIBUTE_ALIGNED requires GNU extensions enabled
Use __typeof__(x) instead of typeof(x).

Reviewed-by: shade, sgehwolf
2019-03-19 14:08:20 -04:00
Bob Vandette
30342b596b 8217766: Container Support doesn't work for some Join Controllers combinations
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:29:40 -04:00
Bob Vandette
adc6d241ba 8212528: Wrong cgroup subsystem being used for some CPU Container Metrics
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:10:00 -04:00
Bob Vandette
e97e09288e 8219562: Line of code in osContainer_linux.cpp L102 appears unreachable
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:00:54 -04:00
Roger Riggs
b77b4b254c 8220613: java/util/Arrays/TimSortStackSize2.java times out with fastdebug build
Reviewed-by: lancea, alanb
2019-03-19 10:47:17 -04:00
Chris Hegarty
5ee0711360 8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00:00
Mikhail Filippov
ad90ef79d1 8218914: Support fonts installed per-user on Windows 10
Reviewed-by: prr, serb
2019-03-18 14:55:41 -07:00
Matthias Baesken
3b0ae8082a 8220355: Improve assertion texts and exception messages in eventHandlerVMInit
Reviewed-by: alanb, sspitsyn, jcbeyler
2019-03-18 15:29:19 +01:00
Matthias Baesken
dc7b3e8df3 8220781: linux-s390 : os::get_summary_cpu_info gives bad output
Reviewed-by: dholmes, lucy
2019-03-18 16:04:23 +01:00
Chris Hegarty
1df787692a 8170705: sun/net/www/protocol/http/StackTraceTest.java fails intermittently with Invalid Http response
Reviewed-by: dfuchs
2019-03-19 11:15:08 +00:00
Ao Qi
f6e688c7c8 8220812: gc/shenandoah/options/TestLoopMiningArguments.java fails if default GC is serial/parallel/cms
Reviewed-by: shade
2019-03-19 17:03:18 +08:00
John Jiang
3c34b7a261 8220410: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed with missing expected output
Using the same timezone for jar verifying and date formatting

Reviewed-by: weijun
2019-03-19 10:36:24 +08:00
Jamil Nimeh
de75770ce9 8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
Reviewed-by: apetcher
2019-03-18 15:26:59 -07:00
Jonathan Gibbons
7954db81f8 8220693: jdk/javadoc/doclet/MetaTag/MetaTag.java with unexpected date
Reviewed-by: hannesw
2019-03-18 11:50:57 -07:00
Erik Joelsson
f05457a1af 8220737: Jib based 32 bit windows builds fail
Reviewed-by: tbell, dholmes
2019-03-18 17:33:59 +01:00
Roman Kennke
1aec18881b 8220780: ShenandoahBS::AccessBarrier::oop_store_in_heap ignores AS_NO_KEEPALIVE
Reviewed-by: shade
2019-03-18 16:33:28 +01:00
Stefan Karlsson
c2d4f10483 8220609: Cleanups in ScavengableNMethods
Reviewed-by: pliden, eosterlund
2019-03-18 15:21:33 +01:00
Stefan Karlsson
788dcfd72d 8220606: Move ScavengableNMethods unlinking to unregister_nmethod
Reviewed-by: pliden, eosterlund
2019-03-18 15:19:39 +01:00
Sergey Bylokhov
ecce7fb2d0 7106851: Test should not use System.exit
Reviewed-by: aivanov, psadhukhan, kaddepalli
2019-03-16 17:50:24 -07:00
Roman Kennke
59a025d90b 8220714: C2 Compilation failure when accessing off-heap memory using Unsafe
Reviewed-by: vlivanov, roland
2019-03-15 09:57:42 +01:00
Roman Kennke
29843b4dfb 8221278: Shenandoah should not enqueue string dedup candidates during root scan
Reviewed-by: shade
2019-03-21 22:37:36 +01:00
Xue-Lei Andrew Fan
9f0b9da2d7 8221273: put sun/security/pkcs11/tls/tls12/TestTLS12.java on ProblemList.txt
Reviewed-by: mullan
2019-03-21 14:18:34 -07:00
Xue-Lei Andrew Fan
901e797c0c 8221270: Duplicated synchronized keywords in SSLSocketImpl
Reviewed-by: mullan
2019-03-21 13:32:08 -07:00
Daniil Titov
ed5a2f1e06 8218401: WRONG_PHASE: vmTestbase/nsk/jvmti test crash
Reviewed-by: sspitsyn, jcbeyler
2019-03-21 19:56:31 +00:00
Ivan Gerasimov
9f5bcd46f0 8170494: JNI exception pending in PlainDatagramSocketImpl.c
Reviewed-by: clanger, vtewari
2019-03-21 12:28:58 -07:00
Brent Christian
bd4dd311fd 8211941: Enable checking/ignoring of non-conforming Class-Path entries
Reviewed-by: alanb, mchung
2019-03-21 11:58:00 -07:00
Bob Vandette
af5c78efff 8220674: [TESTBUG] MetricsMemoryTester failcount test in docker container only works with debug JVMs
Reviewed-by: sspitsyn, sgehwolf
2019-03-21 14:40:04 -04:00
Alan Bateman
fd14375ae2 8221259: New tests for java.net.Socket to exercise long standing behavior
Reviewed-by: chegar
2019-03-21 17:38:41 +00:00
Adam Petcher
04a50576cf 8221172: SunEC specific test is not limited to SunEC
Fixing a minor test bug in the SignatureDigestTruncate regression test

Reviewed-by: mullan
2019-03-21 13:10:37 -04:00
Harold Seigel
d8d4311d54 8221096: Description of -XX:+PrintFlagsRanges is incorrect
Remove the phrase: and exit VM

Reviewed-by: lfoltan
2019-03-21 10:47:48 -04:00
Martin Balao
0814229ebc 8220753: Re-introduce the test case for TLS 1.2 algorithms in SunPKCS11 crypto provider
Reviewed-by: xuelei
2019-03-21 01:51:25 -03:00
Yasumasa Suenaga
0f0d24ebb4 8220784: hsdis cannot be built with MinGW64
Reviewed-by: iklam, dholmes
2019-03-21 21:17:54 +09:00
Jie Fu
2c4b9e0778 8220658: Improve the readability of container information in the error log
Reviewed-by: dholmes, bobv
2019-03-21 04:55:20 -04:00
Christoph Langer
26358daaee 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-03-21 09:16:58 +01:00
David Holmes
762ce676b3 8221208: Backout JDK-8218446
Reviewed-by: iignatyev, rehn
2019-03-21 03:00:28 -04:00
David Holmes
87283a7568 8221180: Deprecate AllowJNIEnvProxy
Reviewed-by: coleenp, dcubed
2019-03-20 23:32:57 -04:00
Jesper Wilhelmsson
ce6818a60b Added tag jdk-13+13 for changeset 83cace4142c8 2019-03-21 01:49:27 +01:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
David Holmes
7bb74f80da 8218446: SuspendAtExit hangs
Reviewed-by: rehn, dcubed
2019-03-20 18:01:42 -04:00
Jesper Wilhelmsson
ea61da4d5f 8220389: Update Graal
Reviewed-by: kvn, dlong
2019-03-20 22:53:44 +01:00
Jesper Wilhelmsson
a8d038277d Merge 2019-03-20 17:28:29 +01:00
Jesper Wilhelmsson
94d9355a64 Added tag jdk-12-ga for changeset b67884871b5f 2019-03-20 17:13:08 +01:00
Zhengyu Gu
6881a91868 8220602: Shenandoah-SA: Enable best-effort implementation of heap walk
Reviewed-by: rkennke, cjplummer
2019-03-14 09:53:15 -04:00
Zhengyu Gu
5730a0413b 8221875: Unquarantine Shenandoah string dedup tests
Reviewed-by: rkennke
2019-04-02 16:36:00 -04:00
Igor Ignatyev
c115415af1 8221870: use driver to run CtwRunner in applications/ctw tests
Reviewed-by: shade, epavlova
2019-04-02 13:39:22 -07:00
Kim Barrett
e7e00f7ae0 8221102: Allow GC threads to participate in threads claiming protocol
Expand claim counter from 1bit to uintx, with rare overflow handling.

Reviewed-by: tschatzl, rkennke
2019-04-02 13:08:38 -04:00
Vladimir Kozlov
4269bb40ac 8221782: [Graal] Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.jdk.vm.ci.services
Reviewed-by: dlong, alanb, mullan
2019-04-02 09:45:52 -07:00
Roman Kennke
9acdfbd5b7 8221751: Shenandoah: Improve SATB enqueueing
Reviewed-by: shade
2019-04-02 18:13:42 +02:00
Erik Joelsson
e676e93536 8221762: Improve Main.gmk/FindTests.gmk bootstrap time
Reviewed-by: tbell
2019-04-02 08:19:36 -07:00
Aleksey Shipilev
bf33260958 8221824: Build failure with MSVS 2013 after JDK-8218418
Reviewed-by: stuefe, alanb
2019-04-02 17:10:09 +02:00
Severin Gehwolf
1f115c7f52 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
Reviewed-by: alanb, mchung, erikj, ihse
2019-03-14 14:04:39 +01:00
Andrew Dinn
2b55e4834e 8221696: MappedByteBuffer.force method to specify range
Overload MappedByteBuffer.force to accept index and length arguments

Reviewed-by: dfuchs, alanb, bpb
2019-04-25 17:27:37 +01:00
Daniel Fuchs
3103d346a7 8223632: Replace wildcard address with loopback or local host in tests - part 5
Replaces wildcard usage by loopback, when possible, adds intermittent keyword and a comment, when not.

Reviewed-by: chegar
2019-05-13 17:31:23 +01:00
Hannes Wallnöfer
4a59b995da 8219060: -linksource broken with modules
Reviewed-by: jjg
2019-05-13 16:43:47 +02:00
Thomas Stuefe
f891192100 8222015: Small VM.metaspace improvements
Reviewed-by: jiangli, coleenp
2019-04-05 11:52:32 +02:00
Arthur Eubanks
7913132367 8223667: ASAN build broken
Reviewed-by: erikj, manc
2019-05-10 17:47:42 -07:00
Jean Christophe Beyler
4e2ebd3937 8223040: Add a AsyncGetCallTrace test
Add a AsyncGetCallTrace test

Reviewed-by: sspitsyn, dcubed
2019-05-08 15:36:10 -07:00
Jonathan Gibbons
1772172053 8223654: Clean up @jls references in com.sun.source
Reviewed-by: darcy
2019-05-10 13:37:00 -07:00
Xue-Lei Andrew Fan
7aec6727ac 8221253: TLSv1.3 may generate TLSInnerPlainText longer than 2^14+1 bytes
Reviewed-by: jnimeh
2019-05-10 12:33:40 -07:00
Chihiro Ito
032fff8042 8221569: JFR tool produces incorrect output when both --categories and --events are specified
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Reviewed-by: mgronlun
2019-05-10 20:56:37 +02:00
Bob Vandette
1355621a42 8222533: jtreg test jdk/internal/platform/cgroup/TestCgroupMetrics.java fails on SLES12.3 linux ppc64le machine
Reviewed-by: mseledtsov, dholmes
2019-05-10 11:18:45 -04:00
Bob Vandette
11d3a2ce35 8221340: [TESTBUG] TestCgroupMetrics.java fails after fix for JDK-8219562
Reviewed-by: mseledtsov, rriggs
2019-05-10 11:15:34 -04:00
Doug Simon
8de6f58988 8223531: [Graal] assert(type() == T_INT) failed: type check
Reviewed-by: dlong, thartmann, never, kvn
2019-05-10 10:30:06 -07:00
Arthur Eubanks
eff53ce5e9 8223652: Rename IPSupport.skipIfCurrentConfigurationIsInvalid() to IPSupport.throwSkippedExceptionIfNonOperational()
Reviewed-by: dfuchs, chegar
2019-05-09 10:28:29 -07:00
Yasumasa Suenaga
a5c506b411 8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks
2019-05-11 01:17:18 +09:00
Aleksei Efimov
6ecf7ffbb1 8223465: Replace wildcard address with loopback or local host in tests - part 3
Reviewed-by: dfuchs
2019-05-10 15:34:17 +01:00
Coleen Phillimore
2559700d1f Merge 2019-05-10 09:07:53 -04:00
Coleen Phillimore
77d60eff6a 8223626: move print() functions to cpp files
Improve debugging experience

Reviewed-by: dholmes, dlong
2019-05-10 09:05:29 -04:00
Aleksey Shipilev
2b558f6054 8223675: arm32 build failure after 8223136 (Move compressed oops functions to CompressedOops class)
Reviewed-by: rkennke
2019-05-10 09:56:20 +02:00
Aleksey Shipilev
8d4c5623bf 8223676: Minimal VM build failure after 8223136 (Move compressed oops functions to CompressedOops class)
Reviewed-by: rkennke
2019-05-10 09:55:42 +02:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
819cde280c 8223623: Move oopFactory function definitions out of oopFactory.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:52 +02:00
Stefan Karlsson
2841f70585 8223622: Move Universe usage out of memAllocator.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
34c357ee6f 8223621: Move Universe usage out of oopRecorder.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
cd6079acdd 8223620: Move IsGCActiveMark implementation out of header
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
e321fd163d 8223619: Move VerifyOption out of Universe
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Ralf Schmelter
3928171ecf 8223617: code_size2 needs adjustments
Reviewed-by: mdoerr, simonis
2019-05-09 05:04:42 -07:00
Christoph Langer
2e3a2d3c83 8223555: Cleanups in cacerts tests
Reviewed-by: xuelei
2019-05-10 06:31:09 +01:00
Weijun Wang
31af27a1ee 8200400: Restrict Sasl mechanisms
Reviewed-by: mullan
2019-05-10 09:39:49 +08:00
Xin Liu
7c6a83fb27 8223537: testlibrary_tests/ctw/ClassesListTest.java fails with Agent timeout frequently
Reviewed-by: thartmann, kvn
2019-05-09 18:38:42 -07:00
David Holmes
796775c12a 8222292: runtime/exceptionMsgs/ArrayIndexOutOfBoundsException/ArrayIndexOutOfBoundsExceptionTest.java timeout but test passed
Reviewed-by: goetz, lfoltan, kvn
2019-05-09 18:42:07 -04:00
Gerard Ziemski
2767374bb7 8223639: [JVMCI] jvmciCompiler.cpp needs to include "oops/objArrayOop.inline.hpp""
Added missing header

Reviewed-by: dlong, kvn
2019-05-09 16:34:20 -05:00
Wang Haomin
4bf58d7d18 8223651: Build fails with --with-jvm-features=-jfr and --disable-precompiled-headers
Reviewed-by: shade
2019-05-10 01:41:45 +08:00
Wang Haomin
523fcccb78 8223599: minimal build fails after JDK-8185525
Reviewed-by: shade, gziemski, dholmes
2019-05-10 01:37:09 +08:00
Sean Mullan
10e5d0b854 8191808: Configurable read timeout for CRLs
Reviewed-by: xuelei, coffeys
2019-05-09 13:49:08 -04:00
Gerard Ziemski
22bf018812 8189208: Cleanup ancient argument processing code
Remove bits thread_park_blocker, post_vm_init_hook_enabled and pending_list_uses_discovered_fields

Reviewed-by: hseigel, dholmes
2019-05-09 12:04:20 -05:00
Andrew Haley
241444ed3f Merge 2019-05-09 12:56:15 -04:00
Andrew Haley
e034f80482 8223645: AArch64 build broken by fix for 8223136
Reviewed-by: stefank
2019-05-09 12:52:05 -04:00
Joe Wang
94f04de7bc 8222991: Xerces 2.12.0: Validation
Reviewed-by: lancea
2019-05-09 09:23:31 -07:00
Claes Redestad
5d1df35fe7 8223454: Reduce String concatenation shapes by folding initialLengthCoder into last mixer
Reviewed-by: jlaskey
2019-05-09 17:28:27 +02:00
Erik Joelsson
d8f7a41216 8223627: jdk-13+20 bundle name contains null instead of ea
Reviewed-by: dholmes, tbell
2019-05-09 07:33:28 -07:00
Vicente Romero
40155b14cd 8222251: preflow visitor is not visiting lambda expressions
Reviewed-by: mcimadamore
2019-05-09 10:04:33 -04:00
Daniel Fuchs
205fd87f2d 8223573: Replace wildcard address with loopback or local host in tests - part 4
Makes a few intermittently failing tests more resilient to port reuse issues by ensuring they bind to the loopback address instead of the wildcard.

Reviewed-by: alanb, chegar
2019-05-09 14:23:52 +01:00
Gary Adams
73227d0b83 8042215: javax/management/remote/mandatory/connection/ReconnectTest.java NoSuchObjectException no such object in table
Reviewed-by: dcubed
2019-05-09 07:21:32 -04:00
Jan Lahoda
55e1da1813 8221759: Crash when completing \"java.io.File.path\"
Do not provide documentation for inaccessible elements.

Reviewed-by: rfield
2019-05-09 11:58:26 +02:00
Pengfei Li
d2472e6dcd 8223427: [TESTBUG] Disable JTReg Shenandoah tests when Graal is enabled
Reviewed-by: shade
2019-05-08 09:50:23 +00:00
Jean Christophe Beyler
608a45ce68 8223441: HeapMonitorStatArrayCorrectnessTest fails due to sampling determinism
Added an error loop to help with convergence

Reviewed-by: cjplummer, sspitsyn
2019-05-08 20:28:56 -07:00
Jesper Wilhelmsson
7e4cb52719 Added tag jdk-13+20 for changeset 6ccc7cd7931e 2019-05-09 03:11:56 +02:00
Weijun Wang
2bf347445c 8222987: sun/security/tools/keytool/PSS.java times out on Solaris-SPARC
Reviewed-by: mullan, xuelei
2019-05-09 08:49:31 +08:00
Vladimir Kozlov
5c0fc93f30 8223380: [Graal] compiler/c2/Test8062950.java failed with time out
Put test on Graal problem list.

Reviewed-by: vlivanov
2019-05-08 16:47:53 -07:00
Vladimir Kozlov
534b6487f7 8223539: compiler/graalunit/HotspotTest.java hotspot.test.CheckGraalIntrinsics AssertionError: found plugins for intrinsics
Reviewed-by: vlivanov
2019-05-08 16:42:52 -07:00
Aleksey Shipilev
3b1bb3d2a7 8223589: Build failures after JDK-8223534 (add back fixed test_markOop.cpp)
Reviewed-by: coleenp
2019-05-08 23:53:24 +02:00
Matthias Baesken
08eae08a6b 8223307: enable the Stack Execution Disable flag for JDK binaries on AIX
Reviewed-by: erikj, mdoerr
2019-05-03 14:38:58 +02:00
Arthur Eubanks
0bb6328356 8220673: Add test library support for determining platform IP support
Reviewed-by: dfuchs, chegar
2019-04-16 13:06:23 -07:00
Naoto Sato
c709e1cbf0 8221432: Upgrade CLDR to Version 35.1
Reviewed-by: rriggs, srl
2019-05-08 12:45:02 -07:00
Aleksey Shipilev
20e31cd338 8223583: Build failure after JDK-8223567 (Rename ShenandoahBrooksPointer to ShenandoahForwarding)
Reviewed-by: rkennke
2019-05-08 21:32:38 +02:00
Ekaterina Pavlova
f126a4b3ee 8223414: ProblemList java/lang/ref/ReachabilityFenceTest.java when running in Graal as JIT mode
Reviewed-by: kvn
2019-05-08 11:56:19 -07:00
Roman Kennke
94e4724219 8223567: Rename ShenandoahBrooksPointer to ShenandoahForwarding
Reviewed-by: shade
2019-05-08 20:45:30 +02:00
Coleen Phillimore
0450eca4e7 8223534: add back fixed test_markOop.cpp
The test needed wait_with_safepoint_check in the main thread.

Reviewed-by: dcubed
2019-05-08 13:22:27 -04:00
Gerard Ziemski
d988e67b89 8185525: Add JFR event for DictionarySizes
Added TableStatistics event

Reviewed-by: egahlin, coleenp
2019-05-08 11:11:50 -05:00
Ao Qi
c5fc45ee08 8222926: Shenandoah build fails with --with-jvm-features=-compiler1
Reviewed-by: shade, rkennke
2019-05-08 20:57:12 +08:00
Vicente Romero
c98fb7d64b 8222949: add condy support to javac's pool API
Reviewed-by: mcimadamore
2019-05-08 10:10:54 -04:00
Harold Seigel
1de7140185 8217846: [Graal] vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java crash
Make sure the array calls's mirror was successfully created before putting the array class on its class loader data list

Reviewed-by: lfoltan, coleenp
2019-05-08 10:08:11 -04:00
Antonios Printezis
4539863cf1 8223397: gc+promotion log lines are missing the GC id
Reviewed-by: tschatzl, pliden
2019-05-08 09:38:58 -04:00
Rahul Raghavan
7197040cea 8223445: compiler/intrinsics/mathexact/LongMulOverflowTest.java java timeout
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation

Reviewed-by: kvn, thartmann
2019-05-08 18:05:28 +05:30
Aleksey Shipilev
2dede35a18 8223570: Shenandoah needs to acquire lock before CLDG::clear_claimed_marks
Reviewed-by: rkennke, tschatzl
2019-05-08 14:27:14 +02:00
Gary Adams
7d1fa2315e 8223416: Exclude javax/management/monitor/DerivedGaugeMonitorTest.java until JDK-8042211 is fixed
Reviewed-by: dcubed
2019-05-08 07:56:49 -04:00
Coleen Phillimore
dc2c1d3ba8 8223391: Unsynchronized iteration of ClassLoaderDataGraph
Lock in G1 before clear_claimed_marks

Reviewed-by: hseigel, lfoltan, tschatzl
2019-05-08 06:40:45 -04:00
Roman Kennke
40fddae1dc 8223244: Fix usage of ARRAYCOPY_DISJOINT decorator
Reviewed-by: eosterlund, shade
2019-05-08 11:59:14 +02:00
Alan Bateman
94d1d0d3d4 8223353: (ch) Change channel close implementation to not wait for I/O threads
Reviewed-by: dfuchs, chegar
2019-05-08 08:15:04 +01:00
Severin Gehwolf
6f30d04d76 8220579: [Containers] SubSystem.java out of sync with osContainer_linux.cpp
Reviewed-by: bobv, adinn
2019-03-13 20:07:54 +01:00
Per Lidén
d33d485682 8220601: ZGC: Delete ZNMethodTableEntry arrays using ZSafeDelete
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:41 +01:00
Per Lidén
e94d4e7fc9 8220600: ZGC: Delete ZPages using ZSafeDelete
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:41 +01:00
Per Lidén
98fa071300 8220599: ZGC: Introduce ZSafeDelete
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
4a83447db2 8220597: ZGC: Convert ZForwarding to use ZAttachedArray
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
8aa6e7538c 8220596: ZGC: Convert ZNMethodData to use ZAttachedArray
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
c62f53a576 8220595: ZGC: Introduce ZAttachedArray
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
dd412e66c5 8220594: ZGC: Remove superfluous ZPage::is_active()
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
cc4ae9ab95 8220593: ZGC: Remove superfluous ZPage::is_detached()
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
3f4dfa422c 8220592: ZGC: Move destruction of detached ZPages into ZPageAllocator
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:40 +01:00
Per Lidén
16a100d103 8220591: ZGC: Don't delay reclaimation of ZVirtualMemory
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
e7cfe60a32 8220590: ZGC: Remove ZPages from ZPageTable when freed
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
b29bc9f1da 8220589: ZGC: Remove superfluous ZPageTableEntry
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
0ce7c21d33 8220588: ZGC: Convert ZRelocationSet to hold ZForwardings instead of ZPages
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
5a079bf515 8220587: ZGC: Break out forwarding information from ZPage
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
547b2655d5 8220586: ZGC: Move relocation logic from ZPage to ZRelocate
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:39 +01:00
Per Lidén
3d4b0ea232 8220741: ZGC: Move CPU agnostic files from linux_x86 to linux
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:38 +01:00
Per Lidén
fbf62f0fb8 8220569: ZGC: Rename and rework ZUnmapBadViews to ZVerifyViews
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:38 +01:00
Chris Hegarty
8de73b3995 8220719: Allow other named NetPermissions to be used
Reviewed-by: mullan, alanb
2019-03-17 08:26:38 +00:00
Ivan Gerasimov
c07c8d3eea 8220684: Process.waitFor(long, TimeUnit) can return false for a process that exited within the timeout
Reviewed-by: prappo, dholmes, rriggs
2019-03-16 15:05:21 -07:00
Ivan Gerasimov
07b560a1a1 6307456: UnixFileSystem_md.c use of chmod() and access() should handle EINTR signal appropriately (unix)
Reviewed-by: bpb, dholmes, alanb
2019-03-16 13:44:30 -07:00
Alan Bateman
8743be63c4 8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Reviewed-by: chegar
2019-03-16 19:44:12 +00:00
Alan Bateman
c306e3f059 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Yasumasa Suenaga
1aa788a7b9 8220555: JFR tool shows potentially misleading message when it cannot access a file
Reviewed-by: egahlin, mseledtsov
2019-03-16 21:27:15 +09:00
Jesper Wilhelmsson
7eebb86d2b 8220745: Fix problemlist entry to refer to 8220613
Reviewed-by: dcubed
2019-03-16 02:08:10 +01:00
Brian Burkhalter
7211761cab 8219876: (bf) Improve IndexOutOfBoundsException messages in $Type$Buffer classes
Reviewed-by: alanb, rriggs
2019-03-15 16:24:07 -07:00
Coleen Phillimore
5c5089b0a2 8220512: Deoptimize redefinition functions that have dirty ICs
Walk ICs to determine whether nmethods are dependent on redefined classes.

Reviewed-by: sspitsyn, eosterlund
2019-03-15 16:00:18 -04:00
Jesper Wilhelmsson
f0b707b94b 8220704: ZGC: gc tests complain Java heap too small
Reviewed-by: iignatyev, tschatzl
2019-03-15 18:59:21 +01:00
Erik Joelsson
290bfe5f4c 8220093: Change to GCC 8.2 for building on Linux at Oracle
Reviewed-by: tbell
2019-03-15 09:13:31 -07:00
Chris Hegarty
030493e7e7 8213912: Semantic typo in HttpExchange.java
Reviewed-by: dfuchs
2019-03-15 14:54:27 +00:00
Chris Hegarty
d79c644852 8179549: Typo in network properties documentation
Reviewed-by: clanger, coffeys
2019-03-15 14:50:57 +00:00
Aleksey Shipilev
977992a07e 8220712: [TESTBUG] gc/shenandoah/compiler/TestMaybeNullUnsafeAccess should run with Shenandoah enabled
Reviewed-by: rkennke, roland
2019-03-15 13:01:30 +01:00
Gary Adams
b860b6bf89 8220678: unquarantine nsk/jdi/ThreadReference/setEnabled/setenabled003
Reviewed-by: cjplummer, sspitsyn
2019-03-15 06:16:39 -04:00
Tobias Hartmann
0b42c0728a 8220611: compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java timeout
Test should not be executed with Graal as JIT.

Reviewed-by: kvn
2019-03-15 08:27:13 +01:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Daniil Titov
a148e026a9 8218812: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/TestDescription.java failed
Reviewed-by: dlong, sspitsyn, jcbeyler
2019-03-14 16:28:31 -07:00
Igor Ignatyev
8d282e55e2 8220689: problem list RandomCommandsTest in graal runs
Reviewed-by: kvn
2019-03-14 16:17:42 -07:00
Jonathan Gibbons
c1523225aa 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-14 15:30:16 -07:00
Nick Gasson
6b79655b44 8219628: [TESTBUG] javadoc/doclet/InheritDocForUserTags fails with -othervm
Reviewed-by: jjg, clanger
2019-03-14 14:25:09 -07:00
Derek Thomson
d8497d254a 8219691: method summary table head should be enclosed in <thead>
Reviewed-by: jjg
2019-03-14 13:33:10 -07:00
Jonathan Gibbons
16e03611f6 Merge 2019-03-14 11:39:58 -07:00
Jonathan Gibbons
d3242724c9 8220379: Fix doclint handling of headings
Reviewed-by: erikj, jlahoda
2019-03-14 11:39:00 -07:00
Mikhailo Seledtsov
2b19cf94b2 8220676: [TESTBUG] ProblemList TestCPUSets until the test issue is resolved
Added the test to problem list

Reviewed-by: lfoltan
2019-03-14 11:26:53 -07:00
Claes Redestad
4bfd3db2e0 8220366: Optimize Symbol handling in ClassVerifier and SignatureStream
Reviewed-by: hseigel, coleenp, lfoltan
2019-03-14 18:56:25 +01:00
Liam Miller-Cushon
9635954e6e 8220644: Align required/found pairs in diagnostics
Reviewed-by: mcimadamore, jjg
2019-03-13 22:05:09 -07:00
Ichiroh Takiguchi
90d82c2f35 8220281: IBM-858 alias name is missing on IBM00858 charset
Add aliases into IBM charsets

Reviewed-by: naoto
2019-03-15 00:49:13 +09:00
Vikrant Agarwal
b8867e273e 8216353: Use utility APIs introduced in org/netbeans/jemmy/util/LookAndFeel class in client sanity test cases
Reviewed-by: serb
2019-03-13 00:51:28 -07:00
Vikrant Agarwal
6bd1eaf323 8219552: bump jtreg requiredVersion to b14 in test/jdk/sanity/client/
Reviewed-by: prr, iignatyev
2019-03-13 00:04:22 -07:00
Severin Gehwolf
73d7e8f86c 8217338: [Containers] Improve systemd slice memory limit support
Use hierachical memory limit in addition to memory_limits_in_bytes

Reviewed-by: bobv, dholmes
2019-03-12 10:43:27 +01:00
Stefan Karlsson
b1ae2d0bf1 8222550: runtime/MemberName/MemberNameLeak.java times out
Reviewed-by: coleenp, dholmes
2019-04-17 07:41:12 +02:00
Stefan Karlsson
23fe2d824b 8222713: Add OutputAnalyzer(Path) constructor
Reviewed-by: dholmes, coleenp
2019-04-18 09:27:28 +02:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Coleen Phillimore
733d251078 8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION
Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
2019-04-18 07:02:07 -04:00
Matthias Baesken
133401ac02 8222280: Provide virtualization related info in the hs_error file on AIX
Reviewed-by: clanger, mdoerr
2019-04-12 09:13:50 +02:00
Jesper Wilhelmsson
5a13a0ab41 Added tag jdk-13+17 for changeset 93b702d2a0cb 2019-04-18 02:45:02 +02:00
Jing Tian
f2766535db 8222444: Add a suggestion for non-US locale in the test doc
Reviewed-by: erikj
2019-04-17 13:18:29 -07:00
Brian Burkhalter
69ca2e9e27 8220477: Channels.newWriter() does not close if underlying channel throws an IOException
Reviewed-by: alanb
2019-04-17 08:12:19 -07:00
Maurizio Cimadamore
7b7f9a6fd3 8222289: Overhaul logic for reading/writing constant pool entries
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components

Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Erik Österlund
dce0c5c4ae 8219718: ZGC: Make nmethod entry barriers and nmethod::is_unloading use ZNMethodDataOops
Reviewed-by: pliden, stefank
2019-04-17 12:41:33 +02:00
Ralf Schmelter
11e6f439e0 8222491: jcmd can fail converting UTF8 output to strings
Reviewed-by: jcbeyler, clanger, dholmes
2019-04-15 06:41:02 -07:00
Christoph Langer
bdf5b6e337 8222627: Remove sneaky token 'Name' in jdk-version.m4
Reviewed-by: simonis
2019-04-17 10:31:05 +01:00
Nils Eliasson
82cc38398d 8218468: Load barrier slow path node should be MachTypeNode
Reviewed-by: shade, pliden, kvn
2019-04-17 09:54:37 +02:00
Robbin Ehn
b4fb17d63c 8222327: java_lang_Thread _thread_status_offset, remove pre 1.5 code paths
Reviewed-by: dholmes, redestad
2019-04-17 09:29:25 +02:00
Robbin Ehn
8552ad776a 8218147: make_walkable asserts on multiple calls
Reviewed-by: dholmes, dcubed
2019-04-17 09:25:27 +02:00
Priya Lakshmi Muthuswamy
a4a6c1714d 8220382: Cleanup doclet instantiation
Reviewed-by: jjg
2019-04-17 12:43:41 +05:30
Tobias Hartmann
6493a50643 8222418: compiler/arguments/TestScavengeRootsInCode.java times out
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation.

Reviewed-by: kvn, iignatyev
2019-04-17 08:15:09 +02:00
Tobias Hartmann
4f601b6ed6 8222417: compiler/loopopts/TestOverunrolling.java times out
Problem list the test with Graal because it uses -Xcomp in combination with -XX:-TieredCompilation.

Reviewed-by: kvn, iignatyev
2019-04-17 08:12:00 +02:00
Henry Jen
930f116ae7 Merge 2019-04-16 20:47:11 -07:00
Xue-Lei Andrew Fan
eb59ebb177 8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
2019-04-16 16:59:09 -07:00
Claes Redestad
781fb29580 8222484: Specialize generation of simple String concatenation expressions
Reviewed-by: jrose, jlaskey
2019-04-17 00:06:38 +02:00
Joe Wang
7d9e7e1e0b 8222415: Xerces 2.12.0: Parsing Configuration
Reviewed-by: lancea
2019-04-16 21:29:33 +00:00
Man Cao
440520aab0 8222510: Small cleanup for JDK launcher's make file
Reviewed-by: clanger, erikj
2019-04-15 18:37:18 -07:00
Hannes Wallnöfer
aba3b206cc 8222528: Fix javadoc headers in Nashorn sources
Reviewed-by: sundar
2019-04-16 18:22:13 +02:00
Christoph Langer
151be015b8 8222522: Add configure options for Mac Bundle creation
Reviewed-by: erikj
2019-04-16 17:15:57 +01:00
Coleen Phillimore
f5cb284275 8220743: [TESTBUG] Review Runtime tests recently migrated from JDK subdirs
Removed tests that will not find bugs in current code base.

Reviewed-by: lfoltan, hseigel
2019-04-16 10:01:20 -04:00
Priya Lakshmi Muthuswamy
2b048e0808 8222395: Refactor the abstract classes of package and module index writer
Reviewed-by: hannesw
2019-04-16 17:56:53 +05:30
Patrick Zhang
b9a4ede307 8222334: java -Xss0 triggers StackOverflowError
Launcher to use the stack size decided by hotpot or system if -Xss is 0

Reviewed-by: dholmes, alanb
2019-04-16 11:00:48 +00:00
Richard Reingruber
ced9f6cb77 8222271: [s390] optimize register usage in C2 instruction forms for clearing arrays
Reviewed-by: mdoerr, lucy
2019-04-16 08:51:01 +02:00
Henry Jen
da6f620059 Merge 2019-04-15 18:24:37 -07:00
Jinke Fan
7abe899912 8222387: Out-of-bounds access to CPU _family_id_xxx array
Reviewed-by: dholmes, kvn
2019-04-14 21:40:07 +00:00
Weijun Wang
6f032ffbb5 8222275: sun/security/tools/keytool/Serial64.java: assertTrue: expected true, was false
Reviewed-by: xuelei
2019-04-14 10:22:56 +08:00
Ekaterina Pavlova
894027aec4 8208066: compiler/graalunit/JttThreadsTest.java failed with org.junit.runners.model.TestTimedOutException: test timed out after 20 seconds
Reviewed-by: iignatyev
2019-04-12 14:13:31 -07:00
Zhengyu Gu
f37ec83209 8222419: Shenandoah: Remove unused _par_state_string in ShenandoahRootProcessor
Reviewed-by: rkennke
2019-04-12 16:30:19 -04:00
Mikhailo Seledtsov
66c817134f 8222299: [TESTBUG] move hotspot container tests to hotspot/containers
Moved the tests, updated relevant files

Reviewed-by: dholmes, iignatyev
2019-04-12 12:26:29 -07:00
Zhengyu Gu
dcc0a38e8a 8222403: Shenandoah: Remove ShenandoahAlwaysTrueClosure, use AlwaysTrueClosure instead
Reviewed-by: shade
2019-04-12 09:55:30 -04:00
Coleen Phillimore
cebdd53c0f 8222297: IRT_ENTRY/IRT_LEAF etc are the same as JRT
Replace IRT entry points with JRT.

Reviewed-by: lfoltan, dcubed
2019-04-12 09:30:17 -04:00
Zhengyu Gu
96545959e8 8222188: Shenandoah: Adjust Shenandoah work gang types
Reviewed-by: shade, rkennke
2019-04-12 07:51:47 -04:00
Weijun Wang
15aae2f622 8180573: Refactor sun/security/tools shell tests to plain java tests
Reviewed-by: rhalade, valeriep
2019-04-12 13:35:23 +08:00
Sergei Tsypanov
9d979eaf56 8222151: refactoring: enhancements to java.lang.Class::methodToString and java.lang.Class::getTypeName
Reviewed-by: darcy
2019-04-11 22:56:11 -04:00
Jinke Fan
d03cf75344 8222090: Add Hygon Dhyana processor support
Reviewed-by: kvn, dholmes, coleenp, rwestberg
2019-04-11 19:36:00 -04:00
Stuart Marks
528c411de7 8217405: rmic should reject class files with preview features enabled
Reviewed-by: lancea, alanb
2019-04-11 12:06:58 -07:00
Daniel D. Daugherty
a8e94de188 8222034: Thread-SMR functions should be updated to remove work around
Reviewed-by: mdoerr, eosterlund
2019-04-11 14:14:30 -04:00
Alexandre Iline
11c8caf157 8221857: Collect code coverage for a subset of code
Reviewed-by: erikj
2019-04-11 03:05:11 -08:00
Ao Qi
06e17e05a2 8222333: fastdebug build broken after JDK-8221393 (phase_mapping[] doesn't match enum Phase in WeakProcessorPhases)
Reviewed-by: zgu, shade
2019-04-11 19:09:45 +02:00
Jan Lahoda
28dd6d8496 8217047: Provide a way to inject missing parameter names
Adding a way to provide parameter names that are missing in the classfiles.

Reviewed-by: darcy, jjg
2019-04-11 17:55:18 +02:00
Christoph Langer
ab051f87d4 8221979: Cleanups for building Windows resources
Reviewed-by: erikj
2019-04-11 15:36:09 +01:00
Jan Lahoda
ae5972a204 8215407: javac should reject class files with bad EnclosingMethod attributes
Reject classfiles with broken EnclosingMethod attribute.

Reviewed-by: jjg
2019-04-11 14:49:04 +02:00
Stefan Karlsson
23f02171c8 8221393: ResolvedMethodTable too small for StackWalking applications
Reviewed-by: coleenp, rehn
2019-04-10 15:41:04 +02:00
Stefan Karlsson
52c427ae20 8221913: Add GC.selected() jtreg-ext function
Reviewed-by: kbarrett, pliden
2019-04-10 15:41:03 +02:00
Patrick Zhang
c6497e3f25 8163363: AArch64: Stack size in tools/launcher/Settings.java needs to be adjusted
Specify a proper min stack size input to -Xss for aarch64

Reviewed-by: aph
2019-04-09 18:46:51 +08:00
Joe Darcy
4a9f7612be 8222430: Add tests for ElementKind predicates
Reviewed-by: jjg
2019-04-15 16:05:46 -07:00
Joe Darcy
7d29dd2172 8222378: Provide mechanism to query preview feature status for annotation processors
Reviewed-by: jjg
2019-04-15 15:44:42 -07:00
Mikhailo Seledtsov
fe8f09d346 8222501: [TESTBUG] Docker support is always set to true in jtreg-ext/requires/VMProps.java
Restored prior code

Reviewed-by: dcubed
2019-04-15 12:35:29 -07:00
Mikhailo Seledtsov
072f45ed9c 8221711: [TESTBUG] create more tests for JFR in container environment
Added test cases for environment and network events

Reviewed-by: egahlin
2019-04-15 11:44:07 -07:00
Zhengyu Gu
826c03330b 8222425: Shenandoah: Move commonly used closures to separate files
Reviewed-by: shade
2019-04-15 13:07:06 -04:00
Zhengyu Gu
a652f593f2 8222490: Shenandoah: Remove unused _par_state_string in ShenandoahRootEvacuator
Reviewed-by: shade
2019-04-15 12:54:12 -04:00
Aleksey Shipilev
70b807c166 8222397: x86_32 tests with UseSHA1Intrinsics SEGV due to garbled registers
Reviewed-by: kvn, dsamersoff
2019-04-15 18:22:10 +02:00
Aleksey Shipilev
7fd0bca8f7 8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
Reviewed-by: alanb
2019-04-15 18:22:08 +02:00
Andrew Dinn
1c7d214f53 8221397: Support implementation-defined Map Modes
Allow implementation-defined extensions to FileChannel MapMode enum

Reviewed-by: alanb
2019-04-09 16:21:20 +01:00
Hannes Wallnöfer
4a477cabd8 8221644: jquery directory should be renamed
Reviewed-by: jjg
2019-04-15 15:38:47 +02:00
Martin Doerr
f2369e9748 8220625: tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"
Reviewed-by: clanger
2019-04-15 10:16:04 +02:00
Man Cao
c73580342f 8220388: Increase -inlinehint-threshold for Clang to avoid G1 pause time regression
Make Clang inline more aggressively for functions with inline keyword

Reviewed-by: erikj, jiangli, shade
2019-03-08 18:21:52 -08:00
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04:00
Sean Mullan
ed9eac2bb9 8036608: Key.getAlgorithm link to standard algorithm names needs to be updated
Reviewed-by: xuelei
2019-04-29 14:34:10 -04:00
Brian Burkhalter
daa6cc9267 8218280: LineNumberReader throws "Mark invalid" exception if CRLF straddles buffer
Reviewed-by: dfuchs, prappo
2019-04-29 07:39:16 -07:00
Fei Yang
fde854e037 8223020: aarch64: expand minI_rReg and maxI_rReg patterns into separate instructions
Reviewed-by: aph
2019-04-26 16:38:39 +08:00
Christoph Langer
1d7eb52dc1 8223015: Cleanups for zipfs tests
Reviewed-by: redestad, lancea
2019-04-29 10:27:44 +01:00
Tobias Hartmann
919b40be45 8221592: C2 compilation failed with assert(!q->is_MergeMem())
Transform the original MergeMem after transforming the slices to get rid of MergeMem inputs.

Reviewed-by: kvn, neliasso
2019-04-29 09:04:25 +02:00
Weijun Wang
21d50973d1 8223003: SunMSCAPI keys are not cleaned up
Reviewed-by: igerasim
2019-04-27 18:21:57 +08:00
Ao Qi
e6ace7be6f 8220813: update hotspot tier1_gc tests depending on GC to use @requires vm.gc.X
Reviewed-by: pliden, lmesnik
2019-04-26 11:33:32 -07:00
Vicente Romero
c748887332 8219487: j.l.c.ClassDesc spec should contain precise assertions for one parameter's methods
Reviewed-by: darcy, jlaskey
2019-04-26 12:49:51 -04:00
Naoto Sato
854c0539c4 8222980: Upgrade IANA Language Subtag Registry to Version 2019-04-03
Reviewed-by: bpb, lancea
2019-04-26 09:09:39 -07:00
Aleksei Voitylov
2a00db0b2e 8221988: add possibility to build with Visual Studio 2019
Reviewed-by: erikj, ysuenaga
2019-04-26 18:56:15 +03:00
Daniel Fuchs
72467d916c 8129315: java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
Tests are updated to use the loopback address instead of the wildcard to avoid traffic being routed to a different server than what was intended by the test.

Reviewed-by: chegar
2019-04-26 16:25:43 +01:00
Jesper Wilhelmsson
63c7f8d0a3 8223026: [BACKOUT] Typo in test/hotspot/jtreg/TEST.groups is causing test harness failures
Reviewed-by: dsimms
2019-04-26 12:35:26 +02:00
Per Lidén
bb5c98fe7a 8223016: ZGC: Fix misaligned statistics printout
Reviewed-by: tschatzl
2019-04-26 12:05:34 +02:00
Robbin Ehn
1814ecf475 8222637: Obsolete NeedsDeoptSuspend
Reviewed-by: dlong, coleenp, dholmes
2019-04-26 10:18:47 +02:00
Christoph Langer
f6382d9b88 8222440: (zipfs) JarFileSystem does not correctly handle versioned entries if no root entry is present
Reviewed-by: lancea
2019-04-26 08:53:29 +01:00
David Holmes
ded4f6b5cf 8222518: Remove unnecessary caching of Parker object in java.lang.Thread
Reviewed-by: dcubed, rehn
2019-04-26 00:57:03 -04:00
Joe Wang
f50047aa8e 8222743: Xerces 2.12.0: DOM Implementation
Reviewed-by: lancea
2019-04-25 15:54:21 -07:00
Arthur Eubanks
0465104af6 8222562: Don't set IPV6_V6ONLY when IPv4 is not available
Reviewed-by: dfuchs, chegar
2019-04-16 13:16:49 -07:00
David Holmes
6f8821cadc 8222970: Update ProblemList for vmTestbase/nsk/jdb/eval/eval001/eval001.java
Reviewed-by: gadams, dcubed, sspitsyn
2019-04-25 18:41:52 -04:00
Mikhailo Seledtsov
d81e2cc4fe 8222888: [TESTBUG] docker/TestJFREvents.java fails due to "RuntimeException: JAVA_MAIN_CLASS_ is not defined"
Introduced unique environment variable

Reviewed-by: egahlin, lmesnik, sgehwolf
2019-04-25 11:45:52 -07:00
Coleen Phillimore
508601bd9f 8222977: Fix shenandoah broken with JDK-8222811
Reviewed-by: dcubed, shade
2019-04-25 12:33:19 -04:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Rob McKenna
88303d1c60 8139965: Hang seen when using com.sun.jndi.ldap.search.replyQueueSize
Reviewed-by: dfuchs
2019-04-25 05:54:54 -07:00
Robin Westberg
37281369f0 8220795: Rework naked_short_nanosleep on Windows to improve time-to-safepoint
Reviewed-by: dholmes, rehn
2019-04-24 14:03:20 +02:00
Alan Bateman
2998236d83 8222774: (ch) Replace uses of stateLock and blockingLock with j.u.c. locks
Reviewed-by: dfuchs, bpb, martin
2019-04-25 10:41:49 +01:00
Hannes Wallnöfer
8322ce2e6b 8220497: Improve Javadoc search feature and add test coverage
Reviewed-by: jjg
2019-04-25 09:12:40 +02:00
Per Lidén
80240eb399 8222469: ZGC: Generalize ZPageCache::flush()
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Per Lidén
86808b9d47 8221786: ZGC: Increase max heap size to 16TB
Reviewed-by: stefank
2019-04-25 08:55:50 +02:00
Per Lidén
2accc59e60 8222462: Introduce CollectedHeap::unused()
Reviewed-by: stefank, eosterlund
2019-04-25 08:55:49 +02:00
Per Lidén
72491e961c 8222664: runtime/appcds/sharedStrings/SharedStringsStress.java assert GC active during NoGCVerifier
Reviewed-by: iklam, stefank
2019-04-25 08:55:49 +02:00
Jean Christophe Beyler
131bdfdff3 8222935: Fix ExceptionCheckingJniEnv system
Added missing tests and fixed the code

Reviewed-by: cjplummer, sspitsyn, amenkov
2019-04-24 19:51:38 -07:00
Jesper Wilhelmsson
e2cd7c8a70 Added tag jdk-13+18 for changeset bebb82ef3434 2019-04-25 02:23:27 +02:00
Jesper Wilhelmsson
f7a96018a7 8222952: Typo in test/hotspot/jtreg/TEST.groups is causing test harness failures
Reviewed-by: darcy
2019-04-25 02:14:22 +02:00
Martin Balao
11bb97a71c 8222805: sun/security/pkcs11/tls/tls12/TestTLS12.java fails with Unsupported signature algorithm: rsa_pss_rsae_sha256
Reviewed-by: mullan, xuelei
2019-04-24 16:25:41 -03:00
Jonathan Gibbons
761466699c 8222669: Create and use new html.Entity class
Reviewed-by: hannesw
2019-04-24 11:26:44 -07:00
Daniel D. Daugherty
baf1349a2f 8222295: more baseline cleanups from Async Monitor Deflation project
Reviewed-by: coleenp, acorn, dholmes
2019-04-24 10:20:25 -04:00
Claes Redestad
ad207e278d 8222532: (zipfs) Performance regression when writing ZipFileSystem entries in parallel
Reviewed-by: lancea, clanger, alanb
2019-04-24 15:37:55 +02:00
Harold Seigel
ef40115621 8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
Make the options diagnostic and add -XX:+UnlockDiagnosticVMOptions to tests where needed.

Reviewed-by: lfoltan, acorn, dholmes
2019-04-24 08:27:00 -04:00
Aleksey Shipilev
b440ac2586 8222838: Shenandoah: SEGV on accessing cset bitmap for NULL ptr
Reviewed-by: rkennke
2019-04-24 11:40:04 +02:00
Aleksey Shipilev
6af2184d4b 8222843: Print Shenandoah cset map addresses in hs_err
Reviewed-by: rkennke
2019-04-24 11:39:56 +02:00
Fei Yang
055a822a06 8222785: aarch64: add necessary masking for immediate shift counts
Reviewed-by: aph
2019-04-20 15:55:07 +08:00
Yasumasa Suenaga
c576c3c3f5 8219566: JFR did not collect call stacks when MaxJavaStackTraceDepth is set to zero
Reviewed-by: egahlin, mgronlun
2019-04-24 17:09:24 +09:00
Joe Darcy
17466b5a51 8222817: Refactor printing processor to use streams
Reviewed-by: jjg
2019-04-23 14:56:39 -07:00
Jesper Wilhelmsson
75db2f7df9 8221598: Update Graal
Reviewed-by: kvn
2019-04-23 22:55:09 +02:00
Lois Foltan
57aaf7a8cd 8218994: Consolidate indy and condy JVM information within a BootstrapInfo data structure
Introduce BootstrapInfo data structure and merge invocation of a bootstrap method for condy and indy into invoke_bootstrap_method.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: acorn, coleenp
2019-04-23 14:09:54 -04:00
Jean Christophe Beyler
fd3378a73e 8213501: Deploy ExceptionJniWrapper for a few tests
Add more tests to be using the wrapper

Reviewed-by: phh, amenkov, sspitsyn, dholmes, cjplummer
2019-04-23 08:11:38 -07:00
Hannes Wallnöfer
41f9c9cafa 8222526: Use of no longer existing jquery directory in script.js
Reviewed-by: jjg
2019-04-23 16:50:17 +02:00
Claes Redestad
5b2d4559b1 8215017: Improve String::equals warmup characteristics
Reviewed-by: jlaskey
2019-04-11 14:56:52 +02:00
Priya Lakshmi Muthuswamy
d0788ec07f 8219998: Eliminate inherently singleton lists
Reviewed-by: jjg
2019-04-23 18:28:48 +05:30
Lois Foltan
4f2478e234 8222502: Replace 19,20 case alternatives with JVM_CONSTANT_Module/Package names
Add JVM_CONSTANT_Module and JVM_CONSTANT_Package to classfile_constants.h

Reviewed-by: coleenp, hseigel
2019-04-23 07:05:38 -04:00
Ron Shapiro
5bb53d6b8a 8220378: Unused Names constants
Reviewed-by: jjg, mcimadamore
2019-03-08 09:58:56 -08:00
Brian Burkhalter
e9cb99cbe4 8220614: (bf) Buffer absolute slice methods should use Objects.checkFromIndexSize()
Reviewed-by: alanb, igerasim, rriggs
2019-03-14 09:43:18 -07:00
Jean Christophe Beyler
818df25a3b 8220628: Move the HeapMonitor library to C++
Migrate libHeapMonitorTest.c to libHeapMonitorTest.cpp

Reviewed-by: cjplummer, sspitsyn
2019-03-14 09:35:45 -07:00
Gary Adams
5ea96c5f29 8218166: com/sun/jdi/SimulResumerTest.java failure
Reviewed-by: dlong, jcbeyler
2019-03-14 10:58:53 -04:00
Lance Andersen
90f196bb73 8220252: Fix Headings in java.naming
Reviewed-by: dfuchs
2019-03-14 10:50:35 -04:00
Claes Redestad
23e0276cc9 8220502: Inefficient pre-sizing of PhiResolverState arrays in c1_LIRGenerator
Reviewed-by: thartmann, kvn
2019-03-14 15:31:13 +01:00
Harold Seigel
cace9d1c8e 8219579: Remove redundant signature parsing from the verifier
Change verifier signature checking into asserts because ClassFileParser checks signatures for files being verified.

Reviewed-by: lfoltan, coleenp, redestad, dholmes
2019-03-14 09:38:17 -04:00
Jamil Nimeh
9785630af6 8219775: Certificate validation improvements
Reviewed-by: ascarpino, ssahoo, skoivu
2019-03-07 22:19:12 -08:00
Martin Balao
ae9ee277b6 8218854: FontMetrics.getMaxAdvance may be less than the maximum FontMetrics.charWidth
Consider algorithmic bold in FontMetrics.getMaxAdvance value and update obliqueness.

Reviewed-by: prr, serb
2019-03-01 12:21:23 -03:00
Sergey Bylokhov
f690eda707 8219504: Test for JDK-8211435 can be run on all platforms
Reviewed-by: kaddepalli, dmarkov, sveerabhadra
2019-03-09 14:48:17 -08:00
Prasanta Sadhukhan
00d6c3e825 8215396: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb
2019-03-08 14:07:10 +05:30
Krishna Addepalli
f4831978d1 8218674: HTML Tooltip with "img=src" on component doesn't show
Reviewed-by: serb, psadhukhan
2019-03-07 12:51:02 +05:30
Pankaj Bansal
7fb758afe9 8214112: The whole text in target JPasswordField image are not selected
Reviewed-by: serb, psadhukhan
2019-03-05 14:03:21 +05:30
Pankaj Bansal
eee5106f39 8214253: Tooltip is transparent rather than having a black background
Reviewed-by: serb, psadhukhan
2019-03-05 13:09:15 +05:30
Sergey Bylokhov
996ee174b3 8061381: [macosx] Accelerators does not spelled for JMenuItems by Voice Over
Reviewed-by: prr, kaddepalli
2019-03-04 01:44:41 -08:00
Phil Race
46c0ea0234 8210782: Upgrade HarfBuzz to the latest 2.3.1
Reviewed-by: serb, ihse, erikj
2019-03-01 16:59:19 -08:00
Sergey Bylokhov
b5998aadf0 8213110: Remove the use of applets in automatic tests
Reviewed-by: prr
2019-02-27 18:46:55 -08:00
Phil Race
e735fe2fc4 Merge 2019-02-27 14:30:08 -08:00
Xue-Lei Andrew Fan
e06d193456 8218863: Better endpoint checks
Reviewed-by: ahgross, jnimeh, mullan, rhalade
2019-02-27 13:58:04 -08:00
Joe Darcy
fbc614712d 8218726: Minor Throwable.printStackTrace() typos
Reviewed-by: bpb
2019-02-27 12:19:29 -08:00
Valerie Peng
aafd279510 Merge 2019-02-27 19:40:18 +00:00
Valerie Peng
67ca52873f 8183107: PKCS11 regression regarding checkKeySize
Changed key size check in PKCS11 provider to only enforce positive return values

Reviewed-by: jnimeh
2019-02-27 19:37:51 +00:00
Joe Darcy
7325fc6351 8219805: Cross-link javax.lang.model.{type, element} packages to utility interfaces
Reviewed-by: vromero
2019-02-27 11:33:57 -08:00
Prasanta Sadhukhan
7564253938 Merge 2019-02-27 14:48:22 +05:30
Prasanta Sadhukhan
7af48cfb45 Merge 2019-02-27 14:45:17 +05:30
Jie Fu
66ba3bb30a 8219814: Help-info for pns(...) on Linux/mips lost
Reviewed-by: aoqi, shade
2019-02-27 10:03:22 +01:00
Prasanta Sadhukhan
3981041086 Merge 2019-02-27 13:53:41 +05:30
Dmitry Markov
d98bc090d7 8214109: XToolkit is not correctly displayed color on 16-bit high color setting
Reviewed-by: serb, prr
2019-02-26 18:12:06 +00:00
Gauri Patil
2234278bed 8211322: Reduce the timeout of tooltip in SwingSet2DemoTest
Reviewed-by: serb, shurailine
2019-02-26 03:24:34 -08:00
Matthias Baesken
46dbe3820b 8219630: cleanup hotspot ostream.cpp
Reviewed-by: clanger, dholmes, stuefe
2019-02-26 09:57:11 +01:00
Valerie Peng
4295e17b28 8218780: Update MUSCLE PCSC-Lite header files
Update the PCSC-lite header files to 1.8.24 release

Reviewed-by: coffeys
2019-02-27 02:49:52 +00:00
Alex Menkov
f16ddb2c3d 8181383: com/sun/jdi/OptionTest.java fails intermittently with bind failed: Address already in use
Reviewed-by: sspitsyn, cjplummer
2019-02-26 15:29:08 -08:00
Prasanta Sadhukhan
11bb82baca Merge 2019-02-26 11:17:12 +05:30
Prasanta Sadhukhan
f3c10c8049 8213781: web page background renders blue in JEditorPane
4895924: Strings in format #rgb not handled by Color.decode() (affects CSS / Swing)

Reviewed-by: serb, sveerabhadra
2019-02-26 11:08:07 +05:30
Chris Plummer
b0eedd125f 8219143: jdb should support breakpoint thread filters
Add thread filter to stop command.

Reviewed-by: sspitsyn, amenkov
2019-02-25 18:54:40 -08:00
Fei Yang
847ba6becb 8219698: aarch64: SIGILL triggered when specifying unsupported hardware features
Reviewed-by: aph
2019-02-26 10:52:31 +08:00
Amy Lu
e568d2abd0 8219802: Problem list java/net/MulticastSocket/SetGetNetworkInterfaceTest.java
Reviewed-by: chegar, clanger
2019-02-27 18:58:29 +08:00
Dmitry Chuyko
b818234d2a 8215009: GCC 8 compilation error in libjli
Reviewed-by: dholmes, mikael, rriggs
2019-02-27 13:13:15 +03:00
Mikael Vidstedt
ab5cedabe1 8219675: Disable harfbuzz warnings with gcc 8
Reviewed-by: erikj, prr
2019-02-25 16:05:06 -08:00
John Jiang
e4fd3054fc 8215524: Finished message validation failure should be decrypt_error alert
Reviewed-by: xuelei
2019-02-26 07:26:29 +08:00
Joe Darcy
1610706716 8219561: Update jdeprscan to avoid the need for start-of-release changes
Reviewed-by: dfuchs, lancea, smarks
2019-02-25 14:45:29 -08:00
Mikhailo Seledtsov
8813c391df 8219553: [TESTBUG] Problem list JFR TestPeriod test
Problem listed the test

Reviewed-by: egahlin
2019-02-25 08:16:20 -08:00
Severin Gehwolf
77832350f1 8219585: [TESTBUG] sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java passes trivially when it shouldn't
Reviewed-by: dfuchs, sballal
2019-02-25 15:41:24 +01:00
Stefan Karlsson
2370adc703 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
Stefan Karlsson
3796014d86 8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots
Reviewed-by: sspitsyn, ehelin
2019-03-14 09:14:20 +01:00
Stefan Karlsson
b9cf9e7ca4 8220411: Remove ScavengeRootsInCode=0 code
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
Roland Westrelin
3ec1137c1f 8220374: C2: LoopStripMining doesn't strip as expected
Reviewed-by: rkennke, thartmann, mdoerr
2019-03-12 15:42:32 +01:00
Martin Doerr
e7a75dc62a 8220660: [s390]: debug build broken after JDK-8220301
Reviewed-by: shade
2019-03-14 12:30:57 +01:00
Patrick Zhang
2f7b5f59e2 8220566: AArch64: Set default vm features for Ampere eMAG CPUs
Set defaults for vendor specific features

Reviewed-by: adinn
2019-03-12 11:49:52 +08:00
Chris Hegarty
b34264403a 8220598: Malformed copyright year range in a few files in java.base
Reviewed-by: dfuchs, lancea, rriggs, weijun
2019-03-14 09:10:56 +00:00
Liam Miller-Cushon
0720686823 8193277: SimpleFileObject inconsistency between getName and getShortName
Reviewed-by: jjg
2019-03-05 12:01:04 -08:00
Liam Miller-Cushon
ab3f5e3e15 8220634: SymLinkArchiveTest should handle not being able to create symlinks
Reviewed-by: jjg
2019-03-13 17:26:21 -07:00
Jesper Wilhelmsson
cd289e8386 Added tag jdk-13+12 for changeset 1d7aec80147a 2019-03-14 04:10:10 +01:00
Chris Plummer
6fd9b75e55 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle
Don't delete globalrefs that might still be referenced

Reviewed-by: gadams, jcbeyler, sspitsyn
2019-03-13 19:42:23 -07:00
Thomas Schatzl
687596a858 8220345: Use appropriate type for G1RemSetScanState::IsDirtyRegionState
Reviewed-by: kbarrett, lkorinth
2019-03-13 21:01:56 +01:00
Thomas Schatzl
ece7e8a2a1 8220301: Remove jbyte use in CardTable
Use CardTable::CardValue aliased to uint8_t instead.

Reviewed-by: kbarrett, shade
2019-03-13 21:01:56 +01:00
Ekaterina Pavlova
4df6db5e3f 8219882: [AOT] Develop regression test for 8218859
Reviewed-by: kvn
2019-03-13 12:30:20 -07:00
Daniel Fuchs
5f13ffec66 8219197: ThreadGroup.enumerate() may return wrong value
ThreadGroup.enumerate(list,n,recurse) should never return a value that is less than n.

Reviewed-by: clanger, chegar, prappo
2019-03-13 18:43:16 +00:00
Brian Burkhalter
a54066705f 8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
Reviewed-by: alanb, rriggs
2019-03-13 11:12:22 -07:00
Lance Andersen
c79a1838e7 8220253: Fix Headings in java.sql.rowset
Reviewed-by: darcy
2019-03-13 14:10:18 -04:00
Jiangli Zhou
b53d13d8db Merge 2019-03-13 10:37:30 -07:00
Zhengyu Gu
f8d4cd94cb 8220546: Shenandoah Reports timing details for weak root processing
Reviewed-by: rkennke
2019-03-13 13:33:50 -04:00
Claes Redestad
1bfa5cee8c 8220496: Race in java_lang_String::length() when deduplicating
Reviewed-by: rkennke, pliden
2019-03-13 17:32:17 +01:00
Arthur Eubanks
8c5313aa79 8220585: Incorrect code in MulticastSocket sample code
Sample code shows that String.length() can be passed to a DatagramPacket along with String.getBytes(), but is incorrect for non-ASCII Strings.

Reviewed-by: martin, chegar
2019-03-13 09:12:38 -07:00
Nils Eliasson
1057f7e2a7 8219517: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Reviewed-by: kvn, thartmann
2019-03-13 15:22:28 +01:00
Brian Burkhalter
b5783d5055 6504660: HPI panic callback is dead code
Reviewed-by: dcubed, cjplummer, redestad
2019-03-13 07:16:57 -07:00
Xue-Lei Andrew Fan
42cb9bf51a 8160247: Mark deprecated javax.security.cert APIs with forRemoval=true
Reviewed-by: weijun
2019-03-13 07:14:50 -07:00
Chris Hegarty
d845c397ea 8220475: Malformed copyright header in LinuxSocketOptions.java, MacOSXSocketOptions.java and MacOSXSocketOptions.c
Reviewed-by: alanb, dfuchs
2019-03-13 12:25:42 +00:00
Toshio Nakamura
aa5aa46fb0 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Adjusting to detect translated Unknown messages

Reviewed-by: naoto
2019-03-13 13:05:37 +09:00
Chris Hegarty
bcdbc436ec 8220480: Typo in java.net.http.HttpResponse.BodySubscriber documentation
Reviewed-by: alanb
2019-03-13 12:02:04 +00:00
Per Lidén
a0847b0416 8219634: ZGC: Rename ZAddressRangeMap to ZGranuleMap
Reviewed-by: eosterlund, stefank
2019-03-13 11:31:00 +01:00
Per Lidén
6d4374b876 8219633: ZGC: Rename ZPageSizeMin to ZGranuleSize
Reviewed-by: eosterlund, stefank
2019-03-13 11:31:00 +01:00
Per Lidén
c6917cc27e 8219817: Remove unused CollectedHeap::block_size()
Reviewed-by: shade, stefank
2019-03-13 11:31:00 +01:00
Per Lidén
304dca18b5 8219816: Add IsArray/RemoveExtent type traits utilities
Reviewed-by: kbarrett, eosterlund
2019-03-13 11:31:00 +01:00
Christoph Langer
c9591787fa 8220504: Move definition of JAVA_VERSION_INFO_RESOURCE to Launcher-java.base.gmk
Reviewed-by: erikj
2019-03-13 11:08:00 +01:00
Ao Qi
176e37f082 8170639: [Linux] jsig is limited to a maximum of 64 signals
Reviewed-by: dholmes, iklam
2019-03-13 00:48:52 -04:00
Valerie Peng
8ac55e2a99 8220258: fix headings in java.smartcardio
Replace h3 with h2

Reviewed-by: ascarpino
2019-03-13 02:48:09 +00:00
Weijun Wang
ad4637e0ba 8220256: fix headings in java.security.sasl
Reviewed-by: mullan
2019-03-13 09:05:43 +08:00
Daniil Titov
aff762c368 8220244: vmTestbase/nsk/jvmti/scenarios/sampling/SP06/sp06t003 hasn't been un-problemlisted
Reviewed-by: dlong
2019-03-12 17:55:17 -07:00
Arthur Eubanks
ef9ce3be1e 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.

Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Sean Mullan
677aaed765 8159525: Add @FunctionalInterface annotation to PrivilegedAction and PrivilegedExceptionAction
Reviewed-by: clanger
2019-02-25 08:25:23 -05:00
Patrick Zhang
57c2735dd0 8219635: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield
Reviewed-by: aph
2019-02-25 18:50:29 +08:00
Philipp Kunz
24af91dc02 8219548: Better Null paramenter checking in ToolProvider
Reviewed-by: lancea, alanb, jjg
2019-02-26 13:14:26 -05:00
Jini George
8b01c4b53d 8214756: SA should ignore archived java heap objects that are not in use
Ignore objects, the associated classes of which are unloaded while walking the heap to create a heapdump

Reviewed-by: jiangli, redestad
2019-02-25 13:50:32 +05:30
Shashidhara Veerabhadraiah
d644970c02 8212202: [Windows] Exception if no printers are installed
Reviewed-by: prr
2019-02-25 11:02:53 +05:30
Shashidhara Veerabhadraiah
c373740319 8213071: [macos] The focus disappears after pressing return to close the "That was a pretty good movie!" dialog
Reviewed-by: serb
2019-02-21 12:27:39 +05:30
Shashidhara Veerabhadraiah
6c275b343a 8190361: Incorrect version info in jaccessinspector.exe and jaccesswalker.exe
Reviewed-by: prr, mhalder
2019-02-21 11:10:35 +05:30
Prasanta Sadhukhan
0b13339d0c 8219156: RTFEditorKit writes background color but doesn't read
Reviewed-by: serb
2019-02-21 10:33:24 +05:30
Jesper Wilhelmsson
6f24f8aad6 Added tag jdk-12+33 for changeset b67884871b5f 2019-02-21 01:04:46 +01:00
Sandhya Viswanathan
9dae227e4f 8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits
Fix wrong CPU feature bits set

Reviewed-by: kvn, neliasso
2019-02-19 08:25:11 -08:00
Andrew M Leonard
cd9fb366a5 8219378: Ensure ReflectionFactory.langReflectAccess is initialized correctly
Reviewed-by: rriggs, alanb, mchung
2019-02-19 16:13:05 +00:00
Eric Caspole
24ef3fd98f 8219664: LogCompilation: java.lang.Error: Unexpected method mismatch during late inlining
Set lateInlining=true in task endElement

Reviewed-by: vlivanov, kvn
2019-02-26 10:39:28 -05:00
Coleen Phillimore
2a83596e85 8181171: Deleting method for RedefineClasses breaks ResolvedMethodName
8210457: JVM crash in ResolvedMethodTable::add_method(Handle)

Add a function to call NSME in ResolvedMethodTable to replace deleted methods.

Reviewed-by: sspitsyn, dholmes, dcubed
2019-02-26 08:01:20 -05:00
Prasanta Sadhukhan
493a77061f Merge 2019-02-19 11:52:19 +05:30
Kim Barrett
47ca2c4300 8214363: HeapWord should not be a fake class
Change HeapWord and MetaWord to be pointers to incomplete types.

Reviewed-by: tschatzl, mikael, coleenp, pliden
2019-02-18 16:34:46 -05:00
Igor Ignatyev
b3873c9b3a 8219157: vm/mlvm/mixed/stress/java/findDeadlock should be problem-listed only on mac
Reviewed-by: thartmann
2019-02-18 09:31:07 -08:00
Matthias Baesken
4de51069e4 8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
2019-02-18 16:17:48 +01:00
David Holmes
1d5674ab33 8208278: [mlvm] [TESTBUG] vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test Deadlocked threads are not always detected
Reviewed-by: iignatyev
2019-02-24 16:10:52 -05:00
Vicente Romero
4d368850e1 8219480: j.l.c.ClassDesc::arrayType(int rank) throws IllegalArgumentException if rank = 0
Reviewed-by: mchung, briangoetz
2019-02-23 19:41:53 -05:00
Aleksey Shipilev
3d6795e0e3 8219583: Windows build failure after JDK-8214777 (Avoid some GCC 8.X strncpy() errors in HotSpot)
Reviewed-by: kbarrett, mikael
2019-02-23 10:55:45 +01:00
Mikael Vidstedt
1f65a934c0 8219611: Remove superfluous sigfillset code
Reviewed-by: dholmes
2019-02-22 18:54:23 -08:00
Igor Ignatyev
db21ab11f7 8209807: improve handling exception in requires.VMProps
Reviewed-by: vlivanov, mseledtsov
2019-02-22 14:39:57 -08:00
Stefan Karlsson
17777a7680 8219571: ProblemList serviceability/sa/TestJmapCoreMetaspace.java
Reviewed-by: iignatyev
2019-02-22 20:42:01 +01:00
Coleen Phillimore
351280bbb8 8078725: method adjustments can be done just once for all classes involved into redefinition
Walk all classes at the end of redefinition and adjust method entries and clean MethodData

Reviewed-by: sspitsyn
2019-02-22 13:56:08 -05:00
Igor Ignatyev
b88c7ac223 8219158: use 'test.root' property instead of traversing test-src path
Reviewed-by: dholmes
2019-02-22 11:07:18 -08:00
Brian Burkhalter
24c70fcf88 8048192: (bf) Out of direct buffer memory message should include the limits
Reviewed-by: alanb, rriggs
2019-02-22 10:13:34 -08:00
Brian Burkhalter
b24f8ba2ec 8011135: (bf) CharBuffer.put(String) is slow because of String.charAt() call for each char
Reviewed-by: alanb, redestad
2019-02-22 10:13:33 -08:00
Igor Ignatyev
98ebd2bc9e 8219417: bump jtreg requiredVersion to b14
Reviewed-by: alanb, dholmes
2019-02-22 09:47:00 -08:00
Aleksey Shipilev
8360a7884d 8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
2019-02-22 17:54:13 +01:00
Claes Redestad
c97af8c3f7 8219554: Redundant lookup_common in SymbolTable::add
Reviewed-by: iklam, coleenp, mikael
2019-02-22 16:41:01 +01:00
Boris Ulasevich
504562b3a4 8217647: JFR: recordings on 32-bit systems unreadable
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: egahlin
2019-02-22 17:30:07 +03:00
Priya Lakshmi Muthuswamy
2c2ca43c15 8219575: jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet test fails in mach5
Reviewed-by: hannesw
2019-02-22 19:58:22 +05:30
Robbin Ehn
74d466fd5f 8219436: Safepoint logs correction and misc
Reviewed-by: mdoerr, coleenp
2019-02-22 14:20:06 +01:00
Stefan Karlsson
2133bed090 8219469: ZGC: Extract functions out from ZNMethodTable into new ZNMethod class
Reviewed-by: pliden
2019-02-21 14:24:44 +01:00
Stefan Karlsson
8fec4b7f85 8219468: ZGC: Extract iteration functionality into a new ZNMethodTableIteration class
Reviewed-by: pliden
2019-02-20 12:04:12 +01:00
Stefan Karlsson
a7707862a9 8219467: ZGC: Move ZNMethodData to its own file
Reviewed-by: pliden
2019-02-20 11:42:49 +01:00
Stefan Karlsson
858c007cf8 8219466: ZGC: Extract allocation functionality into a new ZNMethodAllocator class
Reviewed-by: pliden
2019-02-20 11:39:36 +01:00
Stefan Karlsson
2895d5534d 8219464: ZGC: Move nmethod oop properties from ZNMethodTableEntry to ZNMethodData
Reviewed-by: pliden
2019-02-20 10:47:03 +01:00
Stefan Karlsson
7c5141a048 8219573: Add NMethodClosure
Reviewed-by: pliden, eosterlund
2019-02-21 13:20:34 +01:00
Stefan Karlsson
b0383a247d 8219463: ZGC: Remove redundant ZNMethodTable::_iter_lock
Reviewed-by: pliden
2019-02-20 10:46:39 +01:00
Stefan Karlsson
45f74c8c95 8219462: ZGC: Use wait/notify in ZNMethodTable
Reviewed-by: pliden
2019-02-19 13:47:45 +01:00
Claes Redestad
33d947b7e3 8219247: Enable inlining of newly introduced PlatformMonitor methods
Reviewed-by: dholmes, rehn
2019-02-22 09:23:37 +01:00
Priya Lakshmi Muthuswamy
151e628a8e 8215584: Remove support for the "old" doclet API in com/sun/javadoc
Reviewed-by: jjg, hannesw
2019-02-22 11:10:55 +05:30
Ioi Lam
d06f3e7e28 8218751: Do not store original classfiles inside the CDS archive
Remove the OD shared region and decode classfiles on the fly

Reviewed-by: jiangli, ccheung, sspitsyn, redestad
2019-02-21 17:07:35 -08:00
Jonathan Gibbons
b7ed42eedd 8219558: jdk/javadoc tests fail with missing headings: h1
Reviewed-by: darcy
2019-02-21 17:50:27 -08:00
Mikael Vidstedt
15d554b395 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
Jonathan Gibbons
46666a2d94 8216170: java.lang.IllegalArgumentException: directories not supported
Reviewed-by: hannesw
2019-02-21 15:17:42 -08:00
Jonathan Gibbons
4aafd7b06e 8219497: Unused parameter in HtmlDocletWriter::printHtmlDocument
Reviewed-by: hannesw
2019-02-21 15:05:47 -08:00
Jonathan Gibbons
fa0093dc2c 8215307: Pages do not have <h1>
Reviewed-by: hannesw
2019-02-21 14:03:57 -08:00
Joe Darcy
bf2d27c5a4 8219254: Update explicit uses of latest source/target in langtools tests to a property
8219256: Update javac diags tests to use properties

Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: jjg, jlahoda, darcy, iignatyev
2019-02-21 10:29:16 -08:00
Naoto Sato
86e513bd48 8218960: CONFIG level logging statements printed in CLDRCalendarDataProviderImpl.java even when default log Level is INFO
Reviewed-by: nishjain, rriggs
2019-02-21 10:26:56 -08:00
Daniel Fuchs
e58a4da301 8216363: NullPointerException in java.util.logging.Handler#isLoggable
The implementation is changed to match the spec: isLoggable(null) returns false.

Reviewed-by: mchung, lancea
2019-02-21 16:57:47 +00:00
Roland Westrelin
7fd7a118da 8219335: "failed: unexpected type" assert failure in ConnectionGraph::split_unique_types() with unsafe accesses
Reviewed-by: thartmann, kvn
2019-02-18 17:41:31 +01:00
Coleen Phillimore
e84f0388f5 8153413: Exceptions::_throw always logs exceptions, penalizing performance
Construct exception string into Event message directly add if (log_is_enabled) for logging.

Reviewed-by: ysuenaga, dholmes
2019-02-21 09:21:21 -05:00
Aleksey Shipilev
ace0b7a803 8219524: Shenandoah misreports "committed" size in MemoryMXBean
Reviewed-by: rkennke, zgu
2019-02-21 15:52:42 +01:00
Jesper Wilhelmsson
6d2bd408e6 Merge 2019-02-21 14:16:44 +01:00
Yasumasa Suenaga
a38277e67b 8219414: SA: jhsdb jsnap throws UnmappedAddressException with core generated by gcore
Reviewed-by: cjplummer, jgeorge
2019-02-21 21:02:39 +09:00
Gary Adams
4aac63bb93 8219388: Misleading log message "issuspended002a debuggee launched"
Reviewed-by: cjplummer, phh
2019-02-21 05:06:41 -05:00
Roman Kennke
55f23fea5c 8219486: Missing reg_mask_init() breaks x86_32 build
Reviewed-by: vlivanov, dlong
2019-02-21 09:48:07 +01:00
Matthias Baesken
4f60b8d9e2 8219460: ppc: adjust NativeGeneralJump::insert_unconditional to stack allocated MacroAssembler
Reviewed-by: mdoerr
2019-02-20 17:29:30 +01:00
Priya Lakshmi Muthuswamy
dcf38e3cfe 8213354: Support package-specific stylesheets
Reviewed-by: jjg
2019-02-21 11:26:39 +05:30
Xue-Lei Andrew Fan
e6f6863cbc 8168069: X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions
Reviewed-by: mullan
2019-02-20 18:46:30 -08:00
David Holmes
e2054e3c5d 8217765: Internal Error (javaCalls.cpp:61) guarantee(thread->can_call_java()) failed
Reviewed-by: rehn, redestad, coleenp
2019-02-20 19:41:43 -05:00
Jonathan Gibbons
431b49663a 8218998: Add metadata to generated API documentation files
Reviewed-by: hannesw
2019-02-20 16:15:02 -08:00
Jesper Wilhelmsson
b578cf83c9 Added tag jdk-13+9 for changeset c081f3ea6b93 2019-02-21 01:06:53 +01:00
Harold Seigel
16e0979680 8218995: Deprecate the -XX:FailOverToOldVerifier option
Deprecate the option and change affected tests so that they no longer need the option.

Reviewed-by: dholmes, lfoltan
2019-02-20 16:20:53 -05:00
Igor Ignatyev
4128d63287 8219476: cleanup hotspot ProblemList
Reviewed-by: jwilhelm
2019-02-20 11:51:23 -08:00
Paul Hohensee
dc3c7b480d Merge 2019-02-20 11:43:59 -08:00
Lin Zang
6f5c009756 8215622: Add dump to file support for jmap –histo
Add "file=" to jmap "histo" jmap, Hotspot support in attachListener.cpp:heap_inspection.

Reviewed-by: phh, sspitsyn
2019-02-20 11:36:02 -08:00
Igor Ignatyev
6559dfbda0 8219395: integrate gcov w/ run-test
Reviewed-by: erikj
2019-02-20 11:32:53 -08:00
Valerie Peng
9d263d4bc1 8216597: SIGBUS in Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo after JDK-6913047
Changed variable declaration type to byte* from long* to fix SIGBUS error

Reviewed-by: ascarpino
2019-02-20 19:16:45 +00:00
Brian Burkhalter
315b7d0399 5029431: (bf) Add absolute bulk put and get methods
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
Harold Seigel
2ee61b353b Merge 2019-02-20 13:24:57 -05:00
Harold Seigel
dd7e50dc01 8214719: Deprecate -Xverify:none option
Deprecate -Xverify:none and -noverify and remove them from tests

Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Xue-Lei Andrew Fan
1d7db01371 8219389: Delegated task created by SSLEngine throws BufferUnderflowException
Reviewed-by: ascarpino
2019-02-20 10:20:48 -08:00
Mikael Vidstedt
ea42bbcd24 8219142: Remove unused JIMAGE_ResourcePath
Reviewed-by: dholmes, alanb
2019-02-20 09:43:01 -08:00
Roman Kennke
96e4678510 8203232: Shenandoah: Resolve oops in SATB filter
Reviewed-by: shade
2019-02-20 16:29:29 +01:00
Zhengyu Gu
2cc6f5951c 8219370: NMT: Move synchronization primitives from mtInternal to mtSynchronizer
Reviewed-by: dholmes, rehn
2019-02-20 10:22:46 -05:00
Robbin Ehn
2e8fc8328a 8219441: test_logMessageTest missing static storage
Reviewed-by: shade
2019-02-20 14:44:58 +01:00
Zhengyu Gu
50316d7164 8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread
Reviewed-by: coleenp, minqi
2019-02-20 08:31:40 -05:00
Thomas Schatzl
eaab45a8b8 8219096: Merge print_termination_stats code with current logging
Reviewed-by: lkorinth, kbarrett
2019-02-20 14:30:33 +01:00
Harold Seigel
f4ac0a2e0f 8167548: [TESTBUG] Logging tests put log files in source tree
Create log files in temp directory, instead of cwd.

Reviewed-by: coleenp, dholmes
2019-02-20 08:10:40 -05:00
Per Lidén
865c33112c 8218767: ZGC: Do not assume that r12 is a special register in C2
Reviewed-by: eosterlund, rkennke
2019-02-20 13:43:28 +01:00
Per Lidén
3df5e4fabb 8219332: ZGC: Improve ZRootsIteratorClosure abstraction
Reviewed-by: stefank
2019-02-20 13:43:02 +01:00
Per Lidén
92f19f92bb 8219331: ZGC: Unify TLAB retire/remap handling
Reviewed-by: stefank
2019-02-20 13:43:01 +01:00
Roman Kennke
28590e9343 8217909: Make unused r12 register (without compressed oops) available to regalloc in C2
Reviewed-by: adinn, dlong, neliasso
2019-02-20 13:01:57 +01:00
Jan Lahoda
7f06697644 8218287: jshell tool: input behavior unstable after 12-ea+24 on Windows
Ensure correct wrapping of input on Windows.

Reviewed-by: rfield
2019-02-20 11:11:38 +01:00
Thomas Schatzl
708b339eb4 8219098: Make output of region strings more regular in error messages
Error messages should use the HR_PARAMS/HR_FORMAT_PARAMS macros to print information about HeapRegions.

Reviewed-by: kbarrett, lkorinth
2019-02-20 10:48:36 +01:00
Claes Redestad
dbdfbb518f 8219229: Make ConstantPool::tag_at and release_tag_at_put inlineable
Reviewed-by: dholmes, coleenp
2019-02-20 09:53:28 +01:00
Matthias Baesken
d9463e629e 8218965: aix: support xlclang++ in the compiler detection
Reviewed-by: ihse, mdoerr
2019-02-19 09:02:28 +01:00
Igor Ignatyev
8679b085ce 8219132: switch to jtreg4.2-b14
Reviewed-by: erikj
2019-02-19 19:27:08 -08:00
Erik Joelsson
22fe6edc6c 8219394: Missing FIXPATH in microbenchmark test runner
Reviewed-by: redestad
2019-02-19 14:25:52 -08:00
Jorn Vernee
67c2e382d3 8219393: Add native library support for microbenchmarks
Reviewed-by: erikj
2019-02-19 23:02:41 +01:00
Igor Ignatyev
272869390e 8219391: extend gcov support to llvm/clang
Reviewed-by: erikj
2019-02-19 13:51:11 -08:00
Brian Burkhalter
47ccdad735 8065262: (bf spec) CharBuffer.chars() should make it clearer that the sequence starts from the buffer position
Reviewed-by: alanb, darcy, rriggs
2019-02-19 13:05:16 -08:00
Erik Joelsson
67df8f228c 8218135: Redo: Add ppc64le and s390x profiles to jib-profiles.js
Reviewed-by: ihse
2019-02-19 12:46:22 -08:00
Erik Joelsson
4f45b5f973 8217032: Check pandoc capabilities in configure
Reviewed-by: mikael, ihse
2019-02-19 12:44:56 -08:00
Erik Joelsson
0a976502a7 8211016: make images does not update jdk/lib/src.zip with latest changes
Reviewed-by: ihse
2019-02-19 12:43:10 -08:00
Erik Joelsson
4281bf2e38 8219129: Allow overriding of license files in legal dir
Reviewed-by: ihse
2019-02-19 12:40:44 -08:00
Chris Plummer
c296f4ae0d 8218947: jdb threads command should print threadID in decimal, not hex
Print objectIDs in decimal.

Reviewed-by: sspitsyn, dholmes, jcbeyler
2019-02-19 12:05:43 -08:00
Jesper Wilhelmsson
196d73c4ef Merge 2019-02-19 19:04:55 +01:00
Zhengyu Gu
87e7f97d7d 8219368: Quarantine runtime/NMT/CheckForProperDetailStackTrace.java test
Reviewed-by: dcubed
2019-02-19 12:50:09 -05:00
Ivan Gerasimov
145c79b8c9 4887513: Typo in RMIFailureHandler interface doc page
Co-authored-by: Andrey Turbanov <turbanoff@gmail.com>
Reviewed-by: dfuchs
2019-02-19 09:06:44 -08:00
Tobias Hartmann
3cf788ab73 8219232: Unit of concurrent active time logging is wrong
Changed value from seconds to milliseconds.

Reviewed-by: shade
2019-02-18 15:33:43 +01:00
Arno Zeller
7252ba2762 8219228: java/util/Base64/TestEncodingDecodingLength.java failing on 8GB test machine
Reviewed-by: clanger, rriggs, nishjain, mbaesken
2019-02-18 12:52:55 +01:00
Thomas Schatzl
9e563f9a08 8219097: Move comment about using weak code blobs closure for code root scanning to correct place
Reviewed-by: kbarrett
2019-02-19 12:56:02 +01:00
Thomas Schatzl
8b5d08be9f 8218920: Scan HCC should be on the same level as Update RS etc. in the log
Reviewed-by: lkorinth, kbarrett
2019-02-19 12:56:02 +01:00
Thomas Schatzl
a3b6a825bc 8218672: AOT code root scanning shows in the wrong position in the logs
Reviewed-by: lkorinth, kbarrett
2019-02-19 12:56:00 +01:00
Stefan Karlsson
bbbcf986ea 8218978: SA: Enable more ZGC testing
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:53 +01:00
Stefan Karlsson
e9af7c1561 8218970: SA: Enable HeapHprofBinWriter for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:44 +01:00
Stefan Karlsson
f7e7180ff4 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:28 +01:00
Stefan Karlsson
f9dfc701c8 8219003: SA: Refactor live regions iteration in preparation for JDK-8218922
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:03:41 +01:00
Stefan Karlsson
a5ec26c681 8218746: SA: Implement discontiguous bitmap for ZGC
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:03:29 +01:00
Stefan Karlsson
fc881dd8fe 8218743: SA: Add support for large bitmaps
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:02:54 +01:00
Stefan Karlsson
5f5c6362d9 8218734: SA: Incorrect and raw loads of OopHandles
Reviewed-by: eosterlund, coleenp, jgeorge
2019-02-19 10:02:42 +01:00
Stefan Karlsson
797122c227 8218733: SA: CollectedHeap provides broken implementation for used() and capacity()
Reviewed-by: shade, jgeorge, eosterlund
2019-02-19 10:02:00 +01:00
Stefan Karlsson
ec54717960 8218732: SA: Resolves ZPageAllocator::_physical incorrectly
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:01:50 +01:00
Stefan Karlsson
e79488cc1b 8218731: SA: Use concrete class the as return type of VMObjectFactory.newObject
Reviewed-by: eosterlund
2019-02-19 10:00:51 +01:00
Martin Doerr
56969820d8 8218991: s390: Add intrinsic for GHASH algorithm
Reviewed-by: lucy, simonis
2019-02-18 12:16:02 +01:00
Leo Korinth
b09dfdbc01 8217389: JTREG: Clean up, remove unused variable warnings
Reviewed-by: lmesnik, tschatzl
2019-02-18 12:08:08 +01:00
Leo Korinth
3d13ab6882 8217385: JTREG: Clean up, make sure to close resources
Reviewed-by: tschatzl, sangheki
2019-02-18 10:48:48 +01:00
Matthias Baesken
b6987a91a3 8219112: name_and_sig_as_C_string usages in frame_s390 miss ResourceMark
Reviewed-by: shade, lucy
2019-02-18 09:38:43 +01:00
Tobias Hartmann
799c9a66fd 8218721: C1's CEE optimization produces safepoint poll with invalid debug information
Bail out of CEE if one of the gotos is a safepoint but the if is not.

Reviewed-by: vlivanov, mdoerr
2019-02-19 08:58:55 +01:00
Prasanta Sadhukhan
a3af92bab2 Merge 2019-02-18 10:45:21 +05:30
Ichiroh Takiguchi
60613c5fbc 8212678: Windows IME related patch
Reviewed-by: serb, naoto
2019-02-17 15:15:30 -08:00
Aleksey Shipilev
7a86bc1c4f 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-02-16 21:15:33 +01:00
Yasumasa Suenaga
fcf50f8419 8204551: Event descriptions are truncated in logs
Reviewed-by: coleenp, coleenp
2019-02-16 11:40:34 +09:00
Semyon Sadetsky
5aca7ef823 8218473: JOptionPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:06:25 -08:00
Semyon Sadetsky
b86f3e750e 8218479: JTextPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:01:16 -08:00
Martin Balao
d6bec9017e 8219011: Implement MacroAssembler::warn method on AArch64
Reviewed-by: adinn
2019-02-15 11:46:15 -03:00
Chris Plummer
e4dc17c354 8218941: jdb should support a dbgtrace command that acts the same as the dbgtrace command line option
Added dbgtrace command.

Reviewed-by: sspitsyn, amenkov, gadams
2019-02-15 12:33:11 -08:00
Doug Lea
ff97b60fde 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
bb6d423ab8 8215363: needless signals in ForkJoinPool
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
a7ab4d7bd3 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
Doug Lea
012c399c26 8195057: java/util/concurrent/CountDownLatch/Basic.java failed w/ Xcomp
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Andrew Haley
4ac9278539 8219006: AArch64: Register corruption in slow subtype check
Reviewed-by: adinn
2019-02-15 12:10:12 -05:00
Coleen Phillimore
d869d9287f 8218851: JVM crash in custom classloader stress test, JDK 12 & 13
Handle NULL and unloaded constraint class in loader constraint table, also cope with unloaded but not cleaned out klass in loader constraint entries.

Reviewed-by: hseigel, huntch, stuefe
2019-02-15 08:21:08 -05:00
Robbin Ehn
bec8431683 8203469: Faster safepoints
Reviewed-by: dcubed, pchilanomate, dholmes, acorn, coleenp, eosterlund
2019-02-15 14:15:10 +01:00
Harold Seigel
66aa45649a 8079353: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java failed on Windows when getting disjoint instead of zero based coops
On Windows, don't run sub-tests that can be affected by ASLR.

Reviewed-by: coleenp, mseledtsov
2019-02-15 07:53:03 -05:00
Jan Lahoda
68d32a9a8a 8217381: Incovenient errors reported when annotation processor generates source file and errors in the same round
When an annotation processor reports and error, defer reporting recoverable errors from the erroneous round to the last round, to avoid reporting errors that were resolved in the erroneous round.

Reviewed-by: jjg
2019-02-15 12:09:53 +01:00
Gary Adams
8c4106ff56 8219002: Some comments and error messages refer to VMDisconnectException
Reviewed-by: cjplummer, sspitsyn
2019-02-15 05:32:36 -05:00
Pankaj Bansal
73d2181d56 8218469: JSlider display issue with slider for GTKLookAndFeel
8218470: JScrollBar display issue with GTKLookAndFeel
8218472: JProgressBar display issue with GTKLookAndFeel
8203627: Swing applications with JRadioButton and JCheckbox fail to render correctly when using GTK3 and the GTK L&F

Reviewed-by: serb, prr
2019-02-15 10:58:57 +05:30
Alexey Ivanov
72f1f20605 8218682: [TEST_BUG] DashOffset fails in mach5
8198411: [TEST_BUG] Two java2d tests are unstable in mach5

Skip testing VolatileImage if IndexColorModel is detected

Reviewed-by: prr, serb
2019-02-14 20:20:49 +00:00
Patric Hedlin
0e29b78bd1 8214947: Assertion error in test: StringCompressInflateTest
Reviewed-by: kvn, neliasso
2019-02-14 14:59:17 +01:00
Wang Haomin
7d6d661328 8219074: [TESTBUG] runtime/containers/docker/TestCPUAwareness.java typo of printing parameters (period should be shares)
Reviewed-by: iignatyev, dholmes
2019-02-15 04:12:18 -05:00
Igor Ignatyev
8512c3117d 8218471: generate-unsafe-access-tests.sh does not correctly invoke build.tools.spp.Spp
Reviewed-by: kvn, thartmann
2019-02-14 23:45:03 -08:00
David Holmes
34fe424afb 8218939: vm/mlvm/anonloader/stress/byteMutation crashed on windows
Reviewed-by: kbarrett, coleenp, mikael, iignatyev
2019-02-14 22:57:37 -05:00
Vladimir Ivanov
d41611ebeb 8161334: C2: Cast nodes hinder memory alias analysis
Reviewed-by: kvn, thartmann
2019-02-14 15:27:46 -08:00
Vladimir Ivanov
40c61cce4b 8218874: C2: Unsafe to access PhaseIdealLoop outside of constructors
Reviewed-by: thartmann, kvn
2019-02-14 15:27:12 -08:00
Vladimir Ivanov
521039cc35 8218879: Keep track of memory accesses originated from Unsafe
Reviewed-by: thartmann
2019-02-14 15:27:12 -08:00
Vladimir Ivanov
992f8f87ad 8218758: [TESTBUG] compiler/cha/StrengthReduceInterfaceCall.java misses recompilation event
Reviewed-by: iignatyev
2019-02-14 15:27:12 -08:00
Vladimir Ivanov
f53dfaf5ab 8218881: C2: StaticFinalFieldPrinter doesn't handle T_ARRAY values in T_OBJECT fields
Reviewed-by: thartmann, kvn, neliasso
2019-02-14 15:27:12 -08:00
Mikael Vidstedt
d55784deb0 8218935: Make jfr strncpy uses GCC 8.x friendly
Reviewed-by: clanger
2019-02-14 15:17:03 -08:00
Mikael Vidstedt
aeaad9c910 8218937: Make mlvmJvmtiUtils strncpy uses GCC 8.x friendly
Reviewed-by: iignatyev
2019-02-14 15:12:17 -08:00
Igor Ignatyev
b1fe43947a 8209455: [error-prone] JdkObsolete in jdk.management.agent
Reviewed-by: alanb, jcbeyler
2019-02-14 14:40:11 -08:00
Xue-Lei Andrew Fan
2ca0a6689e 4919790: Errors in alert ssl message does not reflect the actual certificate status
Reviewed-by: mullan
2019-02-14 14:19:29 -08:00
Nils Eliasson
75e9d0a290 8224675: Late GC barrier insertion for ZGC
Reviewed-by: roland, eosterlund, pliden
2019-02-14 14:54:05 +01:00
Jan Lahoda
b34b2d993c 8223305: Compiler support for Switch Expressions
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02:00
Joe Darcy
c569ad302a 8042748: Clarify exception thrown by ParameterizedTypeImpl.validateConstructorArguments()
Reviewed-by: lancea
2019-06-09 15:48:57 -07:00
Joe Darcy
de1584263d 8181869: getAnnotatedParameterTypes%G​%@() specification should be clarified
Reviewed-by: lancea
2019-06-09 15:21:43 -07:00
Lance Andersen
000df1402b 8225322: Broken links in java.sql
Reviewed-by: darcy, jjg
2019-06-09 05:56:46 -04:00
Erik Gahlin
96a1333c77 8216064: -XX:StartFlightRecording:settings= doesn't work properly
Reviewed-by: mgronlun
2019-06-09 11:28:13 +02:00
Igor Ignatyev
f2f26ca775 8149040: Cleanup compiler/jsr292/NonInlinedCall tests after JDK-8148994
Reviewed-by: kvn, thartmann
2019-06-07 21:35:26 -07:00
Jonathan Gibbons
c6783a9362 8224257: fix issues in files generated by pandoc
Reviewed-by: mchung
2019-06-07 16:38:42 -07:00
Sandhya Viswanathan
7d3e1081a9 8224234: compiler/codegen/TestCharVect2.java fails in test_mulc
Reviewed-by: vlivanov, thartmann
2019-06-07 15:35:32 -07:00
Dean Long
c18ffd6a79 8223050: JVMCI: findUniqueConcreteMethod() should not use Dependencies::find_unique_concrete_method() for non-virtual methods
Reviewed-by: kvn, dnsimon
2019-06-07 18:11:33 -04:00
Jonathan Gibbons
e27ad50eb0 8224257: fix issues in files generated by pandoc
Reviewed-by: mchung
2019-06-07 14:32:48 -07:00
Calvin Cheung
d0725682a8 8224497: Remove FIXME in metaspaceClosure.cpp
Also cleaned up some comment and code related to the od (optional data) region.

Reviewed-by: iklam, jiangli
2019-06-07 14:03:17 -07:00
Vladimir Kozlov
12bb59fb63 8225350: compiler/jvmci/compilerToVM/IsCompilableTest.java timed out
Reviewed-by: iignatyev
2019-06-07 13:57:08 -07:00
Leonid Mesnik
8c40b77cd8 8225388: Running jcmd Compiler.CodeHeap_Analytics all 0 cause crash
Reviewed-by: thartmann, sspitsyn
2019-06-07 12:26:50 -07:00
Tom Rodriguez
38204f9c65 8209626: [JVMCI] Use implicit exception table for dispatch and printing
Reviewed-by: kvn
2019-06-07 10:26:21 -07:00
Abdul Kolarkunnu
b1adb7965e 8218599: Add test group jdk_client_sanity under jdk_desktop group
Reviewed-by: serb, prr
2019-02-13 22:40:08 -08:00
Jesper Wilhelmsson
75ed38eaaf Added tag jdk-12+32 for changeset 4ce47bc1fb92 2019-02-14 01:22:07 +01:00
Goetz Lindenmaier
29021027db 8219095: [testbug] Add @key headful to com/sun/java/swing/plaf/windows/AltFocusIssueTest.java
Reviewed-by: prr, serb
2019-02-13 13:27:17 +01:00
Severin Gehwolf
15ec4ba5c6 8218913: Rename --strip-debug jlink plugin
Reviewed-by: alanb, mchung
2019-02-13 12:01:09 +01:00
Erik Österlund
c044650295 8219638: ZGC: Free ZNMethodDataOops under a lock
Reviewed-by: pliden
2019-02-26 11:38:07 +01:00
Erik Österlund
c1250e0816 8218974: Free GC native structures in nmethod::flush
Reviewed-by: pliden
2019-02-26 11:36:00 +01:00
Nishit Jain
30b074d93c 8209175: Handle 'B' character introduced in CLDR 33 JDK update for Burmese (my) locale
Reviewed-by: naoto, rriggs
2019-02-26 14:57:23 +05:30
Ralf Schmelter
24be06441a 8219577: Returning NULL in a function which returns bools
Reviewed-by: shade, zgu, clanger
2019-02-22 04:59:12 -08:00
Dmitry Chuyko
1020cb0ef3 8215130: Fix errors in LittleCMS 2.9 reported by GCC 8
Reviewed-by: prr
2019-02-08 16:37:35 +03:00
Alexey Ivanov
3fe6276adb 8217263: Automate DashOffset test
Reviewed-by: prr, serb
2019-02-07 13:57:12 +00:00
Sean Mullan
44b9ab02fe 8216381: More limited privilege usage
Reviewed-by: ahgross, coffeys, rhalade
2019-02-07 08:47:10 -05:00
Prasanta Sadhukhan
c77145785f Merge 2019-02-07 12:16:41 +05:30
Roger Riggs
8d6e8618a9 8218453: More dynamic RMI interactions
Reviewed-by: ahgross, skoivu, smarks
2019-02-06 11:39:57 -05:00
Manajit Halder
b59452ea82 8207938: At step6,Click Add button,case failed automatically
Reviewed-by: kaddepalli, psadhukhan
2019-02-06 17:28:37 +05:30
Sergey Bylokhov
07b29f5f43 8216592: Removal of the class sun.awt.AWTSecurityManager
Reviewed-by: prr
2019-02-05 14:54:06 -08:00
Man Cao
a75f826ea8 8218192: Remove copy constructor for MemRegion
Remove copy constructor in memRegion.hpp

Reviewed-by: tschatzl, kbarrett
2019-02-05 08:20:09 -08:00
Thomas Stuefe
39ba0f09a9 8183004: Remove code related to gtest death tests from assert macro
Reviewed-by: shade, kbarrett, iignatyev
2019-02-14 19:48:57 +01:00
Joe Wang
08a370a8a5 8187697: Cleanup: irrelevant code in OutputPropertiesFactory
Reviewed-by: lancea
2019-02-14 09:38:19 -08:00
Srinivas Dama
37169f4bbc 8201544: Improve javac command line parsing and error reporting
Modified exception into an error message for invalid filenames on windows

Reviewed-by: vromero, jjg
2019-02-14 21:52:39 +05:30
Jonathan Gibbons
904bb0919f 8218944: Fix failed for JDK-8218936
Reviewed-by: jwilhelm
2019-02-14 07:41:54 -08:00
Patric Hedlin
48cb2d94e7 8217289: compiler/graalunit/HotspotTest.java failed with InvalidInstalledCodeException
Reviewed-by: thartmann, neliasso
2019-02-13 14:42:20 +01:00
Nils Eliasson
0a5047a326 8087128: C2: Disallow definition split on MachCopySpill nodes
Reviewed-by: kvn
2019-02-14 14:31:32 +01:00
Claes Redestad
29fc9b0f0e 8216360: Deprecate -XX:CompilationPolicyChoice
Reviewed-by: thartmann, kvn
2019-02-14 12:54:56 +01:00
Claes Redestad
560928deee 8218753: Obsolete nonproduct flag ProfilerCheckIntervals
Reviewed-by: dholmes, coleenp
2019-02-14 11:33:45 +01:00
Jesper Wilhelmsson
038a979040 Added tag jdk-13+8 for changeset a535ba736cab 2019-02-14 01:25:04 +01:00
Jonathan Gibbons
831b315ca2 8218936: Test fails in Internet environment
Reviewed-by: mchung
2019-02-13 17:18:56 -08:00
Kim Barrett
d2c690e80b 8218089: Rename DirtyCardQueue et al to follow usual G1 naming conventions
Move files and rename classes.

Reviewed-by: tschatzl, lkorinth
2019-02-13 17:38:14 -05:00
Lois Foltan
9631b06423 8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Removed the unused method_type field associated with the appendix field of an indy or method handle call.

Reviewed-by: acorn, coleenp, dlong
2019-02-13 15:50:08 -05:00
Pavel Rappo
6f7a08d666 8213431: Improve file protocol handling
Reviewed-by: chegar, dfuchs, igerasim, rhalade, weijun
2019-01-30 14:14:57 +00:00
Weijun Wang
2dc4bfe056 8217563: Improve realm maintenance
Reviewed-by: mullan, mschoene, valeriep
2019-01-30 10:51:50 +08:00
Chihiro Ito
df9591f47d 8216565: Specifying the same path creates a new directory in JFR.configure
Reviewed-by: ysuenaga, egahlin
2019-01-26 15:47:50 +09:00
Claes Redestad
52f9024232 8230768: Arrays of SoftReferences in MethodTypeForm should not be @Stable
Reviewed-by: mchung
2019-09-19 23:38:50 +02:00
Stefan Karlsson
2f67784a45 8230759: ZGC: Fix integer types
Reviewed-by: pliden
2019-09-11 09:47:42 +02:00
Stefan Karlsson
557f13e994 8230758: ZGC: Add missing precompiled include and fix friend declaration
Reviewed-by: tschatzl, pliden
2019-09-10 17:07:02 +02:00
Stefan Karlsson
3c93f5cf18 8230756: ZGC: Remove redundant memset in ZStatValue
Reviewed-by: tschatzl, pliden
2019-09-10 17:07:02 +02:00
Brian Burkhalter
2a1a2b9ae1 8231149: (fs) Small verbiage errors in java.nio.file package documentation
Reviewed-by: lancea, alanb
2019-09-19 12:01:36 -07:00
Aleksey Shipilev
7a02f30492 8231244: Shenandoah: all-roots heap walking misses some weak roots
Reviewed-by: zgu, rkennke
2019-09-19 20:26:53 +02:00
Aleksey Shipilev
289c30bdbc 8231198: Shenandoah: heap walking should visit all roots most of the time
Reviewed-by: zgu, rkennke
2019-09-19 20:26:52 +02:00
Aleksey Shipilev
f925696a0c 8231197: Shenandoah: JVMTI heap walking cleanup crashes with NULL forwardee
Reviewed-by: zgu, rkennke
2019-09-19 20:26:51 +02:00
Joe Wang
c52603204d 8230814: Enable SAX ContentHandler to handle XML Declaration
Reviewed-by: lancea, dfuchs, alanb
2019-09-19 16:53:17 +00:00
Per Lidén
b053f09769 8231113: Remove CollectedHeap::check_oop_location()
Reviewed-by: stefank, eosterlund, tschatzl
2019-09-19 16:05:47 +02:00
Robbin Ehn
35a9f6864a 8226705: [REDO] Deoptimize with handshakes
Reviewed-by: eosterlund, dcubed, dlong, pchilanomate
2019-09-19 10:52:22 +02:00
Aleksey Shipilev
336b741b1c 8231201: hs_err should print coalesced safepoint operations in Events section
Reviewed-by: phh, dholmes
2019-09-19 09:50:11 +02:00
Jesper Wilhelmsson
da5728af52 Added tag jdk-14+15 for changeset 778fc2dcbdaa 2019-09-19 00:19:18 -07:00
Daniel D. Daugherty
48946faf34 8231210: [BACKOUT] JDK-8207266 ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Reviewed-by: phh, dholmes
2019-09-18 20:49:13 -04:00
David Holmes
8a2c4975d5 8231162: JVMTI RawMonitorWait triggers assertion failure: Only JavaThreads can be interruptible
Reviewed-by: dcubed
2019-09-18 17:31:35 -04:00
Evgeny Mandrikov
14cc870429 8066774: Rename the annotations arrays names in ClassFileParser
Reviewed-by: shade, coleenp, dholmes
2019-09-18 21:20:13 +02:00
Alex Menkov
0edf6c1341 8186825: some memory leak issues in the transport_startTransport
Reviewed-by: sspitsyn, phh
2019-09-18 12:13:56 -07:00
Roman Kennke
9516e6d2fd 8231087: Shenandoah: Self-fixing load reference barriers for C1/C2
Reviewed-by: shade
2019-09-18 20:56:20 +02:00
Roman Kennke
9510e7fe5d 8231086: Shenandoah: Stronger invariant for object-arraycopy
Reviewed-by: shade
2019-09-18 20:56:19 +02:00
Roman Kennke
5eb643144b 8231085: C2/GC: Better GC-interface for expanding clone
Reviewed-by: eosterlund
2019-09-18 20:56:18 +02:00
Jesper Wilhelmsson
b9cd2cecaa Merge 2019-09-18 11:48:01 -07:00
Ekaterina Pavlova
f482d3071c 8231145: [Graal] org.graalvm.compiler.debug.test.DebugContextTest fails because DebugContextTest.testLogging.input is not available
Reviewed-by: erikj, iveresov, ihse
2019-09-18 10:58:21 -07:00
Jan Lahoda
a88d084575 8231176: Test tools/javac/options/BCPOrSystemNotSpecified.java broken on Windows
Temporarily disabling BCPOrSystemNotSpecified.java test on Windows.

Reviewed-by: vromero
2019-09-18 15:13:37 +02:00
Paul Hohensee
aa318d070e 8207266: ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread
Add com.sun.management.getCurrentThreadAllocatedBytes, implement getThreadAllocatedBytes(long) independent of getThreadAllocatedBytes(long[])

Reviewed-by: mchung, dholmes, sspitsyn
2019-09-18 05:41:08 -07:00
Jan Lahoda
a51a8527e7 8228460: bootstrap class path not set in conjunction with -source 11
Ensuring implicit system module path is checked for the no-bootclasspath warning for -source >= 9.

Reviewed-by: vromero
2019-09-18 10:41:18 +02:00
Jesper Wilhelmsson
dcd4014cd8 Added tag jdk-13-ga for changeset 9c250a7600e1 2019-09-06 17:50:16 +02:00
Matthias Baesken
b9e177677c 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
2019-07-23 16:52:38 +02:00
Sergey Bylokhov
f8a875bfce 8231027: Correct typos
Reviewed-by: lancea, dholmes, erikj
2019-09-17 19:52:51 -07:00
David Holmes
5bca86f9f4 8230424: Use platform independent code for Thread.interrupt support
8231094: os::sleep in assert message should be changed to JavaThread::sleep

Reviewed-by: rehn, dcubed
2019-09-17 19:09:37 -04:00
Jie Fu
f94f7f2212 8231024: Improve the debug info when the output is truncated
Reviewed-by: iklam, dholmes
2019-09-17 09:20:59 -07:00
Lance Andersen
f21fb3e433 8230870: (zipfs) Add a ZIP FS test that is similar to test/jdk/java/util/zip/EntryCount64k.java
Reviewed-by: clanger, martin
2019-09-17 14:00:36 -04:00
Sean Coffey
b59950bc49 8231124: Missing closedir call with JDK-8223490
Reviewed-by: naoto
2019-09-17 16:39:56 +00:00
Zhengyu Gu
f88c32f6f6 8230350: Shenandoah: Assertion failed when GC is cancelled by a worker thread
Reviewed-by: rkennke
2019-09-17 08:22:14 -04:00
Jie Fu
4fb41f2617 8230943: False deadlock detection with -XX:+CIPrintCompileQueue after JDK-8163511
Reviewed-by: dholmes, thartmann
2019-09-17 20:38:23 +08:00
Sean Coffey
788b2414c1 8223490: Optimize search algorithm for determining default time zone
Reviewed-by: naoto, rriggs
2019-09-17 11:07:07 +00:00
Per Lidén
89b0250e4a 8231051: Remove check_obj_alignment() and replace with is_object_aligned()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
2d6874b861 8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Per Lidén
cb50d3b4f3 8230808: Remove Access::equals()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
0848c76a66 8230796: Remove BarrierSet::oop_equals_operator_allowed()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Matthias Baesken
c6543f1a2a 8230900: missing ReleaseStringUTFChars in java.desktop native code
Reviewed-by: clanger, prr
2019-09-13 07:43:59 +02:00
Matthias Baesken
f808d8a0ce 8230901: missing ReleaseStringUTFChars in serviceability native code
Reviewed-by: stuefe, sspitsyn
2019-09-13 11:04:46 +02:00
Tobias Hartmann
2df5ae8220 8230742: Make AggressiveUnboxing a diagnostic flag
AggressiveUnboxing is enabled by default. It should therefore be a diagnostic flag.

Reviewed-by: roland, shade
2019-09-16 13:53:41 +02:00
Christoph Langer
75e8b6ed4b 8230854: Cleanup SuppressWarnings in test lib and remove noisy traces in StreamPumper
Reviewed-by: stuefe, dholmes
2019-09-16 09:28:54 +02:00
Christoph Langer
2f5ce4c6cd 8230850: Test sun/tools/jcmd/TestProcessHelper.java fails intermittently
Reviewed-by: stuefe, cjplummer, sgehwolf
2019-09-16 09:21:42 +02:00
David Holmes
c2cbaa69d5 8231033: Problemlist ReservedStackTest
8231034: ProblemList failing ThreadMXBean tests

Reviewed-by: darcy
2019-09-15 21:00:15 -04:00
Joe Darcy
b6cc5abdf7 8230882: Use @index in javax.lang.model javadoc
Reviewed-by: jjg
2019-09-15 13:23:21 -07:00
Thomas Stuefe
dcbc28790d 8230910: libsspi_bridge does not build on Windows 32bit
Reviewed-by: alanb, weijun
2019-09-15 08:41:48 +02:00
Simon Tooke
db2c6cc90d 8216354: Syntax error in toolchain_windows.m4
Reviewed-by: erikj, dholmes, clanger
2019-09-15 07:47:13 +02:00
Doug Lea
eb1eadb69f 8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
9275097a02 8145138: CyclicBarrier/Basic.java failed with "3 not equal to 4"
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
064f69d6ab 8221168: java/util/concurrent/CountDownLatch/Basic.java fails
Reviewed-by: martin, alanb
2019-09-14 11:24:14 -07:00
Doug Lea
f634f777f6 8227235: rare failures in testForkHelpQuiesce tck tests
Reviewed-by: martin, alanb
2019-09-14 11:20:57 -07:00
Doug Lea
80fe274875 8229442: AQS and lock classes refresh
Reviewed-by: martin
2019-09-14 11:16:40 -07:00
Markus Grönlund
dbc8df3b97 8231025: Incorrect method tag offset for big endian platform
Reviewed-by: egahlin
2019-09-14 18:45:24 +02:00
Markus Grönlund
0f2eb3ad85 8225797: OldObjectSample event creates unexpected amount of checkpoint data
Reviewed-by: egahlin
2019-09-14 14:40:09 +02:00
Brian Burkhalter
c57ad7ffc0 8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
2019-09-13 16:03:31 -07:00
Daniel D. Daugherty
c0e1f9ee6c 8230938: Deprecate MonitorBound
Reviewed-by: dholmes
2019-09-13 18:54:43 -04:00
Brent Christian
5c3cc74c83 8230937: Update bugid in ProblemList for vmTestbase/nsk/jdb/eval/eval001/eval001.java
Reviewed-by: dholmes, mchung
2019-09-13 09:33:54 -07:00
Leonid Mesnik
9597fcd85f 8230881: serviceability/sa/TestJmapCore tests fail with java.lang.RuntimeException: Could not find dump file
Reviewed-by: dholmes, cjplummer
2019-09-13 09:34:13 -07:00
Pavel Rappo
49a4d4b87e 8151678: com/sun/jndi/ldap/LdapTimeoutTest.java failed due to timeout on DeadServerNoTimeoutTest is incorrect
Reviewed-by: dfuchs, martin, robm
2019-09-13 11:00:07 +01:00
Per Lidén
17abb078fc 8230878: ZGC: Use THREAD_LOCAL instead of __thread
Reviewed-by: kbarrett
2019-09-13 08:40:09 +02:00
Per Lidén
f3d8d57cd3 8230877: Rename THREAD_LOCAL_DECL to THREAD_LOCAL
Reviewed-by: kbarrett, dholmes
2019-09-13 08:40:09 +02:00
Per Lidén
39fd81e4a7 8230846: ZGC: Make ZUtils::alloc_aligned() posix-specific
Reviewed-by: stefank
2019-09-13 08:40:09 +02:00
Per Lidén
334c609caf 8230845: ZGC: Implement ZLock using os::PlatformMutex
Reviewed-by: stefank
2019-09-13 08:40:09 +02:00
Ivan Gerasimov
5e7e0e7bbe 8230829: Matcher matches a surrogate pair that crosses border of the region
Reviewed-by: naoto
2019-09-12 11:07:35 -07:00
Calvin Cheung
e8ee2800f5 8186988: use log_warning() and log_error() instead of tty->print_cr for CDS warning and error messages
Reviewed-by: stuefe, iklam, dholmes
2019-09-12 09:59:19 -07:00
Daniel Fuchs
e9eaba3d53 8230858: Replace wildcard address with loopback or local host in tests - part 23
Add new traces for better diagnosis, refrain binding to the wildcard address when possible.

Reviewed-by: chegar, xuelei
2019-09-12 15:46:11 +01:00
Roland Westrelin
9b81fe37f2 8230470: Shenandoah doesn't need change from JDK-8212610 anymore
Reviewed-by: thartmann
2019-09-03 09:28:42 +02:00
Thomas Stuefe
88d59bc878 8230888: jfrVirtualMemory.cpp should include globals.hpp
Reviewed-by: dholmes, mgronlun
2019-09-12 12:51:31 +02:00
Christian Hagedorn
316985c85c 8220416: Comparison of klass pointers is not optimized any more
Enables dead klass pointer optimization (since JDK-6964458) again.

Reviewed-by: roland, thartmann
2019-09-12 12:23:25 +02:00
Christian Hagedorn
9c145fa1cd 8230762: Change MacroAssembler::debug32/64 to use fatal instead of assert
Always call fatal from debug32/64 to also crash in product build as a follow-up to JDK-8225653.

Reviewed-by: roland, thartmann
2019-09-12 12:12:26 +02:00
Roland Westrelin
ec5451c117 8229701: aarch64: C2 OSR compilation fails with "shouldn't process one node several times" in final graph reshaping
Reviewed-by: thartmann, kvn
2019-08-23 14:22:29 +02:00
Matthias Baesken
af94e6e681 8230856: Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
Reviewed-by: dfuchs, stuefe, vtewari
2019-09-11 16:13:05 +02:00
Matthias Baesken
2f496251ac 8230861: missing ReleaseStringUTFChars in Java_sun_security_pkcs11_wrapper_PKCS11_connect
Reviewed-by: alanb, stuefe
2019-09-11 16:54:53 +02:00
Ioi Lam
988ac4fec0 8230586: Encapsulate fields in filemap.hpp
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
Jesper Wilhelmsson
091cf3608b Added tag jdk-14+14 for changeset cddef3bde924 2019-09-12 03:21:11 +02:00
Leonid Mesnik
27cb341496 8230830: No required ResourceMark in src/hotspot/share/prims/jvmtiImpl.cpp:JvmtiSuspendControl::print()
Reviewed-by: dholmes, cjplummer, sspitsyn
2019-09-11 16:25:12 -07:00
Adam Farley
d57af04737 8229378: jdwp library loader in linker_md.c quietly truncates on buffer overflow
Check buffer overflow when the jdwp agent full dll name is built

Reviewed-by: cjplummer, sspitsyn
2019-09-11 23:10:14 +00:00
Joe Darcy
a8ea6b279a 8230734: Remove default constructors from java.compiler
Reviewed-by: jjg
2019-09-11 16:06:09 -07:00
Ioi Lam
e90970b67b 8230674: Heap dumps should exclude dormant CDS archived objects of unloaded classes
Reviewed-by: dholmes, jiangli
2019-09-11 13:28:09 -07:00
Brian Burkhalter
4285853d91 8230342: LineNumberReader.getLineNumber() returns inconsistent results after EOF
Reviewed-by: rriggs, dfuchs
2019-09-11 12:32:01 -07:00
Alex Menkov
c920b4a5c0 8192057: com/sun/jdi/BadHandshakeTest.java fails with java.net.ConnectException
Reviewed-by: sspitsyn, rrich
2019-09-11 11:55:31 -07:00
Bob Vandette
591c4f80f1 8229202: Docker reporting causes secondary crashes in error handling
Reviewed-by: coleenp, hseigel, mseledtsov
2019-09-11 17:30:30 +00:00
Naoto Sato
ee9bd9bf04 8230136: DateTimeFormatterBuilder.FractionPrinterParser#parse fails to verify minWidth
Reviewed-by: joehw, scolebourne, rriggs
2019-09-11 08:50:03 -07:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Leo Korinth
eafb888c18 8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00
Thomas Schatzl
a73f96ef60 8230794: Improve assert to get more information about the JDK-8227695 failure
Reviewed-by: kbarrett, sjohanss
2019-09-11 10:19:09 +02:00
Naoto Sato
28b972e5ce 8229960: Remove sun.nio.cs.map system property
Reviewed-by: alanb
2019-09-10 12:51:05 -07:00
Aleksey Shipilev
7c2fe7025b 8230813: Add JDK-8010500 to compiler/loopopts/superword/TestFuzzPreLoop.java bug list
Reviewed-by: zgu
2019-09-10 19:58:22 +02:00
Mandy Chung
5d397eea9f 8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null
Reviewed-by: vromero
2019-09-10 10:35:52 -07:00
Joe Darcy
5dc5bc881a 8225761: Update --release 13 symbol information after JDK 13 GA
Reviewed-by: jlahoda
2019-09-10 10:24:42 -07:00
Leonid Mesnik
fb70acd2ca 8230781: Add JTREG_FAILURE_HANDLER_TIMEOUT to control timeout handler timeout
Reviewed-by: erikj
2019-09-10 09:12:08 -07:00
Ivan Gerasimov
9898fc1382 8230303: JDB hangs when running monitor command
Reviewed-by: sspitsyn
2019-09-10 09:08:52 -07:00
Hannes Wallnöfer
1a81892aa6 8230709: Array index out of bounds in ES6 mode
Reviewed-by: attila
2019-09-10 15:35:35 +02:00
Hannes Wallnöfer
c49ed302bb 8230766: Changed message in IllegalMonitorStateException
Reviewed-by: attila, jlaskey
2019-09-10 15:30:23 +02:00
Per Lidén
24ed3d4eef 8230566: ZGC: Don't substitute klass pointer during array clearing
Reviewed-by: stefank, eosterlund
2019-09-10 11:11:31 +02:00
Matthias Baesken
7ecde2ec48 8230769: BufImg_SetupICM add ReleasePrimitiveArrayCritical call in early return
Reviewed-by: prr, stuefe
2019-09-09 16:34:45 +02:00
Matthias Baesken
36768f2a72 8230711: ConnectionGraph::unique_java_object(Node* N) return NULL if n is not in the CG
Reviewed-by: mdoerr
2019-09-06 16:15:11 +02:00
Xiaohong Gong
0a53460419 8230454: [Graal] Add "com/sun/crypto/provider/KeyFactory/TestProviderLeak.java" to Graal problem list
Reviewed-by: dlong
2019-09-10 14:52:53 +08:00
Christian Hagedorn
2c3973af9b 8225653: Provide more information when hitting SIGILL from HaltNode
Add information string for each HaltNode which is printed if hit at runtime.

Reviewed-by: vlivanov, thartmann
2019-09-10 08:43:33 +02:00
Evgeny Mandrikov
51b0eab330 8207800: always_do_update_barrier is unused
Reviewed-by: shade, tschatzl
2019-09-10 07:42:04 +02:00
Kim Barrett
8b67b75f50 8221361: Eliminate two-phase initialization for PtrQueueSet classes
Move allocator and CBL monitor init to constructor.

Reviewed-by: tschatzl, shade
2019-09-09 16:54:48 -04:00
Naoto Sato
ea0fbbca51 8230284: Accounting currency format support does not cope with explicit number system
Reviewed-by: rriggs
2019-09-09 12:42:01 -07:00
Alex Menkov
6794a68681 8230516: invalid html in jdwp-protocol.html
Reviewed-by: dtitov, sspitsyn
2019-09-09 12:00:36 -07:00
Brent Christian
a4613d4a8f 8212117: Class.forName may return a reference to a loaded but not linked Class
Reviewed-by: dholmes, mchung
2019-09-09 11:04:04 -07:00
Daniel Fuchs
10e4fd4b95 8230526: jdk.internal.net.http.PlainProxyConnection is never reused by HttpClient
Fixed the PlainProxyConnection lookup key.

Reviewed-by: chegar
2019-09-09 18:23:39 +01:00
Joe Darcy
10f1f10f2e 8230723: Remove default constructors from java.lang and java.io
Reviewed-by: bpb, rriggs
2019-09-09 10:13:42 -07:00
Jaikiran Pai
c84e19f3ca 8177389: Hyphen "-" should be removed in URL class documentation
Javadoc of java.net.URL constructor updated to remove an unnecessary hyphen

Reviewed-by: dfuchs
2019-08-24 09:31:15 +05:30
Patrick Concannon
1f87cb017f 8230132: java/net/NetworkInterface/NetworkInterfaceRetrievalTests.java to skip Teredo Tunneling Pseudo-Interface
The test is updated to skip Teredo pseudo interfaces on windows.

Reviewed-by: michaelm, vtewari, aefimov
2019-09-09 16:13:43 +01:00
Martin Doerr
032819ee9d 8230669: [s390] C1: assert(is_bound() || is_unused()) failed: Label was never bound to a location, but it was used as a jmp target
Reviewed-by: phh, xliu
2019-09-09 15:42:16 +02:00
John Paul Adrian Glaubitz
5f29e88563 8230708: Hotspot fails to build on linux-sparc with gcc-9
Reviewed-by: dholmes, phh
2019-09-09 15:14:16 +02:00
Stefan Karlsson
014535bd79 8230564: Remove os_ext.hpp
Reviewed-by: coleenp, dholmes
2019-09-04 13:07:15 +02:00
Stefan Karlsson
4db6ba1648 8230563: Remove arguments_ext.cpp
Reviewed-by: dholmes, coleenp
2019-09-04 13:06:44 +02:00
Stefan Karlsson
57514a065a 8230562: Remove g1HeapSizingPolicy_ext.cpp
Reviewed-by: dholmes, sjohanss
2019-09-04 13:06:04 +02:00
Stefan Karlsson
539a59fa4f 8230561: Remove logTag_ext.hpp
Reviewed-by: dholmes, coleenp
2019-09-04 11:38:54 +02:00
Stefan Karlsson
7384f6cdcf 8224599: Remove globals_ext.hpp
Reviewed-by: coleenp, kvn, gziemski, ehelin
2019-09-04 11:05:20 +02:00
Robbin Ehn
ffa889731a 8228758: assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark
Reviewed-by: coleenp, dcubed, dholmes
2019-09-09 09:05:30 +02:00
Xiaohong Gong
de87e8e860 8230129: Add jtreg "serviceability/sa/ClhsdbInspect.java" to graal problem list
Reviewed-by: dlong, thartmann
2019-09-09 11:19:51 +08:00
David Holmes
394d6ac55b 8230422: Convert uninterruptible os::sleep calls to os::naked_short_sleep
Reviewed-by: kbarrett, dcubed, shade
2019-09-07 18:48:57 -04:00
Igor Veresov
f9e0cdbed9 8226953: AOT: assert(oopDesc::is_oop(obj)) failed: not an oop
Reviewed-by: dlong
2019-09-07 10:05:47 -07:00
Zhengyu Gu
ecf83c94b8 8230730: UseCompressedOops test crash with assertion failure
Reviewed-by: stefank, eosterlund
2019-09-07 10:04:07 -04:00
Claes Redestad
c788d9841c 8230662: Remove dead code from MethodTypeForm
Reviewed-by: vlivanov, mchung
2019-09-07 15:44:04 +02:00
Erik Joelsson
9c3ff105df 8230715: Baseline compare build on Windows fails intermittently in file type for jvm.pdb
Reviewed-by: mikael
2019-09-06 12:41:21 -07:00
Dean Long
cc6d60db4f 8230680: latest Graal unittests depend on jdk.internal.module
Reviewed-by: iignatyev
2019-09-06 14:54:33 -04:00
Kim Barrett
40565a845c 8230404: Refactor logged card refinement support in G1DirtyCardQueueSet
Separate concurrent refinement from STW refinement.

Reviewed-by: sjohanss, tschatzl
2019-09-06 13:38:55 -04:00
Christoph Langer
c159a4e0f2 8230666: Exclude serviceability/sa/TestInstanceKlassSize.java on linuxppc64 and linuxppc64le
Reviewed-by: dcubed
2019-09-06 15:13:38 +02:00
Daniel Fuchs
5399449a43 8230694: http.keepAlive system property is inconsistently/incorrectly documented
Trivially fixed the net-properties.html file

Reviewed-by: alanb
2019-09-06 14:04:44 +01:00
Richard Reingruber
d7ca08a5cc 8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
2019-08-30 09:24:54 +02:00
Aleksey Shipilev
c417c473a4 8230671: x86_32 build failures after JDK-8229496
Reviewed-by: thartmann
2019-09-06 09:26:23 +02:00
Naoto Sato
2aac0e925d 8229831: Upgrade Character.isUnicodeIdentifierStart/Part() methods to the latest standard
Reviewed-by: rriggs
2019-09-05 17:38:54 -07:00
Brian Burkhalter
4d70cdac4f 8187898: PrintStream should override FilterOutputStream#write(byte[]) with a method that has no throws clause
Reviewed-by: alanb, rriggs, lancea, darcy
2019-09-05 16:26:53 -07:00
Joe Darcy
cebd13dbaa 8230681: Add @since tag to java.io.Serial
Reviewed-by: lancea, bpb
2019-09-05 15:55:57 -07:00
David Holmes
8b42387ea6 8227563: jvmti/scenarios/contention/TC05/tc05t001 fails due to "ERROR: tc05t001.cpp, 278: (waitedThreadCpuTime - waitThreadCpuTime) < (EXPECTED_ACCURACY * 1000000)"
Reviewed-by: amenkov, cjplummer, sspitsyn
2019-09-05 18:39:22 -04:00
Brian Burkhalter
d2db14b836 8229280: Test failures on several linux hosts after JDK-8181493
Reviewed-by: alanb, clanger, dfuchs
2019-09-05 14:12:01 -07:00
Calvin Cheung
a1002d68fc 8230632: [TESTBUG] appcds/NonExistClasspath.java and ClassPathAttr.java failed when running in hotspot_appcds_dynamic test group
Exclude NonExistClasspath.java from the test group; increase timeout for ClassPathAttr.java.

Reviewed-by: dcubed, iklam
2019-09-05 11:12:12 -07:00
Joe Wang
77b3801f6c 8228854: Default ErrorListener reports warnings and errors to the console
Reviewed-by: lancea
2019-09-05 17:26:38 +00:00
Aleksey Shipilev
675eecaacf 8230646: Epsilon does not extend TLABs to max size
Reviewed-by: tschatzl, zgu
2019-09-05 19:24:53 +02:00
Tobias Hartmann
a4b46ccc23 8229496: SIGFPE (division by zero) in C2 OSR compiled method
Adding a CastNode to keep the dependency between the div/mod operation and the zero check.

Reviewed-by: roland, mdoerr
2019-09-05 13:56:17 +02:00
Jan Lahoda
2fa3eddd3c 8177068: incomplete classpath causes NPE in Flow
Undo completions that failed during speculative attribution, so that the appropriate CompletionFailures are thrown again and properly reported.

Reviewed-by: vromero
2019-09-05 12:39:48 +02:00
Matthias Baesken
5c4be9cc8a 8230466: check malloc/calloc results in jdk.hotspot.agent
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2019-09-05 09:59:43 +02:00
Thomas Stuefe
4b65e2b3db 8230642: 8224815 broke Shenandoah build
Reviewed-by: shade
2019-09-05 11:09:12 +02:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Erik Österlund
d19e6eae9e 8229189: Improve JFR leak profiler tracing to deal with discontiguous heaps
Reviewed-by: mgronlun, egahlin
2019-09-05 08:26:44 +02:00
John Jiang
655cf14138 8228967: Trust/Key store and SSL context utilities for tests
Reviewed-by: xuelei
2019-09-05 14:55:21 +08:00
Jesper Wilhelmsson
cc268aa7a4 Added tag jdk-14+13 for changeset fbbe6672ae15 2019-09-05 02:13:59 +02:00
Joe Darcy
7004b3f3e7 8230626: Make UnknownFooException strings more informative
Reviewed-by: jjg, mr
2019-09-04 15:49:25 -07:00
Mikhailo Seledtsov
39465f49eb 8230624: [TESTBUG] Problemlist JFR compiler/TestCodeSweeper.java
Added the test to the problem list

Reviewed-by: egahlin
2019-09-04 13:57:26 -07:00
Daniel Fuchs
f71db3074c 8230435: Replace wildcard address with loopback or local host in tests - part 22
Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.

Reviewed-by: michaelm
2019-09-04 18:10:07 +01:00
Julia Boes
7b49c40ee9 8171405: java/net/URLConnection/ResendPostBody.java failed with "Error while cleaning up threads after test"
Test cleaned up to improve safe termination

Reviewed-by: michaelm, vtewari, dfuchs
2019-09-04 17:36:53 +01:00
Patrick Concannon
662348c710 8230159: Add test to verify that com.sun.net.httpserver.BasicAuthenticator constructors throw expected exceptions
New BasicAuthenticatorExceptionCheck.java test added

Reviewed-by: chegar, dfuchs, vtewari
2019-09-04 16:42:36 +01:00
Xin Liu
0a92dc786d 8229450: C2 compilation fails with assert(found_sfpt) failed
Reviewed-by: roland, thartmann
2019-09-04 16:39:12 +02:00
Erik Österlund
ea436110f6 8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier
Reviewed-by: zgu, tschatzl, iklam
2019-09-04 15:05:03 +02:00
Martin Doerr
b0e727124f 8230434: [C1, C2] Release barrier for volatile field stores in constructors implemented inconsistently
Reviewed-by: shade, lucy
2019-09-04 14:21:54 +02:00
Stefan Johansson
f7d0ece0a1 8209802: Garbage collectors should register JFR types themselves to avoid build errors
Reviewed-by: kbarrett, tschatzl
2019-09-04 09:47:55 +02:00
Stefan Johansson
bb63558420 8230431: Move G1 trace code from gcTrace* to G1 directory
Reviewed-by: kbarrett, lkorinth
2019-09-04 09:47:51 +02:00
Matthias Baesken
a41b9a71ac 8229182: runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Reviewed-by: clanger, mseledtsov
2019-09-03 17:52:36 +02:00
Matthias Baesken
7cb28198a1 8230485: add handling of aix tar in configure
Reviewed-by: erikj
2019-09-03 16:52:55 +02:00
John Jiang
dfe4ba5045 8226221: Update PKCS11 tests to use NSS 3.46 libs
Reviewed-by: xuelei
2019-09-04 12:47:42 +08:00
David Holmes
99c17fbf33 6313903: Thread.sleep(3) might wake up immediately on windows
Reviewed-by: rehn, dcubed, rriggs
2019-09-03 23:42:06 -04:00
Vladimir Ivanov
4dc79c2e05 8227236: assert(singleton != __null && singleton != declared_interface) failed
Reviewed-by: dlong
2019-09-03 17:45:02 +03:00
Zhengyu Gu
fd89fedccf 8230483: Shenandoah: consistently disable concurrent roots for Traversal mode
Reviewed-by: shade
2019-09-03 13:55:41 -04:00
Jaikiran Pai
6b2e444aa1 8223714: HTTPSetAuthenticatorTest could be made more resilient
HTTPTestServer (in the test infrastructure) will no longer stop accepting requests if a previous request processing failed

Reviewed-by: dfuchs
2019-08-30 17:22:55 +05:30
Tobias Hartmann
47e005582b 8230428: Cleanup dead CastIP node code in formssel.cpp
Removed dead code.

Reviewed-by: roland
2019-09-03 10:03:13 +02:00
Michael McMahon
5ded63ef02 Merge 2019-09-02 15:59:37 +01:00
Patrick Concannon
77adc77ce3 8229235: com.sun.net.httpserver.HttpExchange should implement AutoCloseable
Reviewed-by: dfuchs, michaelm
2019-09-02 15:58:44 +01:00
Markus Grönlund
4e43486172 8227411: TestTimeMultiple.java failed "assert(!lease()) failed: invariant"
Reviewed-by: egahlin
2019-09-02 15:04:43 +02:00
Markus Grönlund
8f9d63df41 8229437: assert(is_aligned(ref, HeapWordSize)) failed: invariant
Reviewed-by: egahlin
2019-09-02 13:57:15 +02:00
Aleksey Shipilev
5110530d5b 8230238: Add another regression test for JDK-8134739
Reviewed-by: kvn
2019-09-02 11:31:12 +02:00
Matthias Baesken
b7821ad399 8224214: [AIX] Remove support for legacy xlc compiler
Reviewed-by: erikj, kbarrett, mdoerr, dholmes
2019-08-30 09:37:41 +02:00
Joe Darcy
2399a8d764 8230373: Use java.io.Serial in generated exception types
Reviewed-by: erikj, alanb
2019-08-31 09:18:40 -07:00
Kim Barrett
a72d25fcc7 8230372: Remove G1GCPhaseTimes::MergeLBProcessedBuffers
Removed no longer needed phase time.

Reviewed-by: sjohanss, tschatzl
2019-08-30 15:36:44 -04:00
Antonios Printezis
448e003050 8227224: GenCollectedHeap: add subspace transitions for young gen for gc+heap=info log lines
Reviewed-by: kbarrett, tschatzl
2019-08-30 14:58:40 -04:00
Joe Darcy
f14e213524 8230337: Clarify intention of Elements.{getPackageOf, getModuleOf}
Reviewed-by: jjg
2019-08-30 11:26:48 -07:00
Kim Barrett
1668370dfe 8230327: Make G1DirtyCardQueueSet free-id init unconditional
Remove conditional init and make the set an inline member.

Reviewed-by: sjohanss, lkorinth, tschatzl
2019-08-30 14:05:00 -04:00
Tobias Hartmann
79c14f088c 8230390: Problemlist SA tests with AOT
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 16:17:21 +02:00
Patrick Concannon
aa5d8f64ee 8193596: java/net/DatagramPacket/ReuseBuf.java failed due to timeout
The test is changed to bind to InetAddress.getLocalHost() instead of binding to the wildcard.

Reviewed-by: alanb, dfuchs, msheppar
2019-08-30 12:44:52 +01:00
Jaikiran Pai
6fa4babbb2 8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException

Reviewed-by: dfuchs
2019-08-28 20:05:43 +05:30
Jan Lahoda
1d71dd8604 8230105: -XDfind=diamond crashes
Avoiding side-effects in Analyzer's speculative attribution.

Reviewed-by: mcimadamore, vromero
2019-08-30 12:24:16 +02:00
Erik Österlund
277ef756c4 8230307: ZGC: Make zGlobals and zArguments OS agnostic
Reviewed-by: pliden, smonteith
2019-08-30 10:44:06 +02:00
Tobias Hartmann
05d4e7a269 8230388: Problemlist additional compiler/rtm tests
Putting tests on the problem list.

Reviewed-by: roland
2019-08-30 11:11:33 +02:00
Amy Lu
647f487510 8230004: jdk/internal/jimage/JImageOpenTest.java runs no test
Reviewed-by: alanb
2019-08-30 16:44:20 +08:00
Stefan Karlsson
3149ed4993 8230203: Replace markWord enums with typed constants
Reviewed-by: kbarrett, dholmes
2019-08-30 09:06:46 +02:00
Jie Fu
c7f0ae07cd 8230376: [TESTBUG] runtime/StackTrace/HiddenFrameTest.java fails with release VM
Reviewed-by: dholmes
2019-08-30 01:21:14 -04:00
Doug Simon
6a48a4e5ed 8229797: [JVMCI] Clean up no longer used JVMCI::dependencies_invalid value
Co-authored-by: Xiaohong Gong <xiaohong.gong@arm.com>
Reviewed-by: dlong, coleenp
2019-08-30 09:38:40 +08:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Kim Barrett
6d064a747e 8230332: G1DirtyCardQueueSet _notify_when_complete is always true
Removed _notify_when_complete, assume true value where formerly used.

Reviewed-by: sjohanss, tschatzl
2019-08-29 18:52:30 -04:00
Mikhailo Seledtsov
489f8027be 8228960: [TESTBUG] containers/docker/TestJcmdWithSideCar.java: jcmd reports main class as Unknown
Waiting for child output to start main() before running jcmd

Reviewed-by: dholmes, bobv
2019-08-29 15:50:45 -07:00
Kim Barrett
b6b6a37fe1 8230109: G1DirtyCardQueueSet should use card counts rather than buffer counts
Consistently use card counts

Reviewed-by: sjohanss, sangheki
2019-08-29 18:35:52 -04:00
Jie Fu
647e4d7557 8230037: Confused MetaData dumped by PrintOptoAssembly
Reviewed-by: kvn, bsrbnd
2019-08-30 00:03:10 +02:00
Joe Darcy
6d4ef5aaf3 8229999: Apply java.io.Serial annotations to security types in java.base
Reviewed-by: rriggs, mullan
2019-08-29 10:52:21 -07:00
Daniil Titov
470d32df73 8182119: jdk.hotspot.agent's META-INF/services/com.sun.jdi.connect.Connector no longer needed
Reviewed-by: sspitsyn, amenkov, alanb
2019-08-29 10:09:27 -07:00
Matthias Baesken
b6fac7fe07 8229284: jdk/internal/platform/cgroup/TestCgroupMetrics.java fails for - memory:getMemoryUsage
Reviewed-by: mseledtsov, sgehwolf
2019-08-28 14:22:56 +02:00
Mikhailo Seledtsov
1bc974d8a7 8229210: [TESTBUG] Move gc stress tests from JFR directory tree to gc/stress
Moved the tests

Reviewed-by: egahlin
2019-08-29 08:35:31 -07:00
Ivan Gerasimov
d607548f20 8230338: Accurate error message about bad Unicode block name
Reviewed-by: rriggs
2019-08-29 07:39:06 -07:00
Claes Redestad
b4c63048bb 8230302: GenerateJLIClassesPlugin can generate invalid DirectMethodHandle methods
Reviewed-by: mchung
2019-08-29 15:59:00 +02:00
Coleen Phillimore
e2287af876 8216977: ShowHiddenFrames use in java_lang_StackTraceElement::fill_in appears broken
Return NULL source file and negative line number for hidden frames.

Reviewed-by: dholmes, hseigel
2019-08-29 08:52:22 -04:00
Martin Doerr
e77e5da785 8229422: Taskqueue: Outdated selection of weak memory model platforms
Reviewed-by: tschatzl, dholmes, drwhite
2019-08-12 19:20:12 +02:00
Aleksey Shipilev
c25e2fd8ec 8230425: Shenandoah forces +UseNUMAInterleaving even after explicitly disabled
Reviewed-by: rkennke
2019-09-02 12:10:21 +02:00
Stuart Marks
12efd2fa4f 8213432: Better copies of CopiesList
Reviewed-by: rriggs, skoivu, ahgross, robm, rhalade, jeff
2019-01-23 14:45:54 -08:00
Brian Burkhalter
724120457a 8211936: Better String parsing
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: bpb, darcy
2019-01-22 09:45:30 -08:00
Henry Jen
52da980fa2 Merge 2019-03-26 10:55:17 -07:00
David Holmes
ccef9efb14 8221207: Redo JDK-8218446 - SuspendAtExit hangs
Reviewed-by: rehn, dcubed
2019-03-25 00:57:03 -04:00
Patrick Zhang
5793068c77 8221220: AArch64: Add StoreStore membar explicitly for Volatile Writes in TemplateTable
Reviewed-by: aph
2019-03-21 16:45:33 +08:00
Jiangli Zhou
223e1c6e42 8220095: Assertion failure when symlink (with different name) is used for lib/modules file
Removed confusing function ClassLoader::is_modules_image(char*)

Reviewed-by: lfoltan, ccheung
2019-03-23 21:51:07 -07:00
Aleksey Shipilev
26210b4566 8221363: Build failure after JDK-8220240 (Refactor shared dirty card queue)
Reviewed-by: stuefe
2019-03-23 17:18:49 +01:00
Kim Barrett
3bb3dbc47e 8220240: Refactor shared dirty card queue
Add G1SharedDirtyCardQueue class.

Reviewed-by: tschatzl, lkorinth
2019-03-22 15:42:43 -04:00
Coleen Phillimore
54f31c6089 8218399: runtime/RedefineObject/TestRedefineObject.java timeout
Exclude this test for graal

Reviewed-by: hseigel, lfoltan
2019-03-22 16:16:10 -04:00
Xue-Lei Andrew Fan
28adfb6d0d 8218889: Improperly use of the Optional API
Reviewed-by: jnimeh, wetmore
2019-03-22 13:47:37 -07:00
Naoto Sato
dc3c9c8439 8220224: With CLDR provider, NumberFormat.format could not handle locale with number extension correctly
Reviewed-by: darcy
2019-03-22 09:31:36 -07:00
Brian Burkhalter
954c66afed 8078860: (spec) InputStream.read(byte[] b, int off, int len) claims to not affect element b[off]
Reviewed-by: lancea, darcy, rriggs
2019-03-22 08:18:26 -07:00
Erik Joelsson
c11759c4fe 8221179: Zero builds fail when linking with gold and bundling libffi.so
Reviewed-by: sgehwolf, tbell
2019-03-22 08:14:21 -07:00
David Buck
77c942940f 8217564: idempotent protection missing in crc32c.h
Added include guard to crc32c.h

Reviewed-by: dcubed
2019-03-22 09:05:06 -04:00
Per Lidén
5fdcdaadd4 8221219: ZGC: Remove ZStallOnOutOfMemory option
Reviewed-by: stefank, eosterlund
2019-03-22 12:49:33 +01:00
Per Lidén
8b38ebf1a2 8221212: ZGC: Command-line flags should be marked experimental
Reviewed-by: stefank, eosterlund
2019-03-22 12:49:32 +01:00
Alan Bateman
3a4d5db248 8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Henry Jen
833627bc3c Merge 2019-01-22 14:14:52 -08:00
Roger Riggs
55fc1fb794 8227601: Better collection of references
Reviewed-by: smarks, ahgross, skoivu, rhalade
2019-01-17 10:44:17 -05:00
Phil Race
2192b9864f 8227662: freetype seeks to index at the end of the font data
Reviewed-by: serb, psadhukhan
2019-07-18 07:25:17 -07:00
Phil Race
267eae16ae 8225292: Better Graphics2D drawing
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-16 13:14:32 -07:00
Phil Race
c2701f73d5 8224915: Better serial attributes
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-14 20:33:17 -07:00
Aleksei Efimov
d6304e88e6 8223892: Improved handling of jar files
Reviewed-by: dfuchs, chegar, michaelm, rhalade, ahgross
2019-06-25 00:07:47 +01:00
Chris Hegarty
8e2b10070e 8225298: Improve TLS connection support
Reviewed-by: dfuchs, igerasim, michaelm, rhalade, skoivu
2019-06-21 10:51:10 +01:00
Phil Race
908b4e8df3 8225286: Better rendering of native glyphs
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-19 15:24:42 -07:00
Phil Race
6042bccae3 8225597: Enhance font glyph mapping
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-06-19 15:23:53 -07:00
Joe Wang
a4657a2397 8224532: Better Path supports
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-05-31 10:58:10 -07:00
Anton Litvinov
438892c0ca 8218877: Help transform transformers
Reviewed-by: serb, prr, mschoene, bpb, ssahoo
2019-05-31 18:16:57 +01:00
Tobias Hartmann
df1acef59e 8224062: Improve String index handling
Reviewed-by: kvn, rhalade, mschoene
2019-05-27 01:36:04 -07:00
Hannes Wallnöfer
409113f576 8223518: Unexpected exception in jjs
Reviewed-by: sundar, mschoene, rhalade, jlaskey
2019-05-24 16:53:44 +02:00
Ivan Gerasimov
844e811d56 8222684: Better support for patterns
8223163: Better pattern recognition

Reviewed-by: ahgross, bchristi, jeff, rhalade, rriggs, smarks
2019-05-22 19:41:59 -07:00
Roger Riggs
75745ee70d 8224505: TestQuotedLogOutput failure after ProcessBuilder changes
Reviewed-by: alanb
2019-05-22 13:31:42 -04:00
Phil Race
c6fc8506aa 8223886: Add in font table referene
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-05-22 08:42:11 -07:00
Joe Wang
fa33b51760 8223505: Better pattern compilation
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2019-05-21 13:02:22 -07:00
Roger Riggs
5a98b8cfb0 8221858: Build Better Processes
Reviewed-by: alanb, rhalade, ahgross, darcy
2019-04-30 16:45:29 -04:00
Weijun Wang
fdae3113a1 8224025: Fix for JDK-8220302 is not complete
Reviewed-by: ahgross, mullan, valeriep
2019-05-21 08:37:30 +08:00
Aleksei Efimov
12bf1b15ab 8213429: Windows file handling redux
Reviewed-by: alanb, dfuchs, weijun, bpb, rhalade, ahgross
2019-05-20 15:57:16 +01:00
Sergey Bylokhov
e287fa90a8 8221497: Optional Panes in Swing
Reviewed-by: prr, alitvinov, mschoene, rhalade
2019-05-19 17:20:21 -07:00
Phil Race
d7600f342c 8222690: Better Glyph Images
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-05-15 12:44:31 -07:00
Alan Bateman
e91c1ec7a6 8223326: Regression introduced by CPU sync: java.security.AccessControlException: access denied ("java.net.NetPermission" "setSocketImpl")
Reviewed-by: dfuchs, alanb
2019-05-03 19:42:28 +01:00
Phil Race
566110929b 8220186: Improve use of font temporary files
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2019-04-23 11:59:54 -07:00
Weijun Wang
9eb755e85e 8209901: Canonical file handling
Reviewed-by: mullan, alanb, ahgross
2019-04-22 13:01:57 +08:00
Weijun Wang
cb06712f5a 8220302: Better Kerberos ccache handling
Reviewed-by: valeriep
2019-04-19 10:22:20 +08:00
Michael McMahon
e4553cb2fa 8217997: Better socket support
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-03-25 17:15:27 +00:00
Man Cao
e309fb9a3a 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
Move check_gc_overhead_limit() and related code to its own class

Reviewed-by: tschatzl, pliden, jiangli
2019-01-15 15:59:47 -08:00
Jesper Wilhelmsson
c7219faf86 8218074: Update Graal
Reviewed-by: kvn
2019-03-12 19:17:42 +01:00
Erik Joelsson
ebcf4ca1e7 8220529: JDK-8220383 broke test image build
Reviewed-by: tbell
2019-03-12 12:12:01 -07:00
Lance Andersen
53d6635101 8220005: java/util/Arrays/TimSortStackSize2.java times out
Reviewed-by: bchristi
2019-03-12 14:56:25 -04:00
Roger Riggs
2f3fc244eb 8220237: ProcessBuilder API documentation typo
Reviewed-by: dfuchs
2019-03-12 12:48:03 -04:00
Gary Adams
2434c6f10c 8220474: Incorrect GPL header in src/java.instrument/share/classes/java/lang/instrument/package-info.java
Reviewed-by: dholmes
2019-03-12 11:53:06 -04:00
Gary Adams
a22bb79e83 8220257: fix headings in java.instrument
Reviewed-by: dfuchs
2019-03-12 11:51:54 -04:00
Kim Barrett
9f0417b0ae 8217576: C1 atomic access handlers use incorrect decorators
Fix decorator defaulting.

Reviewed-by: tschatzl, eosterlund
2019-03-12 11:13:39 -04:00
Claes Redestad
0761bc5fa8 8220515: Revert removal of for_each_lock_value removal
Reviewed-by: thartmann
2019-03-12 16:18:31 +01:00
Erik Joelsson
2af935c800 8220383: Incremental build is broken and inefficient
Reviewed-by: tbell
2019-03-12 08:04:33 -07:00
Daniel Fuchs
71ac5a6313 8220262: fix headings in java.logging
Reviewed-by: lancea
2019-03-12 14:35:26 +00:00
Claes Redestad
ef38fb4bc2 8220501: Improve c1_ValueStack locks handling
Reviewed-by: thartmann, neliasso
2019-03-12 15:29:59 +01:00
Ao Qi
f15a31f766 8220344: Build failures when using --with-jvm-features=-g1gc,-jfr
Reviewed-by: tschatzl, zgu
2019-03-12 09:59:58 -04:00
Ralf Schmelter
59b342cf10 8220363: hotspot-ide project fails
Reviewed-by: clanger, erikj
2019-03-11 05:09:14 -07:00
Severin Gehwolf
46c4ef516c 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue
Specify explicit type in the constructor

Reviewed-by: shade, pliden
2019-03-07 17:34:21 +01:00
Gary Adams
f9d6d1d8f2 8013728: nsk/jdi/BScenarios/hotswap/tc10x001 Unrecognized Windows Sockets error: 0: recv failed
Reviewed-by: cjplummer, amenkov
2019-03-12 07:17:03 -04:00
Martin Doerr
bc640addb3 8220441: [PPC64] Clobber memory effect missing for memory barriers in atomics
Reviewed-by: simonis, goetz
2019-03-12 11:53:43 +01:00
Chris Hegarty
0f97ac953b 8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation
Reviewed-by: dfuchs
2019-03-12 09:22:40 +00:00
Tobias Hartmann
474437061e 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack
Skip unloaded methods in compile queue during marking.

Reviewed-by: kvn, neliasso, eosterlund, coleenp
2019-03-12 10:09:50 +01:00
Pengfei Li
1dc7271eca 8214922: Add vectorization support for fmin/fmax
Reviewed-by: adinn, roland
2019-03-07 02:39:06 +00:00
Lin Zang
144d81caf6 8219721: jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
Fix compatibility issue caused by jmap update of 8215622

Reviewed-by: dholmes, ysuenaga, phh, sspitsyn
2019-03-11 21:26:19 -04:00
Bernard Blaser
cf09431450 8220407: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout
Reviewed-by: kvn
2019-03-12 02:13:02 +01:00
Valerie Peng
6fbf59de59 Merge 2019-03-11 23:51:25 +00:00
Valerie Peng
ed87f68640 8213008: Cipher with UNWRAP_MODE should support the generation of an AES key type
Replaced CKK_GENERIC_SECRET with alorithm-specific key type in P11RSACipher unwrap impl

Reviewed-by: ascarpino
2019-03-11 23:48:32 +00:00
Joe Wang
b238aef18d 8219705: Wrong media-type for a given serialization method
Reviewed-by: lancea
2019-03-11 15:51:39 -07:00
Jonathan Gibbons
1b9db9b7a1 8220202: Simplify/standardize method naming for HtmlTree
Reviewed-by: hannesw
2019-03-11 12:59:45 -07:00
Joe Darcy
3a072e4e45 8220346: Refactor java.lang.Throwable to use Objects.requireNonNull
Reviewed-by: lancea, mchung, tvaleev, forax, martin, plevart
2019-03-11 11:23:09 -07:00
Zhengyu Gu
b5b1fe042a 8220444: Shenandoah should use parallel version of WeakProcessor in root processor for weak roots
Reviewed-by: rkennke, shade
2019-03-11 14:06:05 -04:00
Lance Andersen
7c49914df1 8220331: Remove extra spaces in copyright header
Reviewed-by: naoto
2019-03-11 13:37:56 -04:00
Claes Redestad
8c047147f9 8220420: Cleanup c1_LinearScan
Reviewed-by: thartmann, neliasso
2019-03-11 17:33:55 +01:00
Christoph Langer
bacddb40eb 8220409: jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java - testOverlapWithBaseModule tests the wrong thing
Reviewed-by: alanb
2019-03-11 15:34:16 +01:00
Rachna Goel
96d797d9d1 8220414: Correct copyright headers in Norm2AllModes.java and Normalizer2.java
Updated copyright headers

Reviewed-by: alanb
2019-03-11 17:34:23 +05:30
Aleksey Shipilev
5c0f32e4b7 8074817: Resolve disabled warnings for libverify
Reviewed-by: erikj, alanb
2019-03-11 12:39:51 +01:00
Tobias Hartmann
164fcbbec9 8218201: Failures when vmIntrinsics::_getClass is not inlined
Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.

Reviewed-by: kvn, dlong, redestad, neliasso
2019-03-11 11:42:57 +01:00
Priya Lakshmi Muthuswamy
e5f0f8d005 8220087: Remove remnants of HTML4 support
Reviewed-by: jjg
2019-03-11 14:57:16 +05:30
Nishit Jain
0b082fcc1d 8217254: CompactNumberFormat:: CompactNumberFormat​() constructor does not comply with spec
8217721: CompactNumberFormat:: format​() method spec for IAEx is not complaint

Reviewed-by: naoto
2019-03-11 14:22:23 +05:30
Priya Lakshmi Muthuswamy
472d55d722 8219632: Remove reference to com.sun.javadoc API in RemoveOldDoclet test
Reviewed-by: jjg
2019-03-11 14:17:08 +05:30
Kim Barrett
c7ae2d10b7 8217417: Decorator name typo: C2_TIGHLY_COUPLED_ALLOC
Fixed typo in decorator name, variables, and comments.

Reviewed-by: tschatzl
2019-03-11 02:05:07 -04:00
Aleksey Shipilev
ac03c04256 8220162: Shenandoah should not commit HugeTLBFS memory
Reviewed-by: rkennke, zgu
2019-03-11 00:06:48 +01:00
Aleksey Shipilev
c3a207f1a7 8220153: Shenandoah does not work with TransparentHugePages properly
Reviewed-by: rkennke, zgu
2019-03-11 00:06:47 +01:00
Aleksey Shipilev
1a100ade57 8220350: Refactor ShenandoahHeap::initialize
Reviewed-by: rkennke, zgu
2019-03-11 00:06:46 +01:00
David Holmes
7a6896f3b3 8219685: Startup failure: assert(!Universe::is_module_initialized()) failed: Incorrect java.lang.Module pre module system initialization
Reviewed-by: lfoltan, redestad
2019-03-10 18:53:55 -04:00
Eric Caspole
1e2234d57c 8220368: Update String.indexOf to test all the C2 intrinsics
Add new micros for Latin1 and UTF-16

Reviewed-by: kvn, redestad
2019-03-08 17:45:40 -05:00
Claes Redestad
d2c205bb59 8219860: Cleanup ClassFileParser::parse_linenumber_table
Reviewed-by: rehn, lfoltan, hseigel
2019-03-08 23:02:06 +01:00
Bob Vandette
69a6a6c4a0 8220334: Fix copyright header text
Reviewed-by: lancea
2019-03-08 16:21:16 -05:00
Bob Vandette
917598aac3 8220323: Fix copyright header text
Reviewed-by: lancea
2019-03-08 16:20:05 -05:00
Ron Shapiro
50a289a8ac 8220377: Unused field SourceFileObject.flatname
Reviewed-by: jjg
2019-03-08 09:41:03 -08:00
Mikhailo Seledtsov
f31d3d540e Merge 2019-03-08 11:09:39 -08:00
Mikhailo Seledtsov
08aa348b05 8220313: [TESTBUG] Update base image for Docker testing to OL 7.6
Updated the OL version in Dockerfile in FROM field

Reviewed-by: dcubed
2019-03-08 11:08:11 -08:00
Nils Eliasson
561843be93 8219642: ciReplay loads wrong data when MethodData size changes
Reviewed-by: kvn, thartmann
2019-03-08 15:27:47 +01:00
Severin Gehwolf
1952af8053 8220353: [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
Reviewed-by: thartmann, shade
2019-03-08 13:56:05 +01:00
Harold Seigel
871541b342 8220085: runtime/CompressedOops/UseCompressedOops.java times out on Windows intermittently
Increase the test's timeout to 480 and move it from tier1 to tier3.

Reviewed-by: lfoltan, mseledtsov
2019-03-08 08:19:16 -05:00
Robbin Ehn
34a7b03e24 8220173: assert(_handle_mark_nesting > 1) failed: memory leak: allocating handle outside HandleMark
Reviewed-by: dcubed, redestad
2019-03-08 12:51:36 +01:00
Aleksey Shipilev
86851c31d8 8220290: gc/arguments/TestSurvivorRatioFlag.java fails after JDK-8215221 with CMS
Reviewed-by: kbarrett, tschatzl
2019-03-08 12:01:43 +01:00
Martin Doerr
97ec4aeed2 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-03-08 11:23:30 +01:00
Mikhailo Seledtsov
6d12ffec19 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Start docker with limits on CPU/Mem, verify JFR reports correct data

Reviewed-by: egahlin
2019-03-07 13:20:04 -08:00
Nils Eliasson
d48c35db98 8219448: split-if update_uses accesses stale idom data
Reviewed-by: thartmann, kvn
2019-03-07 22:16:03 +01:00
Naoto Sato
473a26aebd 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Reviewed-by: lancea, rgoel
2019-03-07 12:56:48 -08:00
Mikhailo Seledtsov
f391d9141b 8213448: [TESTBUG] enhance jfr/jvm/TestDumpOnCrash
Added 2 more crash scenarios, removed dumponexit, and more

Reviewed-by: egahlin
2019-03-07 12:15:48 -08:00
Sean Mullan
939d40e1a8 8218618: Program fails when using JDK addressed by UNC path and using Security Manager
Reviewed-by: weijun
2019-03-07 14:29:43 -05:00
Henry Jen
b481f5bd24 8217216: Launcher does not defend itself against LD_LIBRARY_PATH_64 (Solaris)
Reviewed-by: rriggs
2019-03-07 10:18:23 -08:00
Severin Gehwolf
cafb914cca 8220283: ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
Reviewed-by: shade, kbarrett
2019-03-07 16:15:43 +01:00
Anthony Scarpino
5250aaafdb 8220165: Encryption using GCM results in RuntimeException- input length out of bound
Reviewed-by: valeriep
2019-03-07 19:35:02 -08:00
Jatin Bhateja
c2ec1085e1 8217561: X86: Add floating-point Math.min/max intrinsics
Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions

Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
2019-03-07 15:27:42 +01:00
Claes Redestad
367ae10733 8220159: Optimize various RegMask operations by introducing watermarks
Reviewed-by: neliasso, thartmann
2019-03-05 16:39:18 +01:00
Gary Adams
359e6b0a42 8201252: unquarantine nsk/jdi/ThreadReference/resume/resume001
Reviewed-by: cjplummer
2019-03-07 07:19:49 -05:00
Aleksey Shipilev
ba8645f09a 8215221: Serial GC misreports young GC time
Reviewed-by: kbarrett, manc
2019-03-07 10:50:52 +01:00
Robbin Ehn
9b70cef920 8220050: Deprecate -XX:-ThreadLocalHandshakes
Reviewed-by: dcubed, mdoerr
2019-03-07 10:32:55 +01:00
Aleksey Shipilev
ae233f6f0d 8220228: Improve Shenandoah pacing histogram message
Reviewed-by: rkennke
2019-03-07 10:22:19 +01:00
Goetz Lindenmaier
3d593b0c1c 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-03-06 16:01:01 +01:00
Tobias Hartmann
ac17b61a59 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods.

Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00
Jesper Wilhelmsson
e28fea2d7c Added tag jdk-13+11 for changeset 21ea4076a275 2019-03-07 00:23:45 +01:00
Claes Redestad
53661491f7 8219713: Reduce work in DefaultMethods::generate_default_methods
Reviewed-by: hseigel, dholmes, lfoltan, acorn
2019-03-06 21:58:54 +01:00
Daniil Titov
02d0800300 8218464: vmTestbase/nsk/jdi/VirtualMachine/allThreads/allthreads001/TestDescription.java failed
Reviewed-by: sspitsyn, gadams
2019-03-06 09:30:05 -08:00
Thomas Stuefe
914ce13a0c 8219650: [Testbug] Fix potential crashes in new test hotspot gtest "test_print_hex_dump"
Reviewed-by: clanger, shade
2019-02-28 14:22:03 +01:00
Lutz Schmidt
97807df5ba 8219214: Infinite Loop in CodeSection::dump()
Reviewed-by: kvn, thartmann
2019-03-06 12:14:47 +01:00
Robbin Ehn
d569301f4e 8220151: SafepointTracing::end_of_last_safepoint_ms should return ms since epoch
Reviewed-by: dholmes, redestad
2019-03-06 11:15:16 +01:00
Jie Fu
26702d005b 8219519: Remove linux_sparc.ad and linux_aarch64.ad
Reviewed-by: thartmann, pli, adinn
2019-02-28 09:43:23 +08:00
Vivek Deshpande
40031abde4 8220211: Small update to Fix generation of VNNI vector code by allowing adjacent LoadS nodes to be isomorphic (JDK-8216580)
Reviewed-by: kvn
2019-03-05 21:26:14 -08:00
Kim Barrett
725a467ad8 8219613: Use NonJavaThread PtrQueues
Init and use NJT queues, remove shared SATB queue.

Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: shade, zgu, pliden, tschatzl
2019-03-05 19:54:33 -05:00
Vivek Deshpande
8b57cdf5f8 8216580: Fix generation of VNNI vector code by allowing adjacent LoadS nodes to be isomorphic
Reviewed-by: kvn, thartmann, rraghavan
2019-03-05 14:07:30 -08:00
Daniil Titov
ac7f4635e1 8218167: nsk/jvmti/scenarios/sampling/SP02/sp02t003 fails
Reviewed-by: dlong, cjplummer
2019-03-05 13:41:35 -08:00
Chris Plummer
2e9427d223 8220030: JdbStopThreadidTest.java failed due to "Unexpected IO error while writing command 'quit' to jdb stdin stream"
Use contToExit(1) for safer approach to test exit.

Reviewed-by: gadams, amenkov
2019-03-05 13:40:05 -08:00
Jonathan Gibbons
58aa7a85f6 8219946: Set class on body elements
Reviewed-by: hannesw
2019-03-05 10:35:29 -08:00
Volker Simonis
791c462918 8220164: Fix build instructions for AIX
Reviewed-by: mdoerr, erikj, mbaesken
2019-03-05 18:53:54 +01:00
Zhengyu Gu
ee991225e7 8220161: Shenandoah does not need to initialize PLABs for safepoint workers
Reviewed-by: shade
2019-03-05 12:30:47 -05:00
Matthias Baesken
64683c77ae 8219920: dependency help output in configure-step : support zypper tool
Reviewed-by: erikj, ihse
2019-03-05 09:55:00 +01:00
Sean Mullan
9d9edee86e 8217878: ENVELOPING XML signature no longer works in JDK 11
8218629: XML Digital Signature throws NAMESPACE_ERR exception on OpenJDK 11, works 8/9/10

Backout and restore previous XML signature marshalling implementation

Reviewed-by: weijun
2019-03-05 08:24:58 -05:00
Magnus Ihse Bursie
321d7d386a 8220155: JDK-8219971 broke hotspot build
Reviewed-by: dholmes
2019-03-05 13:41:36 +01:00
Ao Qi
d03af26692 8219906: Update test documentation with default test jobs settings
Reviewed-by: ihse
2019-03-05 11:09:52 +01:00
Magnus Ihse Bursie
d9153b8e3c 8219971: Introduce SetupExecute in build system
Reviewed-by: erikj
2019-03-05 11:07:19 +01:00
David Holmes
b0d139de19 8219974: REDO JDK-8219492: Restore static callsite resolution for the current class
Reviewed-by: redestad, vlivanov, coleenp
2019-03-04 19:38:50 -05:00
Erik Joelsson
53adab6857 8219986: Change to Xcode 10.1 for building on Macosx at Oracle
Reviewed-by: tbell
2019-03-04 11:28:52 -08:00
Erik Joelsson
ab198d37e8 8219988: Change to Visual Studio 2017 15.9.6 for building on Windows at Oracle
Reviewed-by: tbell
2019-03-04 11:30:27 -08:00
Jonathan Gibbons
66868f287c 8219801: Pages do not have <h1>
Reviewed-by: hannesw
2019-03-04 11:19:34 -08:00
Fairoz Matte
3e71e62ff6 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
2019-03-01 04:34:28 -08:00
Dong Bo
8b6c1759ba 8219888: aarch64: add CPU detection code for HiSilicon TSV110
Reviewed-by: aph, drwhite, pzhang
2019-03-01 14:38:59 +08:00
Gary Adams
cf086be753 4903717: nsk/jdi/ThreadReference/isSuspended/issuspended002 failing
Reviewed-by: amenkov, sspitsyn
2019-03-04 08:45:05 -05:00
Thomas Schatzl
3d9de2e6f2 8219856: Spell out G1CollectorPolicy::is_hetero_heap
Reviewed-by: sangheki, kbarrett
2019-03-04 11:49:16 +01:00
Thomas Schatzl
bfaeb63761 8219748: Add and use getter for the timing object in G1
Reviewed-by: shade, kbarrett
2019-03-04 11:49:16 +01:00
Thomas Schatzl
5fe5d0a90a 8219747: Remove g1_ prefix to g1_remset and g1_policy members in G1CollectedHeap
Reviewed-by: shade, sangheki
2019-03-04 11:49:16 +01:00
Thomas Schatzl
719bbcddf8 8219369: Add named constants for iterating ExtRootScan phases
Reviewed-by: kbarrett, sangheki
2019-03-04 11:49:16 +01:00
Thomas Schatzl
e68d585a8d 8218880: G1 crashes when issuing a periodic GC while the GCLocker is held
Do not wait for the GC locker in the periodic GC thread as the GC locker being held is an indication for being busy anyway.

Reviewed-by: kbarrett, shade
2019-03-04 11:49:16 +01:00
Jan Lahoda
76c916516c 8217868: Crash for overlap between source path and patch module path
When analyzing implicit files, do not look for containing module, but rather use the already known one.

Reviewed-by: jjg
2019-03-04 10:19:35 +01:00
David Holmes
0d13646cbf 8219619: Remove UseFakeTimers and related code
Reviewed-by: zgu, redestad
2019-03-02 18:09:18 -05:00
Zhengyu Gu
ce570e8693 8219976: GarbageCollectionNotificationInfo always says "No GC" when running Shenandoah
Reviewed-by: rkennke
2019-03-02 08:33:32 -05:00
Dmitry Chuyko
d8e91975b6 8214854: JDWP: Unforseen output truncation in logging
Reviewed-by: cjplummer, dholmes
2019-03-02 11:42:04 +03:00
Xue-Lei Andrew Fan
f6d199fdb3 8219994: CheckSecurityProvider.java fails with unexpected sun.security.ssl.SunJSSE
Reviewed-by: mullan, wetmore
2019-03-01 13:08:41 -08:00
Ivan Gerasimov
0052dff370 8218228: The constructor StringBuffer(CharSequence) violates spec for negatively sized argument
Reviewed-by: rriggs, darcy
2019-03-01 12:47:30 -08:00
Jonathan Gibbons
2324f24c5d 8219803: Nodeca Pako license text needs to be inserted in JSZip license text
Reviewed-by: darcy
2019-03-01 11:01:49 -08:00
Jie Fu
0f2562d71d 8219919: RuntimeStub name lost with PrintFrameConverterAssembly
Reviewed-by: kvn
2019-03-01 10:00:03 -08:00
Xue-Lei Andrew Fan
4332a3dc56 8219990: Backout JDK-8219658
Reviewed-by: dfuchs
2019-03-01 09:42:04 -08:00
Martin Doerr
ed252e10de 8219582: PPC: Crash after C1 checkcast patched and GC
Reviewed-by: akozlov, goetz
2019-03-01 17:48:53 +01:00
Xue-Lei Andrew Fan
25f0d60a58 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
David Holmes
e7eae4444d 8219969: Backout JDK-8219492
Reviewed-by: goetz, hseigel, tschatzl
2019-03-01 08:14:29 -05:00
Thomas Stuefe
fb7bbfac57 8218988: Improve metaspace verifications
Reviewed-by: zgu, coleenp
2019-02-10 09:10:42 +01:00
Christoph Langer
8bec32b02f 8219915: [TESTBUG] Fix test langtools/tools/javac/processing/model/completionfailure/SymbolsDontCumulate.java in Standalone mode
Reviewed-by: jlahoda
2019-03-01 10:15:04 +00:00
Matthias Baesken
689760bc12 8219746: Provide virtualization related info in the hs_error file on linux ppc64 / ppc64le
Reviewed-by: dholmes, lucy, mdoerr
2019-02-28 10:28:34 +01:00
Nick Gasson
4e09929ef9 8209413: AArch64: NPE in clhsdb jstack command
Reviewed-by: aph
2019-02-19 14:11:52 +08:00
Vladimir Kozlov
211162fd5c 8219951: Build failure on Mac and Windows after JDK-8219922
Add missing parentheses.

Reviewed-by: dholmes
2019-02-28 17:16:40 -08:00
David Holmes
b5f55fadff 8219492: Restore static callsite resolution for the current class
Reviewed-by: redestad, lfoltan, vlivanov
2019-02-28 18:28:23 -05:00
Naoto Sato
a91eebcd1e Merge 2019-02-28 14:05:58 -08:00
Naoto Sato
c12d6ac1a7 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Coleen Phillimore
84a6e34fb0 8218266: G1 crash in AccessInternal::PostRuntimeDispatch
Protection_domains can be unloaded in the dictionary pd_set.

Reviewed-by: zgu, hseigel
2019-02-28 16:30:31 -05:00
Claes Redestad
29d842b5a0 8219922: Simplify and optimize IndexSetIterator::next using count_trailing_zeros
Reviewed-by: kvn, neliasso
2019-02-28 22:11:46 +01:00
Daniil Titov
ba84c4bc0c 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg
Reviewed-by: sspitsyn, cjplummer
2019-02-28 13:12:26 -08:00
Brian Burkhalter
fad1f059b0 5071718: (bf) Add ByteBuffer.slice(int offset, int length)
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
Xue-Lei Andrew Fan
8f84ae5684 8219658: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: jnimeh
2019-02-28 10:04:27 -08:00
Igor Ignatyev
beb40cddf4 8219798: [deadcode] remove src/hotspot/share/prims/evmCompat.cpp
Reviewed-by: dholmes
2019-02-28 09:10:58 -08:00
Igor Ignatyev
7cf85f15b6 8219565: [deadcode] remove share/utilities/intHisto.*
Reviewed-by: dholmes
2019-02-28 09:10:46 -08:00
Gerard Ziemski
dbd7ee1eb4 8212932: [TESTBUG] Clean up TestVirtualSpaceNode test
Remove test/hotspot/gtest/memory/test_virtualSpaceNode.cpp

Reviewed-by: stuefe, coleenp
2019-02-28 11:04:06 -06:00
Gerard Ziemski
d291437162 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Excluded test of mac range for VMThreadStackSize

Reviewed-by: coleenp, mseledtsov
2019-02-28 10:55:07 -06:00
Zhengyu Gu
00b46c06a5 8219857: Shenandoah GC may initialize thread's gclab twice
Reviewed-by: rkennke
2019-02-28 08:44:09 -05:00
Goetz Lindenmaier
62dd12b386 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess
Reviewed-by: dholmes, dcubed
2019-02-28 13:53:38 +01:00
Ralf Schmelter
058e382d87 8219712: code_size2 (defined in stub_routines_x86.hpp) is too small on new Skylake CPUs
Reviewed-by: mbaesken, dholmes, kvn
2019-02-26 05:46:02 -08:00
Pengfei Li
7560f0430c 8216259: AArch64: Vectorize Adler32 intrinsics
Reviewed-by: aph
2019-02-28 16:37:28 +08:00
John Jiang
06befcd14a 8219723: javax/net/ssl/compatibility/Compatibility.java failed on some SNI cases
Re-generates RSA and ECDSA certificates and set longer validity period

Reviewed-by: xuelei
2019-02-28 13:37:03 +08:00
Jesper Wilhelmsson
de0f08a80e Added tag jdk-13+10 for changeset 8e069f7b4fab 2019-02-28 02:47:39 +01:00
Calvin Cheung
b999cc8f33 8214809: CDS storage improvements
Reviewed-by: acorn, iklam, ahgross, rhalade
2018-12-12 11:57:22 -08:00
Claes Redestad
c013c7bd2f 8214712: Archive Attributes$Name.KNOWN_NAMES
Reviewed-by: alanb, jiangli
2018-12-03 16:25:27 +01:00
Claes Redestad
bf2d6a2838 8220682: Heap dumping and inspection fails with JDK-8214712
Reviewed-by: jcbeyler, jiangli, sspitsyn
2019-03-26 10:23:11 +01:00
Christoph Langer
6ede0b6bb8 8221262: Cleanups in UnixFileSystem/WinNTFileSystem implementation classes
Reviewed-by: alanb, igerasim
2019-03-26 09:16:07 +01:00
Daniil Titov
57bf6a1800 8217827: [Graal] Some vmTestbase/nsk/jvmti/ResourceExhausted tests failing
Reviewed-by: cjplummer, jcbeyler, dholmes
2019-03-26 04:19:39 +00:00
Joe Darcy
6ee9a15441 8221264: Refactor and update SourceVersion.latestSupported
Reviewed-by: jjg, cushon, martin
2019-03-25 19:40:01 -07:00
Serguei Spitsyn
c7d102070b 8146986: JDI: Signature lookups for unprepared classes can take a long time
Do not cache classes if signature is not provided

Reviewed-by: sspitsyn, jcbeyler
2019-03-25 19:16:58 -07:00
Gustavo Romero
799f744311 8221434: Fix typo in lib-x11 autoconf error message about missing headers
Reviewed-by: dholmes
2019-03-25 19:40:25 -04:00
Jing Tian
f5e17637a9 8221357: Update test documentation by deleting "cd test && make"
Reviewed-by: dholmes, tbell, erikj
2019-03-25 17:29:43 -04:00
Claes Redestad
06656bd270 8221343: x86_32 crashes on startup with "_hwm out of range"
Reviewed-by: thartmann, kvn
2019-03-25 20:57:07 +01:00
Dmitrij Pochepko
975c61d4c9 8216989: CardTableBarrierSetAssembler::gen_write_ref_array_post_barrier() does not check for zero length on AARCH64
Reviewed-by: adinn
2019-03-25 19:49:32 +03:00
Erik Joelsson
9833d2a1cd 8220445: Support for side by side MSVC Toolset versions
Co-authored-by: Ali Ince <ali.ince@gmail.com>
Reviewed-by: tbell
2019-03-25 09:07:55 -07:00
Leo Korinth
b0b6b497a4 8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by: kbarrett, tschatzl
2019-03-25 14:46:55 +01:00
Yasumasa Suenaga
ec1f61711b 8217362: Emergency dump does not work when disk=false is set
Reviewed-by: egahlin, ysuenaga
2019-03-25 15:37:06 +01:00
Thomas Schatzl
efe03d5a90 8219100: Improve do_collection_pause_at_safepoint
Reviewed-by: kbarrett, sangheki
2019-03-25 14:11:09 +01:00
Gary Adams
4e94e001f6 8220295: sun/tools/jps/TestJps.java still timing out
Reviewed-by: cjplummer, jcbeyler
2019-03-25 08:37:32 -04:00
Gary Adams
e3ff5a494d 8221164: jstatLineCounts tests need to be more resilient for NaN outputs
Reviewed-by: cjplummer, phh, jcbeyler
2019-03-25 07:31:20 -04:00
Patric Hedlin
ea03d400b1 8233498: Remove dead code
Reviewed-by: neliasso
2018-04-24 13:59:02 +02:00
Erik Gahlin
b3d2b3ba5f 8230767: FlightRecorderListener returns null recording
Reviewed-by: mseledtsov, mgronlun
2019-11-11 14:47:37 +01:00
Ivan Gerasimov
43368f8f9f 8233886: TEST_BUG jdk/java/net/CookieHandler/B6791927.java hit hardcoded expiration date
Reviewed-by: chegar, vtewari
2019-11-11 05:09:31 -08:00
Stefan Johansson
5e113f37e8 8233065: PSParallelCompact::move_and_update is unused and should be removed
Reviewed-by: lkorinth, tschatzl
2019-11-11 13:20:26 +01:00
Ralf Schmelter
b2a9673829 8233790: Forward output from heap dumper to jcmd/jmap
Reviewed-by: stuefe, sspitsyn, cjplummer
2019-11-11 12:06:22 +01:00
Markus Grönlund
c2a05a128d 8231922: Could not find field with name revokedClass
Reviewed-by: egahlin
2019-11-11 11:25:15 +01:00
Christian Hagedorn
173dae8bc6 8229694: JVM crash in SWPointer during C2 OSR compilation
Handle the case where there is only 1 pack and no operations left when calling SuperWord::find_align_to_ref() to find the best alignment again.

Reviewed-by: kvn, vlivanov, thartmann
2019-11-11 10:41:03 +01:00
Igor Ignatyev
993947e6ce 8233745: [JVMCI] TranslatedException should serialize classloader and module info
Reviewed-by: kvn, dnsimon
2019-11-09 10:27:53 -08:00
Alan Bateman
090dc51a4e 8233435: (dc) DatagramChannel should allow IPv6 socket join IPv4 multicast groups (macOS, win)
Reviewed-by: dfuchs
2019-11-09 11:48:37 +00:00
Alex Kashchenko
690b960c8f 8216472: (se) Stack overflow during selection operation leads to crash (win)
Reviewed-by: alanb
2019-11-09 09:13:04 +00:00
Xue-Lei Andrew Fan
12beed6ec9 8233621: Mismatch in jsse.enableMFLNExtension property name
Reviewed-by: mullan
2019-11-08 18:35:33 -08:00
Fei Yang
2ec6eecbcd 8233839: aarch64: missing memory barrier in NewObjectArrayStub and NewTypeArrayStub
Reviewed-by: adinn
2019-11-08 16:53:57 +08:00
Ioi Lam
6804e318db 8233855: [TESTBUG] appcds/FieldLayoutFlags.java failed to clean up files after test
Reviewed-by: hseigel
2019-11-08 11:03:00 -08:00
Zhengyu Gu
3b8a1c14e8 8233850: Shenandoah: Shenandoah thread count ergonomics should be container aware
Reviewed-by: rkennke
2019-11-08 11:41:17 -05:00
Alan Bateman
b7dd1aff8b 8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels()
Reviewed-by: bpb
2019-11-08 08:12:04 -08:00
Zhengyu Gu
2786514a99 8233337: Shenandoah: Cleanup AArch64 SBSA::load_reference_barrier_not_null()
Reviewed-by: rkennke
2019-11-08 09:51:18 -05:00
Zhengyu Gu
3672c05476 8233339: Shenandoah: Centralize load barrier decisions into ShenandoahBarrierSet
Reviewed-by: rkennke
2019-11-08 09:50:07 -05:00
Jorn Vernee
d405f6abb6 8233389: Add PrintIdeal to compiler directives
Add PrintIdeal as a compiler directive in order to enable PrintIdeal for only a single method.

Reviewed-by: roland, neliasso, vlivanov, thartmann
2019-11-08 10:55:14 +01:00
Thomas Schatzl
c4b3dcf8c1 8189737: Make HeapRegion not derive from Space
Reviewed-by: sjohanss, kbarrett
2019-11-08 10:01:13 +01:00
Tobias Hartmann
f225f7cd0b 8233788: Remove useless asserts in PhaseCFG::insert_anti_dependences
Removed useless asserts.

Reviewed-by: kvn
2019-11-08 09:16:48 +01:00
Ioi Lam
61a6ef79ae 8233086: [TESTBUG] need to test field layout style difference between CDS dump time and run time
Reviewed-by: fparain
2019-11-07 16:26:57 -08:00
Smita Kamath
a6649eb089 8233741: AES Countermode (AES-CTR) optimization using AVX512 + VAES instructions
Co-authored-by: Regev Shemy <regev.shemy@intel.com>
Co-authored-by: Shay Gueron <shay.gueron@intel.com>
Reviewed-by: kvn
2019-11-07 17:47:22 -08:00
Mikhailo Seledtsov
d5dce23506 8209813: [TESTBUG] rewrite JFR shell tests in Java
Converted shell tests to Java

Reviewed-by: lmesnik, egahlin
2019-11-07 16:00:53 -08:00
Brian Burkhalter
fc2a8abcc0 8232178: MacVolumesTest failed after upgrade to MacOS Catalina
Reviewed-by: lancea
2019-11-07 13:53:38 -08:00
Igor Ignatyev
69606205a6 8230364: [JVMCI] a number of JVMCI tests are not jtreg enabled
Reviewed-by: kvn
2019-11-07 13:39:31 -08:00
Kim Barrett
89e3782f21 8233364: Fix undefined behavior in Canonicalizer::do_ShiftOp
Add java_shift_xxx helpers and use them.

Reviewed-by: aph, kvn
2019-11-07 16:22:22 -05:00
Naoto Sato
c1a99a0f33 8232871: Host Locale Provider on Mac does not return translated values of Japanese calendar
Reviewed-by: bchristi
2019-11-07 11:34:01 -08:00
Naoto Sato
63ef779d96 8233579: DateFormatSymbols.getShortMonths() return wrong string on es_CL, es_CO locales
Reviewed-by: joehw
2019-11-07 10:06:04 -08:00
Daniel Fuchs
eaba9fe23b 8233403: Improve verbosity of some httpclient tests
Improve the verbosity of some httpclient tests to help diagnosis of intermittent failures. Also fixes ShortRequestBody test.

Reviewed-by: chegar
2019-11-07 16:18:02 +00:00
Markus Grönlund
24bff84cb3 8232905: JFR fails with assertion: assert(t->unflushed_size() == 0) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:56:56 +01:00
Markus Grönlund
9ec96c1117 8233416: JFR: assert((((((klass)->trace_id()) & (((1 << 1) << 8) | (JfrTraceIdEpoch::in_use_this_epoch_bit()))) != 0))) failed: invariant
Reviewed-by: egahlin
2019-11-07 15:53:25 +01:00
Per Lidén
b7dcab5af0 8233793: ZGC: Incorrect type used in ZBarrierSetC2 clone_type()
Reviewed-by: eosterlund
2019-11-07 15:48:43 +01:00
Zhengyu Gu
4860dad68c 8233796: Shenandoah is broken after 8233708
Reviewed-by: rkennke
2019-11-07 09:41:22 -05:00
David Holmes
d935027a68 8233784: ProblemList failing JVMTI scenario tests
Reviewed-by: goetz
2019-11-07 07:53:02 -05:00
Claes Redestad
12adeca887 8233708: VectorSet cleanup
Reviewed-by: neliasso, shade, thartmann
2019-11-07 12:12:39 +01:00
Erik Österlund
f07d377d6f 8233073: Make BitMap accessors more memory ordering friendly
Reviewed-by: kbarrett, pliden
2019-11-07 10:28:29 +00:00
Roland Westrelin
afd91fd320 8232539: SIGSEGV in C2 Node::unique_ctrl_out
Reviewed-by: thartmann, kvn
2019-10-22 11:55:58 +02:00
Matthias Baesken
6e3be7fbf7 8233328: fix minimal VM build on Linux s390x
Reviewed-by: lucy, mdoerr
2019-11-06 14:04:07 +01:00
Nils Eliasson
3b5b596f4b 8233783: Make 8232896 patch complete
Reviewed-by: pliden, kvn
2019-11-07 09:23:55 +01:00
Tobias Hartmann
14475e47b6 8233491: Crash in AdapterHandlerLibrary::get_adapter with CDS due to code cache exhaustion
Added null check.

Reviewed-by: kvn, iklam
2019-11-07 07:02:55 +01:00
David Holmes
4272078d30 8233454: Test fails with assert(!is_init_completed(), "should only happen during init") after JDK-8229516
Reviewed-by: jiefu, dcubed
2019-11-06 21:18:42 -05:00
Jesper Wilhelmsson
7b730a361a Added tag jdk-14+22 for changeset 83810b7d12e7 2019-11-07 03:01:52 +01:00
Aleksey Shipilev
a57683f3e0 8233698: GCC 4.8.5 build failure after JDK-8233530
Reviewed-by: stuefe, dholmes, kbarrett
2019-11-06 19:37:30 +01:00
Jie Fu
9ca5e79bf2 8233671: [TESTBUG] runtime/cds/appcds/sharedStrings/FlagCombo.java fails to compile without jfr
Reviewed-by: iklam
2019-11-06 15:20:06 +08:00
Ivan Gerasimov
68a7b58abb 8233658: Escape + in the expression describing Runtime.Version string
Reviewed-by: naoto
2019-11-06 09:45:26 -08:00
Xue-Lei Andrew Fan
b7f557e5c7 8223940: Private key not supported by chosen signature algorithm
Reviewed-by: valeriep
2019-11-06 09:45:04 -08:00
Christoph Goettschkes
7fbb1f5ae1 8231955: ARM32: Address displacement is 0 for volatile field access because of Unsafe field access
Reviewed-by: dlong
2019-11-06 19:37:52 +03:00
Boris Ulasevich
708890f2ca 8233600: Cross-builds fails after JDK-8233285
Reviewed-by: shade, erikj
2019-11-06 19:27:15 +03:00
Aleksey Shipilev
270c5ea37e 8233695: AArch64 build failures after -Wno-extra removal
Reviewed-by: aph
2019-11-06 16:52:49 +01:00
Zhengyu Gu
476cfd1547 8233401: Shenandoah: Refactor/cleanup Shenandoah load barrier code
Reviewed-by: aph, shade, rkennke
2019-11-06 09:50:53 -05:00
Yasumasa Suenaga
b2e6cba0b4 8233375: JFR emergency dump does not recover thread state
Reviewed-by: dholmes, mgronlun
2019-11-06 21:49:30 +09:00
Jie Fu
9c2bb3ccf3 8233659: [TESTBUG] runtime/cds/appcds/CommandLineFlagCombo.java fails when jfr is disabled
Reviewed-by: iklam
2019-11-06 13:43:25 +08:00
Ivan Gerasimov
1c2b406ab5 8233650: Javadoc for Math.floorMod(int, int) gives wrong example
Reviewed-by: bpb
2019-11-05 20:27:21 -08:00
Markus Knetschke
8ca82e3147 8233599: ARM32 Build failed due to 8232050 missing an include
Reviewed-by: dholmes
2019-11-05 18:42:10 -05:00
Lance Andersen
50a14e3687 8233622: (zipfs) open/test/jdk/jdk/nio/zipfs/CopyMoveTests.java has incorrect bug label
Reviewed-by: rriggs
2019-11-05 14:54:44 -05:00
Ao Qi
87e7ddc8d7 8233608: Minimal build broken after JDK-8233494
Reviewed-by: shade
2019-11-06 01:45:25 +08:00
Jie Fu
1c40d6fdfb 8233590: Compiler thread creation fails with assert(_c2_count > 0 || _c1_count > 0) failed: No compilers?
Handle the case with -XX:-TieredCompilation properly

Reviewed-by: shade, thartmann
2019-11-05 09:59:21 -08:00
Igor Ignatyev
ddaa12237e 8233496: AOT tests failures with 'java.lang.RuntimeException: Failed to find sun/hotspot/WhiteBox.class'
Reviewed-by: kvn, thartmann
2019-11-05 08:57:36 -08:00
Hannes Wallnöfer
50ef4854dc 8232209: Update double-conversion license file to version 3.1.5
Reviewed-by: sundar
2019-11-05 17:27:18 +01:00
Thomas Stuefe
1be39aa9c7 8233530: gcc 5.4 build warning -Wc++14-compat after JDK-8233359
Reviewed-by: dholmes, goetz
2019-11-05 16:57:58 +01:00
Martin Doerr
c15dfbfd60 8233081: C1: PatchingStub for field access copies too much
Reviewed-by: thartmann, dlong
2019-11-05 11:53:46 +01:00
Nils Eliasson
3ca7e3f6ff 8232896: ZGC: Enable C2 clone intrinsic
Reviewed-by: pliden, kvn
2019-10-31 17:16:36 +01:00
Dmitry Markov
55f7c48828 8232880: Update test documentation with additional settings for client UI tooltip tests
Reviewed-by: aivanov, serb, ihse
2019-11-05 10:11:18 +00:00
Jie Fu
3762eb00f0 8233574: Shenandoah: build is broken without jfr
Reviewed-by: rkennke, shade
2019-11-05 17:02:01 +08:00
Claes Redestad
dd8e82f46e 8233495: Some fieldDescriptor methods can pass existing constantPoolHandle
Reviewed-by: lfoltan, coleenp
2019-11-05 09:58:05 +01:00
Claes Redestad
af729c390c 8233494: Avoid calling MallocTracker::record_malloc and record_free when NMT is off
Reviewed-by: mdoerr, zgu
2019-11-05 09:57:10 +01:00
Jie Fu
9f62f4586d 8233429: Minimal and zero VM build broken after JDK-8227003
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Reviewed-by: iveresov, shade, thartmann
2019-11-05 09:37:20 +08:00
Thomas Stuefe
13cc1154f0 8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Erik Joelsson
778fd086a1 8189861: Refactor CacheFind
Reviewed-by: tbell
2017-10-24 10:41:45 +02:00
Claes Redestad
3880f3db74 8221724: Enable archiving of Strings with hash 0
Reviewed-by: jiangli, iklam
2019-04-02 11:37:11 +02:00
Claes Redestad
1908897b93 8221723: Avoid storing zero to String.hash
Reviewed-by: shade, prappo, jiangli
2019-04-02 11:24:40 +02:00
Per Lidén
6bce53795b 8221748: Remove unused oopDesc::is_unlocked_oop()
Reviewed-by: kbarrett
2019-04-02 10:04:35 +02:00
Per Lidén
a5cec7fe04 8221732: Introduce CollectedHeap::hash_oop()
Reviewed-by: kbarrett, tschatzl, stefank
2019-04-02 10:04:25 +02:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Matthias Baesken
d06f3accec 8221541: clean up functions in CompilerOracle
Reviewed-by: mdoerr, kvn
2019-03-27 10:25:12 +01:00
14144 changed files with 904905 additions and 570698 deletions

View File

@@ -5,12 +5,13 @@ nbproject/private/
^webrev
^.src-rev$
^.jib/
\.DS_Store
\.metadata/
\.recommenders/
(^|/)\.DS_Store
(^|/)\.metadata/
(^|/)\.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
.*/JTreport/.*
.*/JTwork/.*
.*/.git/.*
(^|/)JTreport/
(^|/)JTwork/
(^|/)\.git/
^src/utils/hsdis/build/

59
.hgtags
View File

@@ -542,3 +542,62 @@ b5f05fe4a6f8b3996a000c20078b356d991ca8ec jdk-13+6
6c377af36a5c4203f16aed8a5e4c2ecc08fcd8bd jdk-12+30
021917019cda1c0c5853255322274f37693a2431 jdk-13+7
b5f7bb57de2f797be34f6c75d45c3245ad37ab97 jdk-12+31
a535ba736cabc6886acdff36de3a096c46e5ddc5 jdk-13+8
4ce47bc1fb92cf94c6e3d1f49d582f02dcb851ab jdk-12+32
c081f3ea6b9300265a4a34e38f970b1e3ddaae9f jdk-13+9
b67884871b5fff79c5ef3eb8ac74dd48d71ea9b1 jdk-12+33
8e069f7b4fabfe05d9f500783e6d56cb0196d25c jdk-13+10
21ea4076a275a0f498afa517e9ee1b94a9cf0255 jdk-13+11
1d7aec80147a6d92b101a76aef92f3ddc88bedf4 jdk-13+12
b67884871b5fff79c5ef3eb8ac74dd48d71ea9b1 jdk-12-ga
83cace4142c8563b6a921787db02388e1bc48d01 jdk-13+13
46cf212cdccaf4fb064d913b12004007d3322b67 jdk-13+14
f855ec13aa2501ae184c8b3e0626a8cec9966116 jdk-13+15
9d0ae9508d5337b0dc7cc4684be42888c4023755 jdk-13+16
93b702d2a0cb9e32160208f6700aede1f8492773 jdk-13+17
bebb82ef3434a25f8142edafec20165f07ac562d jdk-13+18
a43d6467317d8f1e160f67aadec37919c9d64443 jdk-13+19
6ccc7cd7931e34129f6b7e04988fc9a63958dde0 jdk-13+20
f2f11d7f7f4e7128f8aba6ffa576cfa76fbf7d1a jdk-13+21
181986c5476468bc2dd4532af49599003ee8af37 jdk-13+22
b034d2dee5fc93d42a81b65e58ce3f91e42586ff jdk-13+23
7e2238451585029680f126ccbb46d01f2ff5607f jdk-13+24
22b3b7983adab54e318f75aeb94471f7a4429c1e jdk-14+0
22b3b7983adab54e318f75aeb94471f7a4429c1e jdk-13+25
2f4e214781a1d597ed36bf5a36f20928c6c82996 jdk-14+1
0692b67f54621991ba7afbf23e55b788f3555e69 jdk-13+26
43627549a488b7d0b4df8fad436e36233df89877 jdk-14+2
b7f68ddec66f996ae3aad03291d129ca9f02482d jdk-13+27
e64383344f144217c36196c3c8a2df8f588a2af3 jdk-14+3
1e95931e7d8fa7e3899340a9c7cb28dbea50c10c jdk-13+28
19d0b382f0869f72d4381b54fa129f1c74b6e766 jdk-14+4
3081f39a3d30d63b112098386ac2bb027c2b7223 jdk-13+29
0f1e29c77e50c7da11d83df410026392c4d1a28c jdk-14+5
2e63fb0a885fa908a97bbb0da8d7c3de11536aca jdk-13+30
443f7359b34d60e7821216ffc60f88b6ffe0ccdd jdk-14+6
6a159c6c23ccd0029140ab91653442e412305ce5 jdk-13+31
28ab01c067551ef158abaef08e154e1051ca0893 jdk-14+7
929f37a9c35d530d4e866f6e832001aeb4cfb371 jdk-13+32
c0023e364b6f130cb1e93747b796d8718d544db1 jdk-14+8
9c250a7600e12bdb1e611835250af3204d4aa152 jdk-13+33
18f189e69b29f8215a3500b875127ed4fb2d977a jdk-14+9
ececb6dae777e622abda42c705fd984a42f46b5a jdk-14+10
bf4c808a4488025a415f867e54c8b088417e08a0 jdk-14+11
8570f22b9b6ac6bec673899b582150865696e425 jdk-14+12
fbbe6672ae15deaf350a9e935290a36f57ba9c25 jdk-14+13
cddef3bde924f3ff4f17f3d369280cf69d0450e5 jdk-14+14
9c250a7600e12bdb1e611835250af3204d4aa152 jdk-13-ga
778fc2dcbdaa8981e07e929a2cacef979c72261e jdk-14+15
d29f0181ba424a95d881aba5eabf2e393abcc70f jdk-14+16
5c83830390baafb76a1fbe33443c57620bd45fb9 jdk-14+17
e84d8379815ba0d3e50fb096d28c25894cb50b8c jdk-14+18
9b67dd88a9313e982ec5f710a7747161bc8f0c23 jdk-14+19
54ffb15c48399dd59922ee22bb592d815307e77c jdk-14+20
c16ac7a2eba4e73cb4f7ee9294dd647860eebff0 jdk-14+21
83810b7d12e7ff761ad3dd91f323a22dad96f108 jdk-14+22
15936b142f86731afa4b1a2c0fe4a01e806c4944 jdk-14+23
438337c846fb071900ddb6922bddf8b3e895a514 jdk-14+24
17d242844fc9e7d18b3eac97426490a9c246119e jdk-14+25
288777cf0702914e5266bc1e5d380eed9032ca41 jdk-14+26
91a3f092682fc715d991a87eb6ec6f28886d2035 jdk-14+27
2069b4bfd23b56b6fc659fba8b75aaaa23debbe0 jdk-14+28

View File

@@ -161,6 +161,7 @@
<p>Even for 32-bit builds, it is recommended to use a 64-bit build machine, and instead create a 32-bit target using <code>--with-target-bits=32</code>.</p>
<h3 id="building-on-sparc">Building on sparc</h3>
<p>At a minimum, a machine with 4 cores is advisable, as well as 4 GB of RAM. (The more cores to use, the more memory you need.) At least 8 GB of free disk space is required.</p>
<p>Note: The sparc port is deprecated.</p>
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM. (The more cores to use, the more memory you need.) At least 6 GB of free disk space is required.</p>
<p>If you do not have access to sufficiently powerful hardware, it is also possible to use <a href="#cross-compiling">cross-compiling</a>.</p>
@@ -180,15 +181,15 @@
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.1 (using kernel 3.8.13)</td>
<td style="text-align: left;">Oracle Enterprise Linux 6.4 / 7.6</td>
</tr>
<tr class="even">
<td style="text-align: left;">Solaris</td>
<td style="text-align: left;">Solaris 11.1 SRU 21.4.1 / 11.2 SRU 5.5</td>
<td style="text-align: left;">Solaris 11.3 SRU 20</td>
</tr>
<tr class="odd">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Mac OS X 10.9 (Mavericks) / 10.10 (Yosemite)</td>
<td style="text-align: left;">Mac OS X 10.13 (High Sierra)</td>
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
@@ -196,7 +197,7 @@
</tr>
</tbody>
</table>
<p>The double version numbers for Linux, Solaris and macOS is due to the hybrid model used at Oracle, where header files and external libraries from an older version are used when building on a more modern version of the OS.</p>
<p>The double version numbers for Linux and Solaris are due to the hybrid model used at Oracle, where header files and external libraries from an older version are used when building on a more modern version of the OS.</p>
<p>The Build Group has a wiki page with <a href="https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms">Supported Build Platforms</a>. From time to time, this is updated by contributors to list successes or failures of building on different platforms.</p>
<h3 id="windows">Windows</h3>
<p>Windows XP is not a supported platform, but all newer Windows should be able to build the JDK.</p>
@@ -225,6 +226,7 @@
<h3 id="solaris">Solaris</h3>
<p>See <code>make/devkit/solaris11.1-package-list.txt</code> for a list of recommended packages to install when building on Solaris. The versions specified in this list is the versions used by the daily builds at Oracle, and is likely to work properly.</p>
<p>Older versions of Solaris shipped a broken version of <code>objcopy</code>. At least version 2.21.1 is needed, which is provided by Solaris 11 Update 1. Objcopy is needed if you want to have external debug symbols. Please make sure you are using at least version 2.21.1 of objcopy, or that you disable external debug symbols.</p>
<p>Note: The Solaris port is deprecated.</p>
<h3 id="macos">macOS</h3>
<p>Apple is using a quite aggressive scheme of pushing OS updates, and coupling these updates with required updates of Xcode. Unfortunately, this makes it difficult for a project such as the JDK to keep pace with a continuously updated machine running macOS. See the section on <a href="#apple-xcode">Apple Xcode</a> on some strategies to deal with this.</p>
<p>It is recommended that you use at least Mac OS X 10.13 (High Sierra). At the time of writing, the JDK has been successfully compiled on macOS 10.12 (Sierra).</p>
@@ -237,7 +239,7 @@
<p>For rpm-based distributions (Fedora, Red Hat, etc), try this:</p>
<pre><code>sudo yum groupinstall &quot;Development Tools&quot;</code></pre>
<h3 id="aix">AIX</h3>
<p>The regular builds by SAP is using AIX version 7.1, but AIX 5.3 is also supported. See the <a href="http://cr.openjdk.java.net/~simonis/ppc-aix-port">OpenJDK PowerPC Port Status Page</a> for details.</p>
<p>Please consult the AIX section of the <a href="https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms">Supported Build Platforms</a> OpenJDK Build Wiki page for details about which versions of AIX are supported.</p>
<h2 id="native-compiler-toolchain-requirements">Native Compiler (Toolchain) Requirements</h2>
<p>Large portions of the JDK consists of native code, that needs to be compiled to be able to run on the target platform. In theory, toolchain and operating system should be independent factors, but in practice there's more or less a one-to-one correlation between target operating system and toolchain.</p>
<table>
@@ -281,25 +283,26 @@
<tbody>
<tr class="odd">
<td style="text-align: left;">Linux</td>
<td style="text-align: left;">gcc 7.3.0</td>
<td style="text-align: left;">gcc 8.3.0</td>
</tr>
<tr class="even">
<td style="text-align: left;">macOS</td>
<td style="text-align: left;">Apple Xcode 9.4 (using clang 9.1.0)</td>
<td style="text-align: left;">Apple Xcode 10.1 (using clang 10.0.0)</td>
</tr>
<tr class="odd">
<td style="text-align: left;">Solaris</td>
<td style="text-align: left;">Oracle Solaris Studio 12.4 (with compiler version 5.13)</td>
<td style="text-align: left;">Oracle Solaris Studio 12.6 (with compiler version 5.15)</td>
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.5.5</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.16</td>
</tr>
</tbody>
</table>
<p>All compilers are expected to be able to compile to the C99 language standard, as some C99 features are used in the source code. Microsoft Visual Studio doesn't fully support C99 so in practice shared code is limited to using C99 features that it does support.</p>
<h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 4.8. Older versions will generate a warning by <code>configure</code> and are unlikely to work.</p>
<p>The JDK is currently known to be able to compile with at least version 7.4 of gcc.</p>
<p>The JDK is currently known to be able to compile with at least version 8.3 of gcc.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 3.2. Older versions will not be accepted by <code>configure</code>.</p>
@@ -369,12 +372,11 @@ cc: Sun C 5.13 SunOS_i386 2014/10/20
$ CC -V
CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<h3 id="microsoft-visual-studio">Microsoft Visual Studio</h3>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2017. Versions older than 2017 are unlikely to continue working for long.</p>
<p>The minimum accepted version of Visual Studio is 2010. Older versions will not be accepted by <code>configure</code>. The maximum accepted version of Visual Studio is 2019. Versions older than 2017 are unlikely to continue working for long.</p>
<p>If you have multiple versions of Visual Studio installed, <code>configure</code> will by default pick the latest. You can request a specific version to be used by setting <code>--with-toolchain-version</code>, e.g. <code>--with-toolchain-version=2015</code>.</p>
<p>If you get <code>LINK: fatal error LNK1123: failure during conversion to COFF: file invalid</code> when building using Visual Studio 2010, you have encountered <a href="http://support.microsoft.com/kb/2757355">KB2757355</a>, a bug triggered by a specific installation order. However, the solution suggested by the KB article does not always resolve the problem. See <a href="https://stackoverflow.com/questions/10888391">this stackoverflow discussion</a> for other suggestions.</p>
<h3 id="ibm-xl-cc">IBM XL C/C++</h3>
<p>The regular builds by SAP is using version 12.1, described as <code>IBM XL C/C++ for AIX, V12.1 (5765-J02, 5725-C72) Version: 12.01.0000.0017</code>.</p>
<p>See the <a href="http://cr.openjdk.java.net/~simonis/ppc-aix-port">OpenJDK PowerPC Port Status Page</a> for details.</p>
<p>Please consult the AIX section of the <a href="https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms">Supported Build Platforms</a> OpenJDK Build Wiki page for details about which versions of XLC are supported.</p>
<h2 id="boot-jdk-requirements">Boot JDK Requirements</h2>
<p>Paradoxically, building the JDK requires a pre-existing JDK. This is called the &quot;boot JDK&quot;. The boot JDK does not, however, have to be a JDK built directly from the source code available in the OpenJDK Community. If you are porting the JDK to a new platform, chances are that there already exists another JDK for that platform that is usable as boot JDK.</p>
<p>The rule of thumb is that the boot JDK for building JDK major version <em>N</em> should be a JDK of major version <em>N-1</em>, so for building JDK 9 a JDK 8 would be suitable as boot JDK. However, the JDK should be able to &quot;build itself&quot;, so an up-to-date build of the current JDK source is an acceptable alternative. If you are following the <em>N-1</em> rule, make sure you've got the latest update version, since JDK 8 GA might not be able to build JDK 9 on all platforms.</p>
@@ -385,10 +387,10 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>On Linux you can also get a JDK from the Linux distribution. On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-&lt;VERSION&gt;-jdk</code> is typically enough to install a JDK &lt;VERSION&gt;. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-&lt;VERSION&gt;-openjdk-devel</code>.</p>
<h2 id="external-library-requirements">External Library Requirements</h2>
<p>Different platforms require different external libraries. In general, libraries are not optional - that is, they are either required or not used.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files an library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files and library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
<h3 id="freetype">FreeType</h3>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDKs own copy.</p>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDK's own copy.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
@@ -449,7 +451,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>To build the JDK, you need a &quot;configuration&quot;, which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
<pre><code>bash configure [options]</code></pre>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem.</p>
<p>Some command line examples:</p>
<ul>
@@ -498,7 +500,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>--with-libffi=&lt;path&gt;</code> - Set the path to <a href="#libffi">libffi</a></li>
<li><code>--with-jtreg=&lt;path&gt;</code> - Set the path to JTReg. See <a href="#running-tests">Running Tests</a></li>
</ul>
<p>Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use this version of these libraries, but they might be replaced by an external version. To do so, specify <code>system</code> as the <code>&lt;source&gt;</code> option in these arguments. (The default is <code>bundled</code>).</p>
<p>Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms and zlib) are included in the JDK repository. The default behavior of the JDK build is to use the included (&quot;bundled&quot;) versions of libjpeg, giflib, libpng and lcms. For zlib, the system lib (if present) is used except on Windows and AIX. However the bundled libraries may be replaced by an external version. To do so, specify <code>system</code> as the <code>&lt;source&gt;</code> option in these arguments. (The default is <code>bundled</code>).</p>
<ul>
<li><code>--with-libjpeg=&lt;source&gt;</code> - Use the specified source for libjpeg</li>
<li><code>--with-giflib=&lt;source&gt;</code> - Use the specified source for giflib</li>
@@ -572,6 +574,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>CONF_CHECK</code></li>
<li><code>COMPARE_BUILD</code></li>
<li><code>JDK_FILTER</code></li>
<li><code>SPEC_FILTER</code></li>
</ul>
<h2 id="running-tests">Running Tests</h2>
<p>Most of the JDK tests are using the <a href="http://openjdk.java.net/jtreg">JTReg</a> test framework. Make sure that your configuration knows where to find your installation of JTReg. If this is not picked up automatically, use the <code>--with-jtreg=&lt;path to jtreg home&gt;</code> option to point to the JTReg framework. Note that this option should point to the JTReg home, i.e. the top directory, containing <code>lib/jtreg.jar</code> etc.</p>

View File

@@ -120,6 +120,8 @@ At a minimum, a machine with 4 cores is advisable, as well as 4 GB of RAM. (The
more cores to use, the more memory you need.) At least 8 GB of free disk space
is required.
Note: The sparc port is deprecated.
### Building on aarch64
At a minimum, a machine with 8 cores is advisable, as well as 8 GB of RAM.
@@ -150,14 +152,14 @@ time of writing.
Operating system Vendor/version used
----------------- -------------------------------------------------------
Linux Oracle Enterprise Linux 6.4 / 7.1 (using kernel 3.8.13)
Solaris Solaris 11.1 SRU 21.4.1 / 11.2 SRU 5.5
macOS Mac OS X 10.9 (Mavericks) / 10.10 (Yosemite)
Linux Oracle Enterprise Linux 6.4 / 7.6
Solaris Solaris 11.3 SRU 20
macOS Mac OS X 10.13 (High Sierra)
Windows Windows Server 2012 R2
The double version numbers for Linux, Solaris and macOS is due to the hybrid
model used at Oracle, where header files and external libraries from an older
version are used when building on a more modern version of the OS.
The double version numbers for Linux and Solaris are due to the hybrid model
used at Oracle, where header files and external libraries from an older version
are used when building on a more modern version of the OS.
The Build Group has a wiki page with [Supported Build Platforms](
https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms). From
@@ -258,6 +260,8 @@ needed if you want to have external debug symbols. Please make sure you are
using at least version 2.21.1 of objcopy, or that you disable external debug
symbols.
Note: The Solaris port is deprecated.
### macOS
Apple is using a quite aggressive scheme of pushing OS updates, and coupling
@@ -295,9 +299,9 @@ sudo yum groupinstall "Development Tools"
### AIX
The regular builds by SAP is using AIX version 7.1, but AIX 5.3 is also
supported. See the [OpenJDK PowerPC Port Status Page](
http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details.
Please consult the AIX section of the [Supported Build Platforms](
https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK
Build Wiki page for details about which versions of AIX are supported.
## Native Compiler (Toolchain) Requirements
@@ -323,17 +327,22 @@ issues.
Operating system Toolchain version
------------------ -------------------------------------------------------
Linux gcc 7.3.0
macOS Apple Xcode 9.4 (using clang 9.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2017 update 15.5.5
Linux gcc 8.3.0
macOS Apple Xcode 10.1 (using clang 10.0.0)
Solaris Oracle Solaris Studio 12.6 (with compiler version 5.15)
Windows Microsoft Visual Studio 2017 update 15.9.16
All compilers are expected to be able to compile to the C99 language standard,
as some C99 features are used in the source code. Microsoft Visual Studio
doesn't fully support C99 so in practice shared code is limited to using C99
features that it does support.
### gcc
The minimum accepted version of gcc is 4.8. Older versions will generate a warning
by `configure` and are unlikely to work.
The JDK is currently known to be able to compile with at least version 7.4 of
The JDK is currently known to be able to compile with at least version 8.3 of
gcc.
In general, any version between these two should be usable.
@@ -404,7 +413,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30
The minimum accepted version of Visual Studio is 2010. Older versions will not
be accepted by `configure`. The maximum accepted version of Visual Studio is
2017. Versions older than 2017 are unlikely to continue working for long.
2019. Versions older than 2017 are unlikely to continue working for long.
If you have multiple versions of Visual Studio installed, `configure` will by
default pick the latest. You can request a specific version to be used by
@@ -419,11 +428,10 @@ https://stackoverflow.com/questions/10888391) for other suggestions.
### IBM XL C/C++
The regular builds by SAP is using version 12.1, described as `IBM XL C/C++ for
AIX, V12.1 (5765-J02, 5725-C72) Version: 12.01.0000.0017`.
Please consult the AIX section of the [Supported Build Platforms](
https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms) OpenJDK
Build Wiki page for details about which versions of XLC are supported.
See the [OpenJDK PowerPC Port Status Page](
http://cr.openjdk.java.net/~simonis/ppc-aix-port) for details.
## Boot JDK Requirements
@@ -469,8 +477,8 @@ If a required library is not detected by `configure`, you need to provide the
path to it. There are two forms of the `configure` arguments to point to an
external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise,
but require the include files an library files to reside in a default hierarchy
under this directory. In most cases, it works fine.
but require the include files and library files to reside in a default
hierarchy under this directory. In most cases, it works fine.
As a fallback, the second version allows you to point to the include directory
and the lib directory separately.
@@ -480,7 +488,7 @@ and the lib directory separately.
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library,
rather than bundling the JDKs own copy.
rather than bundling the JDK's own copy.
* To install on an apt-based Linux, try running `sudo apt-get install
libfreetype6-dev`.
@@ -619,8 +627,8 @@ bash configure [options]
This will create an output directory containing the configuration and setup an
area for the build result. This directory typically looks like
`build/linux-x64-normal-server-release`, but the actual name depends on your
specific configuration. (It can also be set directly, see [Using Multiple
`build/linux-x64-server-release`, but the actual name depends on your specific
configuration. (It can also be set directly, see [Using Multiple
Configurations](#using-multiple-configurations)). This directory is referred to
as `$BUILD` in this documentation.
@@ -723,9 +731,12 @@ can in turn be overriden at runtime by setting the `java.library.path` property.
Certain third-party libraries used by the JDK (libjpeg, giflib, libpng, lcms
and zlib) are included in the JDK repository. The default behavior of the
JDK build is to use this version of these libraries, but they might be
replaced by an external version. To do so, specify `system` as the `<source>`
option in these arguments. (The default is `bundled`).
JDK build is to use the included ("bundled") versions of libjpeg, giflib,
libpng and lcms.
For zlib, the system lib (if present) is used except on Windows and AIX.
However the bundled libraries may be replaced by an external version.
To do so, specify `system` as the `<source>` option in these arguments.
(The default is `bundled`).
* `--with-libjpeg=<source>` - Use the specified source for libjpeg
* `--with-giflib=<source>` - Use the specified source for giflib
@@ -864,6 +875,7 @@ Suggestions for Advanced Users](#hints-and-suggestions-for-advanced-users) and
* `CONF_CHECK`
* `COMPARE_BUILD`
* `JDK_FILTER`
* `SPEC_FILTER`
## Running Tests

54
doc/ide.html Normal file
View File

@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>IDE support in the JDK</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">IDE support in the JDK</h1>
</header>
<nav id="TOC">
<ul>
<li><a href="#introduction">Introduction</a><ul>
<li><a href="#ide-support-for-native-code">IDE support for native code</a></li>
<li><a href="#ide-support-for-java-code">IDE support for Java code</a></li>
</ul></li>
</ul>
</nav>
<h2 id="introduction">Introduction</h2>
<p>When you are familiar with building and testing the JDK, you may want to configure an IDE to work with the source code. The instructions differ a bit depending on whether you are interested in working with the native (C/C++) or the Java code.</p>
<h3 id="ide-support-for-native-code">IDE support for native code</h3>
<p>There are a few ways to generate IDE configuration for the native sources, depending on which IDE to use.</p>
<h4 id="visual-studio-code">Visual Studio Code</h4>
<p>The make system can generate a <a href="https://code.visualstudio.com">Visual Studio Code</a> workspace that has C/C++ source indexing configured correctly, as well as launcher targets for tests and the Java launcher. After configuring, a workspace for the configuration can be generated using:</p>
<pre class="shell"><code>make vscode-project</code></pre>
<p>This creates a file called <code>jdk.code-workspace</code> in the build output folder. The full location will be printed after the workspace has been generated. To use it, choose <code>File -&gt; Open Workspace...</code> in Visual Studio Code.</p>
<h5 id="alternative-indexers">Alternative indexers</h5>
<p>The main <code>vscode-project</code> target configures the default C++ support in Visual Studio Code. There are also other source indexers that can be installed, that may provide additional features. It's currently possible to generate configuration for two such indexers, <a href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can be configured by appending the name of the indexer to the make target, such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
<h4 id="visual-studio">Visual Studio</h4>
<p>This section is a work in progress.</p>
<pre class="shell"><code>make ide-project</code></pre>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
<pre class="shell"><code>make compile-commands</code></pre>
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
<p>This section is a work in progress.</p>
</body>
</html>

73
doc/ide.md Normal file
View File

@@ -0,0 +1,73 @@
% IDE support in the JDK
## Introduction
When you are familiar with building and testing the JDK, you may want to
configure an IDE to work with the source code. The instructions differ a bit
depending on whether you are interested in working with the native (C/C++) or
the Java code.
### IDE support for native code
There are a few ways to generate IDE configuration for the native sources,
depending on which IDE to use.
#### Visual Studio Code
The make system can generate a [Visual Studio Code](https://code.visualstudio.com)
workspace that has C/C++ source indexing configured correctly, as well as
launcher targets for tests and the Java launcher. After configuring, a workspace
for the configuration can be generated using:
```shell
make vscode-project
```
This creates a file called `jdk.code-workspace` in the build output folder. The
full location will be printed after the workspace has been generated. To use it,
choose `File -> Open Workspace...` in Visual Studio Code.
##### Alternative indexers
The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as:
```shell
make vscode-project-clangd
```
Additional instructions for configuring the given indexer will be displayed
after the workspace has been generated.
#### Visual Studio
This section is a work in progress.
```shell
make ide-project
```
#### Compilation Database
The make system can generate generic native code indexing support in the form of
a [Compilation Database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
that can be used by many different IDEs and source code indexers.
```shell
make compile-commands
```
It's also possible to generate the Compilation Database for the HotSpot source
code only, which is a bit faster as it includes less information.
```shell
make compile-commands-hotspot
```
### IDE support for Java code
This section is a work in progress.

View File

@@ -5,7 +5,7 @@
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Testing the JDK</title>
<style type="text/css">
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
@@ -21,9 +21,9 @@
<header id="title-block-header">
<h1 class="title">Testing the JDK</h1>
</header>
<nav id="TOC">
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</a><ul>
<li><a href="#using-make-test-the-run-test-framework">Using "make test" (the run-test framework)</a><ul>
<li><a href="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
@@ -39,18 +39,24 @@
<li><a href="#gtest-keywords">Gtest keywords</a></li>
<li><a href="#microbenchmark-keywords">Microbenchmark keywords</a></li>
</ul></li>
<li><a href="#notes-for-specific-tests">Notes for Specific Tests</a><ul>
<li><a href="#docker-tests">Docker Tests</a></li>
<li><a href="#non-us-locale">Non-US locale</a></li>
<li><a href="#pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#client-ui-tests">Client UI Tests</a></li>
</ul></li>
</ul>
</nav>
<h2 id="using-make-test-the-run-test-framework">Using &quot;make test&quot; (the run-test framework)</h2>
<h2 id="using-make-test-the-run-test-framework">Using "make test" (the run-test framework)</h2>
<p>This new way of running tests is developer-centric. It assumes that you have built a JDK locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.</p>
<p>The main target <code>test</code> uses the jdk-image as the tested product. There is also an alternate target <code>exploded-test</code> that uses the exploded image instead. Not all tests will run successfully on the exploded image, but using this target can greatly improve rebuild times for certain workflows.</p>
<p>Previously, <code>make test</code> was used invoke an old system for running test, and <code>make run-test</code> was used for the new test framework. For backward compatibility with scripts and muscle memory, <code>run-test</code> (and variants like <code>exploded-run-test</code> or <code>run-test-tier1</code>) are kept as aliases. The old system can still be accessed for some time using <code>cd test &amp;&amp; make</code>.</p>
<p>Previously, <code>make test</code> was used to invoke an old system for running tests, and <code>make run-test</code> was used for the new test framework. For backward compatibility with scripts and muscle memory, <code>run-test</code> (and variants like <code>exploded-run-test</code> or <code>run-test-tier1</code>) are kept as aliases.</p>
<p>Some example command-lines:</p>
<pre><code>$ make test-tier1
$ make test-jdk_lang JTREG=&quot;JOBS=8&quot;
$ make test TEST=jdk_lang
$ make test-only TEST=&quot;gtest:LogTagSet gtest:LogTagSetDescriptions&quot; GTEST=&quot;REPEAT=-1&quot;
$ make test TEST=&quot;hotspot:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make test TEST=&quot;hotspot:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT_FACTOR=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make test TEST=&quot;jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java&quot;
$ make test TEST=&quot;micro:java.lang.reflect&quot; MICRO=&quot;FORK=1;WARMUP_ITER=2&quot;
$ make exploded-test TEST=tier2</code></pre>
@@ -59,7 +65,7 @@ $ make exploded-test TEST=tier2</code></pre>
<p>To be able to run microbenchmarks, <code>configure</code> needs to know where to find the JMH dependency. Use <code>--with-jmh=&lt;path to JMH jars&gt;</code> to point to a directory containing the core JMH and transitive dependencies. The recommended dependencies can be retrieved by running <code>sh make/devkit/createJMHBundle.sh</code>, after which <code>--with-jmh=build/jmh/jars</code> should work.</p>
<h2 id="test-selection">Test selection</h2>
<p>All functionality is available using the <code>test</code> make target. In this use case, the test or tests to be executed is controlled using the <code>TEST</code> variable. To speed up subsequent test runs with no source code changes, <code>test-only</code> can be used instead, which do not depend on the source and test image build.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<p>For some common top-level tests, direct make targets have been generated. This includes all JTReg test groups, the hotspot gtest, and custom tests (if present). This means that <code>make test-tier1</code> is equivalent to <code>make test TEST="tier1"</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>test TEST="x"</code> solution needs to be used.</p>
<p>The test specifications given in <code>TEST</code> is parsed into fully qualified test descriptors, which clearly and unambigously show which tests will be run. As an example, <code>:tier1</code> will expand to <code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>. You can always submit a list of fully qualified test descriptors in the <code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="jtreg">JTReg</h3>
<p>JTReg tests can be selected either by picking a JTReg test group, or a selection of files or directories containing JTReg tests.</p>
@@ -99,9 +105,9 @@ TEST FAILURE</code></pre>
<p>Additional work data is stored in <code>build/$BUILD/test-support/$TEST_ID</code>. For some frameworks, this directory might contain information that is useful in determining the cause of a failed test.</p>
<h2 id="test-suite-control">Test suite control</h2>
<p>It is possible to control various aspects of the test suites using make control variables.</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG=&quot;JOBS=1;TIMEOUT=8&quot;</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG=&quot;TMIEOUT=8&quot;</code> would give an error, while <code>JTREG_TMIEOUT=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG=&quot;...;...&quot;</code>. This will also make sure spaces are preserved, as in <code>JTREG=&quot;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>These variables use a keyword=value approach to allow multiple values to be set. So, for instance, <code>JTREG="JOBS=1;TIMEOUT_FACTOR=8"</code> will set the JTReg concurrency level to 1 and the timeout factor to 8. This is equivalent to setting <code>JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8</code>, but using the keyword format means that the <code>JTREG</code> variable is parsed and verified for correctness, so <code>JTREG="TMIEOUT_FACTOR=8"</code> would give an error, while <code>JTREG_TMIEOUT_FACTOR=8</code> would just pass unnoticed.</p>
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG="...;..."</code>. This will also make sure spaces are preserved, as in <code>JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT_FACTOR=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="general-keywords-test_opts">General keywords (TEST_OPTS)</h3>
<p>Some keywords are valid across different test suites. If you want to run tests from multiple test suites, or just don't want to care which test suite specific control variable to use, then you can use the general TEST_OPTS control variable.</p>
@@ -124,7 +130,7 @@ TEST FAILURE</code></pre>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h4 id="jobs-1">JOBS</h4>
<p>The test concurrency (<code>-concurrency</code>).</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than 12.</p>
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em> (for sparc, if more than 16 cpus, then <em>number of CPU cores/5</em>, otherwise <em>number of CPU cores/4</em>), but never more than <em>memory size in GB/2</em>.</p>
<h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
@@ -150,22 +156,27 @@ TEST FAILURE</code></pre>
<p>Use additional problem lists file or files, in addition to the default ProblemList.txt located at the JTReg test roots.</p>
<p>If multiple file names are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<p>The file names should be either absolute, or relative to the JTReg test root of the tests to be run.</p>
<h4 id="run_problem_lists">RUN_PROBLEM_LISTS</h4>
<p>Use the problem lists to select tests instead of excluding them.</p>
<p>Set to <code>true</code> or <code>false</code>. If <code>true</code>, JTReg will use <code>-match:</code> option, otherwise <code>-exclude:</code> will be used. Default is <code>false</code>.</p>
<h4 id="options">OPTIONS</h4>
<p>Additional options to the JTReg test framework.</p>
<p>Use <code>JTREG=&quot;OPTIONS=--help all&quot;</code> to see all available JTReg options.</p>
<p>Use <code>JTREG="OPTIONS=--help all"</code> to see all available JTReg options.</p>
<h4 id="java_options-1">JAVA_OPTIONS</h4>
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
<h4 id="vm_options-1">VM_OPTIONS</h4>
<p>Additional VM options to JTReg (<code>-vmoption</code>).</p>
<h4 id="aot_modules-1">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h4 id="retry_count">RETRY_COUNT</h4>
<p>Retry failed tests up to a set number of times. Defaults to 0.</p>
<h3 id="gtest-keywords">Gtest keywords</h3>
<h4 id="repeat">REPEAT</h4>
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
<p>Default is 1. Set to -1 to repeat indefinitely. This can be especially useful combined with <code>OPTIONS=--gtest_break_on_failure</code> to reproduce an intermittent problem.</p>
<h4 id="options-1">OPTIONS</h4>
<p>Additional options to the Gtest test framework.</p>
<p>Use <code>GTEST=&quot;OPTIONS=--help&quot;</code> to see all available Gtest options.</p>
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest options.</p>
<h4 id="aot_modules-2">AOT_MODULES</h4>
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
<h3 id="microbenchmark-keywords">Microbenchmark keywords</h3>
@@ -185,5 +196,29 @@ TEST FAILURE</code></pre>
<p>Additional VM arguments to provide to forked off VMs. Same as <code>-jvmArgs &lt;args&gt;</code></p>
<h4 id="options-2">OPTIONS</h4>
<p>Additional arguments to send to JMH.</p>
<h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
<h3 id="docker-tests">Docker Tests</h3>
<p>Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:</p>
<pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot;</code></pre>
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
<pre><code>$ make test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="non-us-locale">Non-US locale</h3>
<p>If your locale is non-US, some tests are likely to fail. To work around this you can set the locale to US. On Unix platforms simply setting <code>LANG="en_US"</code> in the environment before running tests should work. On Windows, setting <code>JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"</code> helps for most, but not all test cases. For example:</p>
<pre><code>$ export LANG=&quot;en_US&quot; &amp;&amp; make test TEST=...
$ make test JTREG=&quot;VM_OPTIONS=-Duser.language=en -Duser.country=US&quot; TEST=...</code></pre>
<h3 id="pkcs11-tests">PKCS11 Tests</h3>
<p>It is highly recommended to use the latest NSS version when running PKCS11 tests. Improper NSS version may lead to unexpected failures which are hard to diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04 with the default NSS version in the system. To run these tests correctly, the system property <code>test.nss.lib.paths</code> is required on Ubuntu 18.04 to specify the alternative NSS lib directories. For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect "Turn keyboard access on or off" option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for "Turn off Windows key hotkeys" and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
</body>
</html>

View File

@@ -12,11 +12,10 @@ also an alternate target `exploded-test` that uses the exploded image
instead. Not all tests will run successfully on the exploded image, but using
this target can greatly improve rebuild times for certain workflows.
Previously, `make test` was used invoke an old system for running test, and
Previously, `make test` was used to invoke an old system for running tests, and
`make run-test` was used for the new test framework. For backward compatibility
with scripts and muscle memory, `run-test` (and variants like
`exploded-run-test` or `run-test-tier1`) are kept as aliases. The old system
can still be accessed for some time using `cd test && make`.
`exploded-run-test` or `run-test-tier1`) are kept as aliases.
Some example command-lines:
@@ -24,7 +23,7 @@ Some example command-lines:
$ make test-jdk_lang JTREG="JOBS=8"
$ make test TEST=jdk_lang
$ make test-only TEST="gtest:LogTagSet gtest:LogTagSetDescriptions" GTEST="REPEAT=-1"
$ make test TEST="hotspot:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make test TEST="hotspot:hotspot_gc" JTREG="JOBS=1;TIMEOUT_FACTOR=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make test TEST="jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java"
$ make test TEST="micro:java.lang.reflect" MICRO="FORK=1;WARMUP_ITER=2"
$ make exploded-test TEST=tier2
@@ -181,11 +180,11 @@ It is possible to control various aspects of the test suites using make control
variables.
These variables use a keyword=value approach to allow multiple values to be
set. So, for instance, `JTREG="JOBS=1;TIMEOUT=8"` will set the JTReg
set. So, for instance, `JTREG="JOBS=1;TIMEOUT_FACTOR=8"` will set the JTReg
concurrency level to 1 and the timeout factor to 8. This is equivalent to
setting `JTREG_JOBS=1 JTREG_TIMEOUT=8`, but using the keyword format means that
setting `JTREG_JOBS=1 JTREG_TIMEOUT_FACTOR=8`, but using the keyword format means that
the `JTREG` variable is parsed and verified for correctness, so
`JTREG="TMIEOUT=8"` would give an error, while `JTREG_TMIEOUT=8` would just
`JTREG="TMIEOUT_FACTOR=8"` would give an error, while `JTREG_TMIEOUT_FACTOR=8` would just
pass unnoticed.
To separate multiple keyword=value pairs, use `;` (semicolon). Since the shell
@@ -193,7 +192,7 @@ normally eats `;`, the recommended usage is to write the assignment inside
qoutes, e.g. `JTREG="...;..."`. This will also make sure spaces are preserved,
as in `JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"`.
(Other ways are possible, e.g. using backslash: `JTREG=JOBS=1\;TIMEOUT=8`.
(Other ways are possible, e.g. using backslash: `JTREG=JOBS=1\;TIMEOUT_FACTOR=8`.
Also, as a special technique, the string `%20` will be replaced with space for
certain options, e.g. `JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug`.
This can be useful if you have layers of scripts and have trouble getting
@@ -252,8 +251,9 @@ Please note that running with JCov reporting can be very memory intensive.
The test concurrency (`-concurrency`).
Defaults to TEST_JOBS (if set by `--with-test-jobs=`), otherwise it defaults to
JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
never more than 12.
JOBS, except for Hotspot, where the default is *number of CPU cores/2* (for
sparc, if more than 16 cpus, then *number of CPU cores/5*, otherwise *number of
CPU cores/4*), but never more than *memory size in GB/2*.
#### TIMEOUT_FACTOR
The timeout factor (`-timeoutFactor`).
@@ -306,6 +306,14 @@ help avoid quoting issues, the special value `%20`).
The file names should be either absolute, or relative to the JTReg test root of
the tests to be run.
#### RUN_PROBLEM_LISTS
Use the problem lists to select tests instead of excluding them.
Set to `true` or `false`.
If `true`, JTReg will use `-match:` option, otherwise `-exclude:` will be used.
Default is `false`.
#### OPTIONS
Additional options to the JTReg test framework.
@@ -324,6 +332,10 @@ Generate AOT modules before testing for the specified module, or set of
modules. If multiple modules are specified, they should be separated by space
(or, to help avoid quoting issues, the special value `%20`).
#### RETRY_COUNT
Retry failed tests up to a set number of times. Defaults to 0.
### Gtest keywords
#### REPEAT
@@ -373,6 +385,75 @@ Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
#### OPTIONS
Additional arguments to send to JMH.
## Notes for Specific Tests
### Docker Tests
Docker tests with default parameters may fail on systems with glibc versions not
compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86).
For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:
$ make test TEST="jtreg:test/hotspot/jtreg/containers/docker"
To run these tests correctly, additional parameters for the correct docker image are
required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
$ make test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
### Non-US locale
If your locale is non-US, some tests are likely to fail. To work around this you can
set the locale to US. On Unix platforms simply setting `LANG="en_US"` in the
environment before running tests should work. On Windows, setting
`JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US"` helps for most, but not all test cases.
For example:
$ export LANG="en_US" && make test TEST=...
$ make test JTREG="VM_OPTIONS=-Duser.language=en -Duser.country=US" TEST=...
### PKCS11 Tests
It is highly recommended to use the latest NSS version when running PKCS11 tests.
Improper NSS version may lead to unexpected failures which are hard to diagnose.
For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu
18.04 with the default NSS version in the system.
To run these tests correctly, the system property `test.nss.lib.paths` is required
on Ubuntu 18.04 to specify the alternative NSS lib directories.
For example:
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
For more notes about the PKCS11 tests, please refer to test/jdk/sun/security/pkcs11/README.
### Client UI Tests
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to disable
system key shortcuts prior testing. The steps to access and disable system key shortcuts
for various platforms are provided below.
#### MacOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails
on MacOS because it uses `CTRL + F1` key sequence to show or hide tooltip message
but the key combination is reserved by the operating system. To run the test correctly
the default global key shortcut should be disabled using the steps described above, and then deselect
"Turn keyboard access on or off" option which is responsible for `CTRL + F1` combination.
#### Linux
Open the Activities overview and start typing Settings; Choose Settings, click Devices,
then click Keyboard; set or override desired shortcut.
#### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to
User Configuration -> Administrative Templates -> Windows Components -> File Explorer;
in the right-side pane look for "Turn off Windows key hotkeys" and double click on it;
enable or disable hotkeys.
Note: restart is required to make the settings take effect.
---
# Override some definitions in the global css file that are not optimal for
# this document.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
PRODUCT_TARGETS :=
LEGACY_TARGETS :=
TEST_TARGETS :=
DOCS_TARGETS :=
@@ -49,6 +50,7 @@ $(eval $(call IncludeCustomExtension, Bundles-pre.gmk))
# files or directories may contain spaces.
# BASE_DIRS : Base directories for the root dir in the bundle.
# SUBDIR : Optional name of root dir in bundle.
# OUTPUTDIR : Optionally override output dir
SetupBundleFile = $(NamedParamsMacroTemplate)
define SetupBundleFileBody
@@ -69,9 +71,12 @@ define SetupBundleFileBody
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
$$(call SetIfEmpty, $1_OUTPUTDIR, $$(BUNDLES_OUTPUTDIR))
$$($1_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
$$(call MakeTargetDir)
# If any of the files contain a space in the file name, CacheFind
$$(call LogWarn, Creating $$($1_BUNDLE_NAME))
# If any of the files contain a space in the file name, FindFiles
# will have replaced it with ?. Tar does not accept that so need to
# switch it back.
$$(foreach d, $$($1_BASE_DIRS), \
@@ -136,7 +141,7 @@ define SetupBundleFileBody
endif
endif
$1 += $(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME)
$1 += $$($1_OUTPUTDIR)/$$($1_BUNDLE_NAME)
endef
@@ -146,31 +151,61 @@ endef
# correct base directories.
ifeq ($(call isTargetOs, macosx)+$(DEBUG_LEVEL), true+release)
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home
JDK_BUNDLE_SUBDIR :=
JRE_BUNDLE_SUBDIR :=
# In certain situations, the JDK_IMAGE_DIR points to an image without the
# the symbols and demos. If so, the symobls and demos can be found in a
# separate image. These variables allow for overriding from a custom makefile.
JDK_SYMBOLS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_HOMEDIR ?= $(JDK_DEMOS_IMAGE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif
# In certain situations, the JDK_IMAGE_DIR points to an image without the
# the symbols and demos. If so, the symobls and demos can be found in a
# separate image. These variables allow for overriding from a custom makefile.
JDK_SYMBOLS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_DIR ?= $(JDK_IMAGE_DIR)
JDK_DEMOS_IMAGE_HOMEDIR ?= $(JDK_DEMOS_IMAGE_DIR)
endif
################################################################################
ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(eval $(call FillCacheFind, $(IMAGES_OUTPUTDIR)))
ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.pdb %.map
ALL_JDK_FILES := $(call CacheFind, $(JDK_IMAGE_DIR))
# There may be files with spaces in the names, so use ShellFindFiles
# explicitly.
ALL_JDK_FILES := $(call ShellFindFiles, $(JDK_IMAGE_DIR))
ifneq ($(JDK_IMAGE_DIR), $(JDK_SYMBOLS_IMAGE_DIR))
ALL_JDK_SYMBOLS_FILES := $(call ShellFindFiles, $(JDK_SYMBOLS_IMAGE_DIR))
else
ALL_JDK_SYMBOLS_FILES := $(ALL_JDK_FILES)
endif
ifneq ($(JDK_IMAGE_DIR), $(JDK_DEMOS_IMAGE_DIR))
ALL_JDK_DEMOS_FILES := $(call ShellFindFiles, $(JDK_DEMOS_IMAGE_DIR))
else
ALL_JDK_DEMOS_FILES := $(ALL_JDK_FILES)
endif
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
ifeq ($(call isTargetOs, macosx), true)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
JDK_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
$(call containing, .dSYM/, $(patsubst $(JDK_IMAGE_DIR)/%, %, $(ALL_JDK_FILES))))
$(call containing, .dSYM/, $(patsubst $(JDK_IMAGE_DIR)/%, %, \
$(ALL_JDK_SYMBOLS_FILES))))
endif
endif
@@ -191,12 +226,29 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(filter-out \
$(JDK_IMAGE_HOMEDIR)/demo/% \
, \
$(ALL_JDK_FILES) \
$(ALL_JDK_SYMBOLS_FILES) \
) \
) \
$(call CacheFind, $(SYMBOLS_IMAGE_DIR))
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES))
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))
ALL_JRE_FILES := $(call ShellFindFiles, $(JRE_IMAGE_DIR))
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
$(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES))))
endif
endif
JRE_BUNDLE_FILES := $(filter-out \
$(JRE_SYMBOLS_EXCLUDE_PATTERN) \
$(SYMBOLS_EXCLUDE_PATTERN), \
$(ALL_JRE_FILES))
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
@@ -208,15 +260,26 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \
BASE_DIRS := $(JDK_IMAGE_DIR) $(wildcard $(SYMBOLS_IMAGE_DIR)), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
UNZIP_DEBUGINFO := true, \
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
BUNDLE_NAME := $(JRE_BUNDLE_NAME), \
FILES := $(JRE_BUNDLE_FILES), \
BASE_DIRS := $(JRE_IMAGE_DIR), \
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
))
PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE)
LEGACY_TARGETS += $(BUILD_JRE_BUNDLE)
ifeq ($(COPY_DEBUG_SYMBOLS), true)
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \
BASE_DIRS := $(JDK_SYMBOLS_IMAGE_DIR) $(wildcard $(SYMBOLS_IMAGE_DIR)), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
UNZIP_DEBUGINFO := true, \
))
PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE)
endif
# The demo bundle is only created to support client tests. Ideally it should
# be built with the main test bundle, but since the prerequisites match
@@ -224,7 +287,7 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
$(eval $(call SetupBundleFile, BUILD_TEST_DEMOS_BUNDLE, \
BUNDLE_NAME := $(TEST_DEMOS_BUNDLE_NAME), \
FILES := $(TEST_DEMOS_BUNDLE_FILES), \
BASE_DIRS := $(JDK_IMAGE_DIR), \
BASE_DIRS := $(JDK_DEMOS_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
))
@@ -234,7 +297,7 @@ endif
################################################################################
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
TEST_BUNDLE_FILES := $(call CacheFind, $(TEST_IMAGE_DIR))
TEST_BUNDLE_FILES := $(call FindFiles, $(TEST_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
@@ -248,7 +311,7 @@ endif
################################################################################
ifneq ($(filter docs-bundles, $(MAKECMDGOALS)), )
DOCS_BUNDLE_FILES := $(call CacheFind, $(DOCS_IMAGE_DIR))
DOCS_BUNDLE_FILES := $(call FindFiles, $(DOCS_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_DOCS_BUNDLE, \
BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \
@@ -263,7 +326,7 @@ endif
################################################################################
ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), )
JCOV_BUNDLE_FILES := $(call CacheFind, $(JCOV_IMAGE_DIR))
JCOV_BUNDLE_FILES := $(call FindFiles, $(JCOV_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_JCOV_BUNDLE, \
BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \
@@ -277,14 +340,38 @@ endif
################################################################################
ifneq ($(filter static-libs-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_IMAGE_DIR))
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home
else
STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)
endif
$(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_BUNDLE, \
BUNDLE_NAME := $(STATIC_LIBS_BUNDLE_NAME), \
FILES := $(STATIC_LIBS_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_LIBS_IMAGE_DIR), \
SUBDIR := $(STATIC_LIBS_BUNDLE_SUBDIR), \
))
STATIC_LIBS_TARGETS += $(BUILD_STATIC_LIBS_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
################################################################################
product-bundles: $(PRODUCT_TARGETS)
legacy-bundles: $(LEGACY_TARGETS)
test-bundles: $(TEST_TARGETS)
docs-bundles: $(DOCS_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles docs-bundles jcov-bundles
.PHONY: all default product-bundles test-bundles docs-bundles \
static-libs-bundles jcov-bundles

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -43,7 +43,7 @@ $(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk))
# Prepare the find cache.
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
$(eval $(call FillCacheFind, $(wildcard $(DEMO_SRC_DIRS))))
$(call FillFindCache, $(DEMO_SRC_DIRS))
# Append demo goals to this variable.
TARGETS =
@@ -237,11 +237,11 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
ifeq ($(call isTargetOs, solaris), true)
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
else
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
endif
################################################################################
@@ -250,7 +250,7 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
$(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
DEST := $(TEST_IMAGE_DIR)/jdk/demos, \
FILES := $(call CacheFind, $(SUPPORT_OUTPUTDIR)/demos/image), \
FILES := $(call FindFiles, $(SUPPORT_OUTPUTDIR)/demos/image), \
))
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,13 @@ $(BUILDTOOLS_OUTPUTDIR)/gensrc/%.interim/module-info.java: \
TARGETS += $(patsubst %, $(BUILDTOOLS_OUTPUTDIR)/gensrc/%/module-info.java, \
$(INTERIM_LANGTOOLS_MODULES))
$(eval $(call SetupCopyFiles, COPY_PREVIEW_FEATURES, \
FILES := $(TOPDIR)/src/java.base/share/classes/jdk/internal/PreviewFeature.java, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/, \
))
TARGETS += $(COPY_PREVIEW_FEATURES)
################################################################################
# Setup the rules to build interim langtools, which is compiled by the boot
# javac and can be run on the boot jdk. This will be used to compile the rest of
@@ -72,13 +79,16 @@ define SetupInterimModule
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules/$1.interim, \
ADD_JAVAC_FLAGS := --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim \
--add-exports java.base/jdk.internal=java.compiler.interim \
--add-exports java.base/jdk.internal=jdk.compiler.interim \
-Xlint:-module, \
))
$1_DEPS_INTERIM := $$(addsuffix .interim, $$(filter \
$$(INTERIM_LANGTOOLS_BASE_MODULES), $$(call FindTransitiveDepsForModule, $1)))
$$(BUILD_$1.interim): $$(foreach d, $$($1_DEPS_INTERIM), $$(BUILD_$$d))
$$(BUILD_$1.interim): $$(foreach d, $$($1_DEPS_INTERIM), $$(BUILD_$$d)) $(COPY_PREVIEW_FEATURES)
TARGETS += $$(BUILD_$1.interim)
endef

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -38,8 +38,8 @@ $(eval $(call IncludeCustomExtension, CompileJavaModules.gmk))
################################################################################
# Module specific build settings
java.base_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*' -XDstringConcat=inline
java.base_COPY += .icu .dat .spp content-types.properties hijrah-config-islamic-umalqura.properties
java.base_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference,-accessibility '-Xdoclint/package:java.*,javax.*' -XDstringConcat=inline
java.base_COPY += .icu .dat .spp .nrm content-types.properties hijrah-config-islamic-umalqura.properties
java.base_CLEAN += intrinsic.properties
java.base_EXCLUDE_FILES += \
@@ -220,15 +220,15 @@ java.scripting_CLEAN += .properties
################################################################################
java.instrument_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
java.instrument_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-accessibility '-Xdoclint/package:java.*,javax.*'
################################################################################
java.logging_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
java.logging_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference,-accessibility '-Xdoclint/package:java.*,javax.*'
################################################################################
java.management_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
java.management_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference,-accessibility '-Xdoclint/package:java.*,javax.*'
################################################################################
@@ -249,7 +249,7 @@ java.sql_SETUP := GENERATE_JDKBYTECODE_NOWARNINGS
################################################################################
java.sql.rowset_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
java.sql.rowset_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-accessibility '-Xdoclint/package:java.*,javax.*'
java.sql.rowset_CLEAN_FILES += $(wildcard \
$(TOPDIR)/src/java.sql.rowset/share/classes/com/sun/rowset/*.properties \
$(TOPDIR)/src/java.sql.rowset/share/classes/javax/sql/rowset/*.properties)
@@ -263,14 +263,14 @@ java.rmi_CLEAN_FILES += $(wildcard \
################################################################################
java.xml_ADD_JAVAC_FLAGS += -Xdoclint:all/protected \
java.xml_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-accessibility \
'-Xdoclint/package:$(call CommaList, javax.xml.catalog javax.xml.datatype \
javax.xml.transform javax.xml.validation javax.xml.xpath)'
java.xml_CLEAN += .properties
################################################################################
java.naming_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*' -Xlint:-exports
java.naming_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-accessibility '-Xdoclint/package:java.*,javax.*' -Xlint:-exports
java.naming_CLEAN += jndiprovider.properties
################################################################################
@@ -279,7 +279,7 @@ java.security.jgss_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package
################################################################################
java.smartcardio_ADD_JAVAC_FLAGS += -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
java.smartcardio_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-accessibility '-Xdoclint/package:java.*,javax.*'
################################################################################
@@ -380,6 +380,13 @@ endif
################################################################################
jdk.incubator.jpackage_COPY += .gif .png .txt .spec .script .prerm .preinst .postrm .postinst .list .sh \
.desktop .copyright .control .plist .template .icns .scpt .entitlements .wxs .wxl .wxi .ico .bmp .tiff
jdk.incubator.jpackage_CLEAN += .properties
################################################################################
jdk.jconsole_COPY += .gif .png
jdk.jconsole_CLEAN_FILES += $(wildcard \
@@ -460,7 +467,9 @@ jdk.internal.vm.compiler_EXCLUDES += \
org.graalvm.compiler.core.test \
org.graalvm.compiler.debug.test \
org.graalvm.compiler.graph.test \
org.graalvm.compiler.hotspot.aarch64.test \
org.graalvm.compiler.hotspot.amd64.test \
org.graalvm.compiler.hotspot.jdk9.test \
org.graalvm.compiler.hotspot.lir.test \
org.graalvm.compiler.hotspot.sparc.test \
org.graalvm.compiler.hotspot.test \
@@ -538,8 +547,13 @@ jdk.jfr_ADD_JAVAC_FLAGS := -XDstringConcat=inline -Xlint:-exports
################################################################################
# If this is an imported module that has prebuilt classes, only compile
# module-info.java.
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
$(MODULE)_INCLUDE_FILES := module-info.java
ifneq ($(IMPORT_MODULES_CLASSES), )
IMPORT_MODULE_DIR := $(IMPORT_MODULES_CLASSES)/$(MODULE)
ifneq ($(wildcard $(IMPORT_MODULE_DIR)), )
$(MODULE)_INCLUDE_FILES := module-info.java
endif
else
IMPORT_MODULE_DIR :=
endif
################################################################################
@@ -645,13 +659,13 @@ endif
# If this is an imported module, copy the pre built classes and resources into
# the modules output dir
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
ifneq ($(wildcard $(IMPORT_MODULE_DIR)), )
$(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
$(call CacheFind, $(IMPORT_MODULES_CLASSES)/$(MODULE))
$(call FindFiles, $(IMPORT_MODULE_DIR))
$(call MakeDir, $(@D))
# Do not delete marker and build meta data files
$(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
$(CP) -R $(IMPORT_MODULES_CLASSES)/$(MODULE)/* $(@D)/
$(CP) -R $(IMPORT_MODULE_DIR)/* $(@D)/
$(TOUCH) $@
TARGETS += $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -41,6 +41,7 @@ $(eval $(call IncludeCustomExtension, CompileTools.gmk))
BUILD_TOOLS_SRC_DIRS += \
$(TOPDIR)/make/jdk/src/classes \
$(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \
$(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes \
#
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,7 @@ LIBS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_LIBS)))
CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))
$(eval $(call FillCacheFind, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR)))
$(call FillFindCache, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR))
ifneq ($(LIBS_DIR), )
ifeq ($(call isTargetOs, windows), true)
@@ -45,21 +45,21 @@ ifneq ($(LIBS_DIR), )
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(filter $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \
$(call FindFiles, $(LIBS_DIR))) \
))
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out $(TO_BIN_FILTER), \
$(call CacheFind, $(LIBS_DIR))) \
$(call FindFiles, $(LIBS_DIR))) \
))
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB)
else
$(eval $(call SetupCopyFiles, COPY_LIBS, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
))
# Use relative links if the import dir is inside the OUTPUTDIR, otherwise
@@ -75,7 +75,7 @@ ifneq ($(LIBS_DIR), )
$(eval $(call SetupCopyFiles, LINK_LIBS, \
SRC := $(LIBS_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
MACRO := $(LINK_MACRO), \
LOG_ACTION := $(LOG_ACTION), \
))
@@ -87,7 +87,7 @@ ifneq ($(CMDS_DIR), )
$(eval $(call SetupCopyFiles, COPY_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(JDK_OUTPUTDIR)/bin, \
FILES := $(call CacheFind, $(CMDS_DIR)), \
FILES := $(call FindFiles, $(CMDS_DIR)), \
))
TARGETS += $(COPY_CMDS)
endif
@@ -96,7 +96,7 @@ ifneq ($(CONF_DIR), )
$(eval $(call SetupCopyFiles, COPY_CONF, \
SRC := $(CONF_DIR), \
DEST := $(JDK_OUTPUTDIR)/lib, \
FILES := $(call CacheFind, $(CONF_DIR)), \
FILES := $(call FindFiles, $(CONF_DIR)), \
))
TARGETS += $(COPY_CONF)
endif

50
make/CopyInterimTZDB.gmk Normal file
View File

@@ -0,0 +1,50 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
##########################################################################################
### TZDB tool needs files from java.time.zone package
define tzdb_copyfiles
$(call MakeTargetDir)
$(RM) '$@'
$(SED) -e "s/package java.time.zone/package build.tools.tzdb/" \
< $(<) > $@
endef
$(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
MACRO := tzdb_copyfiles))
##########################################################################################
all: $(COPY_INTERIM_TZDB)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@ $(JCOV_IMAGE_DIR)/release: $(JCOV_INPUT_IMAGE_DIR)/release
-exclude 'java.lang.Object' \
-exclude 'jdk.internal.org.objectweb.**' \
-exclude jdk.test.Main -exclude '**\$Proxy*' \
$(JCOV_FILTERS) \
$(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
$(MV) $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR) $(JCOV_IMAGE_DIR)
$(RMDIR) $(JCOV_TEMP)

View File

@@ -1,79 +0,0 @@
#
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
MODULES_TO_COPY := $(sort \
$(foreach m, jdk.jlink $(INTERIM_IMAGE_MODULES), \
$(call FindTransitiveDepsForModule, $m) $m))
################################################################################
# Copy the modules needed to run jlink and jmod. Use bulk copy instead of
# SetupCopyFiles since there are so many files.
COPY_CLASSES_TARGET := $(BUILDJDK_OUTPUTDIR)/jdk/modules/java.base/_the.buildjdk-copy-marker
$(COPY_CLASSES_TARGET): $(call CacheFind, $(wildcard \
$(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
$(call LogInfo, Copying java modules to buildjdk: $(MODULES_TO_COPY))
$(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules
$(MKDIR) -p $(BUILDJDK_OUTPUTDIR)/jdk/modules
$(foreach m, $(MODULES_TO_COPY), \
$(CP) -R $(JDK_OUTPUTDIR)/modules/$m \
$(BUILDJDK_OUTPUTDIR)/jdk/modules/ $(NEWLINE))
$(TOUCH) $@
TARGETS += $(COPY_CLASSES_TARGET)
################################################################################
$(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \
SRC := $(OUTPUTDIR), \
DEST := $(BUILDJDK_OUTPUTDIR), \
FILES := $(call CacheFind, $(wildcard \
$(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \
))
TARGETS += $(COPY_SUPPORT_HEADERS)
################################################################################
$(eval $(call SetupCopyFiles, COPY_JDK_LIB_FILES, \
SRC := $(OUTPUTDIR), \
DEST := $(BUILDJDK_OUTPUTDIR), \
FILES := $(JDK_OUTPUTDIR)/lib/tzdb.dat, \
))
TARGETS += $(COPY_JDK_LIB_FILES)
################################################################################
all: $(TARGETS)
.PHONY: default all

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
ifeq ($(MODULE), )
@@ -37,7 +38,8 @@ $(eval $(call IncludeCustomExtension, CreateJmods.gmk))
################################################################################
JMODS_DIR := $(IMAGES_OUTPUTDIR)/jmods
JMODS_TEMPDIR := $(SUPPORT_OUTPUTDIR)/jmods
JMODS_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jmods
JMOD_FILE := $(MODULE).jmod
LIBS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_libs $(IMPORT_MODULES_LIBS))))
@@ -51,49 +53,51 @@ INCLUDE_HEADERS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
$(eval $(call FillCacheFind, \
$(call FillFindCache, \
$(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \
))
)
ifneq ($(LIBS_DIR), )
JMOD_FLAGS += --libs $(LIBS_DIR)
DEPS += $(call CacheFind, $(LIBS_DIR))
DEPS += $(call FindFiles, $(LIBS_DIR))
endif
ifneq ($(CMDS_DIR), )
JMOD_FLAGS += --cmds $(CMDS_DIR)
DEPS += $(call CacheFind, $(CMDS_DIR))
DEPS += $(call FindFiles, $(CMDS_DIR))
endif
ifneq ($(CONF_DIR), )
JMOD_FLAGS += --config $(CONF_DIR)
DEPS += $(call CacheFind, $(CONF_DIR))
DEPS += $(call FindFiles, $(CONF_DIR))
endif
ifneq ($(CLASSES_DIR), )
JMOD_FLAGS += --class-path $(CLASSES_DIR)
DEPS += $(call CacheFind, $(CLASSES_DIR))
DEPS += $(call FindFiles, $(CLASSES_DIR))
endif
ifneq ($(INCLUDE_HEADERS_DIR), )
JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR)
DEPS += $(call CacheFind, $(INCLUDE_HEADERS_DIR))
DEPS += $(call FindFiles, $(INCLUDE_HEADERS_DIR))
endif
ifneq ($(MAN_DIR), )
JMOD_FLAGS += --man-pages $(MAN_DIR)
DEPS += $(call CacheFind, $(MAN_DIR))
DEPS += $(call FindFiles, $(MAN_DIR))
endif
# If a specific modules_legal dir exists for this module, only pick up files
# from there. These files were explicitly filtered or modified in <module>-copy
# targets. For the rest, just pick up everything from the source legal dirs.
LEGAL_NOTICES := \
$(SUPPORT_OUTPUTDIR)/modules_legal/common \
$(wildcard $(SUPPORT_OUTPUTDIR)/modules_legal/common) \
$(if $(wildcard $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE)), \
$(wildcard $(SUPPORT_OUTPUTDIR)/modules_legal/$(MODULE)), \
$(call FindModuleLegalSrcDirs, $(MODULE)) \
)
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
DEPS += $(call CacheFind, $(LEGAL_NOTICES))
ifneq ($(strip $(LEGAL_NOTICES)), )
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
DEPS += $(call FindFiles, $(LEGAL_NOTICES))
JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
endif
ifeq ($(filter-out jdk.incubator.%, $(MODULE)), )
JMOD_FLAGS += --do-not-resolve-by-default
@@ -145,33 +149,34 @@ endif
# the actual command. Filter that out using wildcard before adding to DEPS.
DEPS += $(wildcard $(JMOD_CMD))
ifeq ($(EXTERNAL_BUILDJDK), false)
DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
DEPS += $(call FindFiles, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
endif
# If creating interim versions of jmods, certain files need to be filtered out
# to avoid false incremental rebuilds.
ifeq ($(INTERIM_JMOD), true)
DEPS := $(filter-out $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/classlist, $(DEPS))
INTERIM_MSG := interim$(SPACE)
endif
JMOD_FLAGS += --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}'
# Create jmods in a temp dir and then move them into place to keep the
# Create jmods in the support dir and then move them into place to keep the
# module path in $(IMAGES_OUTPUTDIR)/jmods valid at all times.
$(JMODS_DIR)/$(MODULE).jmod: $(DEPS)
$(call LogWarn, Creating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call MakeDir, $(JMODS_DIR) $(JMODS_TEMPDIR))
$(RM) $@ $(JMODS_TEMPDIR)/$(notdir $@)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/jmods/$(MODULE).jmod, \
$(JMOD) create \
--module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) \
$(JMOD_FLAGS) $(JMODS_TEMPDIR)/$(notdir $@) \
)
$(MV) $(JMODS_TEMPDIR)/$(notdir $@) $@
$(eval $(call SetupExecute, create_$(JMOD_FILE), \
WARN := Creating $(INTERIM_MSG)$(JMOD_FILE), \
DEPS := $(DEPS), \
OUTPUT_FILE := $(JMODS_DIR)/$(JMOD_FILE), \
SUPPORT_DIR := $(JMODS_SUPPORT_DIR), \
PRE_COMMAND := $(RM) $(JMODS_DIR)/$(JMOD_FILE) $(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
COMMAND := $(JMOD) create --module-version $(VERSION_SHORT) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) $(JMOD_FLAGS) \
$(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
POST_COMMAND := $(MV) $(JMODS_SUPPORT_DIR)/$(JMOD_FILE) $(JMODS_DIR)/$(JMOD_FILE), \
))
TARGETS += $(JMODS_DIR)/$(MODULE).jmod
TARGETS += $(create_$(JMOD_FILE))
################################################################################

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,11 +26,13 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
include ModuleTools.gmk
include ProcessMarkdown.gmk
include ToolsJdk.gmk
include ZipArchive.gmk
include TextFileProcessing.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
@@ -63,7 +65,7 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
# URLs
JAVADOC_BASE_URL := https://docs.oracle.com/pls/topic/lookup?ctx=javase$(VERSION_NUMBER)&amp;id=homepage
BUG_SUBMIT_URL := https://bugreport.java.com/bugreport/
COPYRIGHT_URL := {@docroot}/../legal/copyright.html
COPYRIGHT_URL := legal/copyright.html
LICENSE_URL := https://www.oracle.com/technetwork/java/javase/terms/license/java$(VERSION_NUMBER)speclicense.html
REDISTRIBUTION_URL := https://www.oracle.com/technetwork/java/redist-137594.html
@@ -83,15 +85,17 @@ JAVADOC_TAGS := \
-tag param \
-tag return \
-tag throws \
-taglet build.tools.taglet.JSpec\$$JLS \
-taglet build.tools.taglet.JSpec\$$JVMS \
-taglet build.tools.taglet.ModuleGraph \
-taglet build.tools.taglet.ToolGuide \
-tag since \
-tag serialData \
-tag factory \
-tag see \
-tag 'jvms:a:See <cite>The Java&trade; Virtual Machine Specification</cite>:' \
-tag 'jls:a:See <cite>The Java&trade; Language Specification</cite>:' \
-taglet build.tools.taglet.ExtLink \
-taglet build.tools.taglet.Incubating \
-taglet build.tools.taglet.Preview \
-tagletpath $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
$(CUSTOM_JAVADOC_TAGS) \
#
@@ -134,9 +138,9 @@ JAVA_PLATFORM := Java Platform
ifeq ($(IS_DRAFT), true)
DRAFT_MARKER_STR := <br><strong>DRAFT $(VERSION_STRING)</strong>
ifeq ($(VERSION_BUILD), 0)
DRAFT_MARKER_TITLE := [ad-hoc build]
DRAFT_MARKER_TITLE := $(SPACE)[ad-hoc build]
else
DRAFT_MARKER_TITLE := [build $(VERSION_BUILD)]
DRAFT_MARKER_TITLE := $(SPACE)[build $(VERSION_BUILD)]
endif
DRAFT_TEXT := This specification is not final and is subject to change. \
Use is subject to <a href="$(LICENSE_URL)">license terms</a>.
@@ -147,6 +151,15 @@ else
HEADER_STYLE := style="margin-top: 14px;"
endif
# $1 - Relative prefix to COPYRIGHT_URL
COPYRIGHT_BOTTOM = \
<a href="$(strip $1)$(COPYRIGHT_URL)">Copyright</a> \
&copy; 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME), \
$(COMPANY_ADDRESS).<br>All rights reserved. \
Use is subject to <a href="$(LICENSE_URL)">license terms</a> and the \
<a href="$(REDISTRIBUTION_URL)">documentation redistribution policy</a>. \
$(DRAFT_MARKER_STR) <!-- Version $(VERSION_STRING) -->
JAVADOC_BOTTOM := \
<a href="$(BUG_SUBMIT_URL)">Report a bug or suggest an enhancement</a><br> \
For further API reference and developer documentation see the \
@@ -156,12 +169,7 @@ JAVADOC_BOTTOM := \
of terms, workarounds, and working code examples.<br> \
Java is a trademark or registered trademark of $(FULL_COMPANY_NAME) in \
the US and other countries.<br> \
<a href="$(COPYRIGHT_URL)">Copyright</a> \
&copy; 1993, $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME), \
$(COMPANY_ADDRESS).<br>All rights reserved. \
Use is subject to <a href="$(LICENSE_URL)">license terms</a> and the \
<a href="$(REDISTRIBUTION_URL)">documentation redistribution policy</a>. \
$(DRAFT_MARKER_STR) <!-- Version $(VERSION_STRING) -->
$(call COPYRIGHT_BOTTOM, {@docroot}/../)
JAVADOC_TOP := \
<div style="padding: 6px; text-align: center; font-size: 80%; \
@@ -184,23 +192,26 @@ JAVASE_LONG_NAME := Java<sup>&reg;</sup> Platform, Standard Edition
################################################################################
# Functions
# Helper function for creating a png file from a dot file generated by the
# Helper function for creating a svg file from a dot file generated by the
# GenGraphs tool.
# param 1: SetupJavadocGeneration namespace ($1)
# param 2: module name
#
define setup_gengraph_dot_to_png
define setup_gengraph_dot_to_svg
$1_$2_DOT_SRC := $$($1_GENGRAPHS_DIR)/$2.dot
$1_$2_PNG_TARGET := $$($1_TARGET_DIR)/$2/module-graph.png
$1_$2_SVG_TARGET := $$($1_TARGET_DIR)/$2/module-graph.svg
# For each module needing a graph, create a png file from the dot file
# For each module needing a graph, create a svg file from the dot file
# generated by the GenGraphs tool and store it in the target dir.
$$($1_$2_PNG_TARGET): $$($1_GENGRAPHS_MARKER)
$$(call MakeDir, $$(@D))
$$(call ExecuteWithLog, $$($1_$2_DOT_SRC), \
$$(DOT) -Tpng -o $$($1_$2_PNG_TARGET) $$($1_$2_DOT_SRC))
$$(eval $$(call SetupExecute, gengraphs_svg_$1_$2, \
INFO := Running dot for module graphs for $2, \
DEPS := $$(gengraphs_$1_TARGET), \
OUTPUT_FILE := $$($1_$2_SVG_TARGET), \
SUPPORT_DIR := $$($1_GENGRAPHS_DIR), \
COMMAND := $$(DOT) -Tsvg -o $$($1_$2_SVG_TARGET) $$($1_$2_DOT_SRC), \
))
$1_MODULEGRAPH_TARGETS += $$($1_$2_PNG_TARGET)
$1_MODULEGRAPH_TARGETS += $$($1_$2_SVG_TARGET)
endef
# Helper function to create the overview.html file to use with the -overview
@@ -266,11 +277,12 @@ define SetupApiDocsGenerationBody
$1_INDIRECT_EXPORTS := $$(call FindTransitiveIndirectDepsForModules, $$($1_MODULES))
$1_ALL_MODULES := $$(sort $$($1_MODULES) $$($1_INDIRECT_EXPORTS))
$1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION)
$1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION) \
-Djspec.version=$$(VERSION_SPECIFICATION)
ifeq ($$(ENABLE_FULL_DOCS), true)
# Tell the ModuleGraph taglet to generate html links to soon-to-be-created
# png files with module graphs.
# svg files with module graphs.
$1_JAVA_ARGS += -DenableModuleGraph=true
endif
@@ -292,7 +304,7 @@ define SetupApiDocsGenerationBody
$1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
Specification
$1_WINDOW_TITLE := $$(subst &amp;,&,$$($1_SHORT_NAME)) $$(DRAFT_MARKER_TITLE)
$1_WINDOW_TITLE := $$(subst &amp;,&,$$($1_SHORT_NAME))$$(DRAFT_MARKER_TITLE)
$1_HEADER_TITLE := <div $$(HEADER_STYLE)><strong>$$($1_SHORT_NAME)</strong> \
$$(DRAFT_MARKER_STR)</div>
@@ -333,25 +345,25 @@ define SetupApiDocsGenerationBody
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
# Get a list of all files in all the source dirs for all included modules
$1_SOURCE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach module, \
$1_SOURCE_DEPS := $$(call FindFiles, $$(wildcard $$(foreach module, \
$$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
# Javadoc creates a lot of files but use index.html as a marker
$$($1_TARGET_DIR)/index.html: $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) \
$$($1_SOURCE_DEPS) $$($1_OVERVIEW)
$$(call LogWarn, Generating $1 javadoc for \
$$(words $$($1_ALL_MODULES)) modules)
$$(call LogInfo, Javadoc modules: $$($1_ALL_MODULES))
$$(call MakeDir, $$($1_TARGET_DIR))
$$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/docs/$1, \
$$($1_JAVADOC_CMD) -d $$($1_TARGET_DIR) \
$$($1_OPTIONS) $$($1_LOG_OPTION))
$$(eval $$(call SetupExecute, javadoc_$1, \
WARN := Generating $1 javadoc for $$(words $$($1_ALL_MODULES)) modules, \
INFO := Javadoc modules: $$($1_ALL_MODULES), \
DEPS := $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) $$($1_SOURCE_DEPS) \
$$($1_OVERVIEW), \
OUTPUT_DIR := $$($1_TARGET_DIR), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/docs, \
COMMAND := $$($1_JAVADOC_CMD) -d $$($1_TARGET_DIR) $$($1_OPTIONS) \
$$($1_LOG_OPTION), \
))
$1_JAVADOC_TARGETS := $$($1_TARGET_DIR)/index.html
$1_JAVADOC_TARGETS := $$(javadoc_$1_TARGET)
ifeq ($$(ENABLE_FULL_DOCS), true)
# We have asked ModuleGraph to generate links to png files. Now we must
# produce the png files.
# We have asked ModuleGraph to generate links to svg files. Now we must
# produce the svg files.
# Locate which modules has the @moduleGraph tag in their module-info.java
$1_MODULES_NEEDING_GRAPH := $$(strip $$(foreach m, $$($1_ALL_MODULES), \
@@ -367,21 +379,20 @@ define SetupApiDocsGenerationBody
$$(TOPDIR)/make/jdk/src/classes/build/tools/jigsaw/javadoc-graphs.properties
$1_GENGRAPHS_DIR := $$(SUPPORT_OUTPUTDIR)/docs/$1-gengraphs
$1_GENGRAPHS_MARKER := $$($1_GENGRAPHS_DIR)/_gengraphs_run.marker
$$($1_GENGRAPHS_MARKER): $$(BUILD_JIGSAW_TOOLS) $$(GENGRAPHS_PROPS)
$$(call LogInfo, Running gengraphs for $1 documentation)
$$(call MakeDir, $$($1_GENGRAPHS_DIR))
$$(call ExecuteWithLog, $$($1_GENGRAPHS_DIR)/gengraphs, \
$$(TOOL_GENGRAPHS) --spec --output $$($1_GENGRAPHS_DIR) \
--dot-attributes $$(GENGRAPHS_PROPS) && \
$$(TOUCH) $$($1_GENGRAPHS_MARKER))
$$(eval $$(call SetupExecute, gengraphs_$1, \
INFO := Running gengraphs for $1 documentation, \
DEPS := $$(BUILD_JIGSAW_TOOLS) $$(GENGRAPHS_PROPS), \
OUTPUT_DIR := $$($1_GENGRAPHS_DIR), \
COMMAND := $$(TOOL_GENGRAPHS) --spec --output $$($1_GENGRAPHS_DIR) \
--dot-attributes $$(GENGRAPHS_PROPS), \
))
# For each module needing a graph, create a png file from the dot file
# For each module needing a graph, create a svg file from the dot file
# generated by the GenGraphs tool and store it in the target dir.
# They will depend on $1_GENGRAPHS_MARKER, and will be added to $1.
# They will depend on gengraphs_$1_TARGET, and will be added to $1.
$$(foreach m, $$($1_MODULES_NEEDING_GRAPH), \
$$(eval $$(call setup_gengraph_dot_to_png,$1,$$m)) \
$$(eval $$(call setup_gengraph_dot_to_svg,$1,$$m)) \
)
endif
endef
@@ -477,11 +488,25 @@ $(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
################################################################################
# Use this variable to control which spec files are included in the output.
# Format: space-delimited list of names, including at most one '%' as a
# wildcard. Spec source files match if their filename or any enclosing folder
# name matches one of the items in SPEC_FILTER.
SPEC_FILTER := %
ApplySpecFilter = \
$(strip $(foreach file, $(1), \
$(eval searchkeys := $(subst /, ,$(subst $(WORKSPACE_ROOT),,$(file)))) \
$(if $(filter $(SPEC_FILTER), $(searchkeys)), \
$(file) \
) \
))
# Copy the global resources, including the top-level redirect index.html
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
FILES := $(call CacheFind, $(GLOBAL_SPECS_RESOURCES_DIR)), \
FILES := $(call ApplySpecFilter, $(call FindFiles, $(GLOBAL_SPECS_RESOURCES_DIR))), \
DEST := $(DOCS_OUTPUTDIR), \
))
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
@@ -489,7 +514,7 @@ JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
# Copy the legal notices distributed with the docs bundle
$(eval $(call SetupCopyFiles, COPY_DOCS_LEGAL_NOTICES, \
SRC := $(TOPDIR)/src/jdk.javadoc/share/legal, \
FILES := $(wildcard $(TOPDIR)/src/jdk.javadoc/share/legal/*), \
FILES := $(call ApplySpecFilter, $(wildcard $(TOPDIR)/src/jdk.javadoc/share/legal/*)), \
DEST := $(DOCS_OUTPUTDIR)/legal, \
))
JDK_INDEX_TARGETS += $(COPY_DOCS_LEGAL_NOTICES)
@@ -497,19 +522,19 @@ JDK_INDEX_TARGETS += $(COPY_DOCS_LEGAL_NOTICES)
################################################################################
# Copy JDK specs files
# For all html documentation in $module/share/specs directories, copy it
# For all non html/md files in $module/share/specs directories, copy them
# unmodified
ALL_MODULES := $(call FindAllModules)
COPY_SPEC_FILTER := %.html %.gif %.jpg %.mib %.css
COPY_SPEC_FILTER := %.gif %.jpg %.mib %.css
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(if $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
$(if $(call ApplySpecFilter, $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d))), \
$(eval $(call SetupCopyFiles, COPY_$m, \
SRC := $d, \
FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
FILES := $(call ApplySpecFilter, $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d))), \
DEST := $(DOCS_OUTPUTDIR)/specs/, \
)) \
$(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
@@ -517,6 +542,42 @@ $(foreach m, $(ALL_MODULES), \
) \
)
# Create copyright footer variables. We need different variables for different
# relative paths to the copyright.html file. The number 0-2 below represent how
# many extra directory levels down below the specs dir the specs html file is
# located.
SPECS_BOTTOM = <footer class="legal-footer"><hr/>$(COPYRIGHT_BOTTOM)</footer>
# The legal dir is one ../ below the specs dir, so start with one ../.
specs_bottom_rel_path := ../
$(foreach n, 0 1 2, \
$(eval SPECS_BOTTOM_$n := $(call SPECS_BOTTOM,$(specs_bottom_rel_path))) \
$(eval specs_bottom_rel_path := $(specs_bottom_rel_path)../) \
)
SPECS_TOP := $(if $(filter true, $(IS_DRAFT)), <header class="draft-header">$(DRAFT_TEXT)</header>)
# For all html files in $module/share/specs directories, copy and add the
# copyright footer.
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(foreach f, $(call ApplySpecFilter, $(filter %.html, $(call FindFiles, $d))), \
$(eval $m_$f_NOF_SUBDIRS := $(words $(subst /, $(SPACE), $(subst $d, , $(dir $f))))) \
$(eval $m_$f_NAME := PROCESS_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
$(eval $(call SetupTextFileProcessing, $($m_$f_NAME), \
SOURCE_FILES := $f, \
SOURCE_BASE_DIR := $d, \
OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/, \
REPLACEMENTS := \
<body> => <body>$(SPECS_TOP) ; \
</body> => $(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))</body>, \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
) \
) \
)
ifeq ($(ENABLE_PANDOC), true)
# For all markdown files in $module/share/specs directories, convert them to
# html, if we have pandoc (otherwise we'll just skip this).
@@ -526,15 +587,21 @@ ifeq ($(ENABLE_PANDOC), true)
$(foreach m, $(ALL_MODULES), \
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(if $(filter %.md, $(call CacheFind, $d)), \
$(eval $m_$d_NAME := SPECS_TO_HTML_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
$(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
$(eval $m_$f_NOF_SUBDIRS := $(words $(subst /, $(SPACE), $(subst $d, , $(dir $f))))) \
$(eval $m_$f_NAME := SPECS_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \
FILES := $f, \
DEST := $(DOCS_OUTPUTDIR)/specs/, \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_$($m_$f_NOF_SUBDIRS))', \
REPLACEMENTS := \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
@@VERSION_STRING@@ => $(VERSION_STRING), \
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$d_NAME))) \
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
) \
) \
)
@@ -553,19 +620,24 @@ ifeq ($(ENABLE_PANDOC), true)
$(foreach m, $(ALL_MODULES), \
$(eval MAN_$m := $(call FindModuleManDirs, $m)) \
$(foreach d, $(MAN_$m), \
$(if $(filter %.md, $(call CacheFind, $d)), \
$(eval $m_$d_NAME := MAN_TO_HTML_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
$(foreach f, $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, $d))), \
$(eval $m_$f_NAME := MAN_TO_HTML_$m_$(strip $(call RelativePath, $f, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$f_NAME), \
SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \
FILES := $f, \
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
REPLACEMENTS := @@VERSION_SHORT@@ => $(VERSION_SHORT), \
REPLACEMENTS := \
@@COPYRIGHT_YEAR@@ => $(COPYRIGHT_YEAR) ; \
@@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
@@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION), \
OPTIONS := --toc -V include-before='$(SPECS_TOP)' -V include-after='$(SPECS_BOTTOM_1)', \
POST_PROCESS := $(TOOL_FIXUPPANDOC), \
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
$(PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT), \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$d_NAME))) \
$(eval JDK_SPECS_TARGETS += $($($m_$f_NAME))) \
) \
) \
)
@@ -577,19 +649,29 @@ endif
# Special treatment for generated documentation
JDWP_PROTOCOL := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html
$(eval $(call SetupCopyFiles, COPY_JDWP_PROTOCOL, \
FILES := $(JDWP_PROTOCOL), \
DEST := $(DOCS_OUTPUTDIR)/specs/jdwp, \
))
JDK_SPECS_TARGETS += $(COPY_JDWP_PROTOCOL)
ifneq ($(call ApplySpecFilter, $(JDWP_PROTOCOL)), )
$(eval $(call SetupTextFileProcessing, PROCESS_JDWP_PROTOCOL, \
SOURCE_FILES := $(JDWP_PROTOCOL), \
OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/jdwp, \
REPLACEMENTS := \
<body> => <body>$(SPECS_TOP) ; \
</body> => $(SPECS_BOTTOM_1)</body>, \
))
JDK_SPECS_TARGETS += $(PROCESS_JDWP_PROTOCOL)
endif
# Get jvmti.html from the main jvm variant (all variants' jvmti.html are identical).
JVMTI_HTML ?= $(HOTSPOT_OUTPUTDIR)/variant-$(JVM_VARIANT_MAIN)/gensrc/jvmtifiles/jvmti.html
$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \
FILES := $(JVMTI_HTML), \
DEST := $(DOCS_OUTPUTDIR)/specs, \
))
JDK_SPECS_TARGETS += $(COPY_JVMTI_HTML)
ifneq ($(call ApplySpecFilter, $(JVMTI_HTML)), )
$(eval $(call SetupTextFileProcessing, PROCESS_JVMTI_HTML, \
SOURCE_FILES := $(JVMTI_HTML), \
OUTPUT_DIR := $(DOCS_OUTPUTDIR)/specs/, \
REPLACEMENTS := \
<body> => <body>$(SPECS_TOP) ; \
</body> => $(SPECS_BOTTOM_0)</body>, \
))
JDK_SPECS_TARGETS += $(PROCESS_JVMTI_HTML)
endif
################################################################################
# Optional target which bundles all generated javadocs into a zip archive.
@@ -606,6 +688,24 @@ $(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \
ZIP_TARGETS += $(BUILD_JAVADOC_ZIP)
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Docs-post.gmk))
################################################################################
# Bundles all generated specs into a zip archive, skipping javadocs.
SPECS_ZIP_NAME := jdk-$(VERSION_STRING)-specs.zip
SPECS_ZIP_FILE := $(OUTPUTDIR)/bundles/$(SPECS_ZIP_NAME)
$(eval $(call SetupZipArchive, BUILD_SPECS_ZIP, \
SRC := $(DOCS_OUTPUTDIR), \
ZIP := $(SPECS_ZIP_FILE), \
EXTRA_DEPS := $(JDK_SPECS_TARGETS), \
))
SPECS_ZIP_TARGETS += $(BUILD_SPECS_ZIP)
################################################################################
docs-jdk-api-javadoc: $(JDK_API_JAVADOC_TARGETS) $(JDK_API_CUSTOM_TARGETS)
@@ -626,11 +726,14 @@ docs-jdk-index: $(JDK_INDEX_TARGETS)
docs-zip: $(ZIP_TARGETS)
docs-specs-zip: $(SPECS_ZIP_TARGETS)
all: docs-jdk-api-javadoc docs-jdk-api-modulegraph docs-javase-api-javadoc \
docs-javase-api-modulegraph docs-reference-api-javadoc \
docs-reference-api-modulegraph docs-jdk-specs docs-jdk-index docs-zip
docs-reference-api-modulegraph docs-jdk-specs docs-jdk-index docs-zip \
docs-specs-zip
.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-modulegraph \
docs-javase-api-javadoc docs-javase-api-modulegraph \
docs-reference-api-javadoc docs-reference-api-modulegraph docs-jdk-specs \
docs-jdk-index docs-zip
docs-jdk-index docs-zip docs-specs-zip

View File

@@ -29,19 +29,21 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include $(TOPDIR)/make/ModuleTools.gmk
################################################################################
PACKAGES_ATTRIBUTE_TARGET := $(JDK_OUTPUTDIR)/_packages_attribute.done
ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module-info.class)
$(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
$(call LogInfo, Optimizing the exploded image)
$(call ExecuteWithLog, $@, $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR))
$(TOUCH) $@
$(eval $(call SetupExecute, optimize_image, \
WARN := Optimizing the exploded image, \
DEPS := $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES), \
OUTPUT_DIR := $(JDK_OUTPUTDIR), \
COMMAND := $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR), \
))
TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)
TARGETS := $(optimize_image_TARGET)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -67,6 +67,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXE_SUFFIX) $(CLASSLIST_JAR)
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
-Duser.language=en -Duser.country=US \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
2> $(LINK_OPT_DIR)/stderr > $(JLI_TRACE_FILE) \

View File

@@ -43,7 +43,7 @@ help:
$(info $(_) make images # Create a complete jdk image)
$(info $(_) # (alias for product-images))
$(info $(_) make <name>-image # Build just the image for any of: )
$(info $(_) # jdk, test, docs, symbols, legacy-jre)
$(info $(_) # jdk, test, docs, symbols, legacy-jre, static-libs)
$(info $(_) make <phase> # Build the specified phase and everything it depends on)
$(info $(_) # (gensrc, java, copy, libs, launchers, gendata, rmic))
$(info $(_) make *-only # Applies to most targets and disables building the)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,9 +27,9 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
TOOL_TARGETS :=
JDK_TARGETS :=
JRE_TARGETS :=
@@ -56,9 +56,6 @@ BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
# Use this file inside the image as target for make rule
JIMAGE_TARGET_FILE := release
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=
ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
@@ -88,40 +85,61 @@ ifeq ($(JLINK_KEEP_PACKAGED_MODULES), true)
JLINK_JDK_EXTRA_OPTS := --keep-packaged-modules $(JDK_IMAGE_DIR)/jmods
endif
$(JDK_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JDK_MODULES_LIST) $(BASE_RELEASE_FILE)
$(call LogWarn, Creating jdk image)
$(RM) -r $(JDK_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jdk, \
$(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
$(JLINK_JDK_EXTRA_OPTS) \
--output $(JDK_IMAGE_DIR) \
)
ifeq ($(BUILD_CDS_ARCHIVE), true)
$(call LogWarn, Creating CDS archive for jdk image)
$(FIXPATH) $(JDK_IMAGE_DIR)/bin/java \
-Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
endif
$(TOUCH) $@
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
OUTPUT_DIR := $(JDK_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk, \
PRE_COMMAND := $(RM) -r $(JDK_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
$(JLINK_JDK_EXTRA_OPTS) --output $(JDK_IMAGE_DIR), \
))
$(JRE_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, JRE_MODULES_LIST) $(BASE_RELEASE_FILE)
$(call LogWarn, Creating legacy jre image)
$(RM) -r $(JRE_IMAGE_DIR)
$(call ExecuteWithLog, $(SUPPORT_OUTPUTDIR)/images/jre, \
$(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) \
--output $(JRE_IMAGE_DIR) \
)
ifeq ($(BUILD_CDS_ARCHIVE), true)
$(call LogWarn, Creating CDS archive for jre image)
$(FIXPATH) $(JRE_IMAGE_DIR)/bin/java \
-Xshare:dump -Xmx128M -Xms128M $(LOG_INFO)
endif
$(TOUCH) $@
JLINK_JDK_TARGETS := $(jlink_jdk)
TOOL_JRE_TARGETS := $(JRE_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TOOL_JDK_TARGETS := $(JDK_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
$(eval $(call SetupExecute, jlink_jre, \
WARN := Creating legacy jre image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
OUTPUT_DIR := $(JRE_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre, \
PRE_COMMAND := $(RM) -r $(JRE_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) --output $(JRE_IMAGE_DIR), \
))
JLINK_JRE_TARGETS := $(jlink_jre)
ifeq ($(BUILD_CDS_ARCHIVE), true)
ifeq ($(OPENJDK_TARGET_OS), windows)
CDS_ARCHIVE := bin/server/classes.jsa
else
CDS_ARCHIVE := lib/server/classes.jsa
endif
$(eval $(call SetupExecute, gen_cds_archive_jdk, \
WARN := Creating CDS archive for jdk image, \
DEPS := $(jlink_jdk), \
OUTPUT_FILE := $(JDK_IMAGE_DIR)/$(CDS_ARCHIVE), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk, \
COMMAND := $(FIXPATH) $(JDK_IMAGE_DIR)/bin/java -Xshare:dump \
-Xmx128M -Xms128M $(LOG_INFO), \
))
JDK_TARGETS += $(gen_cds_archive_jdk)
$(eval $(call SetupExecute, gen_cds_archive_jre, \
WARN := Creating CDS archive for jre image, \
DEPS := $(jlink_jre), \
OUTPUT_FILE := $(JRE_IMAGE_DIR)/$(CDS_ARCHIVE), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre, \
COMMAND := $(FIXPATH) $(JRE_IMAGE_DIR)/bin/java -Xshare:dump \
-Xmx128M -Xms128M $(LOG_INFO), \
))
JRE_TARGETS += $(gen_cds_archive_jre)
endif
################################################################################
# src.zip
@@ -165,21 +183,14 @@ endif
ifeq ($(GCOV_ENABLED), true)
GCOV_FIND_EXPR := -type f -name "*.gcno"
$(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
$(eval $(call SetupCopyFiles,COPY_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
FILES := $(shell $(FIND) $(HOTSPOT_OUTPUTDIR) $(GCOV_FIND_EXPR))))
FILES := $(call FindFiles, $(HOTSPOT_OUTPUTDIR) \
$(SUPPORT_OUTPUTDIR)/native, *.gcno) \
))
SYMBOLS_TARGETS += $(COPY_HOTSPOT_GCOV_GCNO)
$(eval $(call SetupCopyFiles,COPY_JDK_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
FILES := $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/native $(GCOV_FIND_EXPR))))
SYMBOLS_TARGETS += $(COPY_JDK_GCOV_GCNO)
SYMBOLS_TARGETS += $(COPY_GCOV_GCNO)
endif
@@ -212,10 +223,10 @@ else
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(call isTargetOs, macosx), true)
$(eval $(call FillCacheFind, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs))
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call CacheFind, $1)))
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif
@@ -244,11 +255,11 @@ $(eval $(call IncludeCustomExtension, Images-post.gmk))
################################################################################
$(JRE_TARGETS): $(TOOL_JRE_TARGETS)
$(JDK_TARGETS): $(TOOL_JDK_TARGETS)
$(JRE_TARGETS): $(JLINK_JRE_TARGETS)
$(JDK_TARGETS): $(JLINK_JDK_TARGETS)
jdk: $(TOOL_JDK_TARGETS) $(JDK_TARGETS)
jre: $(TOOL_JRE_TARGETS) $(JRE_TARGETS)
jdk: $(JLINK_JDK_TARGETS) $(JDK_TARGETS)
jre: $(JLINK_JRE_TARGETS) $(JRE_TARGETS)
symbols: $(SYMBOLS_TARGETS)
all: jdk jre symbols

View File

@@ -238,11 +238,13 @@ else # HAS_SPEC=true
ifeq ($(LOG_NOFILE), true)
# Disable build log if LOG=[level,]nofile was given
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(filter dist-clean, $(SEQUENTIAL_TARGETS)), dist-clean)
# We can't have a log file if we're about to remove it.
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(OUTPUT_SYNC_SUPPORTED), true)
@@ -277,7 +279,7 @@ else # HAS_SPEC=true
else
$(ECHO) "Re-running configure using default settings"
endif
( cd $(OUTPUTDIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
( cd $(CONFIGURE_START_DIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
CUSTOM_ROOT="$(CUSTOM_ROOT)" \
CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
$(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
@@ -303,7 +305,7 @@ else # HAS_SPEC=true
main: $(INIT_TARGETS)
ifneq ($(SEQUENTIAL_TARGETS)$(PARALLEL_TARGETS), )
$(call RotateLogFiles)
$(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE)
$(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
ifneq ($(SEQUENTIAL_TARGETS), )
# Don't touch build output dir since we might be cleaning. That
# means no log pipe.
@@ -325,7 +327,7 @@ else # HAS_SPEC=true
$(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE) $(BUILD_LOG_PIPE) || \
( exitcode=$$? && \
$(PRINTF) "\nERROR: Build failed for $(TARGET_DESCRIPTION) (exit code $$exitcode) \n" \
$(BUILD_LOG_PIPE) && \
$(BUILD_LOG_PIPE_SIMPLE) && \
cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -j 1 -f make/Init.gmk \
HAS_SPEC=true on-failure ; \
exit $$exitcode ) )
@@ -336,7 +338,7 @@ else # HAS_SPEC=true
if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
$(PRINTF) "Finished building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE)
$(PRINTF) "Finished building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
$(call ReportProfileTimes)
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -53,7 +53,7 @@ ifeq ($(HAS_SPEC),)
COMPARE_BUILD JTREG GTEST MICRO TEST_OPTS TEST_VM_OPTS
# All known make control variables
MAKE_CONTROL_VARIABLES := $(INIT_CONTROL_VARIABLES) TEST JDK_FILTER
MAKE_CONTROL_VARIABLES := $(INIT_CONTROL_VARIABLES) TEST JDK_FILTER SPEC_FILTER
# Define a simple reverse function.
# Should maybe move to MakeBase.gmk, but we can't include that file now.
@@ -264,13 +264,9 @@ ifeq ($(HAS_SPEC),)
endif
endif
# The --no-print-directory is needed to make the call from
# FindTest.gmk to Test.gmk work with LOG=debug/trace. See
# JDK-8213736
$$(main_targets_file):
@( cd $$(topdir) && \
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R --no-print-directory \
-f $$(topdir)/make/Main.gmk \
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R -f $$(topdir)/make/Main.gmk \
-I $$(topdir)/make/common SPEC=$(strip $2) NO_RECIPES=true \
$$(MAKE_LOG_VARS) \
create-main-targets-include )
@@ -300,6 +296,9 @@ else # $(HAS_SPEC)=true
BUILD_PROFILE_LOG := $(OUTPUTDIR)/build-profile.log
BUILD_LOG_PIPE := > >($(TEE) -a $(BUILD_LOG)) 2> >($(TEE) -a $(BUILD_LOG) >&2) && wait
# Use this for simple echo/printf commands that are never expected to print
# to stderr.
BUILD_LOG_PIPE_SIMPLE := | $(TEE) -a $(BUILD_LOG)
ifneq ($(CUSTOM_ROOT), )
topdir=$(CUSTOM_ROOT)
@@ -388,7 +387,7 @@ else # $(HAS_SPEC)=true
fi
# Re-run configure with the same arguments (and possibly some additional),
# must be done after patching.
( cd $(OUTPUTDIR) && PATH="$(ORIGINAL_PATH)" \
( cd $(CONFIGURE_START_DIR) && PATH="$(ORIGINAL_PATH)" \
$(BASH) $(topdir)/configure $(CONFIGURE_COMMAND_LINE) $(COMPARE_BUILD_CONF))
endef
@@ -425,8 +424,8 @@ else # $(HAS_SPEC)=true
$(if $(filter all, $(LOG_REPORT)), \
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
, \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 12; then \
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 15 $(NEWLINE) \
if test `$(WC) -l < $(logfile)` -gt 15; then \
$(ECHO) " ... (rest of output omitted)" ; \
fi $(NEWLINE) \
) \
@@ -518,7 +517,7 @@ else # $(HAS_SPEC)=true
"`$(LS) $(BUILDTIMESDIR)/build_time_diff_* | $(GREP) -v _TOTAL | \
$(XARGS) $(CAT) | $(SORT) -k 2`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_diff_TOTAL`" \
$(BUILD_LOG_PIPE)
$(BUILD_LOG_PIPE_SIMPLE)
endef
define ReportProfileTimes
@@ -528,7 +527,7 @@ else # $(HAS_SPEC)=true
$(CAT) $(BUILD_PROFILE_LOG) && \
$(ECHO) End $(notdir $(BUILD_PROFILE_LOG)); \
} \
$(BUILD_LOG_PIPE)
$(BUILD_LOG_PIPE_SIMPLE)
)
endef

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -52,26 +52,24 @@ ifeq ($(call isTargetOs, macosx), true)
$(eval $(call SetupCopyFiles, COPY_JDK_IMAGE, \
SRC := $(JDK_IMAGE_DIR), \
DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \
FILES := $(call CacheFind, $(JDK_IMAGE_DIR)), \
FILES := $(call FindFiles, $(JDK_IMAGE_DIR)), \
))
$(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \
SRC := $(JRE_IMAGE_DIR), \
DEST := $(JRE_MACOSX_CONTENTS_DIR)/Home, \
FILES := $(call CacheFind, $(JRE_IMAGE_DIR)), \
FILES := $(call FindFiles, $(JRE_IMAGE_DIR)), \
))
$(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(call MakeTargetDir)
$(RM) $@
$(LN) -s ../Home/lib/libjli.dylib $@
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JDK, \
FILES := $(JDK_IMAGE_DIR)/lib/libjli.dylib, \
DEST := $(JDK_MACOSX_CONTENTS_DIR)/MacOS, \
))
$(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(call MakeTargetDir)
$(RM) $@
$(LN) -s ../Home/lib/libjli.dylib $@
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JRE, \
FILES := $(JRE_IMAGE_DIR)/lib/libjli.dylib, \
DEST := $(JRE_MACOSX_CONTENTS_DIR)/MacOS, \
))
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
@@ -97,13 +95,19 @@ ifeq ($(call isTargetOs, macosx), true)
@@VENDOR@@ => $(BUNDLE_VENDOR) , \
))
jdk-bundle: $(COPY_JDK_IMAGE) $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
$(BUILD_JDK_PLIST)
$(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set: $(COPY_JDK_IMAGE)
$(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR))
$(TOUCH) $@
jre-bundle: $(COPY_JRE_IMAGE) $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
$(BUILD_JRE_PLIST)
$(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set: $(COPY_JRE_IMAGE)
$(SETFILE) -a B $(dir $(JRE_MACOSX_CONTENTS_DIR))
$(TOUCH) $@
jdk-bundle: $(COPY_JDK_IMAGE) $(COPY_LIBJLI_JDK) \
$(BUILD_JDK_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set
jre-bundle: $(COPY_JRE_IMAGE) $(COPY_LIBJLI_JRE) \
$(BUILD_JRE_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set
else # Not macosx

View File

@@ -66,33 +66,33 @@ ALL_MODULES := $(call FindAllModules)
################################################################################
# Interim/build tools targets, compiling tools used during the build
# When creating a BUILDJDK, the buildtools and interim targets have already
# been built and should not be built again.
ifneq ($(CREATING_BUILDJDK), true)
buildtools-langtools:
buildtools-langtools:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ToolsLangtools.gmk)
interim-langtools:
interim-langtools:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileInterimLangtools.gmk)
interim-rmic:
interim-rmic:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileInterimRmic.gmk)
interim-cldrconverter:
interim-cldrconverter:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimCLDRConverter.gmk)
buildtools-jdk:
interim-tzdb:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimTZDB.gmk)
buildtools-jdk:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk)
buildtools-modules:
buildtools-modules:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileModuleTools.gmk)
buildtools-hotspot:
buildtools-hotspot:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsHotspot.gmk)
endif
ALL_TARGETS += buildtools-langtools interim-langtools \
interim-rmic interim-cldrconverter buildtools-jdk buildtools-modules \
interim-rmic interim-cldrconverter interim-tzdb buildtools-jdk buildtools-modules \
buildtools-hotspot
################################################################################
@@ -106,43 +106,39 @@ ALL_TARGETS += generate-exported-symbols
################################################################################
# Gensrc targets, generating source before java compilation can be done
#
# When creating a BUILDJDK, the java targets have already been built and copied
# into the buildjdk so no need to generate sources.
ifneq ($(CREATING_BUILDJDK), true)
$(eval $(call DeclareRecipesForPhase, GENSRC, \
TARGET_SUFFIX := gensrc-src, \
FILE_PREFIX := Gensrc, \
MAKE_SUBDIR := gensrc, \
CHECK_MODULES := $(ALL_MODULES), \
))
$(eval $(call DeclareRecipesForPhase, GENSRC, \
TARGET_SUFFIX := gensrc-src, \
FILE_PREFIX := Gensrc, \
MAKE_SUBDIR := gensrc, \
CHECK_MODULES := $(ALL_MODULES), \
))
$(foreach m, $(GENSRC_MODULES), $(eval $m-gensrc: $m-gensrc-src))
$(foreach m, $(GENSRC_MODULES), $(eval $m-gensrc: $m-gensrc-src))
LANGTOOLS_GENSRC_TARGETS := $(filter $(addsuffix -%, $(LANGTOOLS_MODULES)), $(GENSRC_TARGETS))
INTERIM_LANGTOOLS_GENSRC_TARGETS := $(filter $(addsuffix -%, \
$(INTERIM_LANGTOOLS_BASE_MODULES)), $(GENSRC_TARGETS))
HOTSPOT_GENSRC_TARGETS := $(filter $(addsuffix -%, $(HOTSPOT_MODULES)), $(GENSRC_TARGETS))
JDK_GENSRC_TARGETS := $(filter-out $(LANGTOOLS_GENSRC_TARGETS) \
$(HOTSPOT_GENSRC_TARGETS), $(GENSRC_TARGETS))
LANGTOOLS_GENSRC_TARGETS := $(filter $(addsuffix -%, $(LANGTOOLS_MODULES)), $(GENSRC_TARGETS))
INTERIM_LANGTOOLS_GENSRC_TARGETS := $(filter $(addsuffix -%, \
$(INTERIM_LANGTOOLS_BASE_MODULES)), $(GENSRC_TARGETS))
HOTSPOT_GENSRC_TARGETS := $(filter $(addsuffix -%, $(HOTSPOT_MODULES)), $(GENSRC_TARGETS))
JDK_GENSRC_TARGETS := $(filter-out $(LANGTOOLS_GENSRC_TARGETS) \
$(HOTSPOT_GENSRC_TARGETS), $(GENSRC_TARGETS))
GENSRC_MODULEINFO_MODULES := $(ALL_MODULES)
GENSRC_MODULEINFO_TARGETS := $(addsuffix -gensrc-moduleinfo, \
$(GENSRC_MODULEINFO_MODULES))
GENSRC_MODULEINFO_MODULES := $(ALL_MODULES)
GENSRC_MODULEINFO_TARGETS := $(addsuffix -gensrc-moduleinfo, \
$(GENSRC_MODULEINFO_MODULES))
GENSRC_MODULES := $(GENSRC_MODULEINFO_MODULES)
GENSRC_TARGETS += $(sort $(GENSRC_MODULEINFO_TARGETS) \
$(addsuffix -gensrc, $(GENSRC_MODULES)))
GENSRC_MODULES := $(GENSRC_MODULEINFO_MODULES)
GENSRC_TARGETS += $(sort $(GENSRC_MODULEINFO_TARGETS) \
$(addsuffix -gensrc, $(GENSRC_MODULES)))
define DeclareModuleInfoRecipe
$1-gensrc-moduleinfo:
define DeclareModuleInfoRecipe
$1-gensrc-moduleinfo:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
-f GensrcModuleInfo.gmk MODULE=$1)
-f gensrc/GensrcModuleInfo.gmk MODULE=$1)
$1-gensrc: $1-gensrc-moduleinfo
endef
$1-gensrc: $1-gensrc-moduleinfo
endef
$(foreach m, $(GENSRC_MODULEINFO_MODULES), $(eval $(call DeclareModuleInfoRecipe,$m)))
endif
$(foreach m, $(GENSRC_MODULEINFO_MODULES), $(eval $(call DeclareModuleInfoRecipe,$m)))
ALL_TARGETS += $(GENSRC_TARGETS)
@@ -221,6 +217,21 @@ $(eval $(call DeclareRecipesForPhase, LIBS, \
ALL_TARGETS += $(LIBS_TARGETS)
################################################################################
# Targets for compiling static versions of certain native libraries. These do
# not end up in the jmods or the normal JDK image, but are instead bundled into
# a special deliverable.
$(eval $(call DeclareRecipesForPhase, STATIC_LIBS, \
TARGET_SUFFIX := static-libs, \
FILE_PREFIX := Lib, \
MAKE_SUBDIR := lib, \
CHECK_MODULES := $(STATIC_LIBS_MODULES), \
USE_WRAPPER := true, \
EXTRA_ARGS := STATIC_LIBS=true, \
))
ALL_TARGETS += $(STATIC_LIBS_TARGETS)
################################################################################
# Targets for compiling native executables
$(eval $(call DeclareRecipesForPhase, LAUNCHER, \
@@ -287,6 +298,27 @@ compile-commands compile-commands-hotspot:
ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
ALL_TARGETS += compile-commands compile-commands-hotspot
################################################################################
# VS Code projects
vscode-project:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=cpptools)
vscode-project-clangd:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=clangd)
vscode-project-rtags:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=rtags)
vscode-project-ccls:
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
VSCODE_INDEXER=ccls)
ALL_TARGETS += vscode-project vscode-project-clangd vscode-project-rtags \
vscode-project-ccls
################################################################################
# Build demos targets
@@ -335,8 +367,9 @@ BOOTCYCLE_TARGET := product-images
bootcycle-images:
ifneq ($(COMPILE_TYPE), cross)
$(call LogWarn, Boot cycle build step 2: Building a new JDK image using previously built image)
$(call MakeDir, $(OUTPUTDIR)/bootcycle-build)
+$(MAKE) $(MAKE_ARGS) -f $(TOPDIR)/make/Init.gmk PARALLEL_TARGETS=$(BOOTCYCLE_TARGET) \
JOBS= SPEC=$(dir $(SPEC))bootcycle-spec.gmk main
LOG_PREFIX="[bootcycle] " JOBS= SPEC=$(dir $(SPEC))bootcycle-spec.gmk main
else
$(call LogWarn, Boot cycle build disabled when cross compiling)
endif
@@ -359,6 +392,9 @@ legacy-jre-image:
symbols-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk symbols)
static-libs-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f StaticLibsImage.gmk)
mac-jdk-bundle:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk jdk-bundle)
@@ -378,7 +414,7 @@ endif
ALL_TARGETS += store-source-revision create-source-revision-tracker bootcycle-images zip-security \
zip-source jrtfs-jar jdk-image legacy-jre-image \
symbols-image mac-jdk-bundle mac-legacy-jre-bundle \
symbols-image static-libs-image mac-jdk-bundle mac-legacy-jre-bundle \
release-file exploded-image-optimize jcov-image
################################################################################
@@ -413,6 +449,9 @@ docs-jdk-index:
docs-zip:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Docs.gmk docs-zip)
docs-specs-zip:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Docs.gmk docs-specs-zip)
update-build-docs:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f UpdateBuildDocs.gmk)
@@ -422,7 +461,7 @@ update-x11wrappers:
ALL_TARGETS += docs-jdk-api-javadoc docs-jdk-api-modulegraph \
docs-javase-api-javadoc docs-javase-api-modulegraph \
docs-reference-api-javadoc docs-reference-api-modulegraph docs-jdk-specs \
docs-jdk-index docs-zip update-build-docs update-x11wrappers
docs-jdk-index docs-zip docs-specs-zip update-build-docs update-x11wrappers
################################################################################
# Cross compilation support
@@ -433,15 +472,18 @@ ifeq ($(CREATING_BUILDJDK), true)
java.base-copy jdk.jdeps-launchers
endif
create-buildjdk-copy:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CreateBuildJdkCopy.gmk)
BUILDJDK_MODULES := $(sort $(foreach m, jdk.jlink $(INTERIM_IMAGE_MODULES), \
$(call FindTransitiveDepsForModule, $m) $m))
create-buildjdk-interim-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk \
$@-helper \
SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
HOTSPOT_SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
CREATING_BUILDJDK=true)
CREATING_BUILDJDK=true \
LOG_PREFIX="[buildjdk] " \
JAVA_MODULES="$(BUILDJDK_MODULES)" \
)
ALL_TARGETS += create-buildjdk-copy create-buildjdk-interim-image
@@ -456,7 +498,7 @@ define DeclareInterimJmodRecipe
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CreateJmods.gmk \
MODULE=$1 \
JMODS_DIR=$(INTERIM_JMODS_DIR) \
JMODS_TEMPDIR=$(INTERIM_JMODS_DIR)/temp \
JMODS_SUPPORT_DIR=$(INTERIM_JMODS_DIR)/support \
INTERIM_JMOD=true \
)
endef
@@ -581,18 +623,25 @@ ALL_TARGETS += test exploded-test jcov-test
product-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
legacy-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk legacy-bundles)
test-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
docs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
static-libs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk static-libs-bundles)
ifeq ($(JCOV_ENABLED), true)
jcov-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk jcov-bundles)
endif
ALL_TARGETS += product-bundles test-bundles docs-bundles jcov-bundles
ALL_TARGETS += product-bundles legacy-bundles test-bundles docs-bundles \
static-libs-bundles jcov-bundles
################################################################################
# Install targets
@@ -625,7 +674,7 @@ else
interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS)
buildtools-jdk: interim-langtools interim-cldrconverter
buildtools-jdk: interim-langtools interim-cldrconverter interim-tzdb
buildtools-hotspot: interim-langtools
@@ -647,7 +696,6 @@ else
# Declare dependencies between hotspot-<variant>* targets
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
$(eval hotspot-$v-gensrc: java.base-copy) \
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
)
@@ -671,7 +719,7 @@ else
# The demos are currently linking to libjvm and libjava, just like all other
# jdk libs, even though they don't need to. To avoid warnings, make sure they
# aren't built until after libjava and libjvm are available to link to.
demos-jdk: java.base-libs exploded-image-optimize
demos-jdk: java.base-libs exploded-image
test-image-demos-jdk: demos-jdk
# Declare dependency from <module>-java to <module>-gensrc
@@ -681,17 +729,15 @@ else
$(foreach m, $(JAVA_MODULES), \
$(eval $m-java: $(addsuffix -java, $(filter $(JAVA_MODULES), \
$(call FindDepsForModule,$m)))))
# Declare dependencies between the module meta targets
$(foreach m, $(ALL_MODULES), $(eval $m: $(call FindDepsForModule,$m)))
# Declare dependencies between <module>-rmic to <module>-java
$(foreach m, $(RMIC_MODULES), $(eval $m-rmic: $m-java))
# Declare dependencies from <module>-lib to <module>-java
# Skip modules that do not have java source.
# When creating a BUILDJDK, the java compilation has already been done by the
# normal build and copied in.
ifneq ($(CREATING_BUILDJDK), true)
$(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs: $m-java))
endif
$(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs: $m-java))
# Declare dependencies from all other <module>-lib to java.base-lib
$(foreach t, $(filter-out java.base-libs, $(LIBS_TARGETS)), \
@@ -729,7 +775,7 @@ else
# Declare dependencies between jmod targets.
# java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
# When creating a BUILDJDK, we don't need to add hashes to java.base, thus
# When creating the BUILDJDK, we don't need to add hashes to java.base, thus
# we don't need to depend on all other jmods
ifneq ($(CREATING_BUILDJDK), true)
java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
@@ -742,11 +788,7 @@ else
java.base-jmod: $(JVM_MAIN_TARGETS)
# Declare dependencies from <module>-jmod to all other module targets
# When creating a BUILDJDK, the java compilation has already been done by the
# normal build and copied in.
ifneq ($(CREATING_BUILDJDK), true)
$(foreach m, $(JAVA_MODULES), $(eval $m_JMOD_DEPS += $m-java))
endif
$(foreach m, $(JAVA_MODULES), $(eval $m_JMOD_DEPS += $m-java))
$(foreach m, $(GENDATA_MODULES), $(eval $m_JMOD_DEPS += $m-gendata))
$(foreach m, $(RMIC_MODULES), $(eval $m_JMOD_DEPS += $m-rmic))
$(foreach m, $(LIBS_MODULES), $(eval $m_JMOD_DEPS += $m-libs))
@@ -771,34 +813,41 @@ else
compile-commands-hotspot: $(COMPILE_COMMANDS_TARGETS_HOTSPOT)
compile-commands: $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
vscode-project: compile-commands
vscode-project-clangd: compile-commands
vscode-project-rtags: compile-commands
vscode-project-ccls: compile-commands
# The -static-libs targets depend on -java as well as java.base-copy.
$(foreach m, $(filter $(JAVA_MODULES), $(STATIC_LIBS_MODULES)), \
$(eval $m-static-libs: $m-java java.base-copy))
# Jmods cannot be created until we have the jmod tool ready to run. During
# a normal build we run it from the exploded image, but when cross compiling
# it's run from the buildjdk, which is either created at build time or user
# supplied.
#
# For the exploded image to be runnable, all java modules and
# jdk.jlink-launchers need to be built. We also need to copy jvm.cfg (done
# in java.base-copy) and tzdb.dat (done in java.base-gendata) to the
# appropriate location otherwise jimage, jlink and jmod won't start. This
# also applies when creating the buildjdk.
DEFAULT_JMOD_DEPS += java.base-libs java.base-copy java.base-gendata \
jdk.jlink-launchers
# When cross compiling and buildjdk is to be created, depend on creating the
# buildjdk instead of the default dependencies.
ifeq ($(CREATE_BUILDJDK), true)
# Avoid calling create-buildjdk from within a create-buildjdk call.
ifneq ($(CREATING_BUILDJDK), true)
# When cross compiling and buildjdk is to be created, simply depend on
# creating the buildjdk.
$(JMOD_TARGETS): create-buildjdk
buildtools-modules: create-buildjdk
else
# While actually creating the buildjdk, the default deps applies.
$(JMOD_TARGETS) $(INTERIM_JMOD_TARGETS): $(DEFAULT_JMOD_DEPS)
# While actually creating the buildjdk, we need to list the bare
# minimum dependencies needed before running jmod, to avoid building
# more than necessary. This includes:
# * all java modules
# * jdk.jlink-launchers
# * copy jvm.cfg (done in java.base-copy)
# * tzdb.dat (done in java.base-gendata)
# Without all of these jimage, jlink and jmod won't start.
$(JMOD_TARGETS) $(INTERIM_JMOD_TARGETS): java.base-libs java.base-copy \
java.base-gendata jdk.jlink-launchers java
endif
else
# The normal non cross compilation case uses the default deps.
# To avoid races with the optimize target, that also needs to happen first.
$(JMOD_TARGETS) $(INTERIM_JMOD_TARGETS): $(DEFAULT_JMOD_DEPS) \
exploded-image-optimize
# The normal non cross compilation case uses needs to wait for the full
# exploded-image to avoid a race with the optimize target.
$(JMOD_TARGETS) $(INTERIM_JMOD_TARGETS): exploded-image
endif
# All modules include the main license files from java.base.
@@ -835,6 +884,8 @@ else
legacy-jre-image: jmods release-file
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: $(STATIC_LIBS_TARGETS)
mac-jdk-bundle: jdk-image
mac-legacy-jre-bundle: legacy-jre-image
@@ -866,11 +917,13 @@ else
JVM_DOCS_TARGETS ?= hotspot-$(JVM_VARIANT_MAIN)-gensrc
# The gensrc steps for hotspot and jdk.jdi create html spec files.
docs-jdk-specs: $(JVM_DOCS_TARGETS) jdk.jdi-gensrc \
docs-jdk-specs: buildtools-jdk $(JVM_DOCS_TARGETS) jdk.jdi-gensrc \
docs-jdk-index
docs-zip: docs-jdk
docs-specs-zip: docs-jdk-specs
# Tests
test: jdk-image test-image
@@ -886,14 +939,9 @@ else
$(foreach t, $(filter-out test-make%, $(ALL_TEST_TARGETS)), $(eval $t: jdk-image test-image))
$(foreach t, $(ALL_EXPLODED_TEST_TARGETS), $(eval $t: exploded-image test-image))
create-buildjdk-copy: jdk.jlink-java java.base-gendata \
$(addsuffix -java, $(INTERIM_IMAGE_MODULES))
create-buildjdk-interim-image: create-buildjdk-copy
interim-image: $(INTERIM_JMOD_TARGETS)
build-test-lib: exploded-image-optimize
build-test-lib: exploded-image
build-test-failure-handler: interim-langtools
@@ -904,7 +952,7 @@ else
build-test-jdk-jtreg-native: buildtools-jdk java.base-libs
build-test-hotspot-jtreg-graal: exploded-image-optimize
build-test-hotspot-jtreg-graal: exploded-image
test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
@@ -918,12 +966,16 @@ else
product-bundles: product-images
legacy-bundles: legacy-images
test-bundles: test-image
docs-bundles: docs-image
jcov-bundles: jcov-image
static-libs-bundles: static-libs-image
generate-summary: jmods buildtools-modules
update-x11wrappers: java.base-copy buildtools-jdk
@@ -938,6 +990,10 @@ JVM_TOOLS_TARGETS ?= buildtools-hotspot
buildtools: buildtools-langtools interim-langtools interim-rmic \
buildtools-jdk $(JVM_TOOLS_TARGETS)
# Declare dependencies from hotspot-<variant> targets
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
)
hotspot: $(HOTSPOT_VARIANT_TARGETS)
# Create targets hotspot-libs and hotspot-gensrc.
@@ -958,6 +1014,8 @@ rmic: $(RMIC_TARGETS)
libs: $(LIBS_TARGETS)
static-libs: $(STATIC_LIBS_TARGETS)
launchers: $(LAUNCHER_TARGETS)
jmods: $(JMOD_TARGETS)
@@ -990,7 +1048,7 @@ ifneq ($(COMPILE_TYPE), cross)
exploded-image: exploded-image-optimize
endif
create-buildjdk: create-buildjdk-copy create-buildjdk-interim-image
create-buildjdk: create-buildjdk-interim-image
docs-jdk-api: docs-jdk-api-javadoc
docs-javase-api: docs-javase-api-javadoc
@@ -1020,6 +1078,9 @@ mac-bundles: mac-jdk-bundle
# (and possibly other, more specific versions)
product-images: jdk-image symbols-image exploded-image
# This target builds the legacy images, e.g. the legacy JRE image
legacy-images: legacy-jre-image
# zip-security is actually a bundle, but for now it needs to be considered
# an image until this can be cleaned up properly.
product-images: zip-security
@@ -1036,6 +1097,8 @@ endif
ifeq ($(call isTargetOs, macosx), true)
product-images: mac-jdk-bundle
legacy-images: mac-legacy-jre-bundle
endif
# This target builds the documentation image
@@ -1063,14 +1126,14 @@ endif
all-images: product-images test-image docs-image
# all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
copy java rmic libs launchers jmods \
copy java rmic libs static-libs launchers jmods \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
docs-javase docs-reference docs-javadoc mac-bundles product-images \
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
docs-image test-image all-images \
all-bundles
@@ -1120,7 +1183,8 @@ ALL_TARGETS += $(RUN_TEST_TARGETS) run-test exploded-run-test check \
# file.
CLEAN_DIRS += hotspot jdk bootcycle-build test buildtools support \
images make-support test-make bundles buildjdk test-results test-support
images make-support test-make bundles buildjdk test-results test-support \
support/images
CLEAN_DIR_TARGETS := $(addprefix clean-, $(CLEAN_DIRS))
CLEAN_SUPPORT_DIRS += demos
CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS))
@@ -1170,6 +1234,9 @@ clean-support: clean-jdk
clean-test: clean-test-results clean-test-support
# When cleaning images, also clean the support/images directory.
clean-images: clean-support/images
# Remove everything, including configure configuration. If the output
# directory was created by configure and now becomes empty, remove it as well.
dist-clean: clean

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -133,7 +133,7 @@ define DeclareRecipeForModuleMakefile
$$(addprefix -I, $$(PHASE_MAKEDIRS) \
$$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \
) \
MODULE=$2 MAKEFILE_PREFIX=$$($1_FILE_PREFIX))
MODULE=$2 MAKEFILE_PREFIX=$$($1_FILE_PREFIX) $$($1_EXTRA_ARGS))
else
+($(CD) $$(dir $$(firstword $$(wildcard $$(addsuffix \
/$$($1_MAKE_SUBDIR)/$$($1_FILE_PREFIX)-$2.gmk, $$(PHASE_MAKEDIRS))))) \
@@ -142,7 +142,7 @@ define DeclareRecipeForModuleMakefile
$$(addprefix -I, $$(PHASE_MAKEDIRS) \
$$(addsuffix /$$($1_MAKE_SUBDIR), $$(PHASE_MAKEDIRS)) \
) \
MODULE=$2 \
MODULE=$2 $$($1_EXTRA_ARGS) \
)
endif
@@ -182,12 +182,13 @@ endef
# CHECK_MODULES : List of modules to try
# MULTIPLE_MAKEFILES : Set to true to handle makefiles for the same module and
# phase in multiple repos
# EXTRA_ARGS : Add extra make args to each makefile call
# Exported variables:
# $1_MODULES : All modules that had rules generated
# $1_TARGETS : All targets generated
define DeclareRecipesForPhase
$(foreach i,2 3 4 5 6 7, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE))
$(if $(8),$(error Internal makefile error: Too many arguments to \
$(foreach i,2 3 4 5 6 7 8, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE))
$(if $(9),$(error Internal makefile error: Too many arguments to \
DeclareRecipesForPhase, please update MakeHelper.gmk))
$$(foreach m, $$($(strip $1)_CHECK_MODULES), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -98,13 +98,15 @@ endif
JTREG_FAILURE_HANDLER_DIR := $(TEST_IMAGE_DIR)/failure_handler
JTREG_FAILURE_HANDLER := $(JTREG_FAILURE_HANDLER_DIR)/jtregFailureHandler.jar
JTREG_FAILURE_HANDLER_TIMEOUT ?= 0
ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
JTREG_FAILURE_HANDLER_OPTIONS := \
-timeoutHandlerDir:$(JTREG_FAILURE_HANDLER) \
-observerDir:$(JTREG_FAILURE_HANDLER) \
-timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler \
-observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver \
-timeoutHandlerTimeout:0
-timeoutHandlerTimeout:$(JTREG_FAILURE_HANDLER_TIMEOUT)
endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
@@ -112,6 +114,9 @@ GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, \
$(GTEST_LAUNCHER_DIRS)))
COV_ENVIRONMENT :=
JTREG_COV_OPTIONS :=
ifeq ($(TEST_OPTS_JCOV), true)
JCOV_OUTPUT_DIR := $(TEST_RESULTS_DIR)/jcov-output
JCOV_GRABBER_LOG := $(JCOV_OUTPUT_DIR)/grabber.log
@@ -122,12 +127,18 @@ ifeq ($(TEST_OPTS_JCOV), true)
# Replace our normal test JDK with the JCov image.
JDK_UNDER_TEST := $(JCOV_IMAGE_DIR)
JCOV_ENVIRONMENT := JAVA_TOOL_OPTIONS="$(JCOV_MEM_OPTIONS)" \
COV_ENVIRONMENT += JAVA_TOOL_OPTIONS="$(JCOV_MEM_OPTIONS)" \
_JAVA_OPTIONS="$(JCOV_MEM_OPTIONS)"
JTREG_JCOV_OPTIONS := -e:JAVA_TOOL_OPTIONS='$(JCOV_MEM_OPTIONS)' \
JTREG_COV_OPTIONS += -e:JAVA_TOOL_OPTIONS='$(JCOV_MEM_OPTIONS)' \
-e:_JAVA_OPTIONS='$(JCOV_MEM_OPTIONS)'
endif
ifeq ($(GCOV_ENABLED), true)
GCOV_OUTPUT_DIR := $(TEST_RESULTS_DIR)/gcov-output
COV_ENVIRONMENT += GCOV_PREFIX="$(GCOV_OUTPUT_DIR)"
JTREG_COV_OPTIONS += -e:GCOV_PREFIX="$(GCOV_OUTPUT_DIR)"
endif
################################################################################
# Optionally create AOT libraries for specified modules before running tests.
# Note, this could not be done during JDK build time.
@@ -170,17 +181,19 @@ define SetupAotModuleBody
$$(call LogWarn, Generating $$(patsubst $$(OUTPUTDIR)/%, %, $$@))
$$(call MakeTargetDir)
$$(call ExecuteWithLog, $$@, \
$((COV_ENVIRONMENT) \
$$(FIXPATH) $$(JDK_UNDER_TEST)/bin/jaotc \
$$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \
)
$$(call ExecuteWithLog, $$@.check, \
$$(call ExecuteWithLog, $$@.check, ( \
$$(FIXPATH) $$(JDK_UNDER_TEST)/bin/java \
$$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions \
$$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \
-XX:+PrintAOT -XX:+UseAOTStrictLoading \
-XX:AOTLibrary=$$@ -version \
> $$@.verify-aot \
)
))
$1_AOT_OPTIONS += -XX:+UnlockExperimentalVMOptions
$1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB)
$1_AOT_TARGETS += $$($1_AOT_LIB)
endef
@@ -234,11 +247,29 @@ ifeq ($(TEST_JOBS), 0)
CORES_DIVIDER := 4
endif
endif
# For some big multi-core machines with low ulimit -u setting we hit the max
# threads/process limit. In such a setup the memory/cores-only-guided
# TEST_JOBS config is insufficient. From experience a concurrency setting of
# 14 works reasonably well for low ulimit values (<= 4096). Thus, use
# divider 4096/14. For high ulimit -u values this shouldn't make a difference.
ULIMIT_DIVIDER := (4096/14)
PROC_ULIMIT := -1
ifneq ($(OPENJDK_TARGET_OS), windows)
PROC_ULIMIT := $(shell $(ULIMIT) -u)
ifeq ($(PROC_ULIMIT), unlimited)
PROC_ULIMIT := -1
endif
endif
MEMORY_DIVIDER := 2048
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / $(CORES_DIVIDER); \
m = $(MEMORY_SIZE) / $(MEMORY_DIVIDER); \
u = $(PROC_ULIMIT); \
if (u > -1) { \
u = u / $(ULIMIT_DIVIDER); \
if (u < c) c = u; \
} \
if (c > m) c = m; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
@@ -265,10 +296,12 @@ $(eval $(call SetTestOpt,AOT_MODULES,JTREG))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR TEST_MODE ASSERT VERBOSE RETAIN \
MAX_MEM, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS AOT_MODULES, \
))
@@ -579,7 +612,7 @@ define SetupRunGtestTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, ( \
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
-jdk $(JDK_UNDER_TEST) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
@@ -588,7 +621,7 @@ define SetupRunGtestTestBody
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
@@ -658,6 +691,8 @@ define SetupRunMicroTestBody
# Current tests needs to open java.io
$1_MICRO_JAVA_OPTIONS += --add-opens=java.base/java.io=ALL-UNNAMED
# Set library path for native dependencies
$1_MICRO_JAVA_OPTIONS += -Djava.library.path=$$(TEST_IMAGE_DIR)/micro/native
# Save output as JSON or CSV file
ifneq ($$(MICRO_RESULTS_FORMAT), )
@@ -689,8 +724,9 @@ define SetupRunMicroTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/micro, \
$$($1_MICRO_TEST_JDK)/bin/java $$($1_MICRO_JAVA_OPTIONS) -jar $$($1_MICRO_BENCHMARKS_JAR) \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/micro, ( \
$$(FIXPATH) $$($1_MICRO_TEST_JDK)/bin/java $$($1_MICRO_JAVA_OPTIONS) \
-jar $$($1_MICRO_BENCHMARKS_JAR) \
$$($1_MICRO_ITER) $$($1_MICRO_FORK) $$($1_MICRO_TIME) \
$$($1_MICRO_WARMUP_ITER) $$($1_MICRO_WARMUP_TIME) \
$$($1_MICRO_VM_OPTIONS) $$($1_MICRO_BASIC_OPTIONS) $$(MICRO_OPTIONS) \
@@ -698,7 +734,7 @@ define SetupRunMicroTestBody
> >($(TEE) $$($1_TEST_RESULTS_DIR)/micro.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/micro.txt
@@ -815,6 +851,8 @@ define SetupRunJtregTestBody
endif
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_RUN_PROBLEM_LISTS ?= false
JTREG_RETRY_COUNT ?= 0
ifneq ($$($1_JTREG_MAX_MEM), 0)
$1_JTREG_BASIC_OPTIONS += -vmoption:-Xmx$$($1_JTREG_MAX_MEM)
@@ -852,13 +890,19 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -nativepath:$$($1_JTREG_NATIVEPATH)
endif
ifeq ($$(JTREG_RUN_PROBLEM_LISTS), true)
JTREG_PROBLEM_LIST_PREFIX := -match:
else
JTREG_PROBLEM_LIST_PREFIX := -exclude:
endif
ifneq ($$($1_JTREG_PROBLEM_LIST), )
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$(wildcard \
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(JTREG_EXTRA_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
))
@@ -868,7 +912,8 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
endif
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=${TEST_IMAGE_DIR}/hotspot/jtreg/graal
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=$(TEST_IMAGE_DIR)/hotspot/jtreg/graal
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
@@ -899,26 +944,44 @@ define SetupRunJtregTestBody
clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
-dir:$$(JTREG_TOPDIR) \
-reportDir:$$($1_TEST_RESULTS_DIR) \
-workDir:$$($1_TEST_SUPPORT_DIR) \
-status:$$$${JTREG_STATUS} \
$$(JTREG_OPTIONS) \
$$(JTREG_FAILURE_HANDLER_OPTIONS) \
$$(JTREG_COV_OPTIONS) \
$$($1_TEST_NAME) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE)
ifneq ($$(JTREG_RETRY_COUNT), 0)
$1_COMMAND_LINE := \
for i in {0..$$(JTREG_RETRY_COUNT)}; do \
if [ "$$$$i" != 0 ]; then \
$$(PRINTF) "\nRetrying Jtreg run. Attempt: $$$$i\n"; \
fi; \
$$($1_COMMAND_LINE); \
if [ "`$$(CAT) $$($1_EXITCODE)`" = "0" ]; then \
break; \
fi; \
export JTREG_STATUS="-status:error,fail"; \
done
endif
run-test-$1: pre-run-test clean-workdir-$1 $$($1_AOT_TARGETS)
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, \
$$(JCOV_ENVIRONMENT) \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
-dir:$$(JTREG_TOPDIR) \
-reportDir:$$($1_TEST_RESULTS_DIR) \
-workDir:$$($1_TEST_SUPPORT_DIR) \
$$(JTREG_OPTIONS) \
$$(JTREG_FAILURE_HANDLER_OPTIONS) \
$$(JTREG_JCOV_OPTIONS) \
$$($1_TEST_NAME) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, ( \
$$(COV_ENVIRONMENT) $$($1_COMMAND_LINE) \
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
@@ -994,12 +1057,12 @@ define SetupRunSpecialTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, ( \
$$($1_TEST_COMMAND_LINE) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
@@ -1181,10 +1244,18 @@ ifeq ($(TEST_OPTS_JCOV), true)
$(call LogWarn, Stopping JCov Grabber...)
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -stop -stoptimeout 3600
JCOV_REPORT_TITLE := JDK code coverage report<br/>
ifneq ($(JCOV_FILTERS), )
JCOV_REPORT_TITLE += Code filters: $(JCOV_FILTERS)<br>
endif
JCOV_REPORT_TITLE += Tests: $(TEST)
jcov-gen-report: jcov-stop-grabber
$(call LogWarn, Generating JCov report ...)
$(JAVA) -Xmx4g -jar $(JCOV_HOME)/lib/jcov.jar RepGen -sourcepath \
`$(ECHO) $(TOPDIR)/src/*/share/classes/ | $(TR) ' ' ':'` -fmt html \
$(JCOV_FILTERS) \
-mainReportTitle "$(JCOV_REPORT_TITLE)" \
-o $(JCOV_REPORT) $(JCOV_RESULT_FILE)
TARGETS += jcov-do-start-grabber jcov-start-grabber jcov-stop-grabber \

View File

@@ -230,7 +230,7 @@ else ifeq ($(OPENJDK_TARGET_OS), macosx)
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
MEMORY_SIZE := $(shell $(EXPR) `/usr/sbin/sysctl -n hw.memsize` / 1024 / 1024)
else ifeq ($(OPENJDK_TARGET_OS), solaris)
NUM_CORES := $(shell LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
NUM_CORES := $(shell /usr/sbin/psrinfo -v | $(GREP) -c on-line)
MEMORY_SIZE := $(shell \
/usr/sbin/prtconf 2> /dev/null | $(GREP) "^Memory [Ss]ize" | $(AWK) '{print $$3}' \
)
@@ -337,7 +337,17 @@ SPEC := $(NEW_SPEC)
default: all
run-test-prebuilt:
# Need to make sure the failure logs output dir exists since
# ExecuteWithLog is called in RunTests.gmk. The PrepareFailureLogs macro
# is unfortunately not available at this point.
$(call MakeDir, $(MAKESUPPORT_OUTPUTDIR)/failure-logs)
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
# The lazy initialization of the cache file in FindTests.gmk does not
# always work with RunTests.gmk. To guarantee that the jtreg test groups
# are always found and parsed, call FindTests.gmk stand alone once
# before calling RunTests.gmk.
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/common/FindTests.gmk \
SPEC=$(SPEC) FINDTESTS_STAND_ALONE=true
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,9 @@
# Fake minimalistic spec file for RunTestsPrebuilt.gmk.
################################################################################
# Make sure all shell commands are executed with the C locale
export LC_ALL := C
define VerifyVariable
ifeq ($$($1), )
$$(info Error: Variable $1 is missing, needed by RunTestPrebuiltSpec.gmk)
@@ -172,6 +175,7 @@ UNZIP := unzip
EXPR := expr
FILE := file
HG := hg
ULIMIT := ulimit
# On Solaris gnu versions of some tools are required.
ifeq ($(OPENJDK_BUILD_OS), solaris)

54
make/StaticLibsImage.gmk Normal file
View File

@@ -0,0 +1,54 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# This makefile creates an image of the optional static versions of certain JDK
# libraries.
default: all
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
################################################################################
TARGETS :=
$(foreach m, $(STATIC_LIBS_MODULES), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
FLATTEN := true, \
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
)
################################################################################
all: $(TARGETS)
.PHONY: all

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -73,6 +73,12 @@ TOOL_BLACKLISTED_CERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_cla
TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makejavasecurity.MakeJavaSecurity
TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecacerts.GenerateCacerts
TOOL_GENERATEEMOJIDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateemojidata.GenerateEmojiData
# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
# and nbproject/project.properties in the same dir. Needs to be looked at.
@@ -114,6 +120,9 @@ TOOL_GENCLASSLOADERMAP = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.publicsuffixlist.GeneratePublicSuffixList
TOOL_FIXUPPANDOC = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.fixuppandoc.Main
##########################################################################################
# Executable javascript filter for man page generation using pandoc.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -45,21 +45,13 @@ GLOBAL_SPECS_DEFAULT_CSS_FILE := $(TOPDIR)/make/data/docs-resources/resources/jd
DOCS_DIR := $(TOPDIR)/doc
$(eval $(call SetupProcessMarkdown, building, \
FILES := $(DOCS_DIR)/building.md, \
$(eval $(call SetupProcessMarkdown, md_docs, \
FILES := $(call FindFiles, $(DOCS_DIR), *.md), \
DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \
))
TARGETS += $(building)
$(eval $(call SetupProcessMarkdown, testing, \
FILES := $(DOCS_DIR)/testing.md, \
DEST := $(DOCS_DIR), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
OPTIONS := --toc, \
))
TARGETS += $(testing)
TARGETS += $(md_docs)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -29,6 +29,7 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include NativeCompilation.gmk
include ToolsJdk.gmk
@@ -47,17 +48,21 @@ ifeq ($(COMPILE_TYPE), cross)
endif
X11WRAPPERS_OUTPUT := $(SUPPORT_OUTPUTDIR)/x11wrappers
GENERATOR_SOURCE_FILE := $(X11WRAPPERS_OUTPUT)/src/data_generator.c
GENSRC_X11WRAPPERS_DATADIR := $(TOPDIR)/make/data/x11wrappergen
WRAPPER_OUTPUT_FILE := $(GENSRC_X11WRAPPERS_DATADIR)/sizes-$(BITS).txt
BITS := $(OPENJDK_TARGET_CPU_BITS)
# Generate the C code for the program that will output the offset file.
$(X11WRAPPERS_OUTPUT)/src/data_generator.c: $(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BUILD_TOOLS_JDK)
$(call LogInfo, Generating X11 wrapper data generator source code)
$(call MakeDir, $(@D))
$(call ExecuteWithLog, $@, \
$(TOOL_WRAPPERGENERATOR) gen_c_source $@ $(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BITS))
$(eval $(call SetupExecute, gensrc_generator, \
INFO := Generating X11 wrapper data generator source code, \
DEPS := $(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BUILD_TOOLS_JDK), \
OUTPUT_FILE := $(GENERATOR_SOURCE_FILE), \
COMMAND := $(TOOL_WRAPPERGENERATOR) gen_c_source $(GENERATOR_SOURCE_FILE) \
$(GENSRC_X11WRAPPERS_DATADIR)/xlibtypes.txt $(BITS), \
))
DATA_GENERATOR_INCLUDES := \
-I$(TOPDIR)/src/hotspot/share/include \
@@ -75,7 +80,7 @@ DATA_GENERATOR_INCLUDES := \
$(eval $(call SetupNativeCompilation, BUILD_DATA_GENERATOR, \
PROGRAM := data_generator, \
OUTPUT_DIR := $(X11WRAPPERS_OUTPUT)/bin, \
EXTRA_FILES := $(X11WRAPPERS_OUTPUT)/src/data_generator.c, \
EXTRA_FILES := $(GENERATOR_SOURCE_FILE), \
CFLAGS := $(X_CFLAGS) $(DATA_GENERATOR_INCLUDES) $(CFLAGS_JDKEXE), \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS := $(X_LIBS), \
@@ -83,16 +88,19 @@ $(eval $(call SetupNativeCompilation, BUILD_DATA_GENERATOR, \
))
# Run the executable to create the data file.
$(GENSRC_X11WRAPPERS_DATADIR)/sizes-$(BITS).txt: $(BUILD_DATA_GENERATOR_TARGET)
$(call LogInfo, Generating X11 wrapper data files)
$(call MakeDir, $(@D))
$(call ExecuteWithLog, $(X11WRAPPERS_OUTPUT)/generation, \
$(BUILD_DATA_GENERATOR_TARGET) | $(SORT) > $@)
$(eval $(call SetupExecute, run_wrappergen, \
INFO := Generating X11 wrapper data files, \
DEPS := $(BUILD_DATA_GENERATOR), \
OUTPUT_FILE := $(WRAPPER_OUTPUT_FILE), \
COMMAND := $(BUILD_DATA_GENERATOR_TARGET) | $(SORT) > $(WRAPPER_OUTPUT_FILE), \
))
wrapper-information: $(run_wrappergen)
$(ECHO) IMPORTANT: If you update the X11 wrapper data files, they most certainly
$(ECHO) need to be updated for both 32 and 64 bit platforms. You have now
$(ECHO) updated them for $(BITS) bit platforms only.
TARGETS += $(GENSRC_X11WRAPPERS_DATADIR)/sizes-$(BITS).txt
TARGETS += $(run_wrappergen) wrapper-information
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -87,6 +87,7 @@ ifeq ($(SRC_GENERATED), true)
EXCLUDE_FILES := $(SRC_ZIP_EXCLUDE_FILES), \
SUFFIXES := .java, \
ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \
FOLLOW_SYMLINKS := true, \
))
do-zip: $(BUILD_SRC_ZIP)

View File

@@ -205,6 +205,34 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
fi
])
################################################################################
# This will make a path absolute. Assumes it's already a unix path. Also
# resolves ~ to homedir.
AC_DEFUN([BASIC_ABSOLUTE_PATH],
[
if test "x[$]$1" != x; then
new_path="[$]$1"
# Use eval to expand a potential ~. This technique does not work if there
# are spaces in the path (which is valid at this point on Windows), so only
# try to apply it if there is an actual ~ first in the path.
if [ [[ "$new_path" = "~"* ]] ]; then
eval new_path="$new_path"
if test ! -f "$new_path" && test ! -d "$new_path"; then
AC_MSG_ERROR([The new_path of $1, which resolves as "$new_path", is not found.])
fi
fi
if test -d "$new_path"; then
$1="`cd "$new_path"; $THEPWDCMD -L`"
else
dir="`$DIRNAME "$new_path"`"
base="`$BASENAME "$new_path"`"
$1="`cd "$dir"; $THEPWDCMD -L`/$base"
fi
fi
])
###############################################################################
# This will make sure the given variable points to a full and proper
# path. This means:
@@ -217,7 +245,6 @@ AC_DEFUN([BASIC_PREPEND_TO_PATH],
AC_DEFUN([BASIC_FIXUP_PATH],
[
# Only process if variable expands to non-empty
if test "x[$]$1" != x; then
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
BASIC_FIXUP_PATH_CYGWIN($1)
@@ -234,19 +261,8 @@ AC_DEFUN([BASIC_FIXUP_PATH],
AC_MSG_ERROR([Spaces are not allowed in this path.])
fi
# Use eval to expand a potential ~
eval path="$path"
if test ! -f "$path" && test ! -d "$path"; then
AC_MSG_ERROR([The path of $1, which resolves as "$path", is not found.])
fi
if test -d "$path"; then
$1="`cd "$path"; $THEPWDCMD -L`"
else
dir="`$DIRNAME "$path"`"
base="`$BASENAME "$path"`"
$1="`cd "$dir"; $THEPWDCMD -L`/$base"
fi
BASIC_ABSOLUTE_PATH(path)
$1="$path"
fi
fi
])
@@ -411,7 +427,7 @@ AC_DEFUN_ONCE([BASIC_INIT],
# Save the path variable before it gets changed
ORIGINAL_PATH="$PATH"
AC_SUBST(ORIGINAL_PATH)
DATE_WHEN_CONFIGURED=`LANG=C date`
DATE_WHEN_CONFIGURED=`date`
AC_SUBST(DATE_WHEN_CONFIGURED)
AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])
])
@@ -473,31 +489,43 @@ AC_DEFUN([BASIC_SETUP_TOOL],
# for unknown variables in the end.
CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
tool_override=[$]$1
AC_MSG_NOTICE([User supplied override $1="$tool_override"])
# Check if we try to supply an empty value
if test "x[$]$1" = x; then
AC_MSG_NOTICE([Setting user supplied tool $1= (no value)])
if test "x$tool_override" = x; then
AC_MSG_CHECKING([for $1])
AC_MSG_RESULT([disabled])
else
# Split up override in command part and argument part
tool_and_args=($tool_override)
[ tool_command=${tool_and_args[0]} ]
[ unset 'tool_and_args[0]' ]
[ tool_args=${tool_and_args[@]} ]
# Check if the provided tool contains a complete path.
tool_specified="[$]$1"
tool_basename="${tool_specified##*/}"
if test "x$tool_basename" = "x$tool_specified"; then
tool_basename="${tool_command##*/}"
if test "x$tool_basename" = "x$tool_command"; then
# A command without a complete path is provided, search $PATH.
AC_MSG_NOTICE([Will search for user supplied tool $1=$tool_basename])
AC_MSG_NOTICE([Will search for user supplied tool "$tool_basename"])
AC_PATH_PROG($1, $tool_basename)
if test "x[$]$1" = x; then
AC_MSG_ERROR([User supplied tool $tool_basename could not be found])
AC_MSG_ERROR([User supplied tool $1="$tool_basename" could not be found])
fi
else
# Otherwise we believe it is a complete path. Use it as it is.
AC_MSG_NOTICE([Will use user supplied tool $1=$tool_specified])
AC_MSG_CHECKING([for $1])
if test ! -x "$tool_specified"; then
AC_MSG_NOTICE([Will use user supplied tool "$tool_command"])
AC_MSG_CHECKING([for $tool_command])
if test ! -x "$tool_command"; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([User supplied tool $1=$tool_specified does not exist or is not executable])
AC_MSG_ERROR([User supplied tool $1="$tool_command" does not exist or is not executable])
fi
AC_MSG_RESULT([$tool_specified])
$1="$tool_command"
AC_MSG_RESULT([found])
fi
if test "x$tool_args" != x; then
# If we got arguments, re-append them to the command after the fixup.
$1="[$]$1 $tool_args"
fi
fi
fi
@@ -545,6 +573,26 @@ AC_DEFUN([BASIC_REQUIRE_SPECIAL],
BASIC_CHECK_NONEMPTY($1)
])
###############################################################################
# Like BASIC_REQUIRE_PROGS but also allows for bash built-ins
# $1: variable to set
# $2: executable name (or list of names) to look for
# $3: [path]
AC_DEFUN([BASIC_REQUIRE_BUILTIN_PROGS],
[
BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
if test "x[$]$1" = x; then
AC_MSG_NOTICE([Required tool $2 not found in PATH, checking built-in])
if help $2 > /dev/null 2>&1; then
AC_MSG_NOTICE([Found $2 as shell built-in. Using it])
$1="$2"
else
AC_MSG_ERROR([Required tool $2 also not found as built-in.])
fi
fi
BASIC_CHECK_NONEMPTY($1)
])
###############################################################################
# Setup the most fundamental tools that relies on not much else to set up,
# but is used by much of the early bootstrap code.
@@ -618,14 +666,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
BASIC_PATH_PROGS(PANDOC, pandoc)
if test -n "$PANDOC"; then
ENABLE_PANDOC="true"
else
ENABLE_PANDOC="false"
fi
AC_SUBST(ENABLE_PANDOC)
BASIC_PATH_PROGS(LSB_RELEASE, lsb_release)
BASIC_PATH_PROGS(CMD, [cmd.exe /mnt/c/Windows/System32/cmd.exe])
])
@@ -635,7 +675,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
[
# Save the current directory this script was started from
CURDIR="$PWD"
CONFIGURE_START_DIR="$PWD"
# We might need to rewrite ORIGINAL_PATH, if it includes "#", to quote them
# for make. We couldn't do this when we retrieved ORIGINAL_PATH, since SED
@@ -661,9 +701,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_MSG_CHECKING([for top-level directory])
AC_MSG_RESULT([$TOPDIR])
AC_SUBST(TOPDIR)
AC_SUBST(CONFIGURE_START_DIR)
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
BASIC_FIXUP_PATH(CURDIR)
BASIC_FIXUP_PATH(CONFIGURE_START_DIR)
BASIC_FIXUP_PATH(TOPDIR)
# Locate the directory of this script.
@@ -876,9 +917,10 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# Test from where we are running configure, in or outside of src root.
AC_MSG_CHECKING([where to store configuration])
if test "x$CURDIR" = "x$TOPDIR" || test "x$CURDIR" = "x$CUSTOM_ROOT" \
|| test "x$CURDIR" = "x$TOPDIR/make/autoconf" \
|| test "x$CURDIR" = "x$TOPDIR/make" ; then
if test "x$CONFIGURE_START_DIR" = "x$TOPDIR" \
|| test "x$CONFIGURE_START_DIR" = "x$CUSTOM_ROOT" \
|| test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make/autoconf" \
|| test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make" ; then
# We are running configure from the src root.
# Create a default ./build/target-variant-debuglevel output root.
if test "x${CONF_NAME}" = x; then
@@ -889,10 +931,11 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
fi
if test "x$CUSTOM_ROOT" != x; then
OUTPUTDIR="${CUSTOM_ROOT}/build/${CONF_NAME}"
WORKSPACE_ROOT="${CUSTOM_ROOT}"
else
OUTPUTDIR="${TOPDIR}/build/${CONF_NAME}"
WORKSPACE_ROOT="${TOPDIR}"
fi
OUTPUTDIR="${WORKSPACE_ROOT}/build/${CONF_NAME}"
$MKDIR -p "$OUTPUTDIR"
if test ! -d "$OUTPUTDIR"; then
AC_MSG_ERROR([Could not create build directory $OUTPUTDIR])
@@ -903,9 +946,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# If configuration is situated in normal build directory, just use the build
# directory name as configuration name, otherwise use the complete path.
if test "x${CONF_NAME}" = x; then
CONF_NAME=`$ECHO $CURDIR | $SED -e "s!^${TOPDIR}/build/!!"`
CONF_NAME=`$ECHO $CONFIGURE_START_DIR | $SED -e "s!^${TOPDIR}/build/!!"`
fi
OUTPUTDIR="$CURDIR"
OUTPUTDIR="$CONFIGURE_START_DIR"
AC_MSG_RESULT([in current directory])
# WARNING: This might be a bad thing to do. You need to be sure you want to
@@ -925,14 +968,14 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
-e 's/ //g' \
| $TR -d '\n'`
if test "x$filtered_files" != x; then
AC_MSG_NOTICE([Current directory is $CURDIR.])
AC_MSG_NOTICE([Current directory is $CONFIGURE_START_DIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
AC_MSG_NOTICE([(as opposed to creating a configuration in <src_root>/build/<conf-name>).])
AC_MSG_NOTICE([However, this directory is not empty. This is not allowed, since it could])
AC_MSG_NOTICE([seriously mess up just about everything.])
AC_MSG_NOTICE([Try 'cd $TOPDIR' and restart configure])
AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
AC_MSG_ERROR([Will not continue creating configuration in $CURDIR])
AC_MSG_ERROR([Will not continue creating configuration in $CONFIGURE_START_DIR])
fi
fi
fi
@@ -948,6 +991,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_SUBST(SPEC)
AC_SUBST(CONF_NAME)
AC_SUBST(OUTPUTDIR)
AC_SUBST(WORKSPACE_ROOT)
AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
# The spec.gmk file contains all variables for the make system.
@@ -1138,6 +1182,8 @@ AC_DEFUN([BASIC_CHECK_TAR],
TAR_TYPE="bsd"
elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
TAR_TYPE="solaris"
elif test "x$OPENJDK_BUILD_OS" = "xaix"; then
TAR_TYPE="aix"
fi
AC_MSG_CHECKING([what type of tar was found])
AC_MSG_RESULT([$TAR_TYPE])
@@ -1151,6 +1197,11 @@ AC_DEFUN([BASIC_CHECK_TAR],
# When using gnu tar for Solaris targets, need to use compatibility mode
TAR_CREATE_EXTRA_PARAM="--format=ustar"
fi
elif test "x$TAR_TYPE" = "aix"; then
# -L InputList of aix tar: name of file listing the files and directories
# that need to be archived or extracted
TAR_INCLUDE_PARAM="L"
TAR_SUPPORTS_TRANSFORM="false"
else
TAR_INCLUDE_PARAM="I"
TAR_SUPPORTS_TRANSFORM="false"
@@ -1193,6 +1244,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_CHECK_FIND_DELETE
BASIC_CHECK_TAR
BASIC_CHECK_GREP
BASIC_SETUP_PANDOC
# These tools might not be installed by default,
# need hint on how to install them.
@@ -1235,12 +1287,23 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_REQUIRE_PROGS(MIG, mig)
BASIC_REQUIRE_PROGS(XATTR, xattr)
BASIC_PATH_PROGS(CODESIGN, codesign)
if test "x$CODESIGN" != "x"; then
# Verify that the openjdk_codesign certificate is present
AC_MSG_CHECKING([if openjdk_codesign certificate is present])
# Check for user provided code signing identity.
# If no identity was provided, fall back to "openjdk_codesign".
AC_ARG_WITH([macosx-codesign-identity], [AS_HELP_STRING([--with-macosx-codesign-identity],
[specify the code signing identity])],
[MACOSX_CODESIGN_IDENTITY=$with_macosx_codesign_identity],
[MACOSX_CODESIGN_IDENTITY=openjdk_codesign]
)
AC_SUBST(MACOSX_CODESIGN_IDENTITY)
# Verify that the codesign certificate is present
AC_MSG_CHECKING([if codesign certificate is present])
$RM codesign-testfile
$TOUCH codesign-testfile
$CODESIGN -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
$CODESIGN -s "$MACOSX_CODESIGN_IDENTITY" codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
$RM codesign-testfile
if test "x$CODESIGN" = x; then
AC_MSG_RESULT([no])
@@ -1252,6 +1315,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
elif test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
BASIC_REQUIRE_PROGS(ELFEDIT, elfedit)
fi
if ! test "x$OPENJDK_TARGET_OS" = "xwindows"; then
BASIC_REQUIRE_BUILTIN_PROGS(ULIMIT, ulimit)
fi
])
###############################################################################
@@ -1377,6 +1443,34 @@ AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
AC_SUBST(BASH_ARGS)
])
################################################################################
#
# Setup Pandoc
#
AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
[
BASIC_PATH_PROGS(PANDOC, pandoc)
PANDOC_MARKDOWN_FLAG="markdown"
if test -n "$PANDOC"; then
AC_MSG_CHECKING(if the pandoc smart extension needs to be disabled for markdown)
if $PANDOC --list-extensions | $GREP -q '\+smart'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="markdown-smart"
else
AC_MSG_RESULT([no])
fi
fi
if test -n "$PANDOC"; then
ENABLE_PANDOC="true"
else
ENABLE_PANDOC="false"
fi
AC_SUBST(ENABLE_PANDOC)
AC_SUBST(PANDOC_MARKDOWN_FLAG)
])
################################################################################
#
# Default make target

View File

@@ -148,6 +148,8 @@ AC_DEFUN([BASIC_FIXUP_PATH_CYGWIN],
path="[$]$1"
new_path=`$CYGPATH -u "$path"`
BASIC_ABSOLUTE_PATH(new_path)
# Cygwin tries to hide some aspects of the Windows file system, such that binaries are
# named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered
# the same file, most of the time (as in "test -f"). But not when running cygpath -s, then
@@ -181,6 +183,8 @@ AC_DEFUN([BASIC_FIXUP_PATH_MSYS],
new_path=`cmd //c echo $path`
fi
BASIC_ABSOLUTE_PATH(new_path)
BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS([$new_path])
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(new_path)
if test "x$path" != "x$new_path"; then
@@ -199,6 +203,8 @@ AC_DEFUN([BASIC_FIXUP_PATH_WSL],
new_path="[$]$1"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([new_path])
BASIC_ABSOLUTE_PATH(new_path)
# Call helper function which possibly converts this using DOS-style short mode.
# If so, the updated path is stored in $new_path.
BASIC_MAKE_WINDOWS_SPACE_SAFE_WSL([$new_path])
@@ -551,7 +557,7 @@ AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
$MKDIR -p $FIXPATH_DIR $CONFIGURESUPPORT_OUTPUTDIR/bin
cd $FIXPATH_DIR
$CC $FIXPATH_SRC_W -Fe$FIXPATH_BIN_W > $FIXPATH_DIR/fixpath1.log 2>&1
cd $CURDIR
cd $CONFIGURE_START_DIR
if test ! -x $FIXPATH_BIN; then
AC_MSG_RESULT([no])
@@ -574,7 +580,7 @@ AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
cd $FIXPATH_DIR
$FIXPATH $CC $FIXPATH_SRC -Fe$FIXPATH_DIR/fixpath2.exe \
> $FIXPATH_DIR/fixpath2.log 2>&1
cd $CURDIR
cd $CONFIGURE_START_DIR
if test ! -x $FIXPATH_DIR/fixpath2.exe; then
AC_MSG_RESULT([no])
cat $FIXPATH_DIR/fixpath2.log

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -345,7 +345,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# When compiling code to be executed by the Boot JDK, force compatibility with the
# oldest supported bootjdk.
BOOT_JDK_SOURCETARGET="-source 9 -target 9"
BOOT_JDK_SOURCETARGET="-source 13 -target 13"
AC_SUBST(BOOT_JDK_SOURCETARGET)
AC_SUBST(JAVAC_FLAGS)

View File

@@ -62,3 +62,7 @@ ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
endif
# The bootcycle JVM arguments may differ from the original boot jdk.
JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@
# Any CDS settings generated for the bootjdk are invalid in the bootcycle build.
# By filtering out those JVM args, the bootcycle JVM will use its default
# settings for CDS.
JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS))

View File

@@ -63,7 +63,7 @@ fi
# Test and fix wsl
echo $OUT | grep x86_64-unknown-linux-gnu > /dev/null 2> /dev/null
if test $? = 0; then
uname -r | grep Microsoft > /dev/null 2> /dev/null
uname -r | grep -i microsoft > /dev/null 2> /dev/null
if test $? = 0; then
OUT="x86_64-pc-wsl"
fi

View File

@@ -35,7 +35,7 @@ AC_DEFUN([BPERF_CHECK_CORES],
FOUND_CORES=yes
elif test -x /usr/sbin/psrinfo; then
# Looks like a Solaris system
NUM_CORES=`LC_MESSAGES=C /usr/sbin/psrinfo -v | grep -c on-line`
NUM_CORES=`/usr/sbin/psrinfo -v | grep -c on-line`
FOUND_CORES=yes
elif test -x /usr/sbin/sysctl; then
# Looks like a MacOSX system

View File

@@ -32,6 +32,9 @@ include @SPEC@
CC := @BUILD_CC@
CXX := @BUILD_CXX@
# Ideally this should be probed by configure but that is tricky to implement,
# and this should work in most cases.
CPP := @BUILD_CC@ -E
LD := @BUILD_LD@
LDCXX := @BUILD_LDCXX@
AS := @BUILD_AS@
@@ -44,6 +47,7 @@ SYSROOT_LDFLAGS := @BUILD_SYSROOT_LDFLAGS@
# These directories should not be moved to BUILDJDK_OUTPUTDIR
HOTSPOT_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(HOTSPOT_OUTPUTDIR))
BUILDTOOLS_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(BUILDTOOLS_OUTPUTDIR))
SUPPORT_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(SUPPORT_OUTPUTDIR))
JDK_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(JDK_OUTPUTDIR))
IMAGES_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(IMAGES_OUTPUTDIR))
@@ -77,6 +81,8 @@ JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
FDLIBM_CFLAGS := @OPENJDK_BUILD_FDLIBM_CFLAGS@
INTERIM_LANGTOOLS_ARGS := $(subst $(OUTPUTDIR),$(BUILDJDK_OUTPUTDIR),$(INTERIM_LANGTOOLS_ARGS))
# The compiler for the build platform is likely not warning compatible with the official
# compiler.
WARNINGS_AS_ERRORS := false
@@ -85,7 +91,7 @@ DISABLE_WARNING_PREFIX := @BUILD_CC_DISABLE_WARNING_PREFIX@
# Save speed and disk space by not enabling debug symbols for the buildjdk
ENABLE_DEBUG_SYMBOLS := false
# Control wether Hotspot builds gtest tests
# Control whether Hotspot builds gtest tests
BUILD_GTEST := false
JVM_VARIANTS := server

View File

@@ -67,7 +67,6 @@ export STRIP="@STRIP@ @STRIPFLAGS@"
export TAR="@TAR@"
export TEE="@TEE@"
export UNIQ="@UNIQ@"
export UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
export UNARCHIVE="@UNZIP@ -q -o"
export TOPDIR="@TOPDIR@"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,9 @@ fi
export CONFIG_SHELL=$BASH
export _as_can_reexec=no
# Make sure all shell commands are executed with the C locale
export LC_ALL=C
if test "x$CUSTOM_CONFIG_DIR" != x; then
custom_hook=$CUSTOM_CONFIG_DIR/custom-hook.m4
if test ! -e $custom_hook; then
@@ -78,9 +81,12 @@ autoconf_missing_help() {
APT_GET="`which apt-get 2> /dev/null | grep -v '^no apt-get in'`"
YUM="`which yum 2> /dev/null | grep -v '^no yum in'`"
BREW="`which brew 2> /dev/null | grep -v '^no brew in'`"
ZYPPER="`which zypper 2> /dev/null | grep -v '^no zypper in'`"
CYGWIN="`which cygpath 2> /dev/null | grep -v '^no cygpath in'`"
if test "x$APT_GET" != x; then
if test "x$ZYPPER" != x; then
PKGHANDLER_COMMAND="sudo zypper install autoconf"
elif test "x$APT_GET" != x; then
PKGHANDLER_COMMAND="sudo apt-get install autoconf"
elif test "x$YUM" != x; then
PKGHANDLER_COMMAND="sudo yum install autoconf"

View File

@@ -1,5 +1,5 @@
SRC#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -121,7 +121,7 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
# -g0 enables debug symbols without disabling inlining.
CFLAGS_DEBUG_SYMBOLS="-g0 -xs"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
CFLAGS_DEBUG_SYMBOLS="-g"
CFLAGS_DEBUG_SYMBOLS="-g1"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CFLAGS_DEBUG_SYMBOLS="-Z7 -d2Zi+"
fi
@@ -170,11 +170,11 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
DISABLE_WARNING_PREFIX="-erroff="
CFLAGS_WARNINGS_ARE_ERRORS="-errwarn=%all"
WARNINGS_ENABLE_ALL_CFLAGS="-v"
WARNINGS_ENABLE_ALL_CXXFLAGS="+w"
WARNINGS_ENABLE_ALL_CFLAGS="-v -fd -xtransition"
WARNINGS_ENABLE_ALL_CXXFLAGS="+w +w2"
DISABLED_WARNINGS_C=""
DISABLED_WARNINGS_CXX=""
DISABLED_WARNINGS_C="E_OLD_STYLE_FUNC_DECL E_OLD_STYLE_FUNC_DEF E_SEMANTICS_OF_OP_CHG_IN_ANSI_C E_NO_REPLACEMENT_IN_STRING E_DECLARATION_IN_CODE"
DISABLED_WARNINGS_CXX="inllargeuse inllargeint notused wemptydecl notemsource"
;;
gcc)
@@ -190,20 +190,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
DISABLED_WARNINGS="unused-parameter unused"
# Repeate the check for the BUILD_CC and BUILD_CXX. Need to also reset
# CFLAGS since any target specific flags will likely not work with the
# build compiler
CC_OLD="$CC"
CXX_OLD="$CXX"
CC="$BUILD_CC"
CXX="$BUILD_CXX"
CFLAGS_OLD="$CFLAGS"
CFLAGS=""
BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
CC="$CC_OLD"
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
;;
clang)
@@ -215,7 +202,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
-Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"
WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
DISABLED_WARNINGS="unused-parameter unused"
DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# missing-method-return-type triggers in JavaNativeFoundation framework
@@ -225,7 +212,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
;;
xlc)
DISABLE_WARNING_PREFIX="-qsuppress="
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-qhalt=w"
# Possibly a better subset than "all" is "lan:trx:ret:zea:cmp:ret"
@@ -296,6 +283,20 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_NONE="-O0"
# -D_FORTIFY_SOURCE=2 hardening option needs optimization (at least -O1) enabled
# set for lower O-levels -U_FORTIFY_SOURCE to overwrite previous settings
if test "x$OPENJDK_TARGET_OS" = xlinux -a "x$DEBUG_LEVEL" = "xfastdebug"; then
ENABLE_FORTIFY_CFLAGS="-D_FORTIFY_SOURCE=2"
DISABLE_FORTIFY_CFLAGS="-U_FORTIFY_SOURCE"
C_O_FLAG_HIGHEST_JVM="${C_O_FLAG_HIGHEST_JVM} ${ENABLE_FORTIFY_CFLAGS}"
C_O_FLAG_HIGHEST="${C_O_FLAG_HIGHEST} ${ENABLE_FORTIFY_CFLAGS}"
C_O_FLAG_HI="${C_O_FLAG_HI} ${ENABLE_FORTIFY_CFLAGS}"
C_O_FLAG_NORM="${C_O_FLAG_NORM} ${ENABLE_FORTIFY_CFLAGS}"
C_O_FLAG_SIZE="${C_O_FLAG_SIZE} ${DISABLE_FORTIFY_CFLAGS}"
C_O_FLAG_DEBUG="${C_O_FLAG_DEBUG} ${DISABLE_FORTIFY_CFLAGS}"
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# On MacOSX we optimize for size, something
@@ -406,6 +407,17 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_SETUP_CFLAGS_CPU_DEP([TARGET])
# Repeat the check for the BUILD_CC and BUILD_CXX. Need to also reset CFLAGS
# since any target specific flags will likely not work with the build compiler.
CC_OLD="$CC"
CXX_OLD="$CXX"
CFLAGS_OLD="$CFLAGS"
CXXFLAGS_OLD="$CXXFLAGS"
CC="$BUILD_CC"
CXX="$BUILD_CXX"
CFLAGS=""
CXXFLAGS=""
FLAGS_OS=$OPENJDK_BUILD_OS
FLAGS_OS_TYPE=$OPENJDK_BUILD_OS_TYPE
FLAGS_CPU=$OPENJDK_BUILD_CPU
@@ -416,6 +428,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_], [BUILD_])
CC="$CC_OLD"
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
CXXFLAGS="$CXXFLAGS_OLD"
])
################################################################################
@@ -515,6 +532,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
# reduce lib size on s390x in link step, this needs also special compile flags
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
fi
# technically NOT for CXX (but since this gives *worse* performance, use
# no-strict-aliasing everywhere!)
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing"
@@ -532,6 +554,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -mno-omit-leaf-frame-pointer -mstack-alignment=16"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test "x$DEBUG_LEVEL" = xrelease; then
# Clang does not inline as much as GCC does for functions with "inline" keyword by default.
# This causes noticeable slowdown in pause time for G1, and possibly in other areas.
# Increasing the inline hint threshold avoids the slowdown for Clang-built JVM.
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -mllvm -inlinehint-threshold=100000"
fi
TOOLCHAIN_CFLAGS_JDK="-pipe"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
fi
@@ -540,7 +568,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS="-errshort=tags"
TOOLCHAIN_CFLAGS_JDK="-mt $TOOLCHAIN_FLAGS"
TOOLCHAIN_CFLAGS_JDK_CONLY="-xCC -Xa -W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
TOOLCHAIN_CFLAGS_JDK_CONLY="-W0,-noglobal $TOOLCHAIN_CFLAGS" # C only
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
-library=stlport4 -mt -features=no%except $TOOLCHAIN_FLAGS"
@@ -552,15 +580,39 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
# Suggested additions: -qsrcmsg to get improved error reporting
TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
TOOLCHAIN_CFLAGS_JVM="-qtune=balanced \
-qalias=noansi -qstrict -qtls=default -qlanglvl=c99vla \
-qlanglvl=noredefmac -qnortti -qnoeh -qignerrno -qstackprotect"
# set -qtbtable=full for a better traceback table/better stacks in hs_err when xlc16 is used
TOOLCHAIN_CFLAGS_JDK="-qtbtable=full -qchars=signed -qfullpath -qsaveopt -qstackprotect" # add on both CFLAGS
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced \
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:wchar_t-"
fi
# CFLAGS C language level for JDK sources (hotspot only uses C++)
# Ideally we would have a common level across all toolchains so that all sources
# are sure to conform to the same standard. Unfortunately neither our sources nor
# our toolchains are in a condition to support that. But what we loosely aim for is
# C99 level.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xxlc; then
# This raises the language level for older 4.8 gcc, while lowering it for later
# versions. clang and xlclang support the same flag.
LANGSTD_CFLAGS="-std=c99"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# We can't turn on -std=c99 without breaking compilation of the splashscreen/png
# utilities. But we can enable c99 as below (previously achieved by using -Xa).
# It is the no_lib that makes the difference.
LANGSTD_CFLAGS="-xc99=all,no_lib"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# MSVC doesn't support C99/C11 explicitly, unless you compile as C++:
# LANGSTD_CFLAGS="-TP"
# but that requires numerous changes to the sources files. So we are limited
# to C89/C90 plus whatever extensions Visual Studio has decided to implement.
# This is the lowest bar for shared code.
LANGSTD_CFLAGS=""
fi
TOOLCHAIN_CFLAGS_JDK_CONLY="$LANGSTD_CFLAGS $TOOLCHAIN_CFLAGS_JDK_CONLY"
# CFLAGS WARNINGS STUFF
# Set JVM_CFLAGS warning handling
if test "x$TOOLCHAIN_TYPE" = xgcc; then
@@ -650,6 +702,20 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
fi
fi
# Extra flags needed when building optional static versions of certain
# JDK libraries.
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Disable relax-relocation to enable compatibility with older linkers
RELAX_RELOCATIONS_FLAG="-Xassembler -mrelax-relocations=no"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${RELAX_RELOCATIONS_FLAG}],
IF_TRUE: [STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS ${RELAX_RELOCATIONS_FLAG}"])
fi
AC_SUBST(STATIC_LIBS_CFLAGS)
])
################################################################################
@@ -795,15 +861,29 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# Check if compiler supports -fmacro-prefix-map. If so, use that to make
# the __FILE__ macro resolve to paths relative to the workspace root.
workspace_root_trailing_slash="${WORKSPACE_ROOT%/}/"
FILE_MACRO_CFLAGS="-fmacro-prefix-map=${workspace_root_trailing_slash}="
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${FILE_MACRO_CFLAGS}],
PREFIX: $3,
IF_FALSE: [
FILE_MACRO_CFLAGS=
]
)
fi
# EXPORT to API
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM \
$TOOLCHAIN_CFLAGS_JVM ${$1_TOOLCHAIN_CFLAGS_JVM} \
$OS_CFLAGS $OS_CFLAGS_JVM $CFLAGS_OS_DEF_JVM $DEBUG_CFLAGS_JVM \
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG"
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG $FILE_MACRO_CFLAGS"
CFLAGS_JDK_COMMON="$ALWAYS_CFLAGS_JDK $ALWAYS_DEFINES_JDK $TOOLCHAIN_CFLAGS_JDK \
$OS_CFLAGS $CFLAGS_OS_DEF_JDK $DEBUG_CFLAGS_JDK $DEBUG_OPTIONS_FLAGS_JDK \
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK"
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK \
$FILE_MACRO_CFLAGS"
# Use ${$2EXTRA_CFLAGS} to block EXTRA_CFLAGS to be added to build flags.
# (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -70,10 +70,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
fi
# Add -z defs, to forbid undefined symbols in object files.
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1 -Wl,-z,relro"
# add relro (mark relocations read only) for all libs
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs -Wl,-z,relro"
# s390x : remove unused code+data in link step
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,--gc-sections -Wl,--print-gc-sections"
fi
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
@@ -88,7 +92,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-library=%none -mt -z noversion"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \
BASIC_LDFLAGS="-b64 -brtl -bnorwexec -bnolibpath -bexpall -bernotok -btextpsize:64K \
-bdatapsize:64K -bstackpsize:64K"
# libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc
BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"
@@ -120,9 +124,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$OPENJDK_TARGET_OS" = xlinux; then
if test x$DEBUG_LEVEL = xrelease; then
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1"
else
# mark relocations read only on (fast/slow) debug builds
DEBUGLEVEL_LDFLAGS_JDK_ONLY="-Wl,-z,relro"
fi
if test x$DEBUG_LEVEL = xslowdebug; then
# do relocations at load

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -81,21 +81,21 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
RC_FLAGS="$RC_FLAGS \
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
-D\"JDK_FILEDESC=\$(JDK_RC_NAME) binary\" \
-D\"JDK_VER=\$(VERSION_NUMBER)\" \
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
-D\"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(VERSION_FEATURE)\" \
-D\"JDK_NAME=\$(JDK_RC_NAME) \$(VERSION_FEATURE)\" \
-D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
JVM_RCFLAGS="$JVM_RCFLAGS \
-D\"HS_BUILD_ID=\$(VERSION_STRING)\" \
-D\"HS_VERSION_STRING=\$(VERSION_STRING)\" \
-D\"HS_COMPANY=\$(COMPANY_NAME)\" \
-D\"JDK_DOTVER=\$(VERSION_NUMBER_FOUR_POSITIONS)\" \
-D\"HS_VER=\$(VERSION_NUMBER_FOUR_POSITIONS)\" \
-D\"HS_INTERNAL_NAME=jvm\" \
-D\"HS_COPYRIGHT=Copyright $COPYRIGHT_YEAR\" \
-D\"HS_NAME=\$(PRODUCT_NAME) \$(VERSION_SHORT)\" \
-D\"JDK_VER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\" \
-D\"HS_FNAME=jvm.dll\" \
-D\"HS_INTERNAL_NAME=jvm\""
-D\"HS_NAME=\$(PRODUCT_NAME) \$(VERSION_SHORT)\" \
-D\"HS_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
fi
AC_SUBST(RC_FLAGS)
AC_SUBST(JVM_RCFLAGS)

View File

@@ -176,6 +176,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
fi
if test "x$ASFLAGS" != "x"; then
AC_MSG_WARN([Ignoring ASFLAGS($ASFLAGS) found in environment. Use --with-extra-asflags])
fi
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
[extra flags to be used when compiling jdk c-files])])
@@ -185,9 +189,13 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
[extra flags to be used when linking jdk])])
AC_ARG_WITH(extra-asflags, [AS_HELP_STRING([--with-extra-asflags],
[extra flags to be passed to the assembler])])
USER_CFLAGS="$with_extra_cflags"
USER_CXXFLAGS="$with_extra_cxxflags"
USER_LDFLAGS="$with_extra_ldflags"
USER_ASFLAGS="$with_extra_asflags"
])
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
@@ -280,10 +288,12 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
EXTRA_CFLAGS="$MACHINE_FLAG $USER_CFLAGS"
EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS"
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)
AC_SUBST(EXTRA_ASFLAGS)
# For autoconf testing to work, the global flags must also be stored in the
# "unnamed" CFLAGS etc.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
AC_DEFUN_ONCE([HELP_SETUP_DEPENDENCY_HELP],
[
AC_CHECK_PROGS(PKGHANDLER, apt-get yum brew port pkgutil pkgadd)
AC_CHECK_PROGS(PKGHANDLER, zypper apt-get yum brew port pkgutil pkgadd)
])
AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
@@ -34,7 +34,9 @@ AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
# $1 is the help tag: cups, alsa etc
MISSING_DEPENDENCY=$1
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
if test "x$MISSING_DEPENDENCY" = "xopenjdk"; then
HELP_MSG="OpenJDK distributions are available at http://jdk.java.net/."
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
cygwin_help $MISSING_DEPENDENCY
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
msys_help $MISSING_DEPENDENCY
@@ -54,6 +56,8 @@ AC_DEFUN([HELP_MSG_MISSING_DEPENDENCY],
pkgutil_help $MISSING_DEPENDENCY ;;
pkgadd)
pkgadd_help $MISSING_DEPENDENCY ;;
zypper)
zypper_help $MISSING_DEPENDENCY ;;
esac
if test "x$PKGHANDLER_COMMAND" != x; then
@@ -89,8 +93,6 @@ apt_help() {
PKGHANDLER_COMMAND="sudo apt-get install gcc-multilib g++-multilib" ;;
devkit)
PKGHANDLER_COMMAND="sudo apt-get install build-essential" ;;
openjdk)
PKGHANDLER_COMMAND="sudo apt-get install openjdk-8-jdk" ;;
alsa)
PKGHANDLER_COMMAND="sudo apt-get install libasound2-dev" ;;
cups)
@@ -110,12 +112,29 @@ apt_help() {
esac
}
zypper_help() {
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo zypper install gcc gcc-c++" ;;
alsa)
PKGHANDLER_COMMAND="sudo zypper install alsa-devel" ;;
cups)
PKGHANDLER_COMMAND="sudo zypper install cups-devel" ;;
fontconfig)
PKGHANDLER_COMMAND="sudo zypper install fontconfig-devel" ;;
freetype)
PKGHANDLER_COMMAND="sudo zypper install freetype-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo zypper install libX11-devel libXext-devel libXrender-devel libXrandr-devel libXtst-devel libXt-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo zypper install ccache" ;;
esac
}
yum_help() {
case $1 in
devkit)
PKGHANDLER_COMMAND="sudo yum groupinstall \"Development Tools\"" ;;
openjdk)
PKGHANDLER_COMMAND="sudo yum install java-1.8.0-openjdk-devel" ;;
alsa)
PKGHANDLER_COMMAND="sudo yum install alsa-lib-devel" ;;
cups)
@@ -133,8 +152,6 @@ yum_help() {
brew_help() {
case $1 in
openjdk)
PKGHANDLER_COMMAND="brew cask install java" ;;
freetype)
PKGHANDLER_COMMAND="brew install freetype" ;;
ccache)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,11 +25,11 @@
# All valid JVM features, regardless of platform
VALID_JVM_FEATURES="compiler1 compiler2 zero minimal dtrace jvmti jvmci \
graal vm-structs jni-check services management cmsgc epsilongc g1gc parallelgc serialgc shenandoahgc zgc nmt cds \
graal vm-structs jni-check services management epsilongc g1gc parallelgc serialgc shenandoahgc zgc nmt cds \
static-build link-time-opt aot jfr"
# Deprecated JVM features (these are ignored, but with a warning)
DEPRECATED_JVM_FEATURES="trace"
DEPRECATED_JVM_FEATURES="trace cmsgc"
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero custom"
@@ -326,10 +326,6 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
AC_MSG_ERROR([Specified JVM feature 'jvmci' requires feature 'compiler2' or 'compiler1'])
fi
if HOTSPOT_CHECK_JVM_FEATURE(cmsgc) && ! HOTSPOT_CHECK_JVM_FEATURE(serialgc); then
AC_MSG_ERROR([Specified JVM feature 'cmsgc' requires feature 'serialgc'])
fi
# Enable JFR by default, except for Zero, linux-sparcv9 and on minimal.
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
if test "x$OPENJDK_TARGET_OS" != xaix; then
@@ -341,7 +337,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
# Only enable Shenandoah on supported arches
AC_MSG_CHECKING([if shenandoah can be built])
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xx86" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
AC_MSG_RESULT([yes])
else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES shenandoahgc"
@@ -349,8 +345,28 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
# Only enable ZGC on supported platforms
if (test "x$OPENJDK_TARGET_OS" = "xwindows" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
AC_MSG_CHECKING([if zgc can be built on windows])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <windows.h>]],
[[struct MEM_EXTENDED_PARAMETER x;]])
],
[
AC_MSG_RESULT([yes])
CAN_BUILD_ZGC_ON_WINDOWS="yes"
],
[
AC_MSG_RESULT([no, missing required APIs])
CAN_BUILD_ZGC_ON_WINDOWS="no"
]
)
fi
AC_MSG_CHECKING([if zgc can be built])
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
if (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \
(test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64") || \
(test "x$CAN_BUILD_ZGC_ON_WINDOWS" = "xyes") || \
(test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then
AC_MSG_RESULT([yes])
else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
@@ -392,9 +408,8 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
JVM_FEATURES_jvmci=""
INCLUDE_JVMCI="false"
else
# Only enable jvmci on x86_64, sparcv9 and aarch64
# Only enable jvmci on x86_64 and aarch64
if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || \
test "x$OPENJDK_TARGET_CPU" = "xsparcv9" || \
test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then
AC_MSG_RESULT([yes])
JVM_FEATURES_jvmci="jvmci"
@@ -490,7 +505,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
# All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc shenandoahgc jni-check jvmti management nmt services vm-structs zgc"
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES g1gc parallelgc serialgc epsilongc shenandoahgc jni-check jvmti management nmt services vm-structs zgc"
# Disable CDS on AIX.
if test "x$OPENJDK_TARGET_OS" = "xaix"; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -364,7 +364,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
################################################################################
#
# Gcov coverage data for hotspot
# Native and Java code coverage
#
AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
[
@@ -372,23 +372,26 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
[enable native compilation with code coverage data@<:@disabled@:>@])])
GCOV_ENABLED="false"
if test "x$enable_native_coverage" = "xyes"; then
if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
AC_MSG_CHECKING([if native coverage is enabled])
AC_MSG_RESULT([yes])
GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
GCOV_LDFLAGS="-fprofile-arcs"
JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
GCOV_ENABLED="true"
else
AC_MSG_ERROR([--enable-native-coverage only works with toolchain type gcc])
fi
case $TOOLCHAIN_TYPE in
gcc | clang)
AC_MSG_CHECKING([if native coverage is enabled])
AC_MSG_RESULT([yes])
GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
GCOV_LDFLAGS="-fprofile-arcs"
JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS"
CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
GCOV_ENABLED="true"
;;
*)
AC_MSG_ERROR([--enable-native-coverage only works with toolchain type gcc or clang])
;;
esac
elif test "x$enable_native_coverage" = "xno"; then
AC_MSG_CHECKING([if native coverage is enabled])
AC_MSG_RESULT([no])
@@ -401,9 +404,12 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
[jcov library location])])
AC_ARG_WITH(jcov-input-jdk, [AS_HELP_STRING([--with-jcov-input-jdk],
[jdk image to instrument])])
AC_ARG_WITH(jcov-filters, [AS_HELP_STRING([--with-jcov-filters],
[filters to limit code for jcov instrumentation and report generation])])
JCOV_HOME=
JCOV_INPUT_JDK=
JCOV_ENABLED=
JCOV_FILTERS=
if test "x$with_jcov" = "x" ; then
JCOV_ENABLED="false"
else
@@ -422,10 +428,14 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
fi
BASIC_FIXUP_PATH(JCOV_INPUT_JDK)
fi
if test "x$with_jcov_filters" != "x" ; then
JCOV_FILTERS="$with_jcov_filters"
fi
fi
AC_SUBST(JCOV_ENABLED)
AC_SUBST(JCOV_HOME)
AC_SUBST(JCOV_INPUT_JDK)
AC_SUBST(JCOV_FILTERS)
])
###############################################################################
@@ -589,7 +599,14 @@ AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST],
AC_MSG_RESULT([yes, forced])
ENABLE_GENERATE_CLASSLIST="true"
if test "x$ENABLE_GENERATE_CLASSLIST_POSSIBLE" = "xfalse"; then
AC_MSG_WARN([Generation of classlist might not be possible with JVM Variants $JVM_VARIANTS and enable-cds=$ENABLE_CDS])
if test "x$ENABLE_CDS" = "xfalse"; then
# In GenerateLinkOptData.gmk, DumpLoadedClassList is used to generate the
# classlist file. It never will work in this case since the VM will report
# an error for DumpLoadedClassList when CDS is disabled.
AC_MSG_ERROR([Generation of classlist is not possible with enable-cds=false])
else
AC_MSG_WARN([Generation of classlist might not be possible with JVM Variants $JVM_VARIANTS and enable-cds=$ENABLE_CDS])
fi
fi
elif test "x$enable_generate_classlist" = "xno"; then
AC_MSG_RESULT([no, forced])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -66,9 +66,52 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(PRODUCT_SUFFIX)
AC_SUBST(JDK_RC_PLATFORM_NAME)
AC_SUBST(HOTSPOT_VM_DISTRO)
# Set the MACOSX Bundle Name base
AC_ARG_WITH(macosx-bundle-name-base, [AS_HELP_STRING([--with-macosx-bundle-name-base],
[Set the MacOSX Bundle Name base. This is the base name for calculating MacOSX Bundle Names.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_name_base" = xyes; then
AC_MSG_ERROR([--with-macosx-bundle-name-base must have a value])
elif [ ! [[ $with_macosx_bundle_name_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-name-base contains non-printing characters: $with_macosx_bundle_name_base])
elif test "x$with_macosx_bundle_name_base" != x; then
# Set MACOSX_BUNDLE_NAME_BASE to the configured value.
MACOSX_BUNDLE_NAME_BASE="$with_macosx_bundle_name_base"
fi
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
# Set the MACOSX Bundle ID base
AC_ARG_WITH(macosx-bundle-id-base, [AS_HELP_STRING([--with-macosx-bundle-id-base],
[Set the MacOSX Bundle ID base. This is the base ID for calculating MacOSX Bundle IDs.
@<:@not specified@:>@])])
if test "x$with_macosx_bundle_id_base" = xyes; then
AC_MSG_ERROR([--with-macosx-bundle-id-base must have a value])
elif [ ! [[ $with_macosx_bundle_id_base =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-macosx-bundle-id-base contains non-printing characters: $with_macosx_bundle_id_base])
elif test "x$with_macosx_bundle_id_base" != x; then
# Set MACOSX_BUNDLE_ID_BASE to the configured value.
MACOSX_BUNDLE_ID_BASE="$with_macosx_bundle_id_base"
fi
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
# Set the JDK RC name
AC_ARG_WITH(jdk-rc-name, [AS_HELP_STRING([--with-jdk-rc-name],
[Set JDK RC name. This is used for FileDescription and ProductName properties
of MS Windows binaries. @<:@not specified@:>@])])
if test "x$with_jdk_rc_name" = xyes; then
AC_MSG_ERROR([--with-jdk-rc-name must have a value])
elif [ ! [[ $with_jdk_rc_name =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-jdk-rc-name contains non-printing characters: $with_jdk_rc_name])
elif test "x$with_jdk_rc_name" != x; then
# Set JDK_RC_NAME to a custom value if '--with-jdk-rc-name' was used and is not empty.
JDK_RC_NAME="$with_jdk_rc_name"
else
# Otherwise calculate from "version-numbers" included above.
JDK_RC_NAME="$PRODUCT_NAME $JDK_RC_PLATFORM_NAME"
fi
AC_SUBST(JDK_RC_NAME)
# The vendor name, if any
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
[Set vendor name. Among others, used to set the 'java.vendor'
@@ -119,7 +162,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then
AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url])
else
elif test "x$with_vendor_vm_bug_url" != x; then
# Only set VENDOR_URL_VM_BUG if '--with-vendor-vm-bug-url' was used and is not empty.
# Otherwise we will use the value from "version-numbers" included above.
VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url"
fi
AC_SUBST(VENDOR_URL_VM_BUG)
@@ -460,6 +505,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
# We could define --with flags for these, if really needed
VERSION_CLASSFILE_MAJOR="$DEFAULT_VERSION_CLASSFILE_MAJOR"
VERSION_CLASSFILE_MINOR="$DEFAULT_VERSION_CLASSFILE_MINOR"
JDK_SOURCE_TARGET_VERSION="$DEFAULT_JDK_SOURCE_TARGET_VERSION"
AC_MSG_CHECKING([for version string])
AC_MSG_RESULT([$VERSION_STRING])
@@ -483,5 +529,5 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(VENDOR_VERSION_STRING)
AC_SUBST(VERSION_CLASSFILE_MAJOR)
AC_SUBST(VERSION_CLASSFILE_MINOR)
AC_SUBST(JDK_SOURCE_TARGET_VERSION)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,9 +26,12 @@
################################################################################
# Setup bundled libraries.
#
# For libjpeg, giflib, libpng, lcms2 and zlib, the source is present in the
# OpenJDK repository. Default is to use these libraries as bundled, but they
# might be replaced by en external version by the user.
# For libjpeg, giflib, libpng, lcms2 and zlib the source is present in the
# OpenJDK repository (referred to as "bundled"). Default is to use libjpeg,
# giflib, libpng and lcms2 libraries as "bundled". The default for zlib is
# to use the bundled zlib on Windows and AIX, otherwise the external ("system")
# zlib, if present. However the libs may be replaced by an external ("system")
# version by the user.
################################################################################
AC_DEFUN_ONCE([LIB_SETUP_BUNDLED_LIBS],
[
@@ -161,8 +164,8 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
AC_MSG_CHECKING([for which zlib to use])
DEFAULT_ZLIB=system
if test "x$OPENJDK_TARGET_OS" = xwindows; then
# On windows default is bundled...on others default is system
if test "x$OPENJDK_TARGET_OS" = xwindows -o "x$OPENJDK_TARGET_OS" = xaix; then
# On windows and aix default is bundled, on others default is system
DEFAULT_ZLIB=bundled
fi

View File

@@ -119,7 +119,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
if test "x$X11_HEADERS_OK" = xno; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrander.h XTest.h Intrinsic.h). $HELP_MSG])
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])
fi
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be

View File

@@ -130,6 +130,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
fi
# perfstat lib
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat"
fi
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
-lrt -lkstat"

View File

@@ -558,6 +558,22 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
PLATFORM_SET_MODULE_TARGET_OS_VALUES
PLATFORM_SET_RELEASE_FILE_OS_VALUES
PLATFORM_SETUP_LEGACY_VARS
PLATFORM_CHECK_DEPRECATION
])
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The Solaris and SPARC ports are deprecated and may be removed in a future release.])
else
AC_MSG_ERROR(m4_normalize([The Solaris and SPARC ports are deprecated and may be removed in a
future release. Use --enable-deprecated-ports=yes to suppress this error.]))
fi
fi
])
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],

View File

@@ -32,6 +32,8 @@
# The command line given to configure.
CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
# The current directory when configure was run
CONFIGURE_START_DIR:=@CONFIGURE_START_DIR@
# A self-referential reference to this file.
SPEC:=@SPEC@
@@ -49,6 +51,9 @@ COMMA:=,
# What make to use for main processing, after bootstrapping top-level Makefile.
MAKE := @MAKE@
# Make sure all shell commands are executed with the C locale
export LC_ALL := C
# The default make arguments
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" $(MAKE_LOG_VARS)
@@ -138,8 +143,9 @@ SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
# The top-level directory of the source repository
TOPDIR:=@TOPDIR@
# Usually the top level directory, but could be something else if a custom
# root is defined.
WORKSPACE_ROOT:=@WORKSPACE_ROOT@
IMPORT_MODULES_CLASSES:=@IMPORT_MODULES_CLASSES@
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
@@ -156,6 +162,7 @@ LAUNCHER_NAME:=@LAUNCHER_NAME@
PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -208,6 +215,8 @@ VENDOR_VERSION_STRING := @VENDOR_VERSION_STRING@
VERSION_CLASSFILE_MAJOR := @VERSION_CLASSFILE_MAJOR@
VERSION_CLASSFILE_MINOR := @VERSION_CLASSFILE_MINOR@
JDK_SOURCE_TARGET_VERSION := @JDK_SOURCE_TARGET_VERSION@
# Convenience CFLAGS settings for passing version information into native programs.
VERSION_CFLAGS := \
-DVERSION_FEATURE=$(VERSION_FEATURE) \
@@ -280,7 +289,7 @@ JVM_FEATURES_custom := @JVM_FEATURES_custom@
VALID_JVM_FEATURES := @VALID_JVM_FEATURES@
VALID_JVM_VARIANTS := @VALID_JVM_VARIANTS@
# Control wether Hotspot builds gtest tests
# Control whether Hotspot builds gtest tests
BUILD_GTEST := @BUILD_GTEST@
# Allow overriding the default hotspot library path
@@ -367,6 +376,8 @@ ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
GRAALUNIT_LIB := @GRAALUNIT_LIB@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
JMH_CORE_JAR := @JMH_CORE_JAR@
JMH_GENERATOR_JAR := @JMH_GENERATOR_JAR@
JMH_JOPT_SIMPLE_JAR := @JMH_JOPT_SIMPLE_JAR@
@@ -383,12 +394,13 @@ GCOV_ENABLED=@GCOV_ENABLED@
JCOV_ENABLED=@JCOV_ENABLED@
JCOV_HOME=@JCOV_HOME@
JCOV_INPUT_JDK=@JCOV_INPUT_JDK@
JCOV_FILTERS=@JCOV_FILTERS@
# AddressSanitizer
export ASAN_ENABLED:=@ASAN_ENABLED@
export DEVKIT_LIB_DIR:=@DEVKIT_LIB_DIR@
ifeq ($(ASAN_ENABLED), yes)
export ASAN_OPTIONS="handle_segv=0 detect_leaks=0"
export ASAN_OPTIONS=handle_segv=0 detect_leaks=0
ifneq ($(DEVKIT_LIB_DIR),)
export LD_LIBRARY_PATH:=$(LD_LIBRARY_PATH):$(DEVKIT_LIB_DIR)
endif
@@ -403,6 +415,9 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
# The highest allowed version of macosx
MACOSX_VERSION_MAX=@MACOSX_VERSION_MAX@
# The macosx code signing identity to use
MACOSX_CODESIGN_IDENTITY=@MACOSX_CODESIGN_IDENTITY@
# Toolchain type: gcc, clang, solstudio, lxc, microsoft...
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@
@@ -482,6 +497,7 @@ JVM_RCFLAGS := @JVM_RCFLAGS@
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
EXTRA_ASFLAGS = @EXTRA_ASFLAGS@
CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@
@@ -754,6 +770,7 @@ JIB_HOME:=@JIB_HOME@
XCODEBUILD=@XCODEBUILD@
DTRACE := @DTRACE@
FIXPATH:=@FIXPATH@
ULIMIT:=@ULIMIT@
TAR_TYPE:=@TAR_TYPE@
TAR_CREATE_EXTRA_PARAM:=@TAR_CREATE_EXTRA_PARAM@
@@ -774,6 +791,7 @@ MSVCP_DLL:=@MSVCP_DLL@
UCRT_DLL_DIR:=@UCRT_DLL_DIR@
STLPORT_LIB:=@STLPORT_LIB@
ENABLE_PANDOC:=@ENABLE_PANDOC@
PANDOC_MARKDOWN_FLAG:=@PANDOC_MARKDOWN_FLAG@
####################################################
#
@@ -880,6 +898,10 @@ DOCS_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(DOCS_IMAGE_SUBDIR)
# Output docs directly into image
DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
# Static libs image
STATIC_LIBS_IMAGE_SUBDIR := static-libs
STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR)
# Macosx bundles directory definitions
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
@@ -903,13 +925,16 @@ else
JDK_BUNDLE_EXTENSION := tar.gz
endif
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -276,17 +276,32 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETERMINE_TOOLCHAIN_TYPE],
fi
AC_SUBST(TOOLCHAIN_TYPE)
# on AIX, check for xlclang++ on the PATH and TOOLCHAIN_PATH and use it if it is available
if test "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$TOOLCHAIN_PATH" != x; then
XLC_TEST_PATH=${TOOLCHAIN_PATH}/
fi
XLCLANG_VERSION_OUTPUT=`${XLC_TEST_PATH}xlclang++ -qversion 2>&1 | $HEAD -n 1`
$ECHO "$XLCLANG_VERSION_OUTPUT" | $GREP "IBM XL C/C++ for AIX" > /dev/null
if test $? -eq 0; then
AC_MSG_NOTICE([xlclang++ output: $XLCLANG_VERSION_OUTPUT])
else
AC_MSG_ERROR([xlclang++ version output check failed, output: $XLCLANG_VERSION_OUTPUT])
fi
fi
TOOLCHAIN_CC_BINARY_clang="clang"
TOOLCHAIN_CC_BINARY_gcc="gcc"
TOOLCHAIN_CC_BINARY_microsoft="cl$EXE_SUFFIX"
TOOLCHAIN_CC_BINARY_solstudio="cc"
TOOLCHAIN_CC_BINARY_xlc="xlc_r"
TOOLCHAIN_CC_BINARY_xlc="xlclang"
TOOLCHAIN_CXX_BINARY_clang="clang++"
TOOLCHAIN_CXX_BINARY_gcc="g++"
TOOLCHAIN_CXX_BINARY_microsoft="cl$EXE_SUFFIX"
TOOLCHAIN_CXX_BINARY_solstudio="CC"
TOOLCHAIN_CXX_BINARY_xlc="xlC_r"
TOOLCHAIN_CXX_BINARY_xlc="xlclang++"
# Use indirect variable referencing
toolchain_var_name=TOOLCHAIN_DESCRIPTION_$TOOLCHAIN_TYPE
@@ -466,7 +481,7 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
$SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like
# Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
@@ -621,14 +636,21 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
elif test "x$TOOLCHAIN_TYPE" = xgcc; then
# gcc -Wl,-version output typically looks like
# gcc -Wl,-version output typically looks like:
# GNU ld (GNU Binutils for Ubuntu) 2.26.1
# Copyright (C) 2015 Free Software Foundation, Inc.
# This program is free software; [...]
LINKER_VERSION_STRING=`$LD -Wl,-version 2>&1 | $HEAD -n 1`
# If using gold it will look like:
# GNU gold (GNU Binutils 2.30) 1.15
LINKER_VERSION_STRING=`$LD -Wl,--version 2> /dev/null | $HEAD -n 1`
# Extract version number
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
if [ [[ "$LINKER_VERSION_STRING" == *gold* ]] ]; then
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*) .*/\1/'` ]
else
[ LINKER_VERSION_NUMBER=`$ECHO $LINKER_VERSION_STRING | \
$SED -e 's/.* \([0-9][0-9]*\(\.[0-9][0-9]*\)*\).*/\1/'` ]
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang -Wl,-v output typically looks like
# @(#)PROGRAM:ld PROJECT:ld64-305

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,7 @@
################################################################################
# The order of these defines the priority by which we try to find them.
VALID_VS_VERSIONS="2017 2013 2015 2012 2010"
VALID_VS_VERSIONS="2017 2019 2013 2015 2012 2010"
VS_DESCRIPTION_2010="Microsoft Visual Studio 2010"
VS_VERSION_INTERNAL_2010=100
@@ -87,6 +87,21 @@ VS_SDK_INSTALLDIR_2017=
VS_VS_PLATFORM_NAME_2017="v141"
VS_SDK_PLATFORM_NAME_2017=
VS_SUPPORTED_2017=true
VS_TOOLSET_SUPPORTED_2017=true
VS_DESCRIPTION_2019="Microsoft Visual Studio 2019"
VS_VERSION_INTERNAL_2019=141
VS_MSVCR_2019=vcruntime140.dll
VS_MSVCP_2019=msvcp140.dll
VS_ENVVAR_2019="VS160COMNTOOLS"
VS_USE_UCRT_2019="true"
VS_VS_INSTALLDIR_2019="Microsoft Visual Studio/2019"
VS_EDITIONS_2019="BuildTools Community Professional Enterprise"
VS_SDK_INSTALLDIR_2019=
VS_VS_PLATFORM_NAME_2019="v142"
VS_SDK_PLATFORM_NAME_2019=
VS_SUPPORTED_2019=false
VS_TOOLSET_SUPPORTED_2019=false
################################################################################
@@ -98,7 +113,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
METHOD="$3"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(VS_BASE)
# In VS 2017, the default installation is in a subdir named after the edition.
# In VS 2017 and VS 2019, the default installation is in a subdir named after the edition.
# Find the first one present and use that.
if test "x$VS_EDITIONS" != x; then
for edition in $VS_EDITIONS; do
@@ -177,6 +192,15 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
# build environment and assigns it to VS_ENV_CMD
AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
[
# VS2017 provides the option to install previous minor versions of the MSVC
# toolsets. It is not possible to directly download earlier minor versions of
# VS2017 and in order to build with a previous minor compiler toolset version,
# it is now possible to compile with earlier minor versions by passing
# -vcvars_ver=<toolset_version> argument to vcvarsall.bat.
AC_ARG_WITH(msvc-toolset-version, [AS_HELP_STRING([--with-msvc-toolset-version],
[specific MSVC toolset version to use, passed as -vcvars_ver argument to
pass to vcvarsall.bat (Windows only)])])
VS_VERSION="$1"
eval VS_COMNTOOLS_VAR="\${VS_ENVVAR_${VS_VERSION}}"
eval VS_COMNTOOLS="\$${VS_COMNTOOLS_VAR}"
@@ -184,6 +208,9 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
eval VS_EDITIONS="\${VS_EDITIONS_${VS_VERSION}}"
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
eval VS_ENV_ARGS="\${VS_ENV_ARGS_${VS_VERSION}}"
eval VS_TOOLSET_SUPPORTED="\${VS_TOOLSET_SUPPORTED_${VS_VERSION}}"
VS_ENV_CMD=""
# When using --with-tools-dir, assume it points to the correct and default
# version of Visual Studio or that --with-toolchain-version was also set.
@@ -202,8 +229,6 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
fi
fi
VS_ENV_CMD=""
if test "x$VS_COMNTOOLS" != x; then
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
@@ -240,6 +265,12 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT([${VS_VERSION}],
[C:/Program Files (x86)/$SDK_INSTALL_DIR], [well-known name])
fi
if test "x$VS_TOOLSET_SUPPORTED" != x; then
if test "x$with_msvc_toolset_version" != x; then
VS_ENV_ARGS="$VS_ENV_ARGS -vcvars_ver=$with_msvc_toolset_version"
fi
fi
])
################################################################################
@@ -423,6 +454,8 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO 'echo VCINSTALLDIR="%VCINSTALLDIR% " >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO 'echo VCToolsRedistDir="%VCToolsRedistDir% " >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO 'echo WindowsSdkDir="%WindowsSdkDir% " >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO 'echo WINDOWSSDKDIR="%WINDOWSSDKDIR% " >> set-vs-env.sh' \
@@ -440,6 +473,8 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCINSTALLDIR="'\"$VCINSTALLDIR \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo VCToolsRedistDir="'\"$VCToolsRedistDir \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WindowsSdkDir="'\"$WindowsSdkDir \" >> set-vs-env.sh' \
>> $EXTRACT_VC_ENV_BAT_FILE
$ECHO "$WINPATH_BASH -c 'echo WINDOWSSDKDIR="'\"$WINDOWSSDKDIR \" >> set-vs-env.sh' \
@@ -451,7 +486,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
# Change directory so we don't need to mess with Windows paths in redirects.
cd $VS_ENV_TMP_DIR
$CMD /c extract-vs-env.bat | $CAT
cd $CURDIR
cd $CONFIGURE_START_DIR
if test ! -s $VS_ENV_TMP_DIR/set-vs-env.sh; then
AC_MSG_NOTICE([Could not succesfully extract the environment variables needed for the VS setup.])
@@ -517,6 +552,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VISUAL_STUDIO_ENV],
VS_INCLUDE=`$ECHO "$VS_INCLUDE" | $SED -e 's/\\\\*;* *$//'`
VS_LIB=`$ECHO "$VS_LIB" | $SED 's/\\\\*;* *$//'`
VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
VCToolsRedistDir=`$ECHO "$VCToolsRedistDir" | $SED 's/\\\\* *$//'`
WindowsSdkDir=`$ECHO "$WindowsSdkDir" | $SED 's/\\\\* *$//'`
WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
if test -z "$WINDOWSSDKDIR"; then
@@ -638,11 +674,13 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
POSSIBLE_MSVC_DLL="$CYGWIN_VC_INSTALL_DIR/redist/x86/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME"
fi
else
# Probe: Using well-known location from VS 2017
CYGWIN_VC_TOOLS_REDIST_DIR="$VCToolsRedistDir"
BASIC_FIXUP_PATH(CYGWIN_VC_TOOLS_REDIST_DIR)
# Probe: Using well-known location from VS 2017 and VS 2019
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
POSSIBLE_MSVC_DLL="`ls $CYGWIN_VC_INSTALL_DIR/Redist/MSVC/*/x64/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME`"
POSSIBLE_MSVC_DLL="`ls $CYGWIN_VC_TOOLS_REDIST_DIR/x64/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME`"
else
POSSIBLE_MSVC_DLL="`ls $CYGWIN_VC_INSTALL_DIR/Redist/MSVC/*/x86/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME`"
POSSIBLE_MSVC_DLL="`ls $CYGWIN_VC_TOOLS_REDIST_DIR/x86/Microsoft.VC${VS_VERSION_INTERNAL}.CRT/$DLL_NAME`"
fi
fi
# In case any of the above finds more than one file, loop over them.
@@ -770,7 +808,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
if test "x$USE_UCRT" = "xtrue"; then
AC_MSG_CHECKING([for UCRT DLL dir])
if test "x$with_ucrt_dll_dir" != x; then
if test -z "$(ls -d $with_ucrt_dll_dir/*.dll 2> /dev/null)"; then
if test -z "$(ls -d "$with_ucrt_dll_dir/"*.dll 2> /dev/null)"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
else

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -23,19 +23,22 @@
# questions.
#
# Default version numbers to use unless overridden by configure
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=13
DEFAULT_VERSION_FEATURE=14
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2019-09-17
DEFAULT_VERSION_CLASSFILE_MAJOR=57 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2020-03-17
DEFAULT_VERSION_CLASSFILE_MAJOR=58 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="11 12 13"
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="13 14"
DEFAULT_JDK_SOURCE_TARGET_VERSION=14
DEFAULT_PROMOTED_VERSION_PRE=ea
LAUNCHER_NAME=openjdk
PRODUCT_NAME=OpenJDK
@@ -45,6 +48,7 @@ COMPANY_NAME=N/A
HOTSPOT_VM_DISTRO="OpenJDK"
VENDOR_URL=https://openjdk.java.net/
VENDOR_URL_BUG=https://bugreport.java.com/bugreport/
VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp
# Might need better names for these
MACOSX_BUNDLE_NAME_BASE="OpenJDK"

198
make/common/Execute.gmk Normal file
View File

@@ -0,0 +1,198 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
$(error You must include MakeBase.gmk prior to including Execute.gmk)
endif
################################################################################
#
# Code for handling the SetupExecute macro.
#
################################################################################
################################################################################
# Setup make rules for executing an arbitrary command.
#
# Parameter 1 is the name of the rule. This name is used as variable prefix,
# and the targets generated are listed in a variable by that name.
#
# You need to specify a COMMAND, the actual command line to execute. You are
# strongly recommended to provide a INFO with the text to display for LOG=info
# on what operation is performed. You can use DEPS to provide additional
# dependencies for your command to run. You can optionally include a PRE_COMMAND
# and a POST_COMMAND, intended for simple pre- and post-processing. The latter
# might be e.g. a mv from a temporary file to the final destination, the former
# e.g. a simple sed replacement on the input file. If the operations are
# unrelated to the main COMMAND, this is not a suitable solution.
#
# If your command outputs a variety of files, or if it's really a single file
# but you don't really care about the output from the perspective, you can just
# supply an OUTPUT_DIR. You are supposed to make sure the command creates files
# in this directory (which will be created for you if it does not exist), but
# this can't be enforced by SetupExecute. Additional support files (like logs
# and markers) are created in this directory. If you want support files in a
# separate directory (e.g. if you're targeting an OUTPUT_DIR in the image
# directly), you can specify a SUPPORT_DIR. If your command outputs only a
# single file, you can get rid of the marker files (but not the log files) by
# specifying OUTPUT_FILE. Note that if you specify an OUTPUT_FILE, support log
# files will be placed in the same directory as the OUTPUT_FILE. If you do not
# want that, use SUPPORT_DIR as well.
#
# After the call to SetupExecute, $1 will contain references to all generated
# files (that make knows about), and $1_TARGET will contain a reference to the
# final target (that is OUTPUT_FILE if it exists, or the $1_exec.marker file
# otherwise).
#
# All the above keep functioning as expected even if PRE_COMMAND and
# POST_COMMAND are given. One special case worth noting is that if OUTPUT_FILE
# and POST_COMMAND is both given, the actual OUTPUT_FILE is considered to be a
# result of running the POST_COMMAND.
#
# Remaining parameters are named arguments. These include:
# COMMAND : The command to execute
# PRE_COMMAND : A helper command to execute before COMMAND
# POST_COMMAND: A helper command to execute after COMMAND
# OUTPUT_DIR : The directory that will contain the result from the command
# OUTPUT_FILE : Use this if the command results in a single output file
# SUPPORT_DIR : Where to store generated support files
# INFO : Message to display at LOG=info level when running command (optional)
# WARN : Message to display at LOG=warn level when running command (optional)
# DEPS : Dependencies for the execution to take place
#
# Setup make rules for copying files, with an option to do more complex
SetupExecute = $(NamedParamsMacroTemplate)
define SetupExecuteBody
ifeq ($$($1_COMMAND), )
$$(error COMMAND is missing in SetupExecute $1)
endif
ifneq ($$($1_OUTPUT_FILE), )
ifneq ($$($1_OUTPUT_DIR), )
$$(error Cannot specify both OUTPUT_DIR and OUTPUT_FILE in SetupExecute $1)
endif
# We need to know output dir since we will make sure it is created.
$1_OUTPUT_DIR := $$(patsubst %/,%, $$(dir $$($1_OUTPUT_FILE)))
ifeq ($$($1_SUPPORT_DIR), )
# If support dir is not given, use base dir of output file.
$1_SUPPORT_DIR := $$($1_OUTPUT_DIR)
endif
else ifneq ($$($1_OUTPUT_DIR), )
ifeq ($$($1_SUPPORT_DIR), )
# If support dir is not given, use output dir.
$1_SUPPORT_DIR := $$($1_OUTPUT_DIR)
endif
else
$$(error OUTPUT_DIR or OUTPUT_FILE is required in SetupExecute $1)
endif
$1_BASE := $$($1_SUPPORT_DIR)/_$1
$1_PRE_MARKER := $$($1_BASE)_pre.marker
$1_EXEC_MARKER := $$($1_BASE)_exec.marker
$1_POST_MARKER := $$($1_BASE)_post.marker
ifeq ($$($1_OUTPUT_FILE), )
# No specified output file, use markers everywhere
$1_EXEC_RESULT := $$($1_EXEC_MARKER)
ifeq ($$($1_POST_COMMAND), )
$1_FINAL_RESULT := $$($1_EXEC_MARKER)
else
$1_FINAL_RESULT := $$($1_POST_MARKER)
endif
else
# If we have a single output file, we don't need a separate marker
ifeq ($$($1_POST_COMMAND), )
$1_EXEC_RESULT := $$($1_OUTPUT_FILE)
$1_FINAL_RESULT := $$($1_EXEC_RESULT)
else
$1_EXEC_RESULT := $$($1_EXEC_MARKER)
$1_FINAL_RESULT := $$($1_OUTPUT_FILE)
endif
endif
ifeq ($$($1_INFO)$$($1_WARN), )
# If neither info nor warn is provided, add basic info text.
$1_INFO := Running commands for $1
endif
ifneq ($$($1_PRE_COMMAND), )
$$($1_PRE_MARKER): $$($1_DEPS)
ifneq ($$($1_WARN), )
$$(call LogWarn, $$($1_WARN))
endif
ifneq ($$($1_INFO), )
$$(call LogInfo, $$($1_INFO))
endif
$$(call MakeDir, $$($1_SUPPORT_DIR) $$($1_OUTPUT_DIR))
$$(call ExecuteWithLog, $$($1_BASE)_pre, \
$$($1_PRE_COMMAND))
$$(TOUCH) $$@
$$($1_EXEC_RESULT): $$($1_PRE_MARKER)
$$(call ExecuteWithLog, $$($1_BASE)_exec, \
$$($1_COMMAND))
ifeq ($$($1_EXEC_RESULT), $$($1_EXEC_MARKER))
$$(TOUCH) $$@
endif
$1 := $$($1_PRE_MARKER) $$($1_EXEC_RESULT)
else
$$($1_EXEC_RESULT): $$($1_DEPS)
ifneq ($$($1_WARN), )
$$(call LogWarn, $$($1_WARN))
endif
ifneq ($$($1_INFO), )
$$(call LogInfo, $$($1_INFO))
endif
$$(call MakeDir, $$(call EncodeSpace, $$($1_SUPPORT_DIR)) $$(call EncodeSpace, $$($1_OUTPUT_DIR)))
$$(call ExecuteWithLog, $$($1_BASE)_exec, \
$$($1_COMMAND))
ifeq ($$($1_EXEC_RESULT), $$($1_EXEC_MARKER))
$$(TOUCH) $$@
endif
$1 := $$($1_EXEC_RESULT)
endif
ifneq ($$($1_POST_COMMAND), )
$$($1_FINAL_RESULT): $$($1_EXEC_RESULT)
$$(call ExecuteWithLog, $$($1_BASE)_post, \
$$($1_POST_COMMAND))
$$(TOUCH) $$@
$1 += $$($1_FINAL_RESULT)
endif
# Export all our generated targets in $1, and the final target in $1_TARGET.
$1_TARGET := $$($1_FINAL_RESULT)
endef

View File

@@ -26,6 +26,16 @@
ifndef _FIND_TESTS_GMK
_FIND_TESTS_GMK := 1
# This makefile can be called directly to just trigger generation of the cache
# makefile. If so, SPEC and MakeBase.gmk need to be included.
ifeq ($(FINDTESTS_STAND_ALONE), true)
include $(SPEC)
include MakeBase.gmk
endif
# Make sure this variable is not lazy evaled.
ALL_NAMED_TESTS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, common/FindTests.gmk))
@@ -35,31 +45,39 @@ TEST_BASEDIRS += $(TOPDIR)/test $(TOPDIR)
# JTREG_TESTROOTS might have been set by a custom extension
JTREG_TESTROOTS += $(addprefix $(TOPDIR)/test/, hotspot/jtreg jdk langtools nashorn jaxp)
################################################################################
# Find the Jtreg test groups for the given component.
#
# Parameter 1 is the jtreg root dir. This name is used as variable prefix.
#
# After this macro has been evaluated, the following variables are defined for
# the component:
# JTREG_TESTROOT - The path to the root of the test directory
# JTREG_GROUP_FILES - The file(s) containing the group definitions
# JTREG_TEST_GROUPS - The name of the test groups that the component defines
#
FindJtregGroups = $(NamedParamsMacroTemplate)
define FindJtregGroupsBody
ifneq ($$(wildcard $1), )
$1_JTREG_GROUP_FILENAMES := $$(shell $$(SED) -n -e 's/\[\(.*\)\]/\1/g' \
-e 's/^groups\w*=//p' $1/TEST.ROOT)
$1_JTREG_GROUP_FILES := $$(addprefix $1/, $$($1_JTREG_GROUP_FILENAMES))
$1_JTREG_TEST_GROUPS := $$(strip $$(shell $$(SED) -n \
-e 's/\([^ ]*\)\w*=.*/\1/gp' $$(wildcard $$($1_JTREG_GROUP_FILES)) \
| $$(SORT) -u))
endif
endef
# Extract the names of the Jtreg group files from the TEST.ROOT files. The
# TEST.ROOT files being properties files can be interpreted as makefiles so
# use include to get at the contents instead of expensive shell calls. We are
# looking for the "groups" property in each file.
JTREG_ROOT_FILES := $(addsuffix /TEST.ROOT, $(JTREG_TESTROOTS))
JTREG_GROUP_FILES :=
$(foreach root, $(JTREG_TESTROOTS), \
$(eval include $(root)/TEST.ROOT) \
$(eval $(root)_JTREG_GROUP_FILES := $$(addprefix $(root)/, $$(groups))) \
$(eval JTREG_GROUP_FILES += $$($(root)_JTREG_GROUP_FILES)) \
)
# Configure definitions for all available test components
$(foreach root, $(JTREG_TESTROOTS), $(eval $(call FindJtregGroups, $(root))))
# Cache the expensive to calculate test names in a generated makefile.
FIND_TESTS_CACHE_FILE := $(MAKESUPPORT_OUTPUTDIR)/find-tests.gmk
# If this file is deemed outdated, it will automatically get regenerated
# by this rule before being included below.
$(FIND_TESTS_CACHE_FILE): $(JTREG_ROOT_FILES) $(JTREG_GROUP_FILES) \
$(TOPDIR)/test/make/TestMake.gmk
$(call MakeTargetDir)
( $(foreach root, $(JTREG_TESTROOTS), \
$(PRINTF) "\n$(root)_JTREG_TEST_GROUPS := " ; \
$(SED) -n -e 's/^\#.*//g' -e 's/\([^ ]*\)\w*=.*/\1/gp' \
$($(root)_JTREG_GROUP_FILES) \
| $(SORT) -u | $(TR) '\n' ' ' ; \
) \
) > $@
$(PRINTF) "\nMAKE_TEST_TARGETS := " >> $@
$(MAKE) -s --no-print-directory $(MAKE_ARGS) \
SPEC=$(SPEC) -f $(TOPDIR)/test/make/TestMake.gmk print-targets \
TARGETS_FILE=$@
-include $(FIND_TESTS_CACHE_FILE)
# Create a list of all available Jtreg test groups in all components
JTREG_TEST_GROUPS += $(sort $(foreach root, $(JTREG_TESTROOTS), \
@@ -69,18 +87,15 @@ JTREG_TEST_GROUPS += $(sort $(foreach root, $(JTREG_TESTROOTS), \
# ALL_NAMED_TESTS might have been set by a custom extension
ALL_NAMED_TESTS += $(JTREG_TEST_GROUPS)
# Add the make test targets
ALL_NAMED_TESTS += $(addprefix make-, $(MAKE_TEST_TARGETS))
# Add Gtest
ALL_NAMED_TESTS += gtest
# Add microbenchmarks
ALL_NAMED_TESTS += micro
# Find make test targets
MAKE_TEST_TARGETS := $(shell $(MAKE) -s --no-print-directory $(MAKE_ARGS) \
SPEC=$(SPEC) -f $(TOPDIR)/test/make/TestMake.gmk print-targets)
ALL_NAMED_TESTS += $(addprefix make-, $(MAKE_TEST_TARGETS))
# Add special tests
ALL_NAMED_TESTS += failure-handler make

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -124,9 +124,9 @@ define SetupJarArchiveBody
ifeq ($$($1_DEPENDENCIES), )
# Add all source roots to the find cache since we are likely going to run find
# on these more than once. The cache will only be updated if necessary.
$$(eval $$(call FillCacheFind, $$($1_FIND_LIST)))
$$(call FillFindCache, $$($1_FIND_LIST))
$1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
$$(call CacheFind,$$($1_SRCS)))
$$(call FindFiles,$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
endif
@@ -137,7 +137,7 @@ define SetupJarArchiveBody
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
ifeq (,$$($1_SKIP_METAINF))
$1_DEPENDENCIES+=$$(call CacheFind,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
$1_DEPENDENCIES+=$$(call FindFiles,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
endif
endif
# The dependency list should never be empty

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -122,7 +122,7 @@ define add_file_to_clean
$$($1_BIN)$$($1_MODULE_SUBDIR)$$($2_TARGET) : $2
$$(call LogInfo, Cleaning $$(patsubst $(OUTPUTDIR)/%,%, $$@))
$$(call MakeTargetDir)
export LC_ALL=C ; ( $(CAT) $$< && $(ECHO) "" ) \
( $(CAT) $$< && $(ECHO) "" ) \
| $(SED) -e 's/\([^\\]\):/\1\\:/g' -e 's/\([^\\]\)=/\1\\=/g' \
-e 's/\([^\\]\)!/\1\\!/g' -e 's/^[ ]*#.*/#/g' \
| $(SED) -f "$(TOPDIR)/make/common/support/unicode2x.sed" \
@@ -222,13 +222,12 @@ define SetupJavaCompilationBody
) \
)
$$(call MakeDir,$$($1_BIN))
# Add all source roots to the find cache since we are likely going to run find
# on these more than once. The cache will only be updated if necessary.
$$(eval $$(call FillCacheFind, $$($1_SRC)))
# Find all files in the source trees. Preserve order of source roots so that
# the first version in case of multiple instances of the same file is selected.
# CacheFind does not preserve order so need to call it for each root.
$1_ALL_SRCS += $$($1_EXTRA_FILES) $$(foreach s, $$($1_SRC), $$(call CacheFind, $$s))
# Order src files according to the order of the src dirs. Correct ordering is
# needed for correct overriding between different source roots.
$1_ALL_SRC_RAW := $$(call FindFiles, $$($1_SRC))
$1_ALL_SRCS := $$($1_EXTRA_FILES) \
$$(foreach d, $$($1_SRC), $$(filter $$d%, $$($1_ALL_SRC_RAW)))
# Extract the java files.
$1_SRCS := $$(filter %.java, $$($1_ALL_SRCS))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -47,7 +47,8 @@ FindSrcDirsForComponent += \
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
# Find a library
# Find a library. Used for declaring dependencies on libraries in different
# modules.
# Param 1 - module name
# Param 2 - library name
# Param 3 - optional subdir for library
@@ -69,6 +70,12 @@ ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
FindLib =
FindStaticLib =
endif
# If building static versions of libraries, make these return empty to avoid
# declaring dependencies.
ifeq ($(STATIC_LIBS), true)
FindLib =
FindStaticLib =
endif
GetJavaHeaderDir = \
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))
@@ -122,7 +129,9 @@ define SetupJdkLibraryBody
endif
ifneq ($$($1_EXCLUDE_SRC_PATTERNS), )
$1_EXCLUDE_SRC := $$(call containing, $$($1_EXCLUDE_SRC_PATTERNS), $$($1_SRC))
$1_SRC_WITHOUT_WORKSPACE_ROOT := $$(patsubst $$(WORKSPACE_ROOT)/%, %, $$($1_SRC))
$1_EXCLUDE_SRC := $$(addprefix %, $$(call containing, $$($1_EXCLUDE_SRC_PATTERNS), \
$$($1_SRC_WITHOUT_WORKSPACE_ROOT)))
$1_SRC := $$(filter-out $$($1_EXCLUDE_SRC), $$($1_SRC))
endif

View File

@@ -64,10 +64,12 @@ define NEWLINE
endef
# In GNU Make 4.0 and higher, there is a file function for writing to files.
# Certain features only work in newer version of GNU Make. The build will still
# function in 3.81, but will be less performant.
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
HAS_FILE_FUNCTION := true
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
RWILDCARD_WORKS := true
endif
@@ -158,25 +160,26 @@ define SetupLogging
SHELL = $$(warning $$(if $$@,Building $$@,Running shell command) $$(if $$<, (from $$<))$$(if $$?, ($$(wordlist 1, 20, $$?) $$(if $$(wordlist 21, 22, $$?), ... [in total $$(words $$?) files]) newer)))$$(SHELL_NO_RECURSE) -x
endif
# The LOG_PREFIX is set for sub recursive calls like buildjdk and bootcycle.
# The warn level can never be turned off
LogWarn = $$(info $$(strip $$1))
LogWarn = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_WARN :=
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace),)
LogInfo = $$(info $$(strip $$1))
LogInfo = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_INFO :=
else
LogInfo =
LOG_INFO := > /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
LogDebug = $$(info $$(strip $$1))
LogDebug = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_DEBUG :=
else
LogDebug =
LOG_DEBUG := > /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL), trace),)
LogTrace = $$(info $$(strip $$1))
LogTrace = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_TRACE :=
else
LogTrace =
@@ -341,73 +344,116 @@ endef
################################################################################
ifneq ($(DISABLE_CACHE_FIND), true)
# In Cygwin, finds are very costly, both because of expensive forks and because
# of bad file system caching. Find is used extensively in $(shell) commands to
# find source files. This makes rerunning make with no or few changes rather
# expensive. To speed this up, these two macros are used to cache the results
# of simple find commands for reuse.
#
# Runs a find and stores both the directories where it was run and the results.
# This macro can be called multiple times to add to the cache. Only finds files
# with no filters.
#
# Files containing space will get spaces replaced with ? because GNU Make
# cannot handle lists of files with space in them. By using ?, make will match
# the wildcard to space in many situations so we don't need to replace back
# to space on every use. While not a complete solution it does allow some uses
# of CacheFind to function with spaces in file names, including for
# SetupCopyFiles.
#
# Needs to be called with $(eval )
#
# Even if the performance benifit is negligible on other platforms, keep the
# functionality active unless explicitly disabled to exercise it more.
#
# Initialize FIND_CACHE_DIRS with := to make it a non recursively-expanded variable
FIND_CACHE_DIRS :=
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define FillCacheFind
# Filter out already cached dirs. The - is needed when FIND_CACHE_DIRS is empty
# since filter out will then return empty.
FIND_CACHE_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS), $1)
ifneq ($$(FIND_CACHE_NEW_DIRS), )
# Remove any trailing slash from dirs in the cache dir list
FIND_CACHE_DIRS += $$(patsubst %/,%, $$(FIND_CACHE_NEW_DIRS))
FIND_CACHE := $$(sort $$(FIND_CACHE) \
$$(shell $(FIND) $$(wildcard $$(FIND_CACHE_NEW_DIRS)) \
\( -type f -o -type l \) $2 | $(TR) ' ' '?'))
endif
endef
# Mimics find by looking in the cache if all of the directories have been cached.
# Otherwise reverts to shell find. This is safe to call on all platforms, even if
# cache is deactivated.
#
# $1 can be either a directory or a file. If it's a directory, make
# sure we have exactly one trailing slash before the wildcard.
# The extra - is needed when FIND_CACHE_DIRS is empty but should be harmless.
#
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define CacheFind
$(if $(filter-out $(addsuffix /%,- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS),$1), \
$(if $(wildcard $1), $(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 \
| $(TR) ' ' '?')), \
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(FIND_CACHE)))
endef
else
# If CacheFind is disabled, just run the find command.
# Param 1 - Dirs to find in
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
define CacheFind
$(if $(wildcard $1, \
$(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 | $(TR) ' ' '?') \
# Recursive wildcard function. Walks down directories recursively and matches
# files with the search patterns. Patterns use standard file wildcards (* and
# ?).
#
# $1 - Directories to start search in
# $2 - Search patterns
rwildcard = \
$(strip \
$(foreach d, \
$(patsubst %/,%,$(sort $(dir $(wildcard $(addsuffix /*/*, $(strip $1)))))), \
$(call rwildcard,$d,$2) \
) \
$(call DoubleDollar, $(wildcard $(foreach p, $2, $(addsuffix /$(strip $p), $(strip $1))))) \
)
endef
# Find non directories using recursive wildcard function. This function may
# be used directly when a small amount of directories is expected to be
# searched and caching is not expected to be of use.
#
# $1 - Directory to start search in
# $2 - Optional search patterns, defaults to '*'.
WildcardFindFiles = \
$(sort $(strip \
$(eval WildcardFindFiles_result := $(call rwildcard,$(patsubst %/,%,$1),$(if $(strip $2),$2,*))) \
$(filter-out $(patsubst %/,%,$(sort $(dir $(WildcardFindFiles_result)))), \
$(WildcardFindFiles_result) \
) \
))
# Find non directories using the find utility in the shell. Safe to call for
# non existing directories, or directories containing wildcards.
#
# Files containing space will get spaces replaced with ? because GNU Make
# cannot handle lists of files with space in them. By using ?, make will match
# the wildcard to space in many situations so we don't need to replace back
# to space on every use. While not a complete solution it does allow some uses
# of FindFiles to function with spaces in file names, including for
# SetupCopyFiles. Unfortunately this does not work for WildcardFindFiles so
# if files with spaces are anticipated, use ShellFindFiles directly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns, empty means find everything. Patterns use
# standard file wildcards (* and ?) and should not be quoted.
# $3 - Optional options to find.
ShellFindFiles = \
$(if $(wildcard $1), \
$(sort \
$(shell $(FIND) $3 $(patsubst %/,%,$(wildcard $1)) \( -type f -o -type l \) \
$(if $(strip $2), -a \( -name "$(firstword $2)" \
$(foreach p, $(filter-out $(firstword $2), $2), -o -name "$(p)") \)) \
| $(TR) ' ' '?' \
) \
) \
)
# Find non directories using the method most likely to work best for the
# current build host
#
# $1 - Directory to start search in
# $2 - Optional search patterns, defaults to '*'.
ifeq ($(OPENJDK_BUILD_OS)-$(RWILDCARD_WORKS), windows-true)
DirectFindFiles = $(WildcardFindFiles)
else
DirectFindFiles = $(ShellFindFiles)
endif
# Finds files using a cache that is populated by FillFindCache below. If any of
# the directories given have not been cached, DirectFindFiles is used for
# everything. Caching is especially useful in Cygwin, where file finds are very
# costly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns. If used, no caching is done.
CacheFindFiles_CACHED_DIRS :=
CacheFindFiles_CACHED_FILES :=
CacheFindFiles = \
$(if $2, \
$(call DirectFindFiles, $1, $2) \
, \
$(if $(filter-out $(addsuffix /%, $(CacheFindFiles_CACHED_DIRS)) \
$(CacheFindFiles_CACHED_DIRS), $1), \
$(call DirectFindFiles, $1) \
, \
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(CacheFindFiles_CACHED_FILES)) \
) \
)
# Explicitly adds files to the find cache used by CacheFindFiles.
#
# $1 - Directories to start search in
FillFindCache = \
$(eval CacheFindFiles_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
$$(CacheFindFiles_CACHED_DIRS)) $$(CacheFindFiles_CACHED_DIRS), $1)) \
$(if $(CacheFindFiles_NEW_DIRS), \
$(eval CacheFindFiles_CACHED_DIRS += $$(patsubst %/,%,$$(CacheFindFiles_NEW_DIRS))) \
$(eval CacheFindFiles_CACHED_FILES := $$(sort $$(CacheFindFiles_CACHED_FILES) \
$$(call DirectFindFiles, $$(CacheFindFiles_NEW_DIRS)))) \
)
# Findfiles is the default macro that should be used to find files in the file
# system. This function does not always support files with spaces in the names.
# If files with spaces are anticipated, use ShellFindFiles directly.
#
# $1 - Directories to start search in.
# $2 - Optional search patterns, empty means find everything. Patterns use
# standard file wildcards (* and ?) and should not be quoted.
ifeq ($(DISABLE_CACHE_FIND), true)
FindFiles = $(DirectFindFiles)
else
FindFiles = $(CacheFindFiles)
endif
################################################################################
@@ -426,6 +472,22 @@ else
$1
endif
################################################################################
# FixPathList
#
# On Windows, converts a cygwin/unix style path list (colon-separated) into
# the native format (mixed mode, semicolon-separated). On other platforms,
# return the path list unchanged.
################################################################################
ifeq ($(call isTargetOs, windows), true)
FixPathList = \
$(subst @,$(SPACE),$(subst $(SPACE),;,$(foreach entry,$(subst :,$(SPACE),\
$(subst $(SPACE),@,$(strip $1))),$(call FixPath, $(entry)))))
else
FixPathList = \
$1
endif
################################################################################
# DependOnVariable
#
@@ -502,8 +564,8 @@ endif
# Param 1 - The path to base the name of the log file / command line file on
# Param 2 - The command to run
ExecuteWithLog = \
$(call LogCmdlines, Exececuting: [$(strip $2)]) \
$(call MakeDir, $(dir $(strip $1))) \
$(call LogCmdlines, Executing: [$(strip $2)]) \
$(call MakeDir, $(dir $(strip $1)) $(MAKESUPPORT_OUTPUTDIR)/failure-logs) \
$(call WriteFile, $2, $(strip $1).cmdline) \
( $(RM) $(strip $1).log && $(strip $2) > >($(TEE) -a $(strip $1).log) 2> >($(TEE) -a $(strip $1).log >&2) || \
( exitcode=$(DOLLAR)? && \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -58,12 +58,14 @@ BOOT_MODULES += \
java.rmi \
java.security.sasl \
java.xml \
jdk.incubator.foreign \
jdk.internal.vm.ci \
jdk.jfr \
jdk.management \
jdk.management.jfr \
jdk.management.agent \
jdk.net \
jdk.nio.mapmode \
jdk.sctp \
jdk.unsupported \
#
@@ -127,7 +129,7 @@ endif
JRE_TOOL_MODULES += \
jdk.jdwp.agent \
jdk.pack \
jdk.incubator.jpackage \
jdk.scripting.nashorn.shell \
#
@@ -148,6 +150,7 @@ DOCS_MODULES += \
jdk.editpad \
jdk.hotspot.agent \
jdk.httpserver \
jdk.incubator.jpackage \
jdk.jartool \
jdk.javadoc \
jdk.jcmd \
@@ -160,6 +163,7 @@ DOCS_MODULES += \
jdk.jsobject \
jdk.jshell \
jdk.jstatd \
jdk.incubator.foreign \
jdk.localedata \
jdk.management \
jdk.management.agent \
@@ -167,7 +171,6 @@ DOCS_MODULES += \
jdk.naming.dns \
jdk.naming.rmi \
jdk.net \
jdk.pack \
jdk.rmic \
jdk.scripting.nashorn \
jdk.sctp \
@@ -197,6 +200,21 @@ HOTSPOT_MODULES := \
jdk.internal.vm.compiler.management \
#
# The native dynamic libraries in these modules will also get built into static
# libraries for consumption by downstream projects that need to statically link
# the JDK libraries. Those static libraries are not part of the main JDK
# distribution.
STATIC_LIBS_MODULES := \
java.base \
jdk.crypto.ec \
jdk.security.auth \
java.prefs \
java.security.jgss \
java.smartcardio \
jdk.crypto.cryptoki \
jdk.net \
#
################################################################################
# Some platforms don't have the serviceability agent
@@ -226,6 +244,13 @@ ifeq ($(ENABLE_AOT), false)
MODULES_FILTER += jdk.aot
endif
################################################################################
# jpackage is only on windows, macosx, and linux
ifeq ($(call isTargetOs, windows macosx linux), false)
MODULES_FILTER += jdk.incubator.jpackage
endif
################################################################################
# Module list macros

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -231,13 +231,15 @@ define SetupCompileNativeFileBody
# Only continue if this object file hasn't been processed already. This lets
# the first found source file override any other with the same name.
ifeq ($$(findstring $$($1_OBJ), $$($$($1_BASE)_OBJS_SO_FAR)), )
$$($1_BASE)_OBJS_SO_FAR += $$($1_OBJ)
ifeq ($$($1_OBJ_PROCESSED), )
$1_OBJ_PROCESSED := true
# This is the definite source file to use for $1_FILENAME.
$1_SRC_FILE := $$($1_FILE)
ifneq ($$($1_DISABLE_THIS_FILE_DEFINE), true)
$1_THIS_FILE = -DTHIS_FILE='"$$($1_FILENAME)"'
ifneq ($$($1_DEFINE_THIS_FILE), false)
ifneq ($$($$($1_BASE)_DEFINE_THIS_FILE), false)
$1_THIS_FILE = -DTHIS_FILE='"$$($1_FILENAME)"'
endif
endif
ifeq ($$($1_OPTIMIZATION), )
@@ -308,14 +310,18 @@ define SetupCompileNativeFileBody
ifeq ($$(filter %.s %.S, $$($1_FILENAME)), )
# And this is the dependency file for this obj file.
$1_DEP := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ))
$1_DEPS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ))
# The dependency target file lists all dependencies as empty targets to
# avoid make error "No rule to make target" for removed files
$1_DEP_TARGETS := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ))
$1_DEPS_TARGETS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ))
# Include previously generated dependency information. (if it exists)
-include $$($1_DEP)
-include $$($1_DEP_TARGETS)
# Only try to load individual dependency information files if the global
# file hasn't been loaded (could happen if make was interrupted).
ifneq ($$($$($1_BASE)_DEPS_FILE_LOADED), true)
# Include previously generated dependency information. (if it exists)
-include $$($1_DEPS_FILE)
-include $$($1_DEPS_TARGETS_FILE)
endif
endif
ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), )
@@ -340,16 +346,16 @@ define SetupCompileNativeFileBody
# object file in the generated deps files. Fixing it with sed. If
# compiling assembly, don't try this.
$$(call ExecuteWithLog, $$@, \
$$($1_COMPILER) $$($1_DEP_FLAG) $$($1_DEP).tmp $$($1_COMPILE_OPTIONS))
$(SED) 's|^$$(@F):|$$@:|' $$($1_DEP).tmp > $$($1_DEP)
$$($1_COMPILER) $$($1_DEP_FLAG) $$($1_DEPS_FILE).tmp $$($1_COMPILE_OPTIONS))
$(SED) 's|^$$(@F):|$$@:|' $$($1_DEPS_FILE).tmp > $$($1_DEPS_FILE)
else
$$(call ExecuteWithLog, $$@, \
$$($1_COMPILER) $$($1_DEP_FLAG) $$($1_DEP) $$($1_COMPILE_OPTIONS))
$$($1_COMPILER) $$($1_DEP_FLAG) $$($1_DEPS_FILE) $$($1_COMPILE_OPTIONS))
endif
# Create a dependency target file from the dependency file.
# Solution suggested by http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
ifneq ($$($1_DEP), )
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS)
ifneq ($$($1_DEPS_FILE), )
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) > $$($1_DEPS_TARGETS_FILE)
endif
else
# The Visual Studio compiler lacks a feature for generating make
@@ -363,10 +369,11 @@ define SetupCompileNativeFileBody
$$($1_COMPILER) -showIncludes $$($1_COMPILE_OPTIONS)) \
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
-e "^$$($1_FILENAME)$$$$" || test "$$$$?" = "1" ; \
$(ECHO) $$@: \\ > $$($1_DEP) ; \
$(ECHO) $$@: \\ > $$($1_DEPS_FILE) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \
| $(SORT) -u >> $$($1_DEP) ; \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS)
| $(SORT) -u >> $$($1_DEPS_FILE) ; \
$(ECHO) >> $$($1_DEPS_FILE) ; \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) > $$($1_DEPS_TARGETS_FILE)
endif
endif
endef
@@ -390,6 +397,7 @@ endef
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
# OUTPUT_DIR the directory where the resulting binary is put
# SYMBOLS_DIR the directory where the debug symbols are put, defaults to OUTPUT_DIR
# INCLUDES only pick source from these directories
# EXCLUDES do not pick source from these directories
# INCLUDE_FILES only compile exactly these files!
@@ -422,6 +430,7 @@ endef
# STRIPFLAGS Optionally change the flags given to the strip command
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
# DEFINE_THIS_FILE Set to false to not set the THIS_FILE preprocessor macro
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
@@ -445,6 +454,28 @@ define SetupNativeCompilationBody
endif
endif
$$(call SetIfEmpty, $1_COMPILE_WITH_DEBUG_SYMBOLS, $$(COMPILE_WITH_DEBUG_SYMBOLS))
# STATIC_LIBS is set from Main.gmk when building static versions of certain
# native libraries.
ifeq ($(STATIC_LIBS), true)
$1_TYPE := STATIC_LIBRARY
# The static versions need to be redirected to different output dirs, both
# to not interfere with the main build as well as to not end up inside the
# jmods.
$1_OBJECT_DIR := $$($1_OBJECT_DIR)/static
$1_OUTPUT_DIR := $$($1_OBJECT_DIR)
# For release builds where debug symbols are configured to be moved to
# separate debuginfo files, disable debug symbols for static libs instead.
# We don't currently support this configuration and we don't want symbol
# information in release builds unless explicitly asked to provide it.
ifeq ($(DEBUG_LEVEL), release)
ifeq ($(COPY_DEBUG_SYMBOLS), true)
$1_COMPILE_WITH_DEBUG_SYMBOLS := false
endif
endif
endif
ifeq ($$($1_TYPE), EXECUTABLE)
$1_PREFIX :=
ifeq ($$($1_SUFFIX), )
@@ -486,6 +517,9 @@ define SetupNativeCompilationBody
$1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME)
$1_SAFE_NAME := $$(strip $$(subst /,_, $1))
# Need to make sure TARGET is first on list
$1 := $$($1_TARGET)
# Setup the toolchain to be used
$$(call SetIfEmpty, $1_TOOLCHAIN, TOOLCHAIN_DEFAULT)
$$(call SetIfEmpty, $1_CC, $$($$($1_TOOLCHAIN)_CC))
@@ -500,13 +534,12 @@ define SetupNativeCompilationBody
$$(call SetIfEmpty, $1_SYSROOT_CFLAGS, $$($$($1_TOOLCHAIN)_SYSROOT_CFLAGS))
$$(call SetIfEmpty, $1_SYSROOT_LDFLAGS, $$($$($1_TOOLCHAIN)_SYSROOT_LDFLAGS))
# Make sure the dirs exist.
$$(call MakeDir, $$($1_OBJECT_DIR) $$($1_OUTPUT_DIR))
$$(foreach d, $$($1_SRC), $$(if $$(wildcard $$d), , \
$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
# Find all files in the source trees. Preserve order.
$1_SRCS := $$(foreach s, $$($1_SRC), $$(call CacheFind, $$(s)))
$1_SRCS_RAW := $$(call FindFiles, $$($1_SRC))
# Order src files according to the order of the src dirs
$1_SRCS := $$(foreach d, $$($1_SRC), $$(filter $$d%, $$($1_SRCS_RAW)))
$1_SRCS := $$(filter $$(NATIVE_SOURCE_EXTENSIONS), $$($1_SRCS))
# Extract the C/C++ files.
ifneq ($$($1_EXCLUDE_PATTERNS), )
@@ -580,6 +613,9 @@ define SetupNativeCompilationBody
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_release)
$1_EXTRA_CFLAGS += $$($1_CFLAGS_$(OPENJDK_TARGET_OS)_$(OPENJDK_TARGET_CPU)_release)
endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CFLAGS += $$(STATIC_LIBS_CFLAGS)
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE and/or OPENJDK_TARGET_OS dependent variables for CXXFLAGS.
$1_EXTRA_CXXFLAGS := $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS))
@@ -593,6 +629,9 @@ define SetupNativeCompilationBody
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS_TYPE)_release)
$1_EXTRA_CXXFLAGS += $$($1_CXXFLAGS_$(OPENJDK_TARGET_OS)_release)
endif
ifeq ($(STATIC_LIBS), true)
$1_EXTRA_CXXFLAGS += $$(STATIC_LIB_CFLAGS)
endif
# If no C++ flags are explicitly set, default to using the C flags.
# After that, we can set additional C++ flags that should not interfere
@@ -604,7 +643,7 @@ define SetupNativeCompilationBody
$1_EXTRA_CXXFLAGS := $$($1_EXTRA_CFLAGS)
endif
ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
ifeq ($$($1_COMPILE_WITH_DEBUG_SYMBOLS), true)
$1_EXTRA_CFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_ASFLAGS += $$(ASFLAGS_DEBUG_SYMBOLS)
@@ -695,7 +734,7 @@ define SetupNativeCompilationBody
FILE := $$($1_GENERATED_PCH_SRC), \
BASE := $1, \
EXTRA_CXXFLAGS := -Fp$$($1_PCH_FILE) -Yc$$(notdir $$($1_PRECOMPILED_HEADER)), \
DISABLE_THIS_FILE_DEFINE := true, \
DEFINE_THIS_FILE := false, \
))
$1_USE_PCH_FLAGS := \
@@ -718,20 +757,21 @@ define SetupNativeCompilationBody
$1_PCH_FILE := $$($1_OBJECT_DIR)/precompiled/$$(notdir $$($1_PRECOMPILED_HEADER)).pch
$1_USE_PCH_FLAGS := -include-pch $$($1_PCH_FILE)
endif
$1_PCH_DEP := $$($1_PCH_FILE).d
$1_PCH_DEP_TARGETS := $$($1_PCH_FILE).d.targets
$1_PCH_DEPS_FILE := $$($1_PCH_FILE).d
$1_PCH_DEPS_TARGETS_FILE := $$($1_PCH_FILE).d.targets
-include $$($1_PCH_DEP)
-include $$($1_PCH_DEP_TARGETS)
-include $$($1_PCH_DEPS_FILE)
-include $$($1_PCH_DEPS_TARGETS_FILE)
$1_PCH_COMMAND := $$($1_CC) $$($1_CFLAGS) $$($1_EXTRA_CFLAGS) $$($1_SYSROOT_CFLAGS) \
$$($1_OPT_CFLAGS) -x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEP)
$$($1_OPT_CFLAGS) -x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEPS_FILE)
$$($1_PCH_FILE): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
$$(call LogInfo, Generating precompiled header)
$$(call MakeDir, $$(@D))
$$(call ExecuteWithLog, $$@, $$($1_PCH_COMMAND) $$< -o $$@)
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEP) > $$($1_PCH_DEP_TARGETS)
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEPS_FILE) \
> $$($1_PCH_DEPS_TARGETS_FILE)
$$($1_ALL_OBJS): $$($1_PCH_FILE)
@@ -759,13 +799,13 @@ define SetupNativeCompilationBody
# This is a rough heuristic and may not always print accurate information.
$$($1_BUILD_INFO): $$($1_SRCS) $$($1_COMPILE_VARDEPS_FILE)
ifeq ($$(wildcard $$($1_TARGET)), )
$(ECHO) 'Creating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) from $$(words \
$$(filter-out %.vardeps, $$?)) file(s)'
$$(call LogWarn, Creating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) from $$(words \
$$(filter-out %.vardeps, $$?)) file(s))
else
$(ECHO) $$(strip 'Updating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET))' \
$$(call LogWarn, $$(strip Updating $$(subst $$(OUTPUTDIR)/,,$$($1_TARGET)) \
$$(if $$(filter-out %.vardeps, $$?), \
'due to $$(words $$(filter-out %.vardeps, $$?)) file(s)', \
$$(if $$(filter %.vardeps, $$?), 'due to makefile changes')))
due to $$(words $$(filter-out %.vardeps, $$?)) file(s), \
$$(if $$(filter %.vardeps, $$?), due to makefile changes))))
endif
$(TOUCH) $$@
@@ -773,10 +813,10 @@ define SetupNativeCompilationBody
ifeq ($(call isTargetOs, windows), true)
ifneq ($$($1_VERSIONINFO_RESOURCE), )
$1_RES := $$($1_OBJECT_DIR)/$$($1_BASENAME).res
$1_RES_DEP := $$($1_RES).d
$1_RES_DEP_TARGETS := $$($1_RES).d.targets
-include $$($1_RES_DEP)
-include $$($1_RES_DEP_TARGETS)
$1_RES_DEPS_FILE := $$($1_RES).d
$1_RES_DEPS_TARGETS_FILE := $$($1_RES).d.targets
-include $$($1_RES_DEPS_FILE)
-include $$($1_RES_DEPS_TARGETS_FILE)
$1_RES_VARDEPS := $$($1_RC) $$($1_RC_FLAGS)
$1_RES_VARDEPS_FILE := $$(call DependOnVariable, $1_RES_VARDEPS, \
@@ -793,19 +833,50 @@ define SetupNativeCompilationBody
# For some unknown reason, in this case CL actually outputs the show
# includes to stderr so need to redirect it to hide the output from the
# main log.
$$(call ExecuteWithLog, $$($1_RES_DEP).obj, \
$$(call ExecuteWithLog, $$($1_RES_DEPS_FILE).obj, \
$$($1_CC) $$(filter-out -l%, $$($1_RC_FLAGS)) \
$$($1_SYSROOT_CFLAGS) -showIncludes -nologo -TC \
$(CC_OUT_OPTION)$$($1_RES_DEP).obj -P -Fi$$($1_RES_DEP).pp \
$(CC_OUT_OPTION)$$($1_RES_DEPS_FILE).obj -P -Fi$$($1_RES_DEPS_FILE).pp \
$$($1_VERSIONINFO_RESOURCE)) 2>&1 \
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
-e "^$$(notdir $$($1_VERSIONINFO_RESOURCE))$$$$" || test "$$$$?" = "1" ; \
$(ECHO) $$($1_RES): \\ > $$($1_RES_DEP) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEP).obj.log >> $$($1_RES_DEP) ; \
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEP) > $$($1_RES_DEP_TARGETS)
$(ECHO) $$($1_RES): \\ > $$($1_RES_DEPS_FILE) ; \
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEPS_FILE).obj.log \
>> $$($1_RES_DEPS_FILE) ; \
$(ECHO) >> $$($1_RES_DEPS_FILE) ;\
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEPS_FILE) \
> $$($1_RES_DEPS_TARGETS_FILE)
endif
endif
# Create a rule to collect all the individual make dependency files into a
# single makefile.
$1_DEPS_FILE := $$($1_OBJECT_DIR)/$1.d
$$($1_DEPS_FILE): $$($1_ALL_OBJS) $$($1_RES)
$(RM) $$@
# CD into dir to reduce risk of hitting command length limits, which
# could otherwise happen if TOPDIR is a very long path.
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d > $$@.tmp
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d.targets | $(SORT) -u >> $$@.tmp
# After generating the file, which happens after all objects have been
# compiled, copy it to .old extension. On the next make invocation, this
# .old file will be included by make.
$(CP) $$@.tmp $$@.old
$(MV) $$@.tmp $$@
$1 += $$($1_DEPS_FILE)
# The include must be on the .old file, which represents the state from the
# previous invocation of make. The file being included must not have a rule
# defined for it as otherwise make will think it has to run the rule before
# being able to include the file, which would be wrong since we specifically
# need the file as it was generated by a previous make invocation.
ifneq ($$(wildcard $$($1_DEPS_FILE).old), )
$1_DEPS_FILE_LOADED := true
-include $$($1_DEPS_FILE).old
endif
ifneq ($(DISABLE_MAPFILES), true)
$1_REAL_MAPFILE := $$($1_MAPFILE)
ifeq ($(call isTargetOs, windows), false)
@@ -829,9 +900,6 @@ define SetupNativeCompilationBody
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
endif
# Need to make sure TARGET is first on list
$1 := $$($1_TARGET)
ifneq ($$($1_COPY_DEBUG_SYMBOLS), false)
$1_COPY_DEBUG_SYMBOLS := $(COPY_DEBUG_SYMBOLS)
endif
@@ -842,30 +910,31 @@ define SetupNativeCompilationBody
ifeq ($$($1_COPY_DEBUG_SYMBOLS), true)
ifneq ($$($1_DEBUG_SYMBOLS), false)
$$(call SetIfEmpty, $1_SYMBOLS_DIR, $$($1_OUTPUT_DIR))
# Only copy debug symbols for dynamic libraries and programs.
ifneq ($$($1_TYPE), STATIC_LIBRARY)
# Generate debuginfo files.
ifeq ($(call isTargetOs, windows), true)
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map"
$1_DEBUGINFO_FILES := $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).map
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map"
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map
else ifeq ($(call isTargetOs, linux solaris), true)
$1_DEBUGINFO_FILES := $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).debuginfo
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
# Setup the command line creating debuginfo files, to be run after linking.
# It cannot be run separately since it updates the original target file
$1_CREATE_DEBUGINFO_CMDS := \
$$($1_OBJCOPY) --only-keep-debug $$($1_TARGET) $$($1_DEBUGINFO_FILES) $$(NEWLINE) \
$(CD) $$($1_OUTPUT_DIR) && \
$(CD) $$($1_SYMBOLS_DIR) && \
$$($1_OBJCOPY) --add-gnu-debuglink=$$($1_DEBUGINFO_FILES) $$($1_TARGET)
else ifeq ($(call isTargetOs, macosx), true)
$1_DEBUGINFO_FILES := \
$$($1_OUTPUT_DIR)/$$($1_BASENAME).dSYM/Contents/Info.plist \
$$($1_OUTPUT_DIR)/$$($1_BASENAME).dSYM/Contents/Resources/DWARF/$$($1_BASENAME)
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).dSYM/Contents/Info.plist \
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).dSYM/Contents/Resources/DWARF/$$($1_BASENAME)
$1_CREATE_DEBUGINFO_CMDS := \
$(DSYMUTIL) --out $$($1_OUTPUT_DIR)/$$($1_BASENAME).dSYM $$($1_TARGET)
$(DSYMUTIL) --out $$($1_SYMBOLS_DIR)/$$($1_BASENAME).dSYM $$($1_TARGET)
endif
# Since the link rule creates more than one file that we want to track,
@@ -887,14 +956,14 @@ define SetupNativeCompilationBody
$1 += $$($1_DEBUGINFO_FILES)
ifeq ($$($1_ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$1_DEBUGINFO_ZIP := $$($1_OUTPUT_DIR)/$$($1_NOSUFFIX).diz
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
$1 += $$($1_DEBUGINFO_ZIP)
# The dependency on TARGET is needed for debuginfo files
# to be rebuilt properly.
$$($1_DEBUGINFO_ZIP): $$($1_DEBUGINFO_FILES) $$($1_TARGET)
$(CD) $$($1_OUTPUT_DIR) && \
$(ZIPEXE) -q -r $$@ $$(subst $$($1_OUTPUT_DIR)/,, $$($1_DEBUGINFO_FILES))
$(CD) $$($1_SYMBOLS_DIR) && \
$(ZIPEXE) -q -r $$@ $$(subst $$($1_SYMBOLS_DIR)/,, $$($1_DEBUGINFO_FILES))
endif
endif # !STATIC_LIBRARY
@@ -930,6 +999,7 @@ define SetupNativeCompilationBody
$$($1_TARGET): $$($1_TARGET_DEPS)
$$(call LogInfo, Building static library $$($1_BASENAME))
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_AR) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_ALL_OBJS) \
$$($1_RES))
@@ -970,16 +1040,15 @@ define SetupNativeCompilationBody
$$(shell $(RM) $$($1_TARGET))
endif
$$($1_IMPORT_LIBRARY): $$($1_TARGET)
$$(if $$(CORRECT_FUNCTION_IN_RECIPE_EVALUATION), \
$$(if $$(wildcard $$@), , $$(error $$@ was not created for $$<)) \
)
$(TOUCH) $$@
$1 += $$($1_IMPORT_LIBRARY)
endif
endif
$1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \
$$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \
$$($1_CODESIGN) $$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
$$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
$$($1_STRIP_CMD)
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1032,7 +1101,9 @@ define SetupNativeCompilationBody
# Keep as much as possible on one execution line for best performance
# on Windows
$$(call LogInfo, Linking $$($1_BASENAME))
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
ifeq ($(call isTargetOs, windows), true)
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_LD) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) $$($1_SYSROOT_LDFLAGS) \
$(LD_OUT_OPTION)$$($1_TARGET) $$($1_LD_OBJ_ARG) $$($1_RES) $$(GLOBAL_LIBS) \
@@ -1058,9 +1129,8 @@ define SetupNativeCompilationBody
# This only works if the openjdk_codesign identity is present on the system. Let
# silently fail otherwise.
ifneq ($(CODESIGN), )
ifneq ($$($1_CODESIGN), )
$(CODESIGN) -s openjdk_codesign $$@
endif
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" --timestamp --options runtime \
--entitlements $(TOPDIR)/make/data/macosxsigning/entitlements.plist $$@
endif
endif

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -65,10 +65,13 @@ define ProcessMarkdown
endif
endif
$1_$2_OPTIONS := $$(shell $$(GREP) _pandoc-options_: $3/$2 | $$(CUT) -d : -f 2-)
# This does not need to be included in VARDEPS since it's from the actual
# source file. Only run the shell if the recipe gets executed below.
$1_$2_OPTIONS_FROM_SRC = \
$$(shell $$(GREP) _pandoc-options_: $3/$2 | $$(CUT) -d : -f 2-)
ifneq ($$($1_FILTER), )
$1_$2_OPTIONS += --filter $$($1_FILTER)
$1_$2_OPTIONS := --filter $$($1_FILTER)
endif
$1_$2_VARDEPS := $$($1_OPTIONS) $$($1_$2_OPTIONS) $$($1_CSS) \
@@ -80,9 +83,10 @@ define ProcessMarkdown
$$(call LogInfo, Converting $2 to $$($1_FORMAT))
$$(call MakeDir, $$(SUPPORT_OUTPUTDIR)/markdown $$(dir $$($1_$2_PANDOC_OUTPUT)))
$$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/markdown/$$($1_$2_MARKER), \
$$(PANDOC) $$($1_OPTIONS) -f markdown-smart -t $$($1_FORMAT) --standalone \
$$($1_$2_CSS_OPTION) $$($1_$2_OPTIONS) '$$($1_$2_PANDOC_INPUT)' \
-o '$$($1_$2_PANDOC_OUTPUT)')
$$(PANDOC) $$($1_OPTIONS) -f $$(PANDOC_MARKDOWN_FLAG) \
-t $$($1_FORMAT) --standalone \
$$($1_$2_CSS_OPTION) $$($1_$2_OPTIONS_FROM_SRC) $$($1_$2_OPTIONS) \
'$$($1_$2_PANDOC_INPUT)' -o '$$($1_$2_PANDOC_OUTPUT)')
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
TOO_LONG_LINES=`$$(GREP) -E -e '^.{80}.+$$$$' $$<` || true ; \
if [ "x$$$$TOO_LONG_LINES" != x ]; then \
@@ -99,7 +103,7 @@ define ProcessMarkdown
$$(call LogInfo, Post-processing markdown file $2)
$$(call MakeDir, $$(SUPPORT_OUTPUTDIR)/markdown $$($1_$2_TARGET_DIR))
$$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/markdown/$$($1_$2_MARKER)_post, \
$$($1_POST_PROCESS) < $$($1_$2_PANDOC_OUTPUT) > $$($1_$2_OUTPUT_FILE))
( $$($1_POST_PROCESS) < $$($1_$2_PANDOC_OUTPUT) > $$($1_$2_OUTPUT_FILE) ) )
endif
$1 += $$($1_$2_OUTPUT_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -35,6 +35,7 @@
# RUN_V11:=Set to run rmic with -v1.1
# RUN_V12:=Set to run rmic with -v1.2
# KEEP_GENERATED:=Set to keep generated sources around
# STUB_SOURCES_DIR:=Directory to put generated sources in
SetupRMICompilation = $(NamedParamsMacroTemplate)
define SetupRMICompilationBody
@@ -58,9 +59,16 @@ define SetupRMICompilationBody
$1_TIE_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/org/omg/stub/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
$1_TIE_STDPKG_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES)))
ifneq (,$$($1_KEEP_GENERATED))
ifneq ($$($1_KEEP_GENERATED), )
$1_ARGS += -keepgenerated
$1_TARGETS += $$(subst .class,.java,$$($1_TARGETS))
$1_JAVA_TARGETS := $$(subst .class,.java,$$($1_TARGETS))
ifneq ($$($1_STUB_SOURCES_DIR), )
# This is where the java files are created by rmic
$1_JAVA_TARGETS_REL := $$(subst $$($1_STUB_CLASSES_DIR),, $$($1_JAVA_TARGETS))
# This is where the caller wants the java files
$1_JAVA_TARGETS := $$(addprefix $$($1_STUB_SOURCES_DIR), $$($1_JAVA_TARGETS_REL))
endif
$1_TARGETS += $$($1_JAVA_TARGETS)
endif
$1_DOLLAR_SAFE_CLASSES := $$(subst $$$$,\$$$$,$$($1_CLASSES))
@@ -72,11 +80,12 @@ define SetupRMICompilationBody
$$(call MakeDir, $$($1_STUB_CLASSES_DIR))
$(RMIC) $$($1_ARGS) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES); \
if [ "x$$($1_ARGS2)" != "x" ]; then \
$(ECHO) $(LOG_INFO) Running rmic $$($1_ARGS2) for $$($1_DOLLAR_SAFE_CLASSES) && \
$(RMIC) $$($1_ARGS2) -classpath "$$($1_CLASSES_DIR)" \
-d $$($1_STUB_CLASSES_DIR) $$($1_DOLLAR_SAFE_CLASSES); \
fi; \
$$(if $$($1_STUB_SOURCES_DIR), \
$$(foreach f, $$($1_JAVA_TARGETS_REL), \
$(MKDIR) -p $$(dir $$($1_STUB_SOURCES_DIR)/$$f) ; \
$(MV) $$($1_STUB_CLASSES_DIR)/$$f $$($1_STUB_SOURCES_DIR)/$$f ; \
) \
) \
$(TOUCH) $$@

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -33,6 +33,9 @@ include JavaCompilation.gmk
DISABLE_WARNINGS ?= -Xlint:all,-deprecation,-removal,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally
JDK_SOURCE_TARGET_FLAGS := -source $(JDK_SOURCE_TARGET_VERSION) \
-target $(JDK_SOURCE_TARGET_VERSION)
# If warnings needs to be non-fatal for testing purposes use a command like:
# make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
JAVAC_WARNINGS ?= -Xlint:all -Werror
@@ -72,7 +75,7 @@ $(eval $(call SetupJavaCompiler,GENERATE_OLDBYTECODE, \
$(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
JVM := $(JAVA_JAVAC), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -source 13 -target 13 --doclint-format html5 \
FLAGS := $(JDK_SOURCE_TARGET_FLAGS) --doclint-format html5 \
-encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))
@@ -82,7 +85,7 @@ $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
$(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
JVM := $(JAVA_JAVAC), \
JAVAC := $(NEW_JAVAC), \
FLAGS := -source 13 -target 13 \
FLAGS := $(JDK_SOURCE_TARGET_FLAGS) \
-encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS), \
SERVER_DIR := $(SJAVAC_SERVER_DIR), \
SERVER_JVM := $(SJAVAC_SERVER_JAVA)))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -62,7 +62,7 @@ define SetupTestFilesCompilationBody
$1_OUTPUT_SUBDIR := lib
$1_BASE_CFLAGS := $(CFLAGS_JDKLIB)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_COMPILATION_TYPE := LIBRARY
else ifeq ($$($1_TYPE), PROGRAM)
$1_PREFIX = exe
@@ -77,8 +77,7 @@ define SetupTestFilesCompilationBody
# Locate all files with the matching prefix
$1_FILE_LIST := \
$$(shell $$(FIND) $$($1_SOURCE_DIRS) -type f \( -name "$$($1_PREFIX)*.c" \
-o -name "$$($1_PREFIX)*.cpp" \))
$$(call FindFiles, $$($1_SOURCE_DIRS), $$($1_PREFIX)*.c $$($1_PREFIX)*.cpp)
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
@@ -90,8 +89,7 @@ define SetupTestFilesCompilationBody
$$(eval $$(call SetupNativeCompilation, BUILD_TEST_$$(name), \
NAME := $$(unprefixed_name), \
TYPE := $$($1_COMPILATION_TYPE), \
SRC := $$(patsubst %/,%,$$(dir $$(file))), \
INCLUDE_FILES := $$(notdir $$(file)), \
EXTRA_FILES := $$(file), \
OBJECT_DIR := $$($1_OUTPUT_DIR)/support/$$(name), \
OUTPUT_DIR := $$($1_OUTPUT_DIR)/$$($1_OUTPUT_SUBDIR), \
CFLAGS := $$($1_BASE_CFLAGS) $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
@@ -100,12 +98,12 @@ define SetupTestFilesCompilationBody
DISABLED_WARNINGS_gcc := format undef unused-function unused-value, \
DISABLED_WARNINGS_clang := undef format-nonliteral \
missing-field-initializers sometimes-uninitialized, \
DISABLED_WARNINGS_CXX_solstudio := wvarhidenmem, \
DISABLED_WARNINGS_CXX_solstudio := wvarhidenmem doubunder, \
LIBS := $$($1_LIBS_$$(name)), \
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := false, \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
)) \
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \
)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -58,7 +58,7 @@ endef
# OUTPUT_DIR the directory where we store the processed files.
# OUTPUT_FILE the name of the resulting file. Only allowed if processing a
# single file.
# SOURCE_BASE_DIR a common root to all SOURCE_DIRS.
# SOURCE_BASE_DIR a common root to all SOURCE_DIRS or SOURCE_FILES.
# If specified, files will keep the path relative to the base in the
# OUTPUT_DIR. Otherwise, the hierarchy will be flattened into the OUTPUT_DIR.
# INCLUDE_FILES only include files matching these patterns (used only with
@@ -84,9 +84,6 @@ define SetupTextFileProcessingBody
ifneq ($$($1_SOURCE_DIRS),)
$$(error Cannot use both SOURCE_FILES and SOURCE_DIRS (in $1))
endif
ifneq ($$($1_SOURCE_BASE_DIR),)
$$(error Cannot use SOURCE_BASE_DIR without SOURCE_DIRS (in $1))
endif
ifneq ($$($1_EXCLUDE_FILES)$$($1_INCLUDE_FILES),)
$$(error Cannot INCLUDE/EXCLUDE_FILES with SOURCE_FILES (in $1))
endif
@@ -103,7 +100,7 @@ define SetupTextFileProcessingBody
$$(error SOURCE_DIRS contains directory $$(src) outside \
SOURCE_BASE_DIR $$($1_SOURCE_BASE_DIR) (in $1))))
endif
$1_SOURCE_FILES := $$(sort $$(call CacheFind,$$($1_SOURCE_DIRS)))
$1_SOURCE_FILES := $$(sort $$(call FindFiles,$$($1_SOURCE_DIRS)))
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
$1_SOURCE_FILES := $$(filter-out $$($1_EXCLUDE_FILES),$$($1_SOURCE_FILES))
@@ -155,9 +152,10 @@ define SetupTextFileProcessingBody
# Convert the REPLACEMENTS syntax ( A => B ; C => D ; ...) to a sed command
# line (-e "s/A/B/g" -e "s/C/D/g" ...), basically by replacing '=>' with '/'
# and ';' with '/g" -e "s/', and adjusting for edge cases.
# '&' has special meaning in sed so needs to be escaped.
$1_REPLACEMENTS_COMMAND_LINE := $(SED) -e 's$$($1_SEP)$$(subst $$(SPACE);$$(SPACE),$$($1_SEP)g' \
-e 's$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE),$$($1_SEP),$$(subst $$(SPACE)=>$$(SPACE);$$(SPACE),$$($1_SEP)$$($1_SEP)g' \
-e 's$$($1_SEP),$$(strip $$($1_REPLACEMENTS)))))$$($1_SEP)g'
-e 's$$($1_SEP),$$(subst &,\&,$$(strip $$($1_REPLACEMENTS))))))$$($1_SEP)g'
else
# We don't have any replacements, just pipe the file through cat.
$1_REPLACEMENTS_COMMAND_LINE := $(CAT)

View File

@@ -70,8 +70,8 @@ _sequence-do = \
################################################################################
# Replace question marks with space in string. This macro needs to be called on
# files from CacheFind in case any of them contains space in their file name,
# since CacheFind replaces space with ?.
# files from FindFiles in case any of them contains space in their file name,
# since FindFiles replaces space with ?.
# Param 1 - String to replace in
DecodeSpace = \
$(subst ?,$(SPACE),$(strip $1))
@@ -122,7 +122,8 @@ DirToDotDot = \
# $2 - Directory to compute the relative path from
RelativePath = \
$(eval $1_prefix := $(call FindCommonPathPrefix, $1, $2)) \
$(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)/%, %, $2))) \
$(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)%, %, $2))) \
$(eval $1_dotdots := $(if $($(strip $1)_dotdots),$($(strip $1)_dotdots),.)) \
$(eval $1_suffix := $(patsubst $($(strip $1)_prefix)/%, %, $1)) \
$($(strip $1)_dotdots)/$($(strip $1)_suffix)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -48,22 +48,33 @@ endif
# src dir
# SUFFIXES
# EXTRA_DEPS
# FOLLOW_SYMLINKS - Set to explicitly follow symlinks. Affects performance of
# finding files.
# ZIP_OPTIONS extra options to pass to zip
SetupZipArchive = $(NamedParamsMacroTemplate)
define SetupZipArchiveBody
# Create a version $1_SRC with a guaranteed trailing slash
$1_SRC_SLASH := $$(addsuffix /, $$(patsubst %/, %, $$($1_SRC)))
# To avoid running find over too large sets of files, which causes make to crash
# on some configurations (cygwin), use INCLUDES and INCLUDE_FILES to build a set
# of directories to run find in, if available.
ifneq ($$($1_INCLUDES)$$($1_INCLUDE_FILES),)
$1_FIND_LIST := $$(wildcard $$(foreach i,$$($1_SRC), \
$$(addprefix $$i/,$$($1_INCLUDES) $$($1_INCLUDE_FILES))))
$1_FIND_LIST := $$(wildcard $$(foreach s,$$($1_SRC_SLASH), \
$$(addprefix $$s,$$($1_INCLUDES) $$($1_INCLUDE_FILES))))
else
$1_FIND_LIST := $$($1_SRC)
$1_FIND_LIST := $$($1_SRC_SLASH)
endif
# Find all files in the source tree.
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call CacheFind,$$($1_FIND_LIST)))
# If asked to, follow symlinks in this find since that is what zip does. To do
# this, we need to call ShellFindFiles directly.
ifeq ($$($1_FOLLOW_SYMLINKS), true)
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call ShellFindFiles,$$($1_FIND_LIST), , -L))
else
$1_ALL_SRCS := $$(call not-containing,_the.,$$(call FindFiles,$$($1_FIND_LIST)))
endif
# Filter on suffixes if set
ifneq ($$($1_SUFFIXES),)
@@ -88,15 +99,15 @@ define SetupZipArchiveBody
endif
ifneq ($$($1_EXCLUDES),)
$1_ZIP_EXCLUDES := $$(addprefix -x$(SPACE)$(DQUOTE),$$(addsuffix /*$(DQUOTE),$$($1_EXCLUDES)))
$1_SRC_EXCLUDES := $$(foreach i,$$($1_SRC),$$(addprefix $$i/,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_SRC_EXCLUDES := $$(foreach s,$$($1_SRC_SLASH),$$(addprefix $$s,$$(addsuffix /%,$$($1_EXCLUDES))))
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDES),$$($1_ALL_SRCS))
endif
ifneq ($$($1_EXCLUDE_FILES),)
$1_SRC_EXCLUDE_FILES := $$(addprefix %, $$($1_EXCLUDE_FILES)) $$($1_EXCLUDE_FILES)
$1_ALL_SRCS := $$(filter-out $$($1_SRC_EXCLUDE_FILES), $$($1_ALL_SRCS))
$$(foreach s, $$($1_SRC), \
$$(foreach s, $$($1_SRC_SLASH), \
$$(eval $1_ZIP_EXCLUDES_$$s += \
$$(addprefix -x$$(SPACE), $$(patsubst $$s/%,%, $$($1_EXCLUDE_FILES))) \
$$(addprefix -x$$(SPACE), $$(patsubst $$s%,%, $$($1_EXCLUDE_FILES))) \
) \
)
endif
@@ -105,7 +116,7 @@ define SetupZipArchiveBody
$1_ZIP_EXCLUDES += $$(addprefix -x$(SPACE), $$(subst %,\*,$$($1_EXCLUDE_PATTERNS)))
endif
# Rewrite src dir specific exclude patterns to zip excludes
$$(foreach s, $$($1_SRC), \
$$(foreach s, $$($1_SRC_SLASH), \
$$(if $$($1_EXCLUDE_PATTERNS_$$s), \
$$(eval $1_ZIP_EXCLUDES_$$s += \
$$(addprefix -x$$(SPACE), $$(subst %,\*,$$($1_EXCLUDE_PATTERNS_$$s))) \
@@ -126,10 +137,33 @@ define SetupZipArchiveBody
$$($1_ZIP) : $$($1_ALL_SRCS) $$($1_EXTRA_DEPS)
$$(call LogWarn, Updating $$($1_NAME))
$$(call MakeTargetDir)
$$(foreach s,$$($1_SRC),(cd $$s && $(ZIPEXE) -qru $$($1_ZIP_OPTIONS) $$@ . \
$$($1_ZIP_INCLUDES) $$($1_ZIP_EXCLUDES) -x \*_the.\* \
$$($1_ZIP_EXCLUDES_$$s) \
|| test "$$$$?" = "12" )$$(NEWLINE)) true
# Find duplicate file names in the SRC and generate excludes for all
# instances that should not be included. Run this rather expensive
# calculation as part of the recipe to avoid running it when nothing
# needs to be rebuilt. The drawback is that we cannot exclude these
# files from the make prerequisites list, but the number of files is
# usually small so a very rare unnecessary rebuild is worth it.
# (The inner most foreach here is used instead of eval to declare a
# local variable.)
$$(foreach root, $$($1_SRC_SLASH), \
$$(foreach file, $$(filter $$(root)%, $$($1_ALL_SRCS)), \
$$(foreach relfile, $$(patsubst $$(root)%, %, $$(file)), \
$$(if $$($1_relfiles_$$(call DoubleDollar, $$(relfile))), \
$$(eval $1_ZIP_EXCLUDES_$$(root) += -x $$(relfile)) \
, \
$$(eval $1_relfiles_$$(call DoubleDollar, $$(relfile)) := 1) \
) \
) \
) \
)
$$(foreach s,$$($1_SRC_SLASH), $$(call ExecuteWithLog, \
$$(SUPPORT_OUTPUTDIR)/zip/$$(patsubst $$(OUTPUTDIR)/%,%, $$@), \
(cd $$s && $(ZIPEXE) -qru $$($1_ZIP_OPTIONS) $$@ . \
$$($1_ZIP_INCLUDES) $$($1_ZIP_EXCLUDES) -x \*_the.\* \
$$($1_ZIP_EXCLUDES_$$s) \
|| test "$$$$?" = "12" \
))$$(NEWLINE) \
) true \
$(TOUCH) $$@
# Add zip to target list

View File

@@ -241,13 +241,13 @@ var getJibProfilesCommon = function (input, data) {
common.main_profile_names = [
"linux-x64", "linux-x86", "macosx-x64", "solaris-x64",
"solaris-sparcv9", "windows-x64", "windows-x86",
"linux-aarch64", "linux-arm32"
"linux-aarch64", "linux-arm32", "linux-ppc64le", "linux-s390x"
];
// These are the base setttings for all the main build profiles.
common.main_profile_base = {
dependencies: ["boot_jdk", "gnumake", "jtreg", "jib", "autoconf", "jmh", "jcov"],
default_make_targets: ["product-bundles", "test-bundles"],
default_make_targets: ["product-bundles", "test-bundles", "static-libs-bundles"],
configure_args: concat(["--enable-jtreg-failure-handler"],
"--with-exclude-translations=de,es,fr,it,ko,pt_BR,sv,ca,tr,cs,sk,ja_JP_A,ja_JP_HA,ja_JP_HI,ja_JP_I,zh_TW,zh_HK",
"--disable-manpages",
@@ -320,6 +320,14 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir,
exploded: "images/jdk"
},
static_libs: {
local: "bundles/\\(jdk.*bin-static-libs.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-static-libs.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
},
}
};
};
@@ -361,11 +369,20 @@ var getJibProfilesCommon = function (input, data) {
subdir: jdk_subdir,
exploded: "images/jdk"
},
static_libs: {
local: "bundles/\\(jdk.*bin-static-libs-debug.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-static-libs-debug.tar.gz",
"bundles/" + pf + "/\\1"
],
subdir: jdk_subdir,
},
}
};
};
common.boot_jdk_version = "11";
common.boot_jdk_version = "13";
common.boot_jdk_build_number = "33";
common.boot_jdk_home = input.get("boot_jdk", "install_path") + "/jdk-"
+ common.boot_jdk_version
+ (input.build_os == "macosx" ? ".jdk/Contents/Home" : "");
@@ -417,7 +434,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "x64",
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
"--with-zlib=system", "--enable-dtrace", "--enable-deprecated-ports=yes"),
},
"solaris-sparcv9": {
@@ -425,7 +442,7 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "sparcv9",
dependencies: ["devkit", "cups"],
configure_args: concat(common.configure_args_64bit,
"--with-zlib=system", "--enable-dtrace"),
"--with-zlib=system", "--enable-dtrace", "--enable-deprecated-ports=yes"),
},
"windows-x64": {
@@ -464,6 +481,28 @@ var getJibProfilesProfiles = function (input, common, data) {
"--with-abi-profile=arm-vfp-hflt", "--disable-warnings-as-errors"
],
},
"linux-ppc64le": {
target_os: "linux",
target_cpu: "ppc64le",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--openjdk-target=ppc64le-linux-gnu", "--with-freetype=bundled",
"--disable-warnings-as-errors"
],
},
"linux-s390x": {
target_os: "linux",
target_cpu: "s390x",
build_cpu: "x64",
dependencies: ["devkit", "build_devkit", "cups"],
configure_args: [
"--openjdk-target=s390x-linux-gnu", "--with-freetype=bundled",
"--disable-warnings-as-errors"
],
},
};
// Add the base settings to all the main profiles
@@ -499,6 +538,15 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[maketestName].default_make_targets = [ "test-make" ];
});
// Generate -gcov profiles
[ "linux-x64", "macosx-x64" ].forEach(function (name) {
var gcovName = name + "-gcov";
profiles[gcovName] = clone(profiles[name]);
profiles[gcovName].default_make_targets = ["product-bundles", "test-bundles"];
profiles[gcovName].configure_args = concat(profiles[gcovName].configure_args,
["--enable-native-coverage", "--disable-warnings-as-errors"]);
});
// Profiles for building the zero jvm variant. These are used for verification.
var zeroProfiles = {
"linux-x64-zero": {
@@ -626,6 +674,12 @@ var getJibProfilesProfiles = function (input, common, data) {
},
"linux-arm32": {
platform: "linux-arm32",
},
"linux-ppc64le": {
platform: "linux-ppc64le",
},
"linux-s390x": {
platform: "linux-s390x",
}
}
// Generate common artifacts for all main profiles
@@ -717,7 +771,11 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[cmpBaselineName] = clone(profiles[name + suffix]);
// Only compare the images target. This should pressumably be expanded
// to include more build targets when possible.
profiles[cmpBaselineName].default_make_targets = [ "images" ];
profiles[cmpBaselineName].default_make_targets = [ "images", "test-image" ];
if (name == "linux-x64") {
profiles[cmpBaselineName].default_make_targets
= concat(profiles[cmpBaselineName].default_make_targets, "docs");
}
profiles[cmpBaselineName].make_args = [ "COMPARE_BUILD=CONF=" ];
// Do not inherit artifact definitions from base profile
delete profiles[cmpBaselineName].artifacts;
@@ -744,6 +802,40 @@ var getJibProfilesProfiles = function (input, common, data) {
};
});
// Artifacts of gcov (native-code-coverage) profiles
[ "linux-x64", "macosx-x64" ].forEach(function (name) {
var o = artifactData[name]
var pf = o.platform
var jdk_subdir = (o.jdk_subdir != null ? o.jdk_subdir : "jdk-" + data.version);
var jdk_suffix = (o.jdk_suffix != null ? o.jdk_suffix : "tar.gz");
var gcovName = name + "-gcov";
profiles[gcovName].artifacts = {
jdk: {
local: "bundles/\\(jdk.*bin." + jdk_suffix + "\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-gcov." + jdk_suffix,
],
subdir: jdk_subdir,
exploded: "images/jdk",
},
test: {
local: "bundles/\\(jdk.*bin-tests.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-gcov-tests.tar.gz",
],
exploded: "images/test"
},
jdk_symbols: {
local: "bundles/\\(jdk.*bin-symbols.tar.gz\\)",
remote: [
"bundles/" + pf + "/jdk-" + data.version + "_" + pf + "_bin-gcov-symbols.tar.gz",
],
subdir: jdk_subdir,
exploded: "images/jdk"
},
};
});
// Profiles used to run tests.
var testOnlyProfiles = {
"run-test": {
@@ -763,26 +855,34 @@ var getJibProfilesProfiles = function (input, common, data) {
if (testedProfile == null) {
testedProfile = input.build_os + "-" + input.build_cpu;
}
var testedProfileJDK = testedProfile + ".jdk";
var testedProfileTest = ""
if (testedProfile.endsWith("-jcov")) {
testedProfileTest = testedProfile.substring(0, testedProfile.length - "-jcov".length) + ".test";
var testedProfileJdk = testedProfile + ".jdk";
// Make it possible to use the test image from a different profile
var testImageProfile;
if (input.testImageProfile != null) {
testImageProfile = input.testImageProfile;
} else if (testedProfile.endsWith("-jcov")) {
testImageProfile = testedProfile.substring(0, testedProfile.length - "-jcov".length);
} else {
testedProfileTest = testedProfile + ".test";
testImageProfile = testedProfile;
}
var testedProfileTest = testImageProfile + ".test"
var testOnlyMake = [ "run-test-prebuilt", "LOG_CMDLINES=true", "JTREG_VERBOSE=fail,error,time" ];
if (testedProfile.endsWith("-gcov")) {
testOnlyMake = concat(testOnlyMake, "GCOV_ENABLED=true")
}
var testOnlyProfilesPrebuilt = {
"run-test-prebuilt": {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [
"jtreg", "gnumake", "boot_jdk", "devkit", "jib", "jcov", testedProfileJDK,
"jtreg", "gnumake", "boot_jdk", "devkit", "jib", "jcov", testedProfileJdk,
testedProfileTest
],
src: "src.conf",
make_args: [ "run-test-prebuilt", "LOG_CMDLINES=true", "JTREG_VERBOSE=fail,error,time" ],
make_args: testOnlyMake,
environment: {
"BOOT_JDK": common.boot_jdk_home,
"JDK_IMAGE_DIR": input.get(testedProfileJDK, "home_path"),
"JDK_IMAGE_DIR": input.get(testedProfileJdk, "home_path"),
"TEST_IMAGE_DIR": input.get(testedProfileTest, "home_path")
},
labels: "test"
@@ -791,10 +891,10 @@ var getJibProfilesProfiles = function (input, common, data) {
// If actually running the run-test-prebuilt profile, verify that the input
// variable is valid and if so, add the appropriate target_* values from
// the tested profile.
// the tested profile. Use testImageProfile value as backup.
if (input.profile == "run-test-prebuilt") {
if (profiles[testedProfile] == null) {
error("testedProfile is not defined: " + testedProfile);
if (profiles[testedProfile] == null && profiles[testImageProfile] == null) {
error("testedProfile is not defined: " + testedProfile + " " + testImageProfile);
}
}
if (profiles[testedProfile] != null) {
@@ -802,6 +902,11 @@ var getJibProfilesProfiles = function (input, common, data) {
= profiles[testedProfile]["target_os"];
testOnlyProfilesPrebuilt["run-test-prebuilt"]["target_cpu"]
= profiles[testedProfile]["target_cpu"];
} else if (profiles[testImageProfile] != null) {
testOnlyProfilesPrebuilt["run-test-prebuilt"]["target_os"]
= profiles[testImageProfile]["target_os"];
testOnlyProfilesPrebuilt["run-test-prebuilt"]["target_cpu"]
= profiles[testImageProfile]["target_cpu"];
}
profiles = concatObjects(profiles, testOnlyProfilesPrebuilt);
@@ -864,19 +969,27 @@ var getJibProfilesProfiles = function (input, common, data) {
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
linux_x64: "gcc7.3.0-OEL6.4+1.2",
macosx_x64: "Xcode9.4-MacOSX10.13+1.0",
linux_x64: "gcc8.3.0-OL6.4+1.0",
macosx_x64: "Xcode10.1-MacOSX10.14+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u6-Solaris11u3+1.0",
windows_x64: "VS2017-15.5.5+1.0",
linux_aarch64: "gcc7.3.0-Fedora27+1.2",
linux_arm: "gcc7.3.0-Fedora27+1.2"
windows_x64: "VS2017-15.9.16+1.0",
linux_aarch64: "gcc8.2.0-Fedora27+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc8.2.0-Fedora27+1.0",
linux_s390x: "gcc8.2.0-Fedora27+1.0"
};
var devkit_platform = (input.target_cpu == "x86"
? input.target_os + "_x64"
: input.target_platform);
var devkit_cross_prefix = "";
if (input.build_platform != input.target_platform
&& input.build_platform != devkit_platform) {
devkit_cross_prefix = input.build_platform + "-to-";
}
var boot_jdk_platform = (input.build_os == "macosx" ? "osx" : input.build_os)
+ "-" + input.build_cpu;
var boot_jdk_ext = (input.build_os == "windows" ? ".zip" : ".tar.gz")
@@ -897,7 +1010,7 @@ var getJibProfilesDependencies = function (input, common) {
server: "jpg",
product: "jdk",
version: common.boot_jdk_version,
build_number: "28",
build_number: common.boot_jdk_build_number,
file: "bundles/" + boot_jdk_platform + "/jdk-" + common.boot_jdk_version + "_"
+ boot_jdk_platform + "_bin" + boot_jdk_ext,
configure_args: "--with-boot-jdk=" + common.boot_jdk_home,
@@ -907,7 +1020,7 @@ var getJibProfilesDependencies = function (input, common) {
devkit: {
organization: common.organization,
ext: "tar.gz",
module: "devkit-" + devkit_platform,
module: "devkit-" + devkit_cross_prefix + devkit_platform,
revision: devkit_platform_revisions[devkit_platform],
environment: {
"DEVKIT_HOME": input.get("devkit", "home_path"),
@@ -930,7 +1043,7 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "javare",
revision: "4.2",
build_number: "b13",
build_number: "b16",
checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME",
@@ -953,7 +1066,7 @@ var getJibProfilesDependencies = function (input, common) {
// build_number: "b07",
// file: "bundles/jcov-3_0.zip",
organization: common.organization,
revision: "3.0-57-support+1.0",
revision: "3.0-58-support+1.0",
ext: "zip",
environment_name: "JCOV_HOME",
},
@@ -1195,7 +1308,10 @@ var getVersion = function (feature, interim, update, patch) {
var version = (feature != null ? feature : version_numbers.get("DEFAULT_VERSION_FEATURE"))
+ "." + (interim != null ? interim : version_numbers.get("DEFAULT_VERSION_INTERIM"))
+ "." + (update != null ? update : version_numbers.get("DEFAULT_VERSION_UPDATE"))
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"));
+ "." + (patch != null ? patch : version_numbers.get("DEFAULT_VERSION_PATCH"))
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA1")
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA2")
+ "." + version_numbers.get("DEFAULT_VERSION_EXTRA3");
while (version.match(".*\\.0$")) {
version = version.substring(0, version.length - 2);
}
@@ -1210,10 +1326,16 @@ var versionArgs = function(input, common) {
var args = ["--with-version-build=" + common.build_number];
if (input.build_type == "promoted") {
args = concat(args,
// This needs to be changed when we start building release candidates
// with-version-pre must be set to ea for 'ea' and empty for fcs build
"--with-version-pre=ea",
"--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"),
"--without-version-opt");
} else if (input.build_type == "ci") {
var optString = input.build_id_data.ciBuildNumber;
var preString = input.build_id_data.projectName;
if (preString == "jdk") {
preString = version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE");
}
args = concat(args, "--with-version-pre=" + preString,
"--with-version-opt=" + optString);
} else {
args = concat(args, "--with-version-opt=" + common.build_id);
}
@@ -1249,3 +1371,8 @@ var isWsl = function (input) {
|| (input.build_os == "linux"
&& java.lang.System.getProperty("os.version").contains("Microsoft")));
}
var error = function (s) {
java.lang.System.err.println("[ERROR] " + s);
exit(1);
};

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -162,17 +162,17 @@ TARGETS += $(DEF_POLICY_DST)
################################################################################
ifeq ($(CACERTS_FILE), )
CACERTS_FILE := $(TOPDIR)/src/java.base/share/lib/security/cacerts
endif
# CACERTS_FILE is optionally set in configure to override the default cacerts
# which is otherwise generated in Gendata-java.base.gmk
CACERTS_DST := $(LIB_DST_DIR)/security/cacerts
$(CACERTS_DST): $(CACERTS_FILE)
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call install-file)
TARGETS += $(CACERTS_DST)
ifneq ($(CACERTS_FILE), )
TARGETS += $(CACERTS_DST)
endif
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@ ifneq ($(wildcard $(INCLUDE_SOURCE_DIR)/*), )
$(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE, \
SRC := $(INCLUDE_SOURCE_DIR), \
DEST := $(INCLUDE_TARGET_DIR), \
FILES := $(filter %.h, $(call CacheFind, $(INCLUDE_SOURCE_DIR))), \
FILES := $(filter %.h, $(call FindFiles, $(INCLUDE_SOURCE_DIR))), \
))
TARGETS += $(COPY_EXPORTED_INCLUDE)
@@ -56,7 +56,7 @@ ifneq ($(wildcard $(INCLUDE_SOURCE_OS_DIR)/*), )
$(eval $(call SetupCopyFiles, COPY_EXPORTED_INCLUDE_OS, \
SRC := $(INCLUDE_SOURCE_OS_DIR), \
DEST := $(INCLUDE_TARGET_DIR)/$(OPENJDK_TARGET_OS_INCLUDE_SUBDIR), \
FILES := $(filter %.h, $(call CacheFind, $(INCLUDE_SOURCE_OS_DIR))), \
FILES := $(filter %.h, $(call FindFiles, $(INCLUDE_SOURCE_OS_DIR))), \
))
TARGETS += $(COPY_EXPORTED_INCLUDE_OS)
@@ -66,6 +66,8 @@ endif
# Setup make rules for copying legal files. This is only needed if the files
# need to be filtered due to optional components being enabled/disabled.
# Otherwise CreateJmods.gmk will find the legal files in the original src dirs.
# If multiple license files with the same name are found, only the first one
# found will get copied.
#
# Parameter 1 is the name of the rule.
#
@@ -75,10 +77,12 @@ SetupCopyLegalFiles = $(NamedParamsMacroTemplate)
define SetupCopyLegalFilesBody
$$(foreach f, $$(filter-out $$(addprefix %/, $$($1_EXCLUDES)), \
$$(wildcard $$(addsuffix /*, $$(call FindModuleLegalSrcDirs, $$(MODULE))))), \
$$(eval $$(call SetupCopyFiles, $1_$$(notdir $$f), \
DEST := $$(LEGAL_DST_DIR), \
FILES := $$f, \
)) \
$$(eval $1 += $$($1_$$(notdir $$f))) \
$$(if $$(filter $$($1_$$(notdir $$f)), $$($1)), , \
$$(eval $$(call SetupCopyFiles, $1_$$(notdir $$f), \
DEST := $$(LEGAL_DST_DIR), \
FILES := $$f, \
)) \
$$(eval $1 += $$($1_$$(notdir $$f))) \
) \
)
endef

10
make/data/cacerts/README Normal file
View File

@@ -0,0 +1,10 @@
Each file in this directory (except for this README) contains a CA certificate in PEM format. It can be generated with
keytool -J-Duser.timezone=GMT -printcert -file ca.cert | sed -n '1,4p;8,10p'
keytool -printcert -file ca.cert -rfc
Please note the textual part before the "-----BEGIN CERTIFICATE-----" line is just a suggestion and not arbitrary.
After any change in this directory, please remember to update the content of `test/jdk/sun/security/lib/cacerts/VerifyCACerts.java` as well.
All changes to this directory need to be approved by the Security group.

View File

@@ -0,0 +1,40 @@
Owner: CN=Actalis Authentication Root CA, O=Actalis S.p.A./03358520967, L=Milan, C=IT
Issuer: CN=Actalis Authentication Root CA, O=Actalis S.p.A./03358520967, L=Milan, C=IT
Serial number: 570a119742c4e3cc
Valid from: Thu Sep 22 11:22:02 GMT 2011 until: Sun Sep 22 11:22:02 GMT 2030
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UE
BhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8w
MzM1ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290
IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDkyMjExMjIwMlowazELMAkGA1UEBhMC
SVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1
ODUyMDk2NzEnMCUGA1UEAwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENB
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAp8bEpSmkLO/lGMWwUKNv
UTufClrJwkg4CsIcoBh/kbWHuUA/3R1oHwiD1S0eiKD4j1aPbZkCkpAW1V8IbInX
4ay8IMKx4INRimlNAJZaby/ARH6jDuSRzVju3PvHHkVH3Se5CAGfpiEd9UEtL0z9
KK3giq0itFZljoZUj5NDKd45RnijMCO6zfB9E1fAXdKDa0hMxKufgFpbOr3JpyI/
gCczWw63igxdBzcIy2zSekciRDXFzMwujt0q7bd9Zg1fYVEiVRvjRuPjPdA1Yprb
rxTIW6HMiRvhMCb8oJsfgadHHwTrozmSBp+Z07/T6k9QnBn+locePGX2oxgkg4YQ
51Q+qDp2JE+BIcXjDwL4k5RHILv+1A7TaLndxHqEguNTVHnd25zS8gebLra8Pu2F
be8lEfKXGkJh90qX6IuxEAf6ZYGyojnP9zz/GPvG8VqLWeICrHuS0E4UT1lF9gxe
KF+w6D9Fz8+vm2/7hNN3WpVvrJSEnu68wEqPSpP4RCHiMUVhUE4Q2OM1fEwZtN4F
v6MGn8i1zeQf1xcGDXqVdFUNaBr8EBtiZJ1t4JWgw5QHVw0U5r0F+7if5t+L4sbn
fpb2U8WANFAoWPASUHEXMLrmeGO89LKtmyuy/uE5jF66CyCU3nuDuP/jVo23Eek7
jPKxwV2dpAtMK9myGPW1n0sCAwEAAaNjMGEwHQYDVR0OBBYEFFLYiDrIn3hm7Ynz
ezhwlMkCAjbQMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUUtiIOsifeGbt
ifN7OHCUyQICNtAwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBCwUAA4ICAQAL
e3KHwGCmSUyIWOYdiPcUZEim2FgKDk8TNd81HdTtBjHIgT5q1d07GjLukD0R0i70
jsNjLiNmsGe+b7bAEzlgqqI0JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDz
WochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKxK3JCaKygvU5a2hi/a5iB0P2avl4V
SM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+Xlff1ANATIGk0k9j
pwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC4yyX
X04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+Ok
fcvHlXHo2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7R
K4X9p2jIugErsWx0Hbhzlefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btU
ZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXemOR/qnuOf0GZvBeyqdn6/axag67XH/JJU
LysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9vwGYT7JZVEc+NHt4bVaT
LnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,31 @@
Owner: CN=AddTrust Class 1 CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Issuer: CN=AddTrust Class 1 CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Serial number: 1
Valid from: Tue May 30 10:38:31 GMT 2000 until: Sat May 30 10:38:31 GMT 2020
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIEGDCCAwCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwHhcNMDAwNTMw
MTAzODMxWhcNMjAwNTMwMTAzODMxWjBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChML
QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYD
VQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwzexODcEyPNwTXH+9ZOEQpnXvUGW2ul
CDtbKRY654eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7jJp0VLhD7Bo8wBN6n
tGO0/7Gcrjyvd7ZWxbWroulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxLZlyl
dI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1Zmne3yzxbrww2ywkEtvrNTVokMsAsJch
PXQhI2U0K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJuiGMx1I4S+6+JNM3GOGvDC
+Mcdoq0Dlyz4zyXG9rgkMbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdIwgc8wHQYDVR0O
BBYEFJWxtPCUtr3H2tERCSG+wa9J/RB7MAsGA1UdDwQEAwIBBjAPBgNVHRMBAf8E
BTADAQH/MIGPBgNVHSMEgYcwgYSAFJWxtPCUtr3H2tERCSG+wa9J/RB7oWmkZzBl
MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFk
ZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENB
IFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBACxtZBsfzQ3duQH6lmM0MkhHma6X
7f1yFqZzR1r0693p9db7RcwpiURdv0Y5PejuvE1Uhh4dbOMXJ0PhiVYrqW9yTkkz
43J8KiOavD7/KCrto/8cI7pDVwlnTUtiBi34/2ydYB7YHEt9tTEv2dB8Xfjea4MY
eDdXL+gzB2ffHsdrKpV2ro9Xo/D0UrSpUwjP4E/TelOL/bscVjby/rK25Xa71SJl
pz/+0WatC7xrmYbvP33zGDLKe8bjq2RGlfgmadlVg3sslgf/WSxEo8bl6ancoWOA
WiFeIc9TVPC6b4nbqKqVz4vjccweGyBECMB6tkD9xOQ14R0WHNC8K47Wcdk=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,32 @@
Owner: CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
Issuer: CN=AddTrust External CA Root, OU=AddTrust External TTP Network, O=AddTrust AB, C=SE
Serial number: 1
Valid from: Tue May 30 10:48:38 GMT 2000 until: Sat May 30 10:48:38 GMT 2020
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
mk6vBbOmcZSccbNQYArHE504B4YCqOmoaSYYkKtMsE8jqzpPhNjfzp/haW+710LX
a0Tkx63ubUFfclpxCDezeWWkWaCUN/cALw3CknLa0Dhy2xSoRcRdKn23tNbE7qzN
E0S3ySvdQwAl+mG5aWpYIxG3pzOPVnVZ9c0p10a3CitlttNCbxWyuHv77+ldU9U0
WicCAwEAAaOB3DCB2TAdBgNVHQ4EFgQUrb2YejS0Jvf6xCZU7wO94CTLVBowCwYD
VR0PBAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wgZkGA1UdIwSBkTCBjoAUrb2YejS0
Jvf6xCZU7wO94CTLVBqhc6RxMG8xCzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRU
cnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5ldHdvcmsx
IjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3SCAQEwDQYJKoZIhvcN
AQEFBQADggEBALCb4IUlwtYj4g+WBpKdQZic2YR5gdkeWxQHIzZlj7DYd7usQWxH
YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,32 @@
Owner: CN=AddTrust Qualified CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Issuer: CN=AddTrust Qualified CA Root, OU=AddTrust TTP Network, O=AddTrust AB, C=SE
Serial number: 1
Valid from: Tue May 30 10:44:50 GMT 2000 until: Sat May 30 10:44:50 GMT 2020
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3
b3JrMSMwIQYDVQQDExpBZGRUcnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1
MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcxCzAJBgNVBAYTAlNFMRQwEgYDVQQK
EwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5ldHdvcmsxIzAh
BgNVBAMTGkFkZFRydXN0IFF1YWxpZmllZCBDQSBSb290MIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEA5B6a/twJWoekn0e+EV+vhDTbYjx5eLfpMLXsDBwq
xBb/4Oxx64r1EW7tTw2R0hIYLUkVAcKkIhPHEWT/IhKauY5cLwjPcWqzZwFZ8V1G
87B4pfYOQnrjfxvM0PC3KP0q6p6zsLkEqv32x7SxuCqg+1jxGaBvcCV+PmlKfw8i
2O+tCBGaKZnhqkRFmhJePp1tUvznoD1oL/BLcHwTOK28FSXx1s6rosAx1i+f4P8U
WfyEk9mHfExUE+uf0S0R+Bg6Ot4l2ffTQO2kBhLEO+GRwVY18BTcZTYJbqukB8c1
0cIDMzZbdSZtQvESa0NvS3GU+jQd7RNuyoB/mC9suWXY6QIDAQABo4HUMIHRMB0G
A1UdDgQWBBQ5lYtii1zJ1IC6WA+XPxUIQ8yYpzALBgNVHQ8EBAMCAQYwDwYDVR0T
AQH/BAUwAwEB/zCBkQYDVR0jBIGJMIGGgBQ5lYtii1zJ1IC6WA+XPxUIQ8yYp6Fr
pGkwZzELMAkGA1UEBhMCU0UxFDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQL
ExRBZGRUcnVzdCBUVFAgTmV0d29yazEjMCEGA1UEAxMaQWRkVHJ1c3QgUXVhbGlm
aWVkIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBABmrder4i2VhlRO6aQTv
hsoToMeqT2QbPxj2qC0sVY8FtzDqQmodwCVRLae/DLPt7wh/bDxGGuoYQ992zPlm
hpwsaPXpF/gxsxjE1kh9I0xowX67ARRvxdlu3rsEQmr49lx95dr6h+sNNVJn0J6X
dgWTP5XHAeZpVTh/EGGZyeNfpso+gmNIquIISD6q8rKFYqa0p9m9N5xotS1WfbC3
P6CxB9bpT9zeRXEwMn8bLgn5v1Kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9Y
iQBCYz95OdBEsIJuQRno3eDBiFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5no
xqE=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=AffirmTrust Commercial, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Commercial, O=AffirmTrust, C=US
Serial number: 7777062726a9b17c
Valid from: Fri Jan 29 14:06:06 GMT 2010 until: Tue Dec 31 14:06:06 GMT 2030
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
dCBDb21tZXJjaWFsMB4XDTEwMDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDEL
MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
cm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6EqdbDuKP
Hx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yr
ba0F8PrVC8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPAL
MeIrJmqbTFeurCA+ukV6BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1
yHp52UKqK39c/s4mT6NmgTWvRLpUHhwwMmWd5jyTXlBOeuM61G7MGvv50jeuJCqr
VwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNVHQ4EFgQUnZPGU4teyq8/
nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
KoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYG
XUPGhi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNj
vbz4YYCanrHOQnDiqX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivt
Z8SOyUOyXGsViQK8YvxO8rUzqrJv0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9g
N53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0khsUlHRUe072o0EclNmsxZt9YC
nlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=AffirmTrust Networking, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Networking, O=AffirmTrust, C=US
Serial number: 7c4f04391cd4992d
Valid from: Fri Jan 29 14:08:24 GMT 2010 until: Tue Dec 31 14:08:24 GMT 2030
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVz
dCBOZXR3b3JraW5nMB4XDTEwMDEyOTE0MDgyNFoXDTMwMTIzMTE0MDgyNFowRDEL
MAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZp
cm1UcnVzdCBOZXR3b3JraW5nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAtITMMxcua5Rsa2FSoOujz3mUTOWUgJnLVWREZY9nZOIG41w3SfYvm4SEHi3y
YJ0wTsyEheIszx6e/jarM3c1RNg1lho9Nuh6DtjVR6FqaYvZ/Ls6rnla1fTWcbua
kCNrmreIdIcMHl+5ni36q1Mr3Lt2PpNMCAiMHqIjHNRqrSK6mQEubWXLviRmVSRL
QESxG9fhwoXA3hA/Pe24/PHxI1Pcv2WXb9n5QHGNfb2V1M6+oF4nI979ptAmDgAp
6zxG8D1gvz9Q0twmQVGeFDdCBKNwV6gbh+0t+nvujArjqWaJGctB+d1ENmHP4ndG
yH329JKBNv3bNPFyfvMMFr20FQIDAQABo0IwQDAdBgNVHQ4EFgQUBx/S55zawm6i
QLSwelAQUHTEyL0wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJ
KoZIhvcNAQEFBQADggEBAIlXshZ6qML91tmbmzTCnLQyFE2npN/svqe++EPbkTfO
tDIuUFUaNU52Q3Eg75N3ThVwLofDwR1t3Mu1J9QsVtFSUzpE0nPIxBsFZVpikpzu
QY0x2+c06lkh1QF612S4ZDnNye2v7UsDSKegmQGA3GWjNq5lWUhPgkvIZfFXHeVZ
Lgo/bNjR9eUJtGxUAArgFU2HdW23WJZa3W3SAKD0m0i+wzekujbgfIeFlxoVot4u
olu9rxj5kFDNcFn4J2dHy8egBzp90SxdbBk6ZrV9/ZFvgrG+CJPbFEfxojfHRZ48
x3evZKiT3/Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9s=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=AffirmTrust Premium, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Premium, O=AffirmTrust, C=US
Serial number: 6d8c1446b1a60aee
Valid from: Fri Jan 29 14:10:36 GMT 2010 until: Mon Dec 31 14:10:36 GMT 2040
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFRjCCAy6gAwIBAgIIbYwURrGmCu4wDQYJKoZIhvcNAQEMBQAwQTELMAkGA1UE
BhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1UcnVz
dCBQcmVtaXVtMB4XDTEwMDEyOTE0MTAzNloXDTQwMTIzMTE0MTAzNlowQTELMAkG
A1UEBhMCVVMxFDASBgNVBAoMC0FmZmlybVRydXN0MRwwGgYDVQQDDBNBZmZpcm1U
cnVzdCBQcmVtaXVtMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxBLf
qV/+Qd3d9Z+K4/as4Tx4mrzY8H96oDMq3I0gW64tb+eT2TZwamjPjlGjhVtnBKAQ
JG9dKILBl1fYSCkTtuG+kU3fhQxTGJoeJKJPj/CihQvL9Cl/0qRY7iZNyaqoe5rZ
+jjeRFcV5fiMyNlI4g0WJx0eyIOFJbe6qlVBzAMiSy2RjYvmia9mx+n/K+k8rNrS
s8PhaJyJ+HoAVt70VZVs+7pk3WKL3wt3MutizCaam7uqYoNMtAZ6MMgpv+0GTZe5
HMQxK9VfvFMSF5yZVylmd2EhMQcuJUmdGPLu8ytxjLW6OQdJd/zvLpKQBY0tL3d7
70O/Nbua2Plzpyzy0FfuKE4mX4+QaAkvuPjcBukumj5Rp9EixAqnOEhss/n/fauG
V+O61oV4d7pD6kh/9ti+I20ev9E2bFhc8e6kGVQa9QPSdubhjL08s9NIS+LI+H+S
qHZGnEJlPqQewQcDWkYtuJfzt9WyVSHvutxMAJf7FJUnM7/oQ0dG0giZFmA7mn7S
5u046uwBHjxIVkkJx0w3AJ6IDsBz4W9m6XJHMD4Q5QsDyZpCAGzFlH5hxIrff4Ia
C1nEWTJ3s7xgaVY5/bQGeyzWZDbZvUjthB9+pSKPKrhC9IK31FOQeE4tGv2Bb0TX
OwF0lkLgAOIua+rF7nKsu7/+6qqo+Nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYE
FJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/
BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByvMiPIs0laUZx2
KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg
Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B
8OWycvpEgjNC6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQ
MKSOyARiqcTtNd56l+0OOF6SL5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc
0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK+4w1IX2COPKpVJEZNZOUbWo6xbLQ
u4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmVBtWVyuEklut89pMF
u+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFgIxpH
YoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8
GKa1qF60g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaO
RtGdFNrHF+QFlozEJLUbzxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6e
KeC2uAloGRwYQw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US
Issuer: CN=AffirmTrust Premium ECC, O=AffirmTrust, C=US
Serial number: 7497258ac73f7a54
Valid from: Fri Jan 29 14:20:24 GMT 2010 until: Mon Dec 31 14:20:24 GMT 2040
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
Version: 3
-----BEGIN CERTIFICATE-----
MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMC
VVMxFDASBgNVBAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQ
cmVtaXVtIEVDQzAeFw0xMDAxMjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJ
BgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1UcnVzdDEgMB4GA1UEAwwXQWZmaXJt
VHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQNMF4bFZ0D
0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQN8O9
ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0G
A1UdDgQWBBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4G
A1UdDwEB/wQEAwIBBjAKBggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/Vs
aobgxCd05DhT1wV/GzTjxi+zygk8N53X57hG8f2h4nECMEJZh0PUUd+60wkyWs6I
flc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKMeQ==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,27 @@
Owner: CN=Amazon Root CA 1, O=Amazon, C=US
Issuer: CN=Amazon Root CA 1, O=Amazon, C=US
Serial number: 66c9fcf99bf8c0a39e2f0788a43e696365bca
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sun Jan 17 00:00:00 GMT 2038
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXj
ca9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM
9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw
IFAGbHrQgLKm+a/sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6
VOujw5H5SNz/0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L
93FcXmn/6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y/QCB/IIDEgEw+OyQm
jgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC
AYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3DQEBCwUA
A4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB/G/wkjUu0yKGX9rbxenDI
U5PMCCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt/msv0tadQ1wUs
N+gDS63pYaACbvXy8MWy7Vu33PqUXHeeE6V/Uq2V8viTO96LXFvKWlJbYK8U90vv
o/ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU
5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpy
rqXRfboQnoZsG4q5WTP468SQvvG5
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Amazon Root CA 2, O=Amazon, C=US
Issuer: CN=Amazon Root CA 2, O=Amazon, C=US
Serial number: 66c9fd29635869f0a0fe58678f85b26bb8a37
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA384withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFQTCCAymgAwIBAgITBmyf0pY1hp8KD+WGePhbJruKNzANBgkqhkiG9w0BAQwF
ADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6
b24gUm9vdCBDQSAyMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTEL
MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJv
b3QgQ0EgMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK2Wny2cSkxK
gXlRmeyKy2tgURO8TW0G/LAIjd0ZEGrHJgw12MBvIITplLGbhQPDW9tK6Mj4kHbZ
W0/jTOgGNk3Mmqw9DJArktQGGWCsN0R5hYGCrVo34A3MnaZMUnbqQ523BNFQ9lXg
1dKmSYXpN+nKfq5clU1Imj+uIFptiJXZNLhSGkOQsL9sBbm2eLfq0OQ6PBJTYv9K
8nu+NQWpEjTj82R0Yiw9AElaKP4yRLuH3WUnAnE72kr3H9rN9yFVkE8P7K6C4Z9r
2UXTu/Bfh+08LDmG2j/e7HJV63mjrdvdfLC6HM783k81ds8P+HgfajZRRidhW+me
z/CiVX18JYpvL7TFz4QuK/0NURBs+18bvBt+xa47mAExkv8LV/SasrlX6avvDXbR
8O70zoan4G7ptGmh32n2M8ZpLpcTnqWHsFcQgTfJU7O7f/aS0ZzQGPSSbtqDT6Zj
mUyl+17vIWR6IF9sZIUVyzfpYgwLKhbcAS4y2j5L9Z469hdAlO+ekQiG+r5jqFoz
7Mt0Q5X5bGlSNscpb/xVA1wf+5+9R+vnSUeVC06JIglJ4PVhHvG/LopyboBZ/1c6
+XUyo05f7O0oYtlNc/LMgRdg7c3r3NunysV+Ar3yVAhU/bQtCSwXVEqY0VThUWcI
0u1ufm8/0i2BWSlmy5A5lREedCf+3euvAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSwDPBMMPQFWAJI/TPlUq9LhONm
UjANBgkqhkiG9w0BAQwFAAOCAgEAqqiAjw54o+Ci1M3m9Zh6O+oAA7CXDpO8Wqj2
LIxyh6mx/H9z/WNxeKWHWc8w4Q0QshNabYL1auaAn6AFC2jkR2vHat+2/XcycuUY
+gn0oJMsXdKMdYV2ZZAMA3m3MSNjrXiDCYZohMr/+c8mmpJ5581LxedhpxfL86kS
k5Nrp+gvU5LEYFiwzAJRGFuFjWJZY7attN6a+yb3ACfAXVU3dJnJUH/jWS5E4ywl
7uxMMne0nxrpS10gxdr9HIcWxkPo1LsmmkVwXqkLN1PiRnsn/eBG8om3zEK2yygm
btmlyTrIQRNg91CMFa6ybRoVGld45pIq2WWQgj9sAq+uEjonljYE1x2igGOpm/Hl
urR8FLBOybEfdF849lHqm/osohHUqS0nGkWxr7JOcQ3AWEbWaQbLU8uz/mtBzUF+
fUwPfHJ5elnNXkoOrJupmHN5fLT0zLm4BwyydFy4x2+IoZCn9Kr5v2c69BoVYh63
n749sSmvZ6ES8lgQGVMDMBu4Gon2nL2XA46jCfMdiyHxtN/kHNGfZQIG6lzWE7OE
76KlXIx3KadowGuuQNKotOrN8I1LOJwZmhsoVLiJkO/KdYE+HvJkJMcYr07/R54H
9jVlpNMKVv/1F2Rs76giJUmTtt8AF9pYfl3uxRuw0dFfIRDH+fO6AgonB8Xx1sfT
4PsJYGw=
-----END CERTIFICATE-----

View File

@@ -0,0 +1,19 @@
Owner: CN=Amazon Root CA 3, O=Amazon, C=US
Issuer: CN=Amazon Root CA 3, O=Amazon, C=US
Serial number: 66c9fd5749736663f3b0b9ad9e89e7603f24a
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA256withECDSA
Subject Public Key Algorithm: 256-bit EC key
Version: 3
-----BEGIN CERTIFICATE-----
MIIBtjCCAVugAwIBAgITBmyf1XSXNmY/Owua2eiedgPySjAKBggqhkjOPQQDAjA5
MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g
Um9vdCBDQSAzMB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG
A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg
Q0EgMzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCmXp8ZBf8ANm+gBG1bG8lKl
ui2yEujSLtf6ycXYqm0fc4E7O5hrOXwzpcVOho6AF2hiRVd9RFgdszflZwjrZt6j
QjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgGGMB0GA1UdDgQWBBSr
ttvXBp43rDCGB5Fwx5zEGbF4wDAKBggqhkjOPQQDAgNJADBGAiEA4IWSoxe3jfkr
BqWTrBqYaGFy+uGh0PsceGCmQ5nFuMQCIQCcAu/xlJyzlvnrxir4tiz+OpAUFteM
YyRIHN8wfdVoOw==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,20 @@
Owner: CN=Amazon Root CA 4, O=Amazon, C=US
Issuer: CN=Amazon Root CA 4, O=Amazon, C=US
Serial number: 66c9fd7c1bb104c2943e5717b7b2cc81ac10e
Valid from: Tue May 26 00:00:00 GMT 2015 until: Sat May 26 00:00:00 GMT 2040
Signature algorithm name: SHA384withECDSA
Subject Public Key Algorithm: 384-bit EC key
Version: 3
-----BEGIN CERTIFICATE-----
MIIB8jCCAXigAwIBAgITBmyf18G7EEwpQ+Vxe3ssyBrBDjAKBggqhkjOPQQDAzA5
MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24g
Um9vdCBDQSA0MB4XDTE1MDUyNjAwMDAwMFoXDTQwMDUyNjAwMDAwMFowOTELMAkG
A1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3Qg
Q0EgNDB2MBAGByqGSM49AgEGBSuBBAAiA2IABNKrijdPo1MN/sGKe0uoe0ZLY7Bi
9i0b2whxIdIA6GO9mif78DluXeo9pcmBqqNbIJhFXRbb/egQbeOc4OO9X4Ri83Bk
M6DLJC9wuoihKqB1+IGuYgbEgds5bimwHvouXKNCMEAwDwYDVR0TAQH/BAUwAwEB
/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFNPsxzplbszh2naaVvuc84ZtV+WB
MAoGCCqGSM49BAMDA2gAMGUCMDqLIfG9fhGt0O9Yli/W651+kI0rz2ZVwyzjKKlw
CkcO8DdZEv8tmZQoTipPNU0zWgIxAOp1AE47xDqUEpHJWEadIRNyp4iciuRMStuW
1KyLa2tJElMzrdfkviT8tQp21KW8EA==
-----END CERTIFICATE-----

View File

@@ -0,0 +1,28 @@
Owner: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE
Issuer: CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE
Serial number: 20000b9
Valid from: Fri May 12 18:46:00 GMT 2000 until: Mon May 12 23:59:00 GMT 2025
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ
RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD
VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX
DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y
ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy
VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr
mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr
IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK
mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu
XmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9XbIGevOF6uvUA65ehD5f/xXtabz5OTZy
dc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjprl3RjM71oGDHweI12v/ye
jl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoIVDaGezq1
BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3
DQEBBQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT92
9hkTI7gQCvlYpNRhcL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3Wgx
jkzSswF07r51XgdIGn9w/xZchMB5hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0
Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsaY71k5h+3zvDyny67G7fyUIhz
ksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9HRCwBXbsdtTLS
R9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp
-----END CERTIFICATE-----

View File

@@ -0,0 +1,38 @@
Owner: CN=Buypass Class 2 Root CA, O=Buypass AS-983163327, C=NO
Issuer: CN=Buypass Class 2 Root CA, O=Buypass AS-983163327, C=NO
Serial number: 2
Valid from: Tue Oct 26 08:38:03 GMT 2010 until: Fri Oct 26 08:38:03 GMT 2040
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3
-----BEGIN CERTIFICATE-----
MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEd
MBsGA1UECgwUQnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3Mg
Q2xhc3MgMiBSb290IENBMB4XDTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1ow
TjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBhc3MgQVMtOTgzMTYzMzI3MSAw
HgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEB
BQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1g1Lr
6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPV
L4O2fuPn9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC91
1K2GScuVr1QGbNgGE41b/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHx
MlAQTn/0hpPshNOOvEu/XAFOBz3cFIqUCqTqc/sLUegTBxj6DvEr0VQVfTzh97QZ
QmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeffawrbD02TTqigzXsu8lkB
arcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgIzRFo1clr
Us3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLi
FRhnBkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRS
P/TizPJhk9H9Z2vXUq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN
9SG9dKpN6nIDSdvHXx1iY8f93ZHsM+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxP
AgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFMmAd+BikoL1Rpzz
uvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAU18h
9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s
A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3t
OluwlN5E40EIosHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo
+fsicdl9sz1Gv7SEr5AcD48Saq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7
KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYdDnkM/crqJIByw5c/8nerQyIKx+u2
DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWDLfJ6v9r9jv6ly0Us
H8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0oyLQ
I+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK7
5t98biGCwWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h
3PFaTWwyI0PurKju7koSCTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPz
Y11aWOIv4x3kqdbQCtCev9eBCfHJxyYNrJgWVqA=
-----END CERTIFICATE-----

Some files were not shown because too many files have changed in this diff Show More