Compare commits

..

3047 Commits

Author SHA1 Message Date
Artem Bochkarev
d7040fc9af fix logging for MTLRenderer (disable by default) 2019-04-22 16:33:57 +07:00
Artem Bochkarev
97428befdc don't shift backbuffer (by title height)
because CAMetalLayer nextDrawable returns surface for the client area
2019-04-22 16:33:57 +07:00
Artem Bochkarev
3c97fc0994 use blitEncoder as much as possible 2019-04-22 15:12:34 +07:00
Artem Bochkarev
ba5352cd1d textures: implement MTLTexturePool and MTLBlitSwToSurfaceViaTexture
it is necessary for blit operations "memory -> MTLTexture" with sampling (MTLTexture.replaceRegion or MTLBlitEncoders can't do sampling)
2019-04-22 15:12:33 +07:00
Artem Bochkarev
7c5303d165 initial support AlphaComposite
implemented most frequent SrcOver
2019-04-22 15:12:33 +07:00
Artem Bochkarev
737282af47 remove MTLContext.renderSemaphore 2019-04-22 15:12:32 +07:00
Artem Bochkarev
c645e6d516 create new command buffer when schedule blitTexture 2019-04-22 15:12:31 +07:00
Artem Bochkarev
5e62f37e30 fixed texture format for RTexture 2019-04-22 15:12:31 +07:00
Artem Bochkarev
a22b6c76e0 refactoring: remove MTLContext.mtlEmptyCommandBuffer 2019-04-22 15:12:30 +07:00
Artem Bochkarev
e3b69a412c fixed usage of MTLLayer.blitTexture
invoke it at the end of each RQ.flush (only for layers that were modified by some 'drawing' opcode)
2019-04-22 15:12:29 +07:00
Artem Bochkarev
cc5e746558 fix logging for MTLContext 2019-04-22 15:12:29 +07:00
Artem Bochkarev
d5b78ddeb8 refactoring: rename MTLSurfaceData.initFBObject into initRTexture 2019-04-22 15:12:28 +07:00
Artem Bochkarev
66cc7dbe8c refactoring: move MTLContext_SetColor code from MTLPaints into MTLContext 2019-04-22 15:12:27 +07:00
Artem Bochkarev
e68ed092ea textures: minor fixes for logging
add for MTLContext_SetColor
make single line and more compact for blit operations
2019-04-15 17:53:20 +07:00
Artem Bochkarev
b3aafa946a textures: fix layer height 2019-04-15 17:09:36 +07:00
Artem Bochkarev
89f9020408 textures: support clip rect and color 2019-04-15 15:43:20 +07:00
Artem Bochkarev
600c2302bd textures: fixed coords for MTLBlitSwToSurface 2019-04-15 15:43:19 +07:00
Artem Bochkarev
bf1b49569c refactoring: call metal api from RQ-thread 2019-04-15 15:37:29 +07:00
Artem Bochkarev
2c5aa85c84 textures: remove mtlFrameBuffer from MTLContext
pass buffer via java-peer MTLLayer.validate
2019-04-15 15:35:02 +07:00
Artem Bochkarev
d5bdb9ee89 refactoring: remove MTLSD_Flush, MTLRenderer_BeginFrame
because unnecessary and have unclear logic
2019-04-15 15:28:13 +07:00
Artem Bochkarev
3203bbb4aa textures: refactoring (remove MTLContext.mtlCurrentBuffer, code cleanup) 2019-04-10 14:53:00 +07:00
Artem Bochkarev
80c9f7c103 textures: support transformations 2019-04-03 22:18:38 +07:00
Alexey Ushakov
e5fe46f243 Updated build include dir 2019-03-21 19:26:50 +03:00
Alexey Ushakov
7c8923fdfb MetalPerf: Added LinearGradientPaint test 2019-03-19 22:29:53 +03:00
Alexey Ushakov
b9bc959ab1 MetalPerf: Added perf tests with rotated shapes 2019-03-19 19:14:10 +03:00
Artem Bochkarev
c25756ad98 textures: initial blit-operations support 2019-03-18 16:25:46 +03:00
Alexey Ushakov
d05b9a0f35 Refactoring:
Removed redundant MTLGraphicsConfigBase class
Removed redundant MTLSurfaceDataBase class
Removed redundant MTLLayer.blitTexture method
Removed redundant MTLSD_XX functions
Improved logging by passing native file and line number
Replaced FBOBJECT (from OGL) with RT_TEXTURE

Added native semaphore to access shared command queue
Corrected logging for "notimpl" primitives
2019-03-18 16:25:45 +03:00
Alexey Ushakov
5cb66def9d test execution option for "not implemented" logging 2019-03-18 16:25:44 +03:00
Alexey Ushakov
9eaaca1598 Logging for not implemented primitives 2019-03-18 16:25:43 +03:00
Alexey Ushakov
2dccfc2fc6 jdk cmake: remove deleted files 2019-03-18 16:25:42 +03:00
Alexey Ushakov
d4c16e4cc8 Metal refactoring
Copyright update
2019-03-18 16:25:41 +03:00
Alexey Ushakov
ac8cd67dd9 MetalPerfTest: Added wired box, oval, line perf and some more tests 2019-03-18 16:25:40 +03:00
Artem Bochkarev
28f2429359 MTLRenderer: initial implementation of line primitives drawing 2019-03-18 16:25:39 +03:00
Alexey Ushakov
f578a41e61 Removed unnecessary MTLCtxInfo 2019-03-18 16:25:39 +03:00
Alexey Ushakov
ee55ef1524 Added cmake projects for hotspot and jdk 2019-03-18 16:25:38 +03:00
Alexey Ushakov
9055bb22c5 Improved rendering performance including flat shape rendering 2019-03-18 16:25:05 +03:00
Alexey Ushakov
e306de9239 Improved performance on MetalPerfTest
- fixed flushNow logic to get updates instantly
  - replaced temporary MTLBuffer creation for parallelogram with
    direct bytes sending
2019-03-18 16:22:53 +03:00
Alexey Ushakov
4d5b05c180 JRE-745 Improve java2d rendering performance on macOS by using Metal framework
Metal initial commit
2019-03-18 16:22:40 +03:00
Alexey Ushakov
142faacf67 JRE-646 Provide performance logging of graphics primitives
Enhanced logging (example: -Dsun.java2d.trace=log,ptime,td=3000000,verbose)
 Filter primitives by name and detect LCD/Grayscale text rendering (JRE-679)
 Example: -Dsun.java2d.trace=log,ptime,name:OGLDrawGlyphsGray,verbose

 (cherry picked from commit 4fac53062d)
2019-03-18 16:09:44 +03:00
Alexey Ushakov
93d1ca5a56 Added gradle project 2019-03-18 16:09:12 +03:00
chegar
1c02dd1160 8220719: Allow other named NetPermissions to be used
Reviewed-by: mullan, alanb
2019-03-17 08:26:38 +00:00
igerasim
319fbd315f 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
igerasim
3a98bbf76a 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
alanb
150929a3bf 8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
Reviewed-by: chegar
Contributed-by: alan.bateman@oracle.com, michael.x.mcmahon@oracle.com
2019-03-16 19:44:12 +00:00
alanb
54fcfc8690 8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
ysuenaga
5521e1380b 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
jwilhelm
ec2cb03f31 8220745: Fix problemlist entry to refer to 8220613
Reviewed-by: dcubed
2019-03-16 02:08:10 +01:00
bpb
054531c02f 8219876: (bf) Improve IndexOutOfBoundsException messages in $Type$Buffer classes
Reviewed-by: alanb, rriggs
2019-03-15 16:24:07 -07:00
coleenp
30c7d3f52e 8220512: Deoptimize redefinition functions that have dirty ICs
Summary: Walk ICs to determine whether nmethods are dependent on redefined classes.
Reviewed-by: sspitsyn, eosterlund
2019-03-15 16:00:18 -04:00
jwilhelm
1f88e3f6b5 8220704: ZGC: gc tests complain Java heap too small
Reviewed-by: iignatyev, tschatzl
2019-03-15 18:59:21 +01:00
erikj
20a4b0920b 8220093: Change to GCC 8.2 for building on Linux at Oracle
Reviewed-by: tbell
2019-03-15 09:13:31 -07:00
chegar
de90a5e731 8213912: Semantic typo in HttpExchange.java
Reviewed-by: dfuchs
2019-03-15 14:54:27 +00:00
chegar
51260c79a2 8179549: Typo in network properties documentation
Reviewed-by: clanger, coffeys
2019-03-15 14:50:57 +00:00
shade
f2aa2d6662 8220712: [TESTBUG] gc/shenandoah/compiler/TestMaybeNullUnsafeAccess should run with Shenandoah enabled
Reviewed-by: rkennke, roland
2019-03-15 13:01:30 +01:00
gadams
712287a1b7 8220678: unquarantine nsk/jdi/ThreadReference/setEnabled/setenabled003
Reviewed-by: cjplummer, sspitsyn
2019-03-15 06:16:39 -04:00
thartmann
0f6a69acd6 8220611: compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java timeout
Summary: Test should not be executed with Graal as JIT.
Reviewed-by: kvn
2019-03-15 08:27:13 +01:00
iignatyev
6d8dc3d048 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
dtitov
7c63c5b34f 8218812: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/TestDescription.java failed
Reviewed-by: dlong, sspitsyn, jcbeyler
2019-03-14 16:28:31 -07:00
iignatyev
e11a4f22ba 8220689: problem list RandomCommandsTest in graal runs
Reviewed-by: kvn
2019-03-14 16:17:42 -07:00
jjg
d253a629dc 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-14 15:30:16 -07:00
ngasson
5e115f7112 8219628: [TESTBUG] javadoc/doclet/InheritDocForUserTags fails with -othervm
Reviewed-by: jjg, clanger
2019-03-14 14:25:09 -07:00
jjg
257d91e6a5 8219691: method summary table head should be enclosed in <thead>
Reviewed-by: jjg
Contributed-by: dthomson@google.com
2019-03-14 13:33:10 -07:00
jjg
6d7f22aec3 Merge 2019-03-14 11:39:58 -07:00
jjg
36502c3c2e 8220379: Fix doclint handling of headings
Reviewed-by: erikj, jlahoda
2019-03-14 11:39:00 -07:00
mseledtsov
26c566749b 8220676: [TESTBUG] ProblemList TestCPUSets until the test issue is resolved
Summary: Added the test to problem list
Reviewed-by: lfoltan
2019-03-14 11:26:53 -07:00
redestad
d699fe0566 8220366: Optimize Symbol handling in ClassVerifier and SignatureStream
Reviewed-by: hseigel, coleenp, lfoltan
2019-03-14 18:56:25 +01:00
cushon
440665bb5e 8220644: Align required/found pairs in diagnostics
Reviewed-by: mcimadamore, jjg
2019-03-13 22:05:09 -07:00
itakiguchi
5c17338615 8220281: IBM-858 alias name is missing on IBM00858 charset
Summary: Add aliases into IBM charsets
Reviewed-by: naoto
2019-03-15 00:49:13 +09:00
cushon
5ce45dddaa 8220378: Unused Names constants
Reviewed-by: jjg, mcimadamore
Contributed-by: Ron Shapiro <ronshapiro@google.com>
2019-03-08 09:58:56 -08:00
bpb
1d4dde8553 8220614: (bf) Buffer absolute slice methods should use Objects.checkFromIndexSize()
Reviewed-by: alanb, igerasim, rriggs
2019-03-14 09:43:18 -07:00
jcbeyler
3c1e47874d 8220628: Move the HeapMonitor library to C++
Summary: Migrate libHeapMonitorTest.c to libHeapMonitorTest.cpp
Reviewed-by: cjplummer, sspitsyn
2019-03-14 09:35:45 -07:00
gadams
dc4ce6775b 8218166: com/sun/jdi/SimulResumerTest.java failure
Reviewed-by: dlong, jcbeyler
2019-03-14 10:58:53 -04:00
lancea
a7444160a2 8220252: Fix Headings in java.naming
Reviewed-by: dfuchs
2019-03-14 10:50:35 -04:00
redestad
6ef2ed6905 8220502: Inefficient pre-sizing of PhiResolverState arrays in c1_LIRGenerator
Reviewed-by: thartmann, kvn
2019-03-14 15:31:13 +01:00
hseigel
3212a71e76 8219579: Remove redundant signature parsing from the verifier
Summary: 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
sgehwolf
4e1945feed 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
stefank
88116020a2 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
stefank
c2a9a89113 8220342: Remove scavenge_root_nmethods_do from VM_HeapWalkOperation::collect_simple_roots
Reviewed-by: sspitsyn, ehelin
2019-03-14 09:14:20 +01:00
stefank
fe6959525a 8220411: Remove ScavengeRootsInCode=0 code
Reviewed-by: thartmann, coleenp
2019-03-14 09:08:17 +01:00
roland
ef83fc8a8d 8220374: C2: LoopStripMining doesn't strip as expected
Reviewed-by: rkennke, thartmann, mdoerr
2019-03-12 15:42:32 +01:00
mdoerr
c55a460c70 8220660: [s390]: debug build broken after JDK-8220301
Reviewed-by: shade
2019-03-14 12:30:57 +01:00
pzhang
6389168306 8220566: AArch64: Set default vm features for Ampere eMAG CPUs
Summary: Set defaults for vendor specific features
Reviewed-by: adinn
2019-03-12 11:49:52 +08:00
chegar
1142dab6e0 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
cushon
e45e4228fd 8193277: SimpleFileObject inconsistency between getName and getShortName
Reviewed-by: jjg
2019-03-05 12:01:04 -08:00
cushon
78f65e4e48 8220634: SymLinkArchiveTest should handle not being able to create symlinks
Reviewed-by: jjg
2019-03-13 17:26:21 -07:00
jwilhelm
6faa4809f3 Added tag jdk-13+12 for changeset 1d7aec80147a 2019-03-14 04:10:10 +01:00
cjplummer
45e1dcf3b6 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle
Summary: Don't delete globalrefs that might still be referenced
Reviewed-by: gadams, jcbeyler, sspitsyn
2019-03-13 19:42:23 -07:00
tschatzl
957c31c075 8220345: Use appropriate type for G1RemSetScanState::IsDirtyRegionState
Reviewed-by: kbarrett, lkorinth
2019-03-13 21:01:56 +01:00
tschatzl
c3cd8799dd 8220301: Remove jbyte use in CardTable
Summary: Use CardTable::CardValue aliased to uint8_t instead.
Reviewed-by: kbarrett, shade
2019-03-13 21:01:56 +01:00
epavlova
c3567e1afe 8219882: [AOT] Develop regression test for 8218859
Reviewed-by: kvn
2019-03-13 12:30:20 -07:00
dfuchs
0ea56cfb59 8219197: ThreadGroup.enumerate() may return wrong value
Summary: 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
bpb
ea4035e187 8219597: (bf) Heap buffer state changes could provoke unexpected exceptions
Reviewed-by: alanb, rriggs
2019-03-13 11:12:22 -07:00
lancea
406fd4d699 8220253: Fix Headings in java.sql.rowset
Reviewed-by: darcy
2019-03-13 14:10:18 -04:00
jiangli
120d39febd Merge 2019-03-13 10:37:30 -07:00
zgu
63e2cb696e 8220546: Shenandoah Reports timing details for weak root processing
Reviewed-by: rkennke
2019-03-13 13:33:50 -04:00
redestad
914d550f3c 8220496: Race in java_lang_String::length() when deduplicating
Reviewed-by: rkennke, pliden
2019-03-13 17:32:17 +01:00
aeubanks
891c242877 8220585: Incorrect code in MulticastSocket sample code
Summary: 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
Contributed-by: aeubanks@google.com
2019-03-13 09:12:38 -07:00
neliasso
8209eb98e2 8219517: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Reviewed-by: kvn, thartmann
2019-03-13 15:22:28 +01:00
bpb
4488238526 6504660: HPI panic callback is dead code
Reviewed-by: dcubed, cjplummer, redestad
2019-03-13 07:16:57 -07:00
xuelei
78c4b30641 8160247: Mark deprecated javax.security.cert APIs with forRemoval=true
Reviewed-by: weijun
2019-03-13 07:14:50 -07:00
chegar
eb5f6a89ca 8220475: Malformed copyright header in LinuxSocketOptions.java, MacOSXSocketOptions.java and MacOSXSocketOptions.c
Reviewed-by: alanb, dfuchs
2019-03-13 12:25:42 +00:00
tnakamura
7f6bc6eea8 8220227: Host Locale Provider getDisplayCountry returns error message under non-English Win10
Summary: Adjusting to detect translated Unknown messages
Reviewed-by: naoto
2019-03-13 13:05:37 +09:00
chegar
f1bdb6b07f 8220480: Typo in java.net.http.HttpResponse.BodySubscriber documentation
Reviewed-by: alanb
2019-03-13 12:02:04 +00:00
pliden
be6f2a7e31 8219634: ZGC: Rename ZAddressRangeMap to ZGranuleMap
Reviewed-by: eosterlund, stefank
2019-03-13 11:31:00 +01:00
pliden
1003e14544 8219633: ZGC: Rename ZPageSizeMin to ZGranuleSize
Reviewed-by: eosterlund, stefank
2019-03-13 11:31:00 +01:00
pliden
262e7658ae 8219817: Remove unused CollectedHeap::block_size()
Reviewed-by: shade, stefank
2019-03-13 11:31:00 +01:00
pliden
4802496e8b 8219816: Add IsArray/RemoveExtent type traits utilities
Reviewed-by: kbarrett, eosterlund
2019-03-13 11:31:00 +01:00
clanger
6fef07b1d7 8220504: Move definition of JAVA_VERSION_INFO_RESOURCE to Launcher-java.base.gmk
Reviewed-by: erikj
2019-03-13 11:08:00 +01:00
aoqi
816a368394 8170639: [Linux] jsig is limited to a maximum of 64 signals
Reviewed-by: dholmes, iklam
2019-03-13 00:48:52 -04:00
valeriep
89c0c73b93 8220258: fix headings in java.smartcardio
Summary: Replace h3 with h2
Reviewed-by: ascarpino
2019-03-13 02:48:09 +00:00
weijun
0cca51e621 8220256: fix headings in java.security.sasl
Reviewed-by: mullan
2019-03-13 09:05:43 +08:00
dtitov
366dee8f5e 8220244: vmTestbase/nsk/jvmti/scenarios/sampling/SP06/sp06t003 hasn't been un-problemlisted
Reviewed-by: dlong
2019-03-12 17:55:17 -07:00
aeubanks
5571e959f4 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Summary: 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
Contributed-by: aeubanks@google.com
2019-02-27 13:34:40 -08:00
manc
ca725132ac 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
Summary: 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
jwilhelm
efe0d8d6d0 8218074: Update Graal
Reviewed-by: kvn
2019-03-12 19:17:42 +01:00
erikj
9a56feb795 8220529: JDK-8220383 broke test image build
Reviewed-by: tbell
2019-03-12 12:12:01 -07:00
lancea
ca8e917838 8220005: java/util/Arrays/TimSortStackSize2.java times out
Reviewed-by: bchristi
2019-03-12 14:56:25 -04:00
rriggs
1623476d4e 8220237: ProcessBuilder API documentation typo
Reviewed-by: dfuchs
2019-03-12 12:48:03 -04:00
gadams
c4fdb19901 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
gadams
84a1d4524b 8220257: fix headings in java.instrument
Reviewed-by: dfuchs
2019-03-12 11:51:54 -04:00
kbarrett
28bc00c2b3 8217576: C1 atomic access handlers use incorrect decorators
Summary: Fix decorator defaulting.
Reviewed-by: tschatzl, eosterlund
2019-03-12 11:13:39 -04:00
redestad
afa76f63cb 8220515: Revert removal of for_each_lock_value removal
Reviewed-by: thartmann
2019-03-12 16:18:31 +01:00
erikj
ce539aad39 8220383: Incremental build is broken and inefficient
Reviewed-by: tbell
2019-03-12 08:04:33 -07:00
dfuchs
d276f9cff4 8220262: fix headings in java.logging
Reviewed-by: lancea
2019-03-12 14:35:26 +00:00
redestad
38b0735118 8220501: Improve c1_ValueStack locks handling
Reviewed-by: thartmann, neliasso
2019-03-12 15:29:59 +01:00
zgu
a5c8549fb4 8220344: Build failures when using --with-jvm-features=-g1gc,-jfr
Reviewed-by: tschatzl, zgu
Contributed-by: Ao Qi <aoqi@loongson.cn>
2019-03-12 09:59:58 -04:00
rschmelter
a50cf84338 8220363: hotspot-ide project fails
Reviewed-by: clanger, erikj
2019-03-11 05:09:14 -07:00
sgehwolf
83882c013c 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue
Summary: Specify explicit type in the constructor
Reviewed-by: shade, pliden
2019-03-07 17:34:21 +01:00
gadams
c4dda30bd5 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
mdoerr
d3acd35dde 8220441: [PPC64] Clobber memory effect missing for memory barriers in atomics
Reviewed-by: simonis, goetz
2019-03-12 11:53:43 +01:00
chegar
a23e70cfd6 8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation
Reviewed-by: dfuchs
2019-03-12 09:22:40 +00:00
thartmann
34c016a50a 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack
Summary: Skip unloaded methods in compile queue during marking.
Reviewed-by: kvn, neliasso, eosterlund, coleenp
2019-03-12 10:09:50 +01:00
pli
d31e158bb7 8214922: Add vectorization support for fmin/fmax
Reviewed-by: adinn, roland
2019-03-07 02:39:06 +00:00
dholmes
aed5b069ea 8219721: jcmd from earlier release will hang attaching to VM with JDK-8215622 applied
Summary: fix compatibility issue caused by jmap update of 8215622
Reviewed-by: dholmes, ysuenaga, phh, sspitsyn
Contributed-by: zanglin5@jd.com
2019-03-11 21:26:19 -04:00
bsrbnd
9a2d2a92c6 8220407: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout
Reviewed-by: kvn
2019-03-12 02:13:02 +01:00
valeriep
8aa611bfad Merge 2019-03-11 23:51:25 +00:00
valeriep
33d22c8749 8213008: Cipher with UNWRAP_MODE should support the generation of an AES key type
Summary: Replaced CKK_GENERIC_SECRET with alorithm-specific key type in P11RSACipher unwrap impl
Reviewed-by: ascarpino
2019-03-11 23:48:32 +00:00
joehw
cb37c9e81e 8219705: Wrong media-type for a given serialization method
Reviewed-by: lancea
2019-03-11 15:51:39 -07:00
jjg
2b25cb9f6c 8220202: Simplify/standardize method naming for HtmlTree
Reviewed-by: hannesw
2019-03-11 12:59:45 -07:00
darcy
56b47e4974 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
zgu
bb5d91913c 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
lancea
cdf8e058f4 8220331: Remove extra spaces in copyright header
Reviewed-by: naoto
2019-03-11 13:37:56 -04:00
redestad
9f9124b4b8 8220420: Cleanup c1_LinearScan
Reviewed-by: thartmann, neliasso
2019-03-11 17:33:55 +01:00
clanger
48a5163c2c 8220409: jdk/modules/scenarios/overlappingpackages/OverlappingPackagesTest.java - testOverlapWithBaseModule tests the wrong thing
Reviewed-by: alanb
2019-03-11 15:34:16 +01:00
rgoel
9f3a92ba5a 8220414: Correct copyright headers in Norm2AllModes.java and Normalizer2.java
Summary: Updated copyright headers
Reviewed-by: alanb
2019-03-11 17:34:23 +05:30
shade
f1b549d5ba 8074817: Resolve disabled warnings for libverify
Reviewed-by: erikj, alanb
2019-03-11 12:39:51 +01:00
thartmann
972faff7a0 8218201: Failures when vmIntrinsics::_getClass is not inlined
Summary: Fix BCEscapeAnalyzer to correctly handle _getClass intrinsic.
Reviewed-by: kvn, dlong, redestad, neliasso
2019-03-11 11:42:57 +01:00
pmuthuswamy
2ed9ba1888 8220087: Remove remnants of HTML4 support
Reviewed-by: jjg
2019-03-11 14:57:16 +05:30
nishjain
fb8370b982 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
pmuthuswamy
791f8fb36d 8219632: Remove reference to com.sun.javadoc API in RemoveOldDoclet test
Reviewed-by: jjg
2019-03-11 14:17:08 +05:30
kbarrett
43bd0c6d94 8217417: Decorator name typo: C2_TIGHLY_COUPLED_ALLOC
Summary: Fixed typo in decorator name, variables, and comments.
Reviewed-by: tschatzl
2019-03-11 02:05:07 -04:00
shade
bfb8f53355 8220162: Shenandoah should not commit HugeTLBFS memory
Reviewed-by: rkennke, zgu
2019-03-11 00:06:48 +01:00
shade
01c506fa2b 8220153: Shenandoah does not work with TransparentHugePages properly
Reviewed-by: rkennke, zgu
2019-03-11 00:06:47 +01:00
shade
4b662e0c17 8220350: Refactor ShenandoahHeap::initialize
Reviewed-by: rkennke, zgu
2019-03-11 00:06:46 +01:00
dholmes
090ce52f63 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
ecaspole
c6b14b0d4a 8220368: Update String.indexOf to test all the C2 intrinsics
Summary: Add new micros for Latin1 and UTF-16
Reviewed-by: kvn, redestad
2019-03-08 17:45:40 -05:00
redestad
6b1639fd9c 8219860: Cleanup ClassFileParser::parse_linenumber_table
Reviewed-by: rehn, lfoltan, hseigel
2019-03-08 23:02:06 +01:00
bobv
957c7a8e92 8220334: Fix copyright header text
Reviewed-by: lancea
2019-03-08 16:21:16 -05:00
bobv
318a764160 8220323: Fix copyright header text
Reviewed-by: lancea
2019-03-08 16:20:05 -05:00
cushon
6a69616740 8220377: Unused field SourceFileObject.flatname
Reviewed-by: jjg
Contributed-by: Ron Shapiro <ronshapiro@google.com>
2019-03-08 09:41:03 -08:00
mseledtsov
07bbedf0f6 Merge 2019-03-08 11:09:39 -08:00
mseledtsov
0df155995f 8220313: [TESTBUG] Update base image for Docker testing to OL 7.6
Summary: Updated the OL version in Dockerfile in FROM field
Reviewed-by: dcubed
2019-03-08 11:08:11 -08:00
neliasso
d6dd18ebe3 8219642: ciReplay loads wrong data when MethodData size changes
Reviewed-by: kvn, thartmann
2019-03-08 15:27:47 +01:00
sgehwolf
441717a81d 8220353: [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
Reviewed-by: thartmann, shade
2019-03-08 13:56:05 +01:00
hseigel
550d799242 8220085: runtime/CompressedOops/UseCompressedOops.java times out on Windows intermittently
Summary: 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
rehn
bd69716529 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
shade
88ec42f552 8220290: gc/arguments/TestSurvivorRatioFlag.java fails after JDK-8215221 with CMS
Reviewed-by: kbarrett, tschatzl
2019-03-08 12:01:43 +01:00
mdoerr
1b52d9f9cb 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
mseledtsov
4df647dd47 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Summary: Start docker with limits on CPU/Mem, verify JFR reports correct data
Reviewed-by: egahlin
2019-03-07 13:20:04 -08:00
neliasso
e78443afbd 8219448: split-if update_uses accesses stale idom data
Reviewed-by: thartmann, kvn
2019-03-07 22:16:03 +01:00
naoto
e6f1e874c2 8218948: SimpleDateFormat :: format - Zone Names are not reflected correctly during run time
Reviewed-by: lancea, rgoel
2019-03-07 12:56:48 -08:00
mseledtsov
3c16752dd0 8213448: [TESTBUG] enhance jfr/jvm/TestDumpOnCrash
Summary: added 2 more crash scenarios, removed dumponexit, and more
Reviewed-by: egahlin
2019-03-07 12:15:48 -08:00
mullan
3e310c62fb 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
henryjen
7ba73b2ac8 8217216: Launcher does not defend itself against LD_LIBRARY_PATH_64 (Solaris)
Reviewed-by: rriggs
2019-03-07 10:18:23 -08:00
sgehwolf
ad7dae80f1 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
ascarpino
b8c71d006e 8220165: Encryption using GCM results in RuntimeException- input length out of bound
Reviewed-by: valeriep
2019-03-07 19:35:02 -08:00
bsrbnd
04b9cc1a9f 8217561: X86: Add floating-point Math.min/max intrinsics
Summary: Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions
Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
Contributed-by: Jatin Bhateja <jatin.bhateja@intel.com>
2019-03-07 15:27:42 +01:00
redestad
17b6e82912 8220159: Optimize various RegMask operations by introducing watermarks
Reviewed-by: neliasso, thartmann
2019-03-05 16:39:18 +01:00
gadams
6fd03b337a 8201252: unquarantine nsk/jdi/ThreadReference/resume/resume001
Reviewed-by: cjplummer
2019-03-07 07:19:49 -05:00
shade
e13c320990 8215221: Serial GC misreports young GC time
Reviewed-by: kbarrett, manc
2019-03-07 10:50:52 +01:00
rehn
bbe93291ea 8220050: Deprecate -XX:-ThreadLocalHandshakes
Reviewed-by: dcubed, mdoerr
2019-03-07 10:32:55 +01:00
shade
6b26d324ac 8220228: Improve Shenandoah pacing histogram message
Reviewed-by: rkennke
2019-03-07 10:22:19 +01:00
goetz
cdd86065fe 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-03-06 16:01:01 +01:00
thartmann
bf4522e530 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Summary: 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
jwilhelm
89407e9a0a Added tag jdk-13+11 for changeset 21ea4076a275 2019-03-07 00:23:45 +01:00
redestad
4ef230f643 8219713: Reduce work in DefaultMethods::generate_default_methods
Reviewed-by: hseigel, dholmes, lfoltan, acorn
2019-03-06 21:58:54 +01:00
dtitov
8baecc25f4 8218464: vmTestbase/nsk/jdi/VirtualMachine/allThreads/allthreads001/TestDescription.java failed
Reviewed-by: sspitsyn, gadams
2019-03-06 09:30:05 -08:00
stuefe
9f7ce60653 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
lucy
9b52a9b1a7 8219214: Infinite Loop in CodeSection::dump()
Reviewed-by: kvn, thartmann
2019-03-06 12:14:47 +01:00
rehn
b4e80cce19 8220151: SafepointTracing::end_of_last_safepoint_ms should return ms since epoch.
Reviewed-by: dholmes, redestad
2019-03-06 11:15:16 +01:00
jiefu
471723ca53 8219519: Remove linux_sparc.ad and linux_aarch64.ad
Reviewed-by: thartmann, pli, adinn
2019-02-28 09:43:23 +08:00
vdeshpande
5006cbc2d9 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
kbarrett
71feaa8717 8219613: Use NonJavaThread PtrQueues
Summary: Init and use NJT queues, remove shared SATB queue.
Reviewed-by: shade, zgu, pliden, tschatzl
Contributed-by: kim.barrett@oracle.com, shade@redhat.com
2019-03-05 19:54:33 -05:00
vdeshpande
dfe0d206f9 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
dtitov
0d7acdb275 8218167: nsk/jvmti/scenarios/sampling/SP02/sp02t003 fails
Reviewed-by: dlong, cjplummer
2019-03-05 13:41:35 -08:00
cjplummer
96dd3c4752 8220030: JdbStopThreadidTest.java failed due to "Unexpected IO error while writing command 'quit' to jdb stdin stream"
Summary: Use contToExit(1) for safer approach to test exit.
Reviewed-by: gadams, amenkov
2019-03-05 13:40:05 -08:00
jjg
0952eaf23a 8219946: Set class on body elements
Reviewed-by: hannesw
2019-03-05 10:35:29 -08:00
simonis
127795c5bc 8220164: Fix build instructions for AIX
Reviewed-by: mdoerr, erikj, mbaesken
2019-03-05 18:53:54 +01:00
zgu
935a979876 8220161: Shenandoah does not need to initialize PLABs for safepoint workers
Reviewed-by: shade
2019-03-05 12:30:47 -05:00
mbaesken
958b47297c 8219920: dependency help output in configure-step : support zypper tool
Reviewed-by: erikj, ihse
2019-03-05 09:55:00 +01:00
mullan
a6e8f6a871 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
Summary: Backout and restore previous XML signature marshalling implementation
Reviewed-by: weijun
2019-03-05 08:24:58 -05:00
ihse
cf22355c8d 8220155: JDK-8219971 broke hotspot build
Reviewed-by: dholmes
2019-03-05 13:41:36 +01:00
aoqi
614f5ba103 8219906: Update test documentation with default test jobs settings
Reviewed-by: ihse
2019-03-05 11:09:52 +01:00
ihse
8222a43dec 8219971: Introduce SetupExecute in build system
Reviewed-by: erikj
2019-03-05 11:07:19 +01:00
dholmes
cfdd2dba59 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
erikj
e2a8ac8808 8219986: Change to Xcode 10.1 for building on Macosx at Oracle
Reviewed-by: tbell
2019-03-04 11:28:52 -08:00
erikj
212f25bcda 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
jjg
cecf0a503b 8219801: Pages do not have <h1>
Reviewed-by: hannesw
2019-03-04 11:19:34 -08:00
kevinw
46db996fb9 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
Contributed-by: fairoz.matte@oracle.com
2019-03-01 04:34:28 -08:00
fyang
82e1f6907a 8219888: aarch64: add CPU detection code for HiSilicon TSV110
Reviewed-by: aph, drwhite, pzhang
Contributed-by: dongbo4@huawei.com
2019-03-01 14:38:59 +08:00
gadams
9e83be900b 4903717: nsk/jdi/ThreadReference/isSuspended/issuspended002 failing
Reviewed-by: amenkov, sspitsyn
2019-03-04 08:45:05 -05:00
tschatzl
6269bf0f65 8219856: Spell out G1CollectorPolicy::is_hetero_heap
Reviewed-by: sangheki, kbarrett
2019-03-04 11:49:16 +01:00
tschatzl
c7fa6f3150 8219748: Add and use getter for the timing object in G1
Reviewed-by: shade, kbarrett
2019-03-04 11:49:16 +01:00
tschatzl
9644f28b3d 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
tschatzl
f5f1bf6a60 8219369: Add named constants for iterating ExtRootScan phases
Reviewed-by: kbarrett, sangheki
2019-03-04 11:49:16 +01:00
tschatzl
f0bf27a919 8218880: G1 crashes when issuing a periodic GC while the GCLocker is held
Summary: 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
jlahoda
47cfd0604b 8217868: Crash for overlap between source path and patch module path
Summary: 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
dholmes
92b23c8940 8219619: Remove UseFakeTimers and related code
Reviewed-by: zgu, redestad
2019-03-02 18:09:18 -05:00
zgu
5ea3a31cb2 8219976: GarbageCollectionNotificationInfo always says "No GC" when running Shenandoah
Reviewed-by: rkennke
2019-03-02 08:33:32 -05:00
dchuyko
bc124d916c 8214854: JDWP: Unforseen output truncation in logging
Reviewed-by: cjplummer, dholmes
2019-03-02 11:42:04 +03:00
xuelei
0b6a40196f 8219994: CheckSecurityProvider.java fails with unexpected sun.security.ssl.SunJSSE
Reviewed-by: mullan, wetmore
2019-03-01 13:08:41 -08:00
igerasim
1e41992369 8218228: The constructor StringBuffer(CharSequence) violates spec for negatively sized argument
Reviewed-by: rriggs, darcy
2019-03-01 12:47:30 -08:00
jjg
e3eba752e4 8219803: Nodeca Pako license text needs to be inserted in JSZip license text
Reviewed-by: darcy
2019-03-01 11:01:49 -08:00
jiefu
d4ff75c38d 8219919: RuntimeStub name lost with PrintFrameConverterAssembly
Reviewed-by: kvn
2019-03-01 10:00:03 -08:00
xuelei
ff9fb82395 8219990: Backout JDK-8219658
Reviewed-by: dfuchs
2019-03-01 09:42:04 -08:00
mdoerr
c9e2979f7a 8219582: PPC: Crash after C1 checkcast patched and GC
Reviewed-by: akozlov, goetz
2019-03-01 17:48:53 +01:00
xuelei
428471d6cc 8215430: Remove the internal package com.sun.net.ssl
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
dholmes
d93947c507 8219969: Backout JDK-8219492
Reviewed-by: goetz, hseigel, tschatzl
2019-03-01 08:14:29 -05:00
stuefe
4407b02aa5 8218988: Improve metaspace verifications
Reviewed-by: zgu, coleenp
2019-02-10 09:10:42 +01:00
clanger
f836cbd2b5 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
mbaesken
66453b58d9 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
ngasson
ad903ce3bd 8209413: AArch64: NPE in clhsdb jstack command
Reviewed-by: aph
2019-02-19 14:11:52 +08:00
kvn
f69f2d3df7 8219951: Build failure on Mac and Windows after JDK-8219922
Summary: Add missing parentheses.
Reviewed-by: dholmes
2019-02-28 17:16:40 -08:00
dholmes
3c2358dc80 8219492: Restore static callsite resolution for the current class
Reviewed-by: redestad, lfoltan, vlivanov
2019-02-28 18:28:23 -05:00
naoto
b7395569c2 Merge 2019-02-28 14:05:58 -08:00
naoto
a664b2daaa 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
coleenp
8debdaf904 8218266: G1 crash in AccessInternal::PostRuntimeDispatch
Summary: protection_domains can be unloaded in the dictionary pd_set.
Reviewed-by: zgu, hseigel
2019-02-28 16:30:31 -05:00
redestad
a4a5910916 8219922: Simplify and optimize IndexSetIterator::next using count_trailing_zeros
Reviewed-by: kvn, neliasso
2019-02-28 22:11:46 +01:00
dtitov
15bdf6b08b 8207367: 10 vmTestbase/nsk/jdi tests timed out when running with jtreg
Reviewed-by: sspitsyn, cjplummer
2019-02-28 13:12:26 -08:00
bpb
87b39aed5f 5071718: (bf) Add ByteBuffer.slice(int offset, int length)
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
xuelei
0e49110a65 8219658: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: jnimeh
2019-02-28 10:04:27 -08:00
iignatyev
359d874e6b 8219798: [deadcode] remove src/hotspot/share/prims/evmCompat.cpp
Reviewed-by: dholmes
2019-02-28 09:10:58 -08:00
iignatyev
6e9812785c 8219565: [deadcode] remove share/utilities/intHisto.*
Reviewed-by: dholmes
2019-02-28 09:10:46 -08:00
gziemski
2cb9955891 8212932: [TESTBUG] Clean up TestVirtualSpaceNode test
Summary: Remove test/hotspot/gtest/memory/test_virtualSpaceNode.cpp
Reviewed-by: stuefe, coleenp
2019-02-28 11:04:06 -06:00
gziemski
50f24cdf96 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Summary: Excluded test of mac range for VMThreadStackSize
Reviewed-by: coleenp, mseledtsov
2019-02-28 10:55:07 -06:00
zgu
7d5de241d6 8219857: Shenandoah GC may initialize thread's gclab twice
Reviewed-by: rkennke
2019-02-28 08:44:09 -05:00
goetz
29aa1292d0 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
rschmelter
1839bb7086 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
pli
3f125b24ce 8216259: AArch64: Vectorize Adler32 intrinsics
Reviewed-by: aph
2019-02-28 16:37:28 +08:00
jjiang
bd615ff96a 8219723: javax/net/ssl/compatibility/Compatibility.java failed on some SNI cases
Summary: Re-generates RSA and ECDSA certificates and set longer validity period
Reviewed-by: xuelei
2019-02-28 13:37:03 +08:00
jwilhelm
3d3138ed9d Added tag jdk-13+10 for changeset 8e069f7b4fab 2019-02-28 02:47:39 +01:00
darcy
a515dc257e 8218726: Minor Throwable.printStackTrace() typos
Reviewed-by: bpb
2019-02-27 12:19:29 -08:00
valeriep
10bb7928cb Merge 2019-02-27 19:40:18 +00:00
valeriep
b393b7b9ff 8183107: PKCS11 regression regarding checkKeySize
Summary: Changed key size check in PKCS11 provider to only enforce positive return values
Reviewed-by: jnimeh
2019-02-27 19:37:51 +00:00
darcy
1586d7b4af 8219805: Cross-link javax.lang.model.{type, element} packages to utility interfaces
Reviewed-by: vromero
2019-02-27 11:33:57 -08:00
fyang
38e8e566e3 8219698: aarch64: SIGILL triggered when specifying unsupported hardware features
Reviewed-by: aph
2019-02-26 10:52:31 +08:00
amlu
2c85118028 8219802: Problem list java/net/MulticastSocket/SetGetNetworkInterfaceTest.java
Reviewed-by: chegar, clanger
2019-02-27 18:58:29 +08:00
dchuyko
b954fc4721 8215009: GCC 8 compilation error in libjli
Reviewed-by: dholmes, mikael, rriggs
2019-02-27 13:13:15 +03:00
psadhukhan
bb98aea5c0 Merge 2019-02-27 14:45:17 +05:30
shade
0ec126ce4e 8219814: Help-info for pns(...) on Linux/mips lost
Reviewed-by: aoqi, shade
Contributed-by: Jie Fu <fujie@loongson.cn>
2019-02-27 10:03:22 +01:00
psadhukhan
aff77f6759 Merge 2019-02-27 13:53:41 +05:30
mbaesken
c0d1365a0b 8219630: cleanup hotspot ostream.cpp
Reviewed-by: clanger, dholmes, stuefe
2019-02-26 09:57:11 +01:00
valeriep
e3333be14d 8218780: Update MUSCLE PCSC-Lite header files
Summary: update the PCSC-lite header files to 1.8.24 release
Reviewed-by: coffeys
2019-02-27 02:49:52 +00:00
amenkov
3e8bb0e81c 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
psadhukhan
3ca4bf650d Merge 2019-02-26 11:17:12 +05:30
psadhukhan
672e71726c 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
cjplummer
4fa87e04b6 8219143: jdb should support breakpoint thread filters
Summary: add thread filter to stop command.
Reviewed-by: sspitsyn, amenkov
2019-02-25 18:54:40 -08:00
mikael
eaeca3771e 8219675: Disable harfbuzz warnings with gcc 8
Reviewed-by: erikj, prr
2019-02-25 16:05:06 -08:00
jjiang
b8426ef604 8215524: Finished message validation failure should be decrypt_error alert
Reviewed-by: xuelei
2019-02-26 07:26:29 +08:00
darcy
fd927f7db1 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
mseledtsov
b4acd615c4 8219553: [TESTBUG] Problem list JFR TestPeriod test
Summary: Problem listed the test
Reviewed-by: egahlin
2019-02-25 08:16:20 -08:00
mullan
47841dd903 8159525: Add @FunctionalInterface annotation to PrivilegedAction and PrivilegedExceptionAction
Reviewed-by: clanger
2019-02-25 08:25:23 -05:00
fyang
48747bef66 8219635: aarch64: missing LoadStore barrier in TemplateTable::fast_storefield
Reviewed-by: aph
Contributed-by: patrick@os.amperecomputing.com
2019-02-25 18:50:29 +08:00
lancea
a41e737089 8219548: Better Null paramenter checking in ToolProvider
Reviewed-by: lancea, alanb, jjg
Contributed-by: Philipp Kunz <philipp.kunz@paratix.ch>
2019-02-26 13:14:26 -05:00
jgeorge
d8a2ab99db 8214756: SA should ignore archived java heap objects that are not in use
Summary: 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
sveerabhadra
32fe6913f7 8212202: [Windows] Exception if no printers are installed.
Reviewed-by: prr
2019-02-25 11:02:53 +05:30
sveerabhadra
ce63541272 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
sveerabhadra
9289cf075a 8190361: Incorrect version info in jaccessinspector.exe and jaccesswalker.exe
Reviewed-by: prr, mhalder
2019-02-21 11:10:35 +05:30
psadhukhan
e7da2c11f0 8219156: RTFEditorKit writes background color but doesn't read
Reviewed-by: serb
2019-02-21 10:33:24 +05:30
aleonard
0489eeb1fa 8219378: Ensure ReflectionFactory.langReflectAccess is initialized correctly
Reviewed-by: rriggs, alanb, mchung
Contributed-by: andrew_m_leonard@uk.ibm.com
2019-02-19 16:13:05 +00:00
ecaspole
b75106d4fd 8219664: LogCompilation: java.lang.Error: Unexpected method mismatch during late inlining
Summary: Set lateInlining=true in task endElement
Reviewed-by: vlivanov, kvn
2019-02-26 10:39:28 -05:00
coleenp
91d4ffeebd 8181171: Deleting method for RedefineClasses breaks ResolvedMethodName
8210457: JVM crash in ResolvedMethodTable::add_method(Handle)
Summary: 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
psadhukhan
93317d0e3e Merge 2019-02-19 11:52:19 +05:30
kbarrett
662e3fbc0a 8214363: HeapWord should not be a fake class
Summary: Change HeapWord and MetaWord to be pointers to incomplete types.
Reviewed-by: tschatzl, mikael, coleenp, pliden
2019-02-18 16:34:46 -05:00
iignatyev
a74f4ec140 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
mbaesken
7b0502f467 8218811: replace open by os::open in hotspot coding
Reviewed-by: dholmes, iklam, stuefe
2019-02-18 16:17:48 +01:00
dholmes
7c7c1f1638 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
vromero
896b41b5c3 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
shade
8e4b4a2e2d 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
2e44d72334 8219611: Remove superfluous sigfillset code
Reviewed-by: dholmes
2019-02-22 18:54:23 -08:00
iignatyev
307c44b51c 8209807: improve handling exception in requires.VMProps
Reviewed-by: vlivanov, mseledtsov
2019-02-22 14:39:57 -08:00
stefank
8527c63ac4 8219571: ProblemList serviceability/sa/TestJmapCoreMetaspace.java
Reviewed-by: iignatyev
2019-02-22 20:42:01 +01:00
coleenp
5e57ffd45b 8078725: method adjustments can be done just once for all classes involved into redefinition
Summary: 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
iignatyev
f58dab418c 8219158: use 'test.root' property instead of traversing test-src path
Reviewed-by: dholmes
2019-02-22 11:07:18 -08:00
bpb
8fabff147d 8048192: (bf) Out of direct buffer memory message should include the limits
Reviewed-by: alanb, rriggs
2019-02-22 10:13:34 -08:00
bpb
26bc72bcf2 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
iignatyev
a482124dc3 8219417: bump jtreg requiredVersion to b14
Reviewed-by: alanb, dholmes
2019-02-22 09:47:00 -08:00
shade
4232d3eb45 8219574: Minimal VM build failure after JDK-8219414
Reviewed-by: jgeorge, dholmes, cjplummer
2019-02-22 17:54:13 +01:00
redestad
0c81c27cfd 8219554: Redundant lookup_common in SymbolTable::add
Reviewed-by: iklam, coleenp, mikael
2019-02-22 16:41:01 +01:00
bulasevich
a0f8985c12 8217647: JFR: recordings on 32-bit systems unreadable
Reviewed-by: egahlin
Contributed-by: boris.ulasevich@bell-sw.com, markus.gronlund@oracle.com
2019-02-22 17:30:07 +03:00
pmuthuswamy
df54500de5 8219575: jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet test fails in mach5
Reviewed-by: hannesw
2019-02-22 19:58:22 +05:30
rehn
9c22f4f57e 8219436: Safepoint logs correction and misc
Reviewed-by: mdoerr, coleenp
2019-02-22 14:20:06 +01:00
stefank
20ef4a8c82 8219469: ZGC: Extract functions out from ZNMethodTable into new ZNMethod class
Reviewed-by: pliden
2019-02-21 14:24:44 +01:00
stefank
617d849bd8 8219468: ZGC: Extract iteration functionality into a new ZNMethodTableIteration class
Reviewed-by: pliden
2019-02-20 12:04:12 +01:00
stefank
bbbc6ddd59 8219467: ZGC: Move ZNMethodData to its own file
Reviewed-by: pliden
2019-02-20 11:42:49 +01:00
stefank
833dc552c7 8219466: ZGC: Extract allocation functionality into a new ZNMethodAllocator class
Reviewed-by: pliden
2019-02-20 11:39:36 +01:00
stefank
e4de757aee 8219464: ZGC: Move nmethod oop properties from ZNMethodTableEntry to ZNMethodData
Reviewed-by: pliden
2019-02-20 10:47:03 +01:00
stefank
867012f6dc 8219573: Add NMethodClosure
Reviewed-by: pliden, eosterlund
2019-02-21 13:20:34 +01:00
stefank
d2afd2a1e9 8219463: ZGC: Remove redundant ZNMethodTable::_iter_lock
Reviewed-by: pliden
2019-02-20 10:46:39 +01:00
stefank
13455d9484 8219462: ZGC: Use wait/notify in ZNMethodTable
Reviewed-by: pliden
2019-02-19 13:47:45 +01:00
redestad
d4e5b37c5f 8219247: Enable inlining of newly introduced PlatformMonitor methods
Reviewed-by: dholmes, rehn
2019-02-22 09:23:37 +01:00
pmuthuswamy
c6633d2b8f 8215584: Remove support for the "old" doclet API in com/sun/javadoc
Reviewed-by: jjg, hannesw
2019-02-22 11:10:55 +05:30
iklam
4bf97f4a48 8218751: Do not store original classfiles inside the CDS archive
Summary: 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
jjg
a264e469a6 8219558: jdk/javadoc tests fail with missing headings: h1
Reviewed-by: darcy
2019-02-21 17:50:27 -08:00
mikael
d8beb591d1 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
jjg
16f405efd3 8216170: java.lang.IllegalArgumentException: directories not supported
Reviewed-by: hannesw
2019-02-21 15:17:42 -08:00
jjg
3faa18423d 8219497: Unused parameter in HtmlDocletWriter::printHtmlDocument
Reviewed-by: hannesw
2019-02-21 15:05:47 -08:00
jjg
103e4a8b16 8215307: Pages do not have <h1>
Reviewed-by: hannesw
2019-02-21 14:03:57 -08:00
darcy
a160a5f6a2 8219254: Update explicit uses of latest source/target in langtools tests to a property
8219256: Update javac diags tests to use properties
Reviewed-by: jjg, jlahoda, darcy, iignatyev
Contributed-by: joe.darcy@oracle.com, jonathan.gibbons@oracle.com
2019-02-21 10:29:16 -08:00
naoto
9f77792e0f 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
dfuchs
fc00f1e7fa 8216363: NullPointerException in java.util.logging.Handler#isLoggable
Summary: 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
6512a739fa 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
coleenp
a04a8ee134 8153413: Exceptions::_throw always logs exceptions, penalizing performance
Summary: 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
shade
245633a144 8219524: Shenandoah misreports "committed" size in MemoryMXBean
Reviewed-by: rkennke, zgu
2019-02-21 15:52:42 +01:00
jwilhelm
8f9b1b82c9 Merge 2019-02-21 14:16:44 +01:00
ysuenaga
13042ec232 8219414: SA: jhsdb jsnap throws UnmappedAddressException with core generated by gcore
Reviewed-by: cjplummer, jgeorge
2019-02-21 21:02:39 +09:00
gadams
8f012ec430 8219388: Misleading log message "issuspended002a debuggee launched"
Reviewed-by: cjplummer, phh
2019-02-21 05:06:41 -05:00
rkennke
e52f9eb2f8 8219486: Missing reg_mask_init() breaks x86_32 build
Reviewed-by: vlivanov, dlong
2019-02-21 09:48:07 +01:00
jwilhelm
5b231c289f Added tag jdk-12+33 for changeset b67884871b5f 2019-02-21 01:04:46 +01:00
mbaesken
5ab884978b 8219460: ppc: adjust NativeGeneralJump::insert_unconditional to stack allocated MacroAssembler
Reviewed-by: mdoerr
2019-02-20 17:29:30 +01:00
pmuthuswamy
15c14e3fda 8213354: Support package-specific stylesheets
Reviewed-by: jjg
2019-02-21 11:26:39 +05:30
xuelei
20b7927071 8168069: X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions
Reviewed-by: mullan
2019-02-20 18:46:30 -08:00
dholmes
f7a2cd1f30 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
jjg
a937a03a54 8218998: Add metadata to generated API documentation files
Reviewed-by: hannesw
2019-02-20 16:15:02 -08:00
jwilhelm
67b4bbe6bf Added tag jdk-13+9 for changeset c081f3ea6b93 2019-02-21 01:06:53 +01:00
hseigel
61922e755c 8218995: Deprecate the -XX:FailOverToOldVerifier option
Summary: 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
iignatyev
98296fa570 8219476: cleanup hotspot ProblemList
Reviewed-by: jwilhelm
2019-02-20 11:51:23 -08:00
phh
e3380ea4d1 Merge 2019-02-20 11:43:59 -08:00
phh
85ea3a7da8 8215622: Add dump to file support for jmap –histo
Summary: Add "file=" to jmap "histo" jmap, Hotspot support in attachListener.cpp:heap_inspection.
Reviewed-by: phh, sspitsyn
Contributed-by: Lin Zang <zanglin5@jd.com>
2019-02-20 11:36:02 -08:00
iignatyev
06ce656e60 8219395: integrate gcov w/ run-test
Reviewed-by: erikj
2019-02-20 11:32:53 -08:00
valeriep
2f7ff8ba01 8216597: SIGBUS in Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo after JDK-6913047
Summary: changed variable declaration type to byte* from long* to fix SIGBUS error
Reviewed-by: ascarpino
2019-02-20 19:16:45 +00:00
bpb
3cb3028102 5029431: (bf) Add absolute bulk put and get methods
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
hseigel
a616f7e759 Merge 2019-02-20 13:24:57 -05:00
hseigel
db71705423 8214719: Deprecate -Xverify:none option
Summary: Deprecate -Xverify:none and -noverify and remove them from tests
Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
xuelei
e252f09bcd 8219389: Delegated task created by SSLEngine throws BufferUnderflowException
Reviewed-by: ascarpino
2019-02-20 10:20:48 -08:00
mikael
db8fa42277 8219142: Remove unused JIMAGE_ResourcePath
Reviewed-by: dholmes, alanb
2019-02-20 09:43:01 -08:00
rkennke
10c82ae5ec 8203232: Shenandoah: Resolve oops in SATB filter
Reviewed-by: shade
2019-02-20 16:29:29 +01:00
zgu
8de930db60 8219370: NMT: Move synchronization primitives from mtInternal to mtSynchronizer
Reviewed-by: dholmes, rehn
2019-02-20 10:22:46 -05:00
rehn
647ee99802 8219441: test_logMessageTest missing static storage
Reviewed-by: shade
2019-02-20 14:44:58 +01:00
zgu
0c38210131 8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread
Reviewed-by: coleenp, minqi
2019-02-20 08:31:40 -05:00
tschatzl
a32c03701d 8219096: Merge print_termination_stats code with current logging
Reviewed-by: lkorinth, kbarrett
2019-02-20 14:30:33 +01:00
hseigel
fa3f37fa89 8167548: [TESTBUG] Logging tests put log files in source tree
Summary: Create log files in temp directory, instead of cwd.
Reviewed-by: coleenp, dholmes
2019-02-20 08:10:40 -05:00
pliden
e998a19f95 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
pliden
0dd07312fb 8219332: ZGC: Improve ZRootsIteratorClosure abstraction
Reviewed-by: stefank
2019-02-20 13:43:02 +01:00
pliden
568521f150 8219331: ZGC: Unify TLAB retire/remap handling
Reviewed-by: stefank
2019-02-20 13:43:01 +01:00
rkennke
a71308a03d 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
jlahoda
f0551f94ac 8218287: jshell tool: input behavior unstable after 12-ea+24 on Windows
Summary: Ensure correct wrapping of input on Windows.
Reviewed-by: rfield
2019-02-20 11:11:38 +01:00
tschatzl
1da114a9db 8219098: Make output of region strings more regular in error messages
Summary: 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
redestad
1cec90fceb 8219229: Make ConstantPool::tag_at and release_tag_at_put inlineable
Reviewed-by: dholmes, coleenp
2019-02-20 09:53:28 +01:00
sviswanathan
d4a6a9bc3d 8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits
Summary: fix wrong CPU feature bits set
Reviewed-by: kvn, neliasso
2019-02-19 08:25:11 -08:00
mbaesken
e8f7a9816b 8218965: aix: support xlclang++ in the compiler detection
Reviewed-by: ihse, mdoerr
2019-02-19 09:02:28 +01:00
iignatyev
452a391612 8219132: switch to jtreg4.2-b14
Reviewed-by: erikj
2019-02-19 19:27:08 -08:00
erikj
9f70005640 8219394: Missing FIXPATH in microbenchmark test runner
Reviewed-by: redestad
2019-02-19 14:25:52 -08:00
redestad
4741d37f2e 8219393: Add native library support for microbenchmarks
Reviewed-by: erikj
Contributed-by: jbvernee@xs4all.nl
2019-02-19 23:02:41 +01:00
iignatyev
2f80191014 8219391: extend gcov support to llvm/clang
Reviewed-by: erikj
2019-02-19 13:51:11 -08:00
bpb
3ce47538fd 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
erikj
717475f788 8218135: Redo: Add ppc64le and s390x profiles to jib-profiles.js
Reviewed-by: ihse
2019-02-19 12:46:22 -08:00
erikj
2957e93f9c 8217032: Check pandoc capabilities in configure
Reviewed-by: mikael, ihse
2019-02-19 12:44:56 -08:00
erikj
752cd4ac53 8211016: make images does not update jdk/lib/src.zip with latest changes
Reviewed-by: ihse
2019-02-19 12:43:10 -08:00
erikj
427468fb4c 8219129: Allow overriding of license files in legal dir
Reviewed-by: ihse
2019-02-19 12:40:44 -08:00
cjplummer
81ff0ae9f2 8218947: jdb threads command should print threadID in decimal, not hex
Summary: print objectIDs in decimal.
Reviewed-by: sspitsyn, dholmes, jcbeyler
2019-02-19 12:05:43 -08:00
jwilhelm
1ad11bd516 Merge 2019-02-19 19:04:55 +01:00
zgu
e2e097dd33 8219368: Quarantine runtime/NMT/CheckForProperDetailStackTrace.java test
Reviewed-by: dcubed
2019-02-19 12:50:09 -05:00
igerasim
e9c04a661d 4887513: Typo in RMIFailureHandler interface doc page
Reviewed-by: dfuchs
Contributed-by: Andrey Turbanov <turbanoff@gmail.com>, Ivan Gerasimov <ivan.gerasimov@oracle.com>
2019-02-19 09:06:44 -08:00
thartmann
3de4ecf0ff 8219232: Unit of concurrent active time logging is wrong
Summary: Changed value from seconds to milliseconds.
Reviewed-by: shade
2019-02-18 15:33:43 +01:00
azeller
f70f88834c 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
tschatzl
df08207230 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
tschatzl
7cb8afc833 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
tschatzl
8acba72a00 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
stefank
cf2fc9d5ce 8218978: SA: Enable more ZGC testing
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:53 +01:00
stefank
31f6c794a0 8218970: SA: Enable HeapHprofBinWriter for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:44 +01:00
stefank
7716b9be29 8218922: SA: Enable best-effort implementation of live regions iteration for ZGC
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:04:28 +01:00
stefank
a0c7321fad 8219003: SA: Refactor live regions iteration in preparation for JDK-8218922
Reviewed-by: eosterlund, ysuenaga
2019-02-19 10:03:41 +01:00
stefank
fba7ce2e8f 8218746: SA: Implement discontiguous bitmap for ZGC
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:03:29 +01:00
stefank
acef9b832e 8218743: SA: Add support for large bitmaps
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:02:54 +01:00
stefank
08fe091cfd 8218734: SA: Incorrect and raw loads of OopHandles
Reviewed-by: eosterlund, coleenp, jgeorge
2019-02-19 10:02:42 +01:00
stefank
1a71579730 8218733: SA: CollectedHeap provides broken implementation for used() and capacity()
Reviewed-by: shade, jgeorge, eosterlund
2019-02-19 10:02:00 +01:00
stefank
64b145bac9 8218732: SA: Resolves ZPageAllocator::_physical incorrectly
Reviewed-by: eosterlund, jgeorge
2019-02-19 10:01:50 +01:00
stefank
92bce85802 8218731: SA: Use concrete class the as return type of VMObjectFactory.newObject
Reviewed-by: eosterlund
2019-02-19 10:00:51 +01:00
mdoerr
85a54151d5 8218991: s390: Add intrinsic for GHASH algorithm
Reviewed-by: lucy, simonis
2019-02-18 12:16:02 +01:00
lkorinth
35dafa6da2 8217389: JTREG: Clean up, remove unused variable warnings
Reviewed-by: lmesnik, tschatzl
2019-02-18 12:08:08 +01:00
lkorinth
95a877e585 8217385: JTREG: Clean up, make sure to close resources
Reviewed-by: tschatzl, sangheki
2019-02-18 10:48:48 +01:00
mbaesken
8c14f33c3d 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
thartmann
6593bfca16 8218721: C1's CEE optimization produces safepoint poll with invalid debug information
Summary: 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
psadhukhan
cd8f12eb8e Merge 2019-02-18 10:45:21 +05:30
itakiguchi
2ca1c6639a 8212678: Windows IME related patch
Reviewed-by: serb, naoto
2019-02-17 15:15:30 -08:00
shade
8c178b57d8 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
ysuenaga
acca82078f 8204551: Event descriptions are truncated in logs
Reviewed-by: coleenp, coleenp
2019-02-16 11:40:34 +09:00
ssadetsky
2514b68d73 8218473: JOptionPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:06:25 -08:00
ssadetsky
843a187c3d 8218479: JTextPane display issue with GTKLookAndFeel
Reviewed-by: prr, serb
2019-02-15 10:01:16 -08:00
mbalao
ff4663cd45 8219011: Implement MacroAssembler::warn method on AArch64
Reviewed-by: adinn
2019-02-15 11:46:15 -03:00
cjplummer
e9bb6ea264 8218941: jdb should support a dbgtrace command that acts the same as the dbgtrace command line option
Summary: added dbgtrace command.
Reviewed-by: sspitsyn, amenkov, gadams
2019-02-15 12:33:11 -08:00
dl
e43c3e0aa5 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
dl
2efca60751 8215363: needless signals in ForkJoinPool
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
dl
0ca7501997 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
dl
f75739fb84 8195057: java/util/concurrent/CountDownLatch/Basic.java failed w/ Xcomp
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
aph
f7b1991d1b 8219006: AArch64: Register corruption in slow subtype check
Reviewed-by: adinn
2019-02-15 12:10:12 -05:00
coleenp
1465af9550 8218851: JVM crash in custom classloader stress test, JDK 12 & 13
Summary: 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
rehn
c9ac7d1dcd 8203469: Faster safepoints
Reviewed-by: dcubed, pchilanomate, dholmes, acorn, coleenp, eosterlund
2019-02-15 14:15:10 +01:00
hseigel
579fe4e19d 8079353: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java failed on Windows when getting disjoint instead of zero based coops
Summary: 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
jlahoda
7dc4d31525 8217381: Incovenient errors reported when annotation processor generates source file and errors in the same round
Summary: 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
gadams
43cab0fa74 8219002: Some comments and error messages refer to VMDisconnectException
Reviewed-by: cjplummer, sspitsyn
2019-02-15 05:32:36 -05:00
pbansal
6c920325b1 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
aivanov
8ab99dcd01 8218682: [TEST_BUG] DashOffset fails in mach5
8198411: [TEST_BUG] Two java2d tests are unstable in mach5
Summary: Skip testing VolatileImage if IndexColorModel is detected
Reviewed-by: prr, serb
2019-02-14 20:20:49 +00:00
phedlin
327b4886e0 8214947: Assertion error in test: StringCompressInflateTest
Reviewed-by: kvn, neliasso
2019-02-14 14:59:17 +01:00
dholmes
b860e6f75a 8219074: [TESTBUG] runtime/containers/docker/TestCPUAwareness.java typo of printing parameters (period should be shares)
Reviewed-by: iignatyev, dholmes
Contributed-by: Wang Haomin <wanghaomin@loongson.cn>
2019-02-15 04:12:18 -05:00
iignatyev
e8a94ddce8 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
dholmes
312184f7b3 8218939: vm/mlvm/anonloader/stress/byteMutation crashed on windows
Reviewed-by: kbarrett, coleenp, mikael, iignatyev
2019-02-14 22:57:37 -05:00
vlivanov
aafc2fca0d 8161334: C2: Cast nodes hinder memory alias analysis
Reviewed-by: kvn, thartmann
2019-02-14 15:27:46 -08:00
vlivanov
f7d864650b 8218874: C2: Unsafe to access PhaseIdealLoop outside of constructors
Reviewed-by: thartmann, kvn
2019-02-14 15:27:12 -08:00
vlivanov
9fadb8e55e 8218879: Keep track of memory accesses originated from Unsafe
Reviewed-by: thartmann
2019-02-14 15:27:12 -08:00
vlivanov
605c898b93 8218758: [TESTBUG] compiler/cha/StrengthReduceInterfaceCall.java misses recompilation event
Reviewed-by: iignatyev
2019-02-14 15:27:12 -08:00
vlivanov
5a8ede0045 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
f93f756552 8218935: Make jfr strncpy uses GCC 8.x friendly
Reviewed-by: clanger
2019-02-14 15:17:03 -08:00
mikael
bb689531e8 8218937: Make mlvmJvmtiUtils strncpy uses GCC 8.x friendly
Reviewed-by: iignatyev
2019-02-14 15:12:17 -08:00
iignatyev
9d650e7008 8209455: [error-prone] JdkObsolete in jdk.management.agent
Reviewed-by: alanb, jcbeyler
2019-02-14 14:40:11 -08:00
xuelei
6520dbb5da 4919790: Errors in alert ssl message does not reflect the actual certificate status
Reviewed-by: mullan
2019-02-14 14:19:29 -08:00
akolarkunnu
60ab13ad98 8218599: Add test group jdk_client_sanity under jdk_desktop group
Reviewed-by: serb, prr
2019-02-13 22:40:08 -08:00
jwilhelm
9480c7fa00 Added tag jdk-12+32 for changeset 4ce47bc1fb92 2019-02-14 01:22:07 +01:00
goetz
5fca451f5f 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
sgehwolf
d11cac6e4e 8218913: Rename --strip-debug jlink plugin
Reviewed-by: alanb, mchung
2019-02-13 12:01:09 +01:00
eosterlund
ff6e25cb79 8219638: ZGC: Free ZNMethodDataOops under a lock
Reviewed-by: pliden
2019-02-26 11:38:07 +01:00
eosterlund
4d10ecc3a6 8218974: Free GC native structures in nmethod::flush
Reviewed-by: pliden
2019-02-26 11:36:00 +01:00
nishjain
f2cd085ebc 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
rschmelter
14ceb7f6d7 8219577: Returning NULL in a function which returns bools
Reviewed-by: shade, zgu, clanger
2019-02-22 04:59:12 -08:00
dchuyko
c939d65645 8215130: Fix errors in LittleCMS 2.9 reported by GCC 8
Reviewed-by: prr
2019-02-08 16:37:35 +03:00
chegar
eca64a9d60 8218662: Allow 204 responses with Content-Length:0
Reviewed-by: michaelm
2019-02-08 12:23:16 +00:00
chegar
6f3f2636c5 8218546: Unable to connect to https://google.com using java.net.HttpClient
Reviewed-by: dfuchs
2019-02-08 11:26:21 +00:00
aivanov
4dbd0d7cfa 8217263: Automate DashOffset test
Reviewed-by: prr, serb
2019-02-07 13:57:12 +00:00
ljiang
31bd4e62fb 8218411: JDK 12 L10n resource file update msg drop 20
Reviewed-by: naoto
2019-02-07 01:49:10 -08:00
psadhukhan
7b871045ce Merge 2019-02-07 12:16:41 +05:30
psadhukhan
3dd8798e9d Merge 2019-02-07 12:11:41 +05:30
mikael
4beed2cc56 8218581: Incorrect exception message generation
Reviewed-by: hseigel
2019-02-06 18:34:12 -08:00
jwilhelm
36b9d85303 Added tag jdk-12+31 for changeset b5f7bb57de2f 2019-02-07 02:53:27 +01:00
jwilhelm
e9e668faa8 Added tag jdk-13+7 for changeset 021917019cda 2019-02-07 02:48:11 +01:00
mchung
62a4f4d2fe 8218461: test/jdk/java/lang/invoke/VarHandles should be generated rather than manually edited
Reviewed-by: bpb, vromero
2019-02-06 15:09:05 -08:00
hseigel
d5bfd5f03f 8218579: add hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java to ProblemList.txt
Summary: Add the test to ProblemList.txt for windows-all
Reviewed-by: dcubed
2019-02-06 15:11:59 -05:00
mchung
cf936232c8 8218419: Can't get annotations that are present on packages in -Xbootclasspath/a
Reviewed-by: alanb
2019-02-06 10:53:13 -08:00
zgu
5ebf38a06f 8218566: NMT: missing memory tag for assert poison page
Reviewed-by: shade, stuefe
2019-02-06 13:30:27 -05:00
pli
380f8aa78f 8218550: Add test omitted from JDK-8212043
Summary: Add test case omitted from fix for JDK-8212043
Reviewed-by: shade
2019-02-06 16:25:58 +00:00
mhalder
987da0cb72 8207938: At step6,Click Add button,case failed automatically.
Reviewed-by: kaddepalli, psadhukhan
2019-02-06 17:28:37 +05:30
goetz
f95be7564d 8218544: Fix build on windows: missing include
Reviewed-by: stuefe, dholmes, shade
2019-02-06 08:31:27 +01:00
serb
ab891e89c4 8216592: Removal of the class sun.awt.AWTSecurityManager
Reviewed-by: prr
2019-02-05 14:54:06 -08:00
manc
f717890f50 8218192: Remove copy constructor for MemRegion
Summary: Remove copy constructor in memRegion.hpp
Reviewed-by: tschatzl, kbarrett
2019-02-05 08:20:09 -08:00
stuefe
b18f419b45 8183004: Remove code related to gtest death tests from assert macro
Reviewed-by: shade, kbarrett, iignatyev
2019-02-14 19:48:57 +01:00
joehw
2535b28634 8187697: Cleanup: irrelevant code in OutputPropertiesFactory
Reviewed-by: lancea
2019-02-14 09:38:19 -08:00
sdama
ae1e48f212 8201544: Improve javac command line parsing and error reporting
Summary: Modified exception into an error message for invalid filenames on windows
Reviewed-by: vromero, jjg
Contributed-by: srinivas.dama@oracle.com
2019-02-14 21:52:39 +05:30
jjg
ceec99fdbf 8218944: Fix failed for JDK-8218936
Reviewed-by: jwilhelm
2019-02-14 07:41:54 -08:00
phedlin
7b27788025 8217289: compiler/graalunit/HotspotTest.java failed with InvalidInstalledCodeException
Reviewed-by: thartmann, neliasso
2019-02-13 14:42:20 +01:00
neliasso
43a23d8cdb 8087128: C2: Disallow definition split on MachCopySpill nodes
Reviewed-by: kvn
2019-02-14 14:31:32 +01:00
redestad
7937553ec4 8216360: Deprecate -XX:CompilationPolicyChoice
Reviewed-by: thartmann, kvn
2019-02-14 12:54:56 +01:00
redestad
b1ab374523 8218753: Obsolete nonproduct flag ProfilerCheckIntervals
Reviewed-by: dholmes, coleenp
2019-02-14 11:33:45 +01:00
jwilhelm
ee281e6d1d Added tag jdk-13+8 for changeset a535ba736cab 2019-02-14 01:25:04 +01:00
jjg
ef780f4543 8218936: Test fails in Internet environment
Reviewed-by: mchung
2019-02-13 17:18:56 -08:00
kbarrett
6734f87db3 8218089: Rename DirtyCardQueue et al to follow usual G1 naming conventions
Summary: Move files and rename classes.
Reviewed-by: tschatzl, lkorinth
2019-02-13 17:38:14 -05:00
lfoltan
db1e7c693d 8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Summary: 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
lfoltan
cd21b76673 8218004: Clean up terminology for shared methods within the JVM for indy and condy support
Summary: Remove "invoke_dynamic" from the name of several ConstantPool bootstrap helper methods that are shared by both indy and condy.
Reviewed-by: coleenp, dholmes, mchung
2019-02-13 14:20:40 -05:00
iignatyev
2fb523caeb 8195060: vm/mlvm/anonloader/stress/byteMutation intermittently times out
Reviewed-by: kvn
2019-02-13 11:18:14 -08:00
amenkov
afbac9575f 8214582: BasicJDWPConnectionTest.java: RuntimeException: Could not detect port from ''
Reviewed-by: sspitsyn, dtitov
2019-02-13 11:08:51 -08:00
amenkov
29f4e6bdbc 8218702: [TESTBUG] com/sun/jdi/RepStep.java does not report debuggee errors
Reviewed-by: sspitsyn, dtitov
2019-02-13 11:04:03 -08:00
bpb
17c6d22caf 8218882: NET_Writev is declared, NET_WriteV is defined
Reviewed-by: alanb, chegar
2019-02-13 07:58:04 -08:00
weijun
7887c9d289 8218888: keytool -genkeypair should not have the -destalias option
Reviewed-by: mullan
2019-02-13 21:24:13 +08:00
coleenp
f67ae8f687 8218755: Refix Symbol leak in prepend_host_package_name
Summary: fix Symbol refcounting again, add comment and a test.
Reviewed-by: kbarrett, dholmes
2019-02-13 07:22:09 -05:00
coleenp
24d42f33cf 8212988: add recent class unloading events to the hs_err log
Summary: also moved class unloading logging in expected place.
Reviewed-by: never, stuefe
2019-02-13 06:48:34 -05:00
dlong
df3c779f1b 8218695: problem list tests failing with Graal
Reviewed-by: kvn
2019-02-13 00:30:46 -08:00
rwestberg
c40eab66b1 8218807: Compilation database (compile_commands.json) may contain obsolete items
Reviewed-by: ihse, erikj
2019-02-12 08:40:43 +01:00
ascarpino
e0b0b162c1 8215790: Delegated task created by SSLEngine throws java.nio.BufferUnderflowException
Reviewed-by: jnimeh
2019-02-12 14:08:07 -08:00
xuelei
308a27af35 8217835: Remove the experimental SunJSSE FIPS compliant mode
Reviewed-by: mullan
2019-02-12 13:36:15 -08:00
gadams
2e74313f8a 8218754: JDK-8068225 regression in JDIBreakpointTest
Reviewed-by: cjplummer, sspitsyn
2019-02-12 15:19:25 -05:00
iignatyev
d297f87da7 8145845: [AOT] NullPointerException in compiler/whitebox/GetCodeHeapEntriesTest.java
Reviewed-by: kvn, thartmann
2019-02-12 11:23:43 -08:00
redestad
df04f8250a 8218738: Remove dead code in Symbol and friends
Reviewed-by: coleenp, lfoltan, dholmes
2019-02-12 19:22:19 +01:00
mbaesken
ccdfe24023 8218136: minor hotspot adjustments for xlclang++ from xlc16 on AIX
Reviewed-by: dholmes, goetz, ihse
2019-02-05 17:40:15 +01:00
ihse
723d70aad1 8218413: make reconfigure ignores configure-time AUTOCONF environment variable
Reviewed-by: erikj, martin
2019-02-12 15:31:40 +01:00
redestad
3832177701 8218675: Reduce verification overhead in ClassFileParser
Reviewed-by: dholmes, hseigel
2019-02-12 14:23:49 +01:00
redestad
f98ef2b626 8216608: Obsolete stale compiler flags
Reviewed-by: shade, thartmann
2019-02-12 09:35:51 +01:00
cito
afd281fc98 8214236: sun.gc.collector.2.name should be changed
Reviewed-by: pliden, tschatzl
2019-02-12 08:56:03 +09:00
tschatzl
5da6e8ecc7 8218680: G1 crashes during calculation of old collection set candidates
Summary: Parameters were passed in the wrong order to some helper class.
Reviewed-by: shade, kbarrett, lkorinth
2019-02-12 09:58:27 +01:00
redestad
1c69ce4712 8217383: Obsolete UseImplicitStableValues
Reviewed-by: shade, rkennke, vlivanov
2019-02-12 09:00:04 +01:00
mbaesken
a7846b8171 8218562: handle HOTSPOT_BUILD_COMPILER for clang/xlclang and cleanup HOTSPOT_BUILD_COMPILER settings
Reviewed-by: dholmes, ihse, mdoerr
2019-02-06 16:02:27 +01:00
stuefe
0274cf2894 8212828: (process) Change the Process launch mechanism default on Linux to be posix_spawn
Reviewed-by: rriggs, martin
2019-02-08 08:49:32 +01:00
ascarpino
e026824975 8201633: Problems with AES-GCM native acceleration
Reviewed-by: valeriep
2019-02-11 13:23:20 -08:00
dfuchs
b60f0439fc 8218554: HttpServer: allow custom handlers to request that the connection be closed after the exchange.
Summary: custom handler code can supply `Connection: close` to response headers in order to force connection close after the exchange terminates.
Reviewed-by: chegar
2019-02-11 18:41:24 +01:00
rkennke
f2e7030299 8217874: Shenandoah: Clobbered register in ShenandoahBarrierSetAssembler::cmpxchg_oop()
Reviewed-by: adinn
2019-02-11 16:49:08 +01:00
gadams
17a6c5eaff 8068225: nsk/jdi/EventQueue/remove_l/remove_l005 intermittently times out
Reviewed-by: cjplummer, sspitsyn
2019-02-11 07:19:32 -05:00
ihse
dff9f8c160 8218736: Build warning in lib/JvmFlags.gmk: extraneous text after 'ifeq' directive
Reviewed-by: redestad, shade
2019-02-11 12:12:41 +01:00
weijun
61294a0e25 8180569: Refactor sun/security/krb5/ shell tests to plain java tests
Reviewed-by: mullan
2019-02-11 11:01:00 +08:00
lancea
16e43bc570 8182117: Document Zip File System Properties
Reviewed-by: alanb, mchung, rriggs, clanger
2019-02-09 17:19:53 -05:00
shade
392c3a0dc6 8218715: [TESTBUG] TestUseOptoBiasInliningWithoutEliminateLocks needs to unlock WhiteBoxAPI
Reviewed-by: kvn
2019-02-09 19:39:28 +01:00
dtitov
a838d05b14 8218705: Test sun/tools/jcmd/TestJcmdDefaults.java fails on Linux
Reviewed-by: dholmes
2019-02-09 10:07:13 -08:00
dholmes
eebeccdfdb 8193234: When using -Xcheck:jni an internally allocated buffer can leak
Reviewed-by: shade, hseigel
2019-02-08 20:51:55 -05:00
shurailine
cdbb2bfc04 8218692: Switch to JCov build which supports byte code version 57
Reviewed-by: erikj
2019-02-08 05:46:11 -09:00
dl
8685d6031e 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
Contributed-by: Michal Vala <mvala@redhat.com>, Doug Lea <dl@cs.oswego.edu>, Martin Buchholz <martinrb@google.com>
2019-02-08 13:39:22 -08:00
zgu
6131cb5a60 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-02-08 14:03:09 -05:00
xuelei
bf8204d82f 8218580: endpoint identification algorithm should be case-insensitive
Reviewed-by: jnimeh
2019-02-08 10:03:07 -08:00
dtitov
1c441b26cb 8205654: serviceability/dcmd/framework/HelpTest.java timed out
Reviewed-by: sspitsyn, dholmes
2019-02-08 09:41:45 -08:00
roland
96ed71d478 8217990: C2 UseOptoBiasInlining: load of markword optimized to 0 if running with -XX:-EliminateLocks
Reviewed-by: thartmann, mdoerr, rrich, kvn
2019-02-07 09:55:57 +01:00
coleenp
67fd7ee4b2 8218593: Symbol leak in prepend_host_package_name
Summary: add appropriate refcounting for Symbols stomped by parsing
Reviewed-by: hseigel, zgu
2019-02-08 09:33:59 -05:00
tschatzl
d57d47dc56 8217328: Rename CollectionSetChooser to G1CollectionSetChooser
Reviewed-by: lkorinth, kbarrett
2019-02-08 12:55:20 +01:00
tschatzl
88e95bc8a2 8217330: Split G1CollectionSetChooser into collection set candidate container and the chooser algorithm
Reviewed-by: lkorinth, kbarrett
2019-02-08 12:55:20 +01:00
tschatzl
d67242a97b 8217778: StringTable cleanup miscalculates amount of dead objects
Reviewed-by: kbarrett
2019-02-08 12:55:20 +01:00
chegar
b4af781329 Merge 2019-02-08 13:07:44 +00:00
chegar
ca3d07e0ac Merge 2019-02-08 12:44:16 +00:00
jlahoda
4286ff4e7a 8216263: Add historical data for JDK 12
Summary: Including --release 12 data, based on 12-ea+30, built from changeset 6c377af36a5c.
Reviewed-by: darcy, jjg
2019-02-08 12:31:24 +01:00
jlahoda
7243daa2ec 8218630: CreateSymbols includes class and module headers unnecessarily.
Summary: Ensure class and module headers from the current version are properly matched to existing ones to avoid duplication.
Reviewed-by: jjg
2019-02-08 12:31:23 +01:00
jlahoda
24f1865ac8 8217335: Add a script to generate --release data
Reviewed-by: darcy, ihse
2019-02-08 12:31:22 +01:00
lkorinth
1b3bee27cf 8217332: JTREG: Clean up, use generics instead of raw types
Reviewed-by: tschatzl, sangheki
2019-02-08 12:09:41 +01:00
lkorinth
f5eb8d8ef3 8217329: JTREG: Clean up, remove unused imports in gc folder
Reviewed-by: lmesnik, tschatzl
2019-02-08 11:52:33 +01:00
jwilhelm
73a510651a Merge 2019-02-08 02:57:40 +01:00
coleenp
91c8035202 8218601: [AOT] Crash in AOTCodeHeap::mark_evol_dependent_methods
Summary: null check nmethod in aot dependencies
Reviewed-by: kvn
2019-02-07 17:26:44 -05:00
bobv
43872fad6f 8218169: [AOT] Segmentation fault when running java with AOTed Graal in -Xcomp mode on windows
Reviewed-by: kvn
2019-02-07 17:23:24 -05:00
redestad
d5199f7922 8218625: Remove dead code in relocInfo
Reviewed-by: kvn, thartmann
2019-02-07 22:20:46 +01:00
zgu
139167da7e 8218558: NMT stack traces in output should show mt component for virtual memory allocations
Reviewed-by: shade, stuefe, coleenp
2019-02-07 14:29:17 -05:00
coffeys
debfbe31d9 8218553: Enhance keystore load debug output
Reviewed-by: weijun
2019-02-07 12:09:17 +00:00
ihse
06e5dad000 8218431: Improved platform checking in makefiles
Reviewed-by: erikj
2019-02-07 12:35:45 +01:00
redestad
5d48f64698 8218565: HandleMark cleanup
Reviewed-by: coleenp, kbarrett, rehn
2019-02-07 10:26:32 +01:00
psadhukhan
57d2b1d3ad Merge 2019-02-04 11:01:04 +05:30
alanb
09deb5974e 8216046: test/jdk/java/beans/PropertyEditor/Test6397609.java failing
Reviewed-by: alanb, serb
Contributed-by: fujie@loongson.cn
2019-02-03 10:00:14 +01:00
serb
d76c2a33bb 8214823: Javadoc cleanup of java.awt.desktop package
Reviewed-by: prr
2019-02-02 10:00:05 -08:00
itakiguchi
7f019c38b4 8212677: X11 default visual support for IM status window on VNC
Reviewed-by: serb, naoto
2019-02-01 15:34:53 -08:00
fyang
272abe94e3 8218185: aarch64: missing LoadStore barrier in TemplateTable::putfield_or_static
Reviewed-by: aph
Contributed-by: lunliu93@gmail.com
2019-02-01 15:05:52 +08:00
vlivanov
1623289bd6 8218163: C2: Continuous deoptimization w/ Reason_speculate_class_check and Action_none
Reviewed-by: kvn, neliasso
2019-02-01 18:51:14 -08:00
vlivanov
aead44e6de 8217919: C2: Enable -XX:+AggressiveUnboxing by default
Reviewed-by: kvn, neliasso
2019-02-01 18:50:53 -08:00
vlivanov
b408341dfc 8217918: C2: -XX:+AggressiveUnboxing is broken
Reviewed-by: kvn
2019-02-01 18:50:22 -08:00
kbarrett
c93d7cfbfa 8218202: gc/stress/TestStressG1Humongous.java to ProblemList-graal.txt
Summary: Add test to problem list.
Reviewed-by: iignatyev
2019-02-01 18:16:25 -05:00
jwilhelm
41d52db8d3 Merge 2019-02-02 00:11:54 +01:00
iignatyev
2a091e700b 8218178: vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java fails with -Xcomp
Reviewed-by: dlong
2019-02-01 13:33:02 -08:00
erikj
33686ac1f7 8218198: Revert devkit change in JDK-8217910 for linux-x64
Reviewed-by: tbell
2019-02-01 10:08:21 -08:00
amenkov
aa94ce655c 8218025: disable pop_frame and force_early_return caps for Graal
Reviewed-by: iignatyev, sspitsyn, dholmes
2019-02-01 09:25:31 -08:00
naoto
fba5e5ac95 8216546: Support new Japanese era in java.lang.Character for Java SE 11
Reviewed-by: chegar
2019-02-01 08:59:03 -08:00
shade
a0d798c1dd 8218151: Simplify JavaThread::thread_state definition
Reviewed-by: stefank, dholmes, kbarrett
2019-02-01 16:03:16 +01:00
shade
2918276043 8217879: hs_err should print more instructions in hex dump
Reviewed-by: stuefe, coleenp, dholmes, lucy, stefank
2019-02-01 16:03:15 +01:00
dfuchs
77aee1a832 8218133: sun/net/www/protocol/http/ProtocolRedirect.java failed with "java.net.ConnectException"
Summary: changed the test to use the loopback interface.
Reviewed-by: chegar
2019-02-01 14:24:40 +00:00
dfuchs
0ec61a0146 8195716: BootstrapLoggerTest : Executor still alive
Summary: Make sure the test joins the active executor thread before waiting for the executor to be GC'ed.
Reviewed-by: mchung, martin
2019-02-01 14:15:49 +00:00
ysuenaga
06227206cb 8217432: MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
Reviewed-by: tschatzl, stuefe
2019-02-01 21:43:37 +09:00
coleenp
7dd0c227f1 8215505: Cleanup jvm.cpp obsolete code after JDK-8210094: Better loading of classloader classes
Summary: remove dead code, also remove function that is not needed after 8210094.
Reviewed-by: lfoltan, dholmes
2019-02-01 06:42:41 -05:00
ihse
431ad3f810 8217896: Make better use of LCPUs when building on AIX
Reviewed-by: ihse
Contributed-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
2019-02-01 12:44:30 +01:00
iignatyev
2c8c08a813 8218162: problem list j/u/s/t/o/o/t/java/util/stream/StreamLinkTest.java on solaris w/ Xcomp
Reviewed-by: kvn
2019-01-31 22:17:14 -08:00
iignatyev
694a2b9b52 8218168: clean up hotspot ProblemList
Reviewed-by: kvn, dholmes, sspitsyn
2019-01-31 22:17:09 -08:00
pmuthuswamy
ec359d29ba 8218134: Modify the jQuery.md file to reflect the exact jQuery license content
Reviewed-by: jjg, sundar
2019-02-01 09:11:13 +05:30
serb
f26c7b971e 8216318: The usage of Disposer in the java.awt.Robot can be deleted
Reviewed-by: prr
2019-01-31 15:20:42 -08:00
naoto
ed4669b4f1 8217892: Clarify the support for the new Japanese era in java.time.chrono.JapaneseEra
Reviewed-by: chegar
2019-01-31 12:43:59 -08:00
nishjain
a79784490f 8214935: Upgrade IANA LSR data
Reviewed-by: rriggs, naoto
2019-01-31 13:05:24 +05:30
psadhukhan
c8cb51c3c5 8217464: Remove resolved client bugs from the ProblemList.txt
Reviewed-by: prr, kaddepalli
2019-01-31 08:45:23 +05:30
iignatyev
13129a5494 8178798: Two compiler/aot/verification/vmflags tests fail by timeout with UseAVX=3
Reviewed-by: kvn
2019-01-30 17:35:20 -08:00
jwilhelm
6901de21a5 Added tag jdk-12+30 for changeset 6c377af36a5c 2019-01-31 01:12:11 +01:00
prr
f43601cd5c 8218020: Fix version number in mesa.md 3rd party legal file
Reviewed-by: serb, psadhukhan
2019-01-30 14:03:08 -08:00
iignatyev
37762389de 8218079: cleanup hotspot ProblemList files
Reviewed-by: kvn
2019-01-30 13:11:16 -08:00
mullan
b6759ecf18 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-30 15:42:47 -05:00
iignatyev
c5933bf98a 8207922: ctw of jdk.security.auth failed with "Unexpected zero exit codebefore finishing all compilations"
Reviewed-by: roland, thartmann
2019-01-30 09:30:40 -08:00
kaddepalli
d494e5b655 8215921: There is no change when select different Foreground and Background by mouse.
Reviewed-by: serb, psadhukhan
2019-01-30 15:02:05 +05:30
serb
d6c7508adf 8214918: Unify GraphicsEnvironment.getCenterPoint()/getMaximumWindowBounds() across the platforms
Reviewed-by: kaddepalli, aivanov, prr
2019-01-29 13:53:54 -08:00
sangheki
c2f286419d 8217666: gc/nvdimm/* should not be included any tiers
Reviewed-by: iignatyev, lkorinth
2019-01-29 11:21:43 -08:00
psadhukhan
22e3a98058 Merge 2019-01-29 11:06:19 +05:30
serb
39795236b4 8214076: Cleanup the code related to GraphicsEnvironment/Device/Configuration
Reviewed-by: aivanov, prr
2019-01-28 17:19:54 -08:00
redestad
6cf9655c08 8217869: Add count_leading_zeros utility
Reviewed-by: neliasso, thartmann
2019-01-28 23:00:31 +01:00
jwilhelm
ae42f81152 Merge 2019-01-28 21:44:57 +01:00
mbaesken
6b984bed09 8217093: Support extended-length paths in parse_manifest.c on windows
Reviewed-by: chegar, clanger
2019-01-28 16:42:23 +01:00
nishjain
987c3a51d4 8217969: Base64.Decoder.decode methods do not need to throw OOME due to integer overflow
8218265: java/util/Base64/TestEncodingDecodingLength.java failing
Reviewed-by: rriggs, naoto
2019-02-06 13:57:19 +05:30
dholmes
cf512c3144 8217843: Performance regression related to os::supports_monotonic_clock() on linux
Reviewed-by: redestad, stuefe
2019-02-05 20:18:00 -05:00
igerasim
0bb42c8930 8218227: StringBuilder/StringBuffer constructor throws confusing NegativeArraySizeException
Reviewed-by: rriggs
2019-02-05 17:05:40 -08:00
jwilhelm
a61f98ee69 Merge 2019-02-06 00:20:37 +01:00
joehw
8d2176a9ca 8180901: Transformer.reset() resets the state only once
Reviewed-by: rriggs, lancea
2019-02-05 15:06:08 -08:00
bpb
c88143b105 8218460: Test generation scripts do not invoke stream preprocessor correctly
Reviewed-by: rriggs
2019-02-05 14:36:50 -08:00
kbarrett
962f202745 8217474: Remove WhiteBox.getConcurrentGCPhases()
Summary: Remove function and supporting infrastructure.
Reviewed-by: shade, tschatzl
2019-02-05 16:46:49 -05:00
pchilanomate
3db872cedd 8210832: Remove sneaky locking in class Monitor
Summary: Removed sneaky locking and simplified vm monitors implementation
Reviewed-by: rehn, dcubed, pliden, dholmes, coleenp
Contributed-by: david.holmes@oracle.com, patricio.chilano.mateo@oracle.com
2019-02-05 15:12:13 -05:00
eosterlund
18d2ad2f28 8216541: CompiledICHolders of VM locked unloaded nmethods are released too late
Reviewed-by: kvn, thartmann
2019-02-05 20:06:10 +01:00
kbarrett
354effc0ac 8218164: Improve local control of compiler warnings
Summary: Windows warning push/pop and gcc/Windows warning suppression macros.
Reviewed-by: dholmes, tschatzl
2019-02-05 13:21:59 -05:00
joehw
578804007f 8206132: DOM parser does not honor DocumentBuilderFactory.setExpandEntityReferences(false)
Reviewed-by: rriggs, lancea
2019-02-05 09:57:35 -08:00
erikj
09c0deeef2 8160926: FLAGS_COMPILER_CHECK_ARGUMENTS doesn't handle cross-compilation
Reviewed-by: ihse
2019-02-05 09:56:19 -08:00
erikj
15cd62b5c1 8218177: Bump jib format_version to support new devkit archive layout
Reviewed-by: ihse, tbell
2019-02-05 09:53:33 -08:00
coleenp
cfacd26838 8139551: Scalability problem with redefinition - multiple code cache walks
Summary: Walk code cache and deoptimize once per redefinition.
Reviewed-by: sspitsyn, dlong
2019-02-05 10:40:25 -05:00
iignatyev
8436e2efde 8218197: [failurehandler] parent processes shouldn't be killed till their children are handle
Reviewed-by: dholmes, kbarrett
2019-02-04 17:53:26 -08:00
aoqi
df3ae5a573 8217597: [TESTBUG] old version docker does not support --cpus
Summary: "--cpus" is only available in Docker 1.13 and higher, and is the equivalent of setting both --cpu-period and --cpu-quota.
Reviewed-by: bobv, dholmes
Contributed-by: aoqi@loongson.cn
2019-01-31 23:56:37 +08:00
shurailine
42d69e89bd 8217761: Enhance run-test-prebuilt jib profile to support running tests with JCov
Reviewed-by: erikj
2019-01-28 03:51:38 -08:00
dfuchs
b86e9e94d2 8217882: java/net/httpclient/MaxStreams.java failed once
Summary: added some more traces to help diagnosis
Reviewed-by: bpb
2019-01-28 18:49:34 +00:00
dfuchs
517e5330dd 8217903: java/net/httpclient/Response204.java fails with 404
Summary: Fixed test to use loopback address - this looks like a port reuse issue.
Reviewed-by: chegar
2019-01-28 18:45:34 +00:00
lkorinth
9390b7ed49 8214799: Add package declaration to each JTREG test case in the gc folder
Reviewed-by: lmesnik, tschatzl
2019-01-28 15:53:56 +01:00
dfuchs
56d3ce021a 8210130: java/net/httpclient/UnknownBodyLengthTest.java failed
Summary: The fix improves the test robustness by making it retry once in case of IO/Connect exception.
Reviewed-by: chegar
2019-01-28 15:24:41 +00:00
chegar
f383551d47 8217429: WebSocket over authenticating proxy fails to send Upgrade headers
Reviewed-by: dfuchs, prappo
2019-01-28 13:51:16 +00:00
shade
0e782854fd 8217854: [TESTBUG] runtime/CompressedOops/UseCompressedOops.java fails with Shenandoah
Reviewed-by: dcubed, zgu
2019-01-28 10:24:23 +01:00
redestad
74f6e2805b 8217841: Remove unused class TraceCPUTime
Reviewed-by: dholmes
2019-01-28 09:56:00 +01:00
pliden
fbad490c7d 8217717: ZGC: Broken oop map in C1 load barrier stub
Reviewed-by: eosterlund, neliasso
Contributed-by: erik.osterlund@oracle.com, per.liden@oracle.com
2019-01-28 08:58:42 +01:00
iignatyev
02a5acdf7f 8217852: problem-list ctw of jdk.jconsole and java.desktop on windows
Reviewed-by: kvn
2019-01-26 12:51:27 -08:00
rkennke
9b9c305d66 8217016: Shenandoah: Streamline generation of CAS barriers
Reviewed-by: roland
2019-01-26 01:21:33 +01:00
dholmes
f55e86124d 8217618: JVM TI SuspendThread doesn't suspend the current thread before returning
Reviewed-by: dcubed, sspitsyn, dlong
2019-01-27 20:48:27 -05:00
ysuenaga
b82d00df54 8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612
Reviewed-by: dholmes, cjplummer
2019-01-28 08:01:06 +09:00
lancea
badfce2691 8210469: Missing doPriviledged block and permission for jdk.zipfs module
Reviewed-by: alanb, clanger, mchung, jjg
2019-01-27 14:55:57 -05:00
bsrbnd
f3a16e9a91 8193367: Annotated type variable bounds crash javac
Reviewed-by: mcimadamore, vromero
2019-01-26 15:50:59 +01:00
xuelei
bb510bbbd8 8217820: Useless cast in ECUtil.java
Reviewed-by: jnimeh
2019-01-25 18:43:02 -08:00
ysuenaga
ba297499bc 8217612: (CL)HSDB cannot show some JVM flags
Reviewed-by: dholmes, cjplummer
2019-01-26 10:34:29 +09:00
iveresov
8a6dad84a5 8217828: Un-ProblemList LongMulOverflowTest.java
Reviewed-by: iignatyev
2019-01-25 14:50:25 -08:00
joehw
5b2b7efaef 8216408: XMLStreamWriter setDefaultNamespace(null) throws NullPointerException
Reviewed-by: dfuchs, lancea
2019-01-25 14:28:43 -08:00
vlivanov
f4fdb1f987 8192001: C2: inlining through dispatching MH linkers ignores speculative type of the receiver
Reviewed-by: thartmann, roland
2019-01-25 13:37:12 -08:00
vlivanov
e183e4ddca 8191998: C2: inlining through MH linkers drops speculative part of argument types
Reviewed-by: roland, thartmann, kvn
2019-01-25 13:37:10 -08:00
vlivanov
c91ac6063a 8217760: C2: Missing symbolic info on a call from intrinsics when invoked through MethodHandle
Reviewed-by: thartmann, roland
2019-01-25 13:37:08 -08:00
dfuchs
1e327e3c1c 8217627: HttpClient: The API documentation of BodySubscribers::mapping promotes bad behavior
Summary: The API documentation is updated to steer away from blocking in the mapper function, and an alternative is suggested.
Reviewed-by: chegar
2019-01-25 18:13:25 +00:00
jwilhelm
890a08cd0e Merge 2019-01-25 18:12:06 +01:00
jwilhelm
422a1751bd 8217797: ProblemList LongMulOverflowTest.java
Reviewed-by: thartmann
2019-01-25 17:54:02 +01:00
iignatyev
6a2e4ae379 8067250: [mlvm] vm/mlvm/mixed/stress/regression/b6969574 fails and perf regression
Reviewed-by: roland
2019-01-25 08:52:32 -08:00
gziemski
a7116a274f 8216493: VirtualSpaceNodeTest.half_vsn_is_committed_humongous_chunk_is_used_test_vm crashes on local machine
Summary: Make ChunkManagerRestorer more robust
Reviewed-by: iignatyev
2019-01-25 10:43:02 -06:00
jwilhelm
577981faa5 8217797: ProblemList LongMulOverflowTest.java
8217801: ProblemList INDIFY_Test.java
Reviewed-by: thartmann
2019-01-25 17:34:28 +01:00
shade
97d3eefb5c 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace
Reviewed-by: dholmes, tschatzl
2019-01-25 16:57:50 +01:00
xuelei
0db19aae8b 8217795: Typo in SSLSocket
Reviewed-by: xuelei
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2019-01-25 07:56:42 -08:00
redestad
4bb4265375 8217782: Spill detection broken after JDK-8217716
Reviewed-by: shade, thartmann
2019-01-25 14:10:28 +01:00
dfuchs
fe65948329 8217353: java/util/logging/LogManager/Configuration/updateConfiguration/HandlersOnComplexResetUpdate.java fails with Unexpected reference: java.lang.ref.WeakReference
Summary: Instrumented the test to relay the original exception as a suppressed exception of the secondary one, increased sleep time, adjusted iteration numbers according to timeout factor.
Reviewed-by: lancea, iignatyev
2019-01-25 11:45:26 +00:00
ihse
9e0be810fa 8217733: Minor RunTest fixes
Reviewed-by: erikj, shurailine
2019-01-25 11:15:00 +01:00
ihse
b3c957ba87 8217730: Split up MakeBase.gmk
Reviewed-by: erikj
2019-01-25 11:13:20 +01:00
mdoerr
51ec60cca7 8217459: [PPC64] Cleanup non-vector version of CRC32
Reviewed-by: gromero, goetz
2019-01-25 09:49:17 +01:00
kbarrett
2f3430b41e 8216258: Make FreeIdSet semaphore-based
Summary: Use semaphore-based blocking and notifying, instead of Mutex.
Reviewed-by: tschatzl, sangheki
2019-01-25 00:27:51 -05:00
mseledtsov
afe864f20d 8217748: [TESTBUG] Exclude TestSig test case from JFR TestShutdownEvent
Summary: Excluded TestSig cases from the test
Reviewed-by: egahlin
2019-01-24 14:22:50 -08:00
bpb
b6fdfa818a 8217746: Remove java/nio/file/WatchService/LotsOfCancels.java from JDK problem list
Reviewed-by: rriggs
2019-01-24 14:19:25 -08:00
jwilhelm
cfef634598 8217580: Remove tests from problemList as bugs has been closed
Reviewed-by: iignatyev, mseledtsov
2019-01-24 21:24:29 +01:00
rriggs
0f9c009731 8217740: SocksIPv6Test compilation error
Reviewed-by: bpb
2019-01-24 14:39:16 -05:00
mseledtsov
3549012f05 8217345: [TESTBUG] JFR TestShutdownEvent fails due to improper use of Unsafe
Summary: Added proper use of Unsafe
Reviewed-by: egahlin
2019-01-24 11:14:51 -08:00
amenkov
5734eb5080 8216386: vmTestbase/nsk/jvmti/PopFrame/popframe005/TestDescription.java fails
Reviewed-by: jcbeyler, dtitov, sspitsyn
2019-01-24 11:10:13 -08:00
phh
2a9c88af22 8217520: Remove vm.opt.MaxGCPauseMillis == "null" from TestOldGenCollectionUsage.java
Summary: Remove the corresponding @requires line
Reviewed-by: tschatzl
2019-01-24 10:57:31 -08:00
itakiguchi
49f51271f5 8214533: IBM-29626C is required for AIX default charset
Reviewed-by: alanb, rriggs
2019-01-24 12:52:37 -05:00
michaelm
ea3ee4b613 8216986: Remove unused code from SocksSocketImpl
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
akolarkunnu
a3d12694c2 8217235: Create automated test for SwingSet ColorChooserDemoTest
Reviewed-by: serb, shurailine
Contributed-by: vikrant.v.agarwal@oracle.com
2019-01-24 07:15:42 -08:00
ehelin
9255e124c3 8213231: ThreadSnapshot::_threadObj can become stale
Reviewed-by: dcubed, dholmes, rehn
2019-01-23 13:40:09 +01:00
clanger
9132f4b34e 8217657: Move the test for default value of jdk.includeInExceptions into own test
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00:00
iignatyev
e37a5f5f69 8217770: problem list org.graalvm.compiler.debug.test.DebugContextTest
Reviewed-by: dholmes
2019-01-24 23:52:55 -08:00
jwilhelm
0fd1f1579a 8217580: Remove tests from problemList as bugs has been closed
Reviewed-by: iignatyev, mseledtsov
2019-01-25 00:23:52 +01:00
pliden
a76318af09 8217309: ZGC: Fix ZNMethodTable corruption
Reviewed-by: eosterlund, stefank
2019-01-24 12:23:01 +01:00
jcm
7859c298ab 8213825: assert(false) failed: Non-balanced monitor enter/exit! Likely JNI locking
Summary: skip sfpt optimization for Load is removed for Java Object's Markword Load.
Reviewed-by: kvn, dlong
2019-01-23 23:24:10 -08:00
iignatyev
ae6ebacd5f 8217699: add java/util/concurrent/CountDownLatch/Basic.java to ProblemList-Xcomp
Reviewed-by: kvn
2019-01-23 20:25:30 -08:00
akolarkunnu
f714e4421f 8217377: javax/swing/JPopupMenu/6583251/bug6583251.java failed with UnsupportedOperation exception
Reviewed-by: serb
Contributed-by: vikrant.v.agarwal@oracle.com
2019-01-22 08:44:33 -08:00
akolarkunnu
40e6e0c58e 8217297: Add support for multiple look and feel for SwingSet SliderDemoTest
Reviewed-by: serb
Contributed-by: vikrant.v.agarwal@oracle.com
2019-01-22 08:35:14 -08:00
ngasson
7701879765 8217368: AArch64: C2 recursive stack locking optimisation not triggered
Reviewed-by: aph, drwhite
2019-01-22 15:33:34 +08:00
hseigel
1fa61a3cdf 8217660: Refactor module related locked_create_entry_or_null() functions
Summary: Remove function return values and add functions that create entries without doing unneeded lookups.
Reviewed-by: redestad, lfoltan
2019-01-24 09:38:50 -05:00
apetcher
1f8f82f15c 8217518: Crypto benchmarks not warming up in time
Summary: Adding +AlwaysPreTouch to crypto benchmarks to allow GC to warm up
Reviewed-by: redestad
2019-01-24 09:25:06 -05:00
coleenp
772cd7683b 8216136: Take Compile_lock for SystemDictionary::_modification_counter with safepoint check
Summary: Transition compiler thread from native to VM state to check the Compile_lock with safepoint always.
Reviewed-by: dlong, eosterlund, dholmes
2019-01-24 08:44:26 -05:00
redestad
05cf44ac09 8217716: Remove dead code in PhaseChaitin
Reviewed-by: thartmann
2019-01-24 14:43:56 +01:00
dfuchs
ae2722c56e 8217264: HttpClient: Blocking operations in mapper function do not work as documented
Summary: ensures that a new task is spawned when calling getBody() on a mapping BodySubscriber.
Reviewed-by: chegar
2019-01-24 12:32:42 +00:00
ihse
912f948999 8217638: Remove old way of running tests (test/Makefile)
Reviewed-by: erikj, jjg
2019-01-24 11:29:16 +01:00
ihse
9232c7a59b 8217626: Add setup/teardown functionality to RunTest
Reviewed-by: erikj, shurailine
2019-01-24 11:19:40 +01:00
ihse
c3f7ffeca7 8217634: RunTest documentation and usability update
Reviewed-by: erikj
2019-01-24 11:15:31 +01:00
ehelin
3d238507af 8213231: ThreadSnapshot::_threadObj can become stale
Reviewed-by: dcubed, dholmes, rehn
2019-01-23 13:40:09 +01:00
nishjain
2e9e057b96 8210583: Base64.Encoder incorrectly throws NegativeArraySizeException
Reviewed-by: rriggs, naoto, darcy, alanb
2019-01-24 12:45:19 +05:30
dholmes
808e1c28cf 8194860: Cleanup Semaphore timed-wait time calculations
Reviewed-by: coleenp, kbarrett
2019-01-23 21:17:51 -05:00
erikj
76bb80b335 8217613: [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac
Reviewed-by: tbell, kvn, iignatyev
2019-01-23 14:10:31 -08:00
jwilhelm
b6b36fedcc Added tag jdk-13+5 for changeset e3ed96060992 2019-01-24 01:01:11 +01:00
naoto
91245a0764 8217366: ZoneStrings are not populated for all the Locales
Reviewed-by: rriggs
2019-01-23 15:43:01 -08:00
jwilhelm
1d2e3ff010 Merge 2019-01-23 19:56:28 +01:00
shade
9ade4375e2 8217639: Minimal and Zero builds fail after JDK-8217519 (Improve RegMask population count calculation)
Reviewed-by: kvn
2019-01-23 19:31:00 +01:00
fyang
d20c4ff725 8217359: C2 compiler triggers SIGSEGV after transformation in ConvI2LNode::Ideal
Reviewed-by: thartmann
Contributed-by: jitao8@huawei.com
2019-01-21 13:31:42 +08:00
goetz
789d159d4d 8217438: Adapt tools/launcher/Test7029048.java for Aix.
Reviewed-by: clanger, azeller
2019-01-21 10:17:28 +01:00
prr
5c78c1eb1c 8216965: crash in freetypeScaler.c CopyBW2Grey8
Reviewed-by: serb, mbaesken
2019-01-22 17:31:19 -08:00
mikael
56a8053d50 8217349: Problem list java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java
Reviewed-by: iignatyev, mchung
2019-01-22 16:35:57 -08:00
shade
2df8c7529c 8217467: Access barriers are missing in C2 intrinsic for Base64
Reviewed-by: thartmann, roland, rkennke, kvn
2019-01-22 21:18:25 +01:00
sangheki
eb6cd20e7a 8213695: gc/TestAllocateHeapAtMultiple.java is slow in some configs
Reviewed-by: sangheki, kbarrett
Contributed-by: kishor.kharbas@intel.com
2019-01-22 11:42:13 -08:00
thartmann
239770a7d6 8217230: assert(t == t_no_spec) failure in NodeHash::check_no_speculative_types()
Summary: Remove dead node from C2 IR.
Reviewed-by: roland, neliasso
2019-01-22 18:25:56 +01:00
mullan
a22f77757d 8216280: Allow later Symantec Policy distrust date for two Apple SubCAs
Reviewed-by: coffeys
2019-01-22 09:27:19 -05:00
ngasson
ac6022d95d 8217427: (dc) nio/channels/DatagramChannel/UseDGWithIPv6.java fails without IPv6
Reviewed-by: alanb, clanger
2019-01-22 10:25:22 +08:00
clanger
23fbf07efb 8207404: MulticastSocket tests failing on AIX
Reviewed-by: chegar, sgroeger
2019-01-21 06:55:59 +00:00
fyang
01f13b9db1 8217359: C2 compiler triggers SIGSEGV after transformation in ConvI2LNode::Ideal
Reviewed-by: thartmann
Contributed-by: jitao8@huawei.com
2019-01-21 13:31:42 +08:00
redestad
8800715f35 8217629: RegMask::find_lowest_bit can reuse count_trailing_zeros utility
Reviewed-by: thartmann, neliasso
2019-01-23 17:25:25 +01:00
zgu
7a4d361f06 8217522: Missing barriers in some java_lang_String assertion code after JDK-8217442
Reviewed-by: shade, redestad
2019-01-23 10:50:27 -05:00
rriggs
b7c7898922 8217339: ClassCircularityError loading NumberFormatProvider
Reviewed-by: naoto, mchung
2019-01-23 09:57:31 -05:00
alanb
3d058bcaf2 8217500: (sc) Move SocketChannelImpl's remaining native methods to Net
Reviewed-by: bpb
2019-01-23 13:16:16 +00:00
ihse
2cdd362866 8215952: Update NetBeans project file
Reviewed-by: ihse
Contributed-by: Fu Jie <fujie@loongson.cn>
2019-01-23 13:37:12 +01:00
redestad
1008b7a1db 8217519: Improve RegMask population count calculation
Reviewed-by: thartmann, neliasso, kvn
2019-01-23 10:01:21 +01:00
ihse
6c236e66b1 8217448: Check for pandoc availability using ENABLE_PANDOC and not PANDOC
Reviewed-by: tbell
2019-01-23 10:23:05 +01:00
redestad
b6c19e4e7b 8217450: Add PackageEntry::locked_lookup_only
Reviewed-by: dholmes, shade, lfoltan
2019-01-23 09:52:59 +01:00
pliden
63fa3a0c6d 8217258: ZGC: Minor cleanup of ZBarrierSetAssembler
Reviewed-by: eosterlund, stefank
2019-01-23 08:55:09 +01:00
pliden
6bb9f33e90 8217257: ZGC: Minor cleanup of ZBarrierSetC2
Reviewed-by: stefank, tschatzl
2019-01-23 08:55:09 +01:00
pliden
a1bdb0c1a3 8217503: ZGC: Fix fall through bug in ZBarrierSetC2::escape_add_final_edges()
Reviewed-by: stefank
2019-01-23 08:55:09 +01:00
goetz
2c8dbd4d19 8217512: Message of LinkageError: use 'class' etc. instead of 'type'
Reviewed-by: dholmes, lfoltan
2019-01-23 08:25:22 +01:00
vlivanov
9fb0372149 8202952: C2: Unexpected dead nodes after matching
Reviewed-by: kvn
2019-01-22 18:14:14 -08:00
vlivanov
e90ee46ae6 8213234: Move LambdaForm.Hidden to jdk.internal.vm.annotation
Reviewed-by: mchung, dlong
2019-01-22 18:13:49 -08:00
ihse
376af0692b 8217404: --with-jvm-features doesn't work when multiple features are explicitly disabled
Reviewed-by: vlivanov, kbarrett
2019-01-22 18:13:30 -08:00
mchung
7b34a2001b 8213932: [TESTBUG] assertEquals is invoked with the arguments in the wrong order
Reviewed-by: lancea
2019-01-22 15:31:47 -08:00
iklam
88b0358a75 8217424: Remove the idempotent parameter to Method::sort_methods
Reviewed-by: coleenp, shade
2019-01-22 12:37:35 -08:00
naoto
22afd75acd 8216969: ParseException thrown for certain months with russian locale
Reviewed-by: rriggs
2019-01-22 15:22:13 -08:00
jwilhelm
1bab28b0b4 Merge 2019-01-22 19:56:19 +01:00
shurailine
4ddc55d28f 8217357: Implement JCov jib profiles
Reviewed-by: erikj
2019-01-22 03:32:47 -08:00
alanb
1a6a3151c1 8217461: (ch) Add Net.available to return the number of bytes in the socket input buffer
Reviewed-by: clanger, michaelm
2019-01-22 16:39:52 +00:00
diazhou
ca26bc642c 8217352: Remove EA from version string starting with Initial RC promotion
Reviewed-by: erikj, tbell
2019-01-21 02:43:33 +00:00
dnsimon
5cf8344ef2 8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
Reviewed-by: kvn, dlong
2019-01-20 14:57:22 +01:00
serb
fc9c02cd63 8211885: Duplicate id declarations in java.awt.geom.Path2D
Reviewed-by: aivanov
2019-01-19 10:09:46 -08:00
dlong
573ff1447d 8217394: Remove org.graalvm.compiler.debug.test.TimerKeyTest from problem list
Reviewed-by: kvn
2019-01-18 16:11:36 -08:00
pbansal
0c46572fba 8214765: All TrayIcon MessageType icons does not show up with gtk3 option set
Reviewed-by: serb, psadhukhan
2019-01-18 13:54:32 +05:30
pbansal
1fa008c5cf 8214111: There is no icon in all JOptionPane target image
Reviewed-by: serb, psadhukhan
2019-01-18 13:36:16 +05:30
jjiang
66d99776e4 8203687: javax/net/ssl/compatibility/Compatibility.java supports TLS 1.3
Reviewed-by: xuelei
2019-01-18 14:25:34 +08:00
mr
30494927e2 8216532: tools/launcher/Test7029048.java fails (Solaris)
Reviewed-by: rriggs
2019-01-16 16:27:21 -08:00
jwilhelm
946270f97a Added tag jdk-12+28 for changeset 659b004b6a1b 2019-01-17 00:55:19 +01:00
xuelei
52e1b350d4 8216045: The size of key_exchange may be wrong on FFDHE
Reviewed-by: jnimeh
2019-01-16 11:19:43 -08:00
mhalder
8d7709a45a 8215280: Double click on titlebar not working for Frame with extended state set to MAXIMIZED_BOTH
Reviewed-by: serb, kaddepalli
2019-01-16 23:56:32 +05:30
akolarkunnu
9b3494b39c 8214471: Enable different look and feel tests in SwingSet3 demo test ToolTipDemoTest
Reviewed-by: serb, shurailine
2019-01-15 22:54:08 -08:00
vlivanov
e7cde4776f 8215757: C2: PhaseIdealLoop::create_new_if_for_predicate() computes wrong IDOM
Reviewed-by: kvn, roland
2019-01-15 16:41:17 -08:00
roland
76539a9752 8217042: Shenandoah: write barrier on backedge of strip mined loop causes c2 crash at expansion time
Reviewed-by: rkennke, thartmann
2019-01-11 14:27:22 +01:00
roland
03e313f363 8217043: Shenandoah: SIGSEGV in Type::meet_helper() at barrier expansion time
Reviewed-by: shade, rkennke, thartmann
2019-01-14 13:53:42 +01:00
tschatzl
f036b349db 8216490: Spammy periodic GC log message contains random time stamp with periodic gc disabled
Summary: Print periodic gc status at startup and only print regular messages if enabled.
Reviewed-by: sangheki, kbarrett
2019-01-16 11:43:51 +01:00
lucy
2f8dd0ab04 8216314: SIGILL in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2019-01-16 09:48:35 +01:00
never
6de12005ef 8215748: Application fails when executed with Graal
Reviewed-by: iveresov, kvn, thartmann
2019-01-15 22:59:33 -08:00
weijun
fac9b3c67d 8215694: keytool cannot generate RSASSA-PSS certificates
Reviewed-by: xuelei
2019-01-16 11:25:55 +08:00
pbansal
d25bf4a200 8214252: Expanded & Collapsed nodes of a JTree look the same on GTK3
Reviewed-by: serb, psadhukhan
2019-01-10 16:38:02 +05:30
psadhukhan
77eb8a9b00 Merge 2019-01-08 13:40:57 +05:30
jwilhelm
36dc19f5dc Merge 2019-01-08 07:29:13 +01:00
pmuthuswamy
2394e84fcb 8214738: javadoc should honor styles in doc-files
Reviewed-by: jjg
2019-01-08 11:16:32 +05:30
dzhou
b212aa637a 8215913: [Test_bug]java/util/Locale/LocaleProvidersRun.java failed on de_DE and ja_JP locale.
Reviewed-by: naoto, rgoel, rriggs
2019-01-07 18:48:39 -08:00
ysuenaga
33fdf68d3f 8216154: C4819 warnings at HotSpot sources on Windows
Reviewed-by: kbarrett, tschatzl
2019-01-08 10:35:06 +09:00
kbarrett
7898279583 8215985: ZGC: Simplify reference processing in light of JDK-8175797
Summary: Only self-loop 'next' field for FinalReference deactivation.
Reviewed-by: eosterlund, pliden
2019-01-07 15:20:23 -05:00
rriggs
be4c57b7ef 8216205: Java API documentation formatting error in System.getEnv
Reviewed-by: lancea, bchristi, alanb
2019-01-07 14:15:00 -05:00
redestad
0fe01bcdae 8216275: Disable annotation processing lint warnings when building microbenchmarks
Reviewed-by: erikj, ecaspole
2019-01-07 17:09:17 +01:00
rriggs
2e7cd7f4f3 8216134: (process) ProcessBuilder startPipeline does not hide piped streams
Reviewed-by: lancea, bchristi, sgroeger
2019-01-07 09:29:31 -05:00
erikj
a723d81ac3 8216267: Fix hotspot-ide-project target on WSL
Reviewed-by: erikj
Contributed-by: andrewluotechnologies@outlook.com
2019-01-07 04:56:59 -08:00
eosterlund
29099ef373 8215773: applications/kitchensink/Kitchensink.java crash with "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Reviewed-by: coleenp, pliden
2019-01-07 12:22:31 +01:00
jwilhelm
5ad25d8491 8216266: ProblemList PeelingZeroTripCount.java
Reviewed-by: thartmann, roland
2019-01-07 13:04:32 +01:00
redestad
2ff0836d68 8216197: Remove unused new_hash methods
Reviewed-by: kbarrett, dholmes
2019-01-07 10:21:43 +01:00
erikj
362ae91ec0 8215400: Warn on usage of trampolines with gcc
Reviewed-by: tbell, kbarrett
2019-01-07 10:00:41 +01:00
psadhukhan
c291e9c863 Merge 2019-01-07 11:02:11 +05:30
itakiguchi
4f56bfff0d 8211267: StackOverflowError happened by TextField.setFont(...)
Reviewed-by: serb, prr
2019-01-06 19:28:21 -08:00
dholmes
cd0eb34cc2 8216188: Remove expired flags in JDK 13
Reviewed-by: kbarrett, ccheung
2019-01-06 19:49:58 -05:00
redestad
af707e0435 8216191: Remove FastSuperclassLimit
Reviewed-by: coleenp
2019-01-05 20:11:15 +01:00
redestad
d9f0c6a419 8216189: Remove Klass::compute_is_subtype_of
Reviewed-by: hseigel, jiangli
2019-01-05 20:08:24 +01:00
serb
714b154ef5 8215756: Memory leaks in the AWT on macOS
Reviewed-by: dmarkov
2019-01-05 10:13:58 -08:00
fyang
c4360e7bd0 8215951: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-01-05 10:48:54 +08:00
ysuenaga
47bc2e94a3 8216155: C4819 warning at libfreetype sources on Windows
Reviewed-by: erikj
2019-01-05 10:07:55 +09:00
mseledtsov
d51ca2f8cd 8215583: Exclude runtime/handshake/HandshakeWalkSuspendExitTest.java
Summary: Added test to problem list
Reviewed-by: iignatyev
2019-01-04 15:17:40 -08:00
coleenp
cf13ad35f5 8215731: Move forward class definitions out of globalDefinitions.hpp
Summary: redistribute the forward declarations to the header files that need them.
Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
redestad
26ea206dce 8215412: Optimize PrintStream.println methods
Reviewed-by: rriggs, dfuchs, forax
2019-01-04 20:58:35 +01:00
hseigel
65a15679f5 8216010: Change callers of build_u2_from() to call Bytes::get_Java_u2() instead
Summary: Change the callers and delete function build_u2_from()
Reviewed-by: kbarrett, jiangli, coleenp
2019-01-04 14:28:27 -05:00
joehw
269b19b2e8 8215330: javax.xml.catalog.CatalogResolverImpl: GroupEntry.matchURI fails to match
Reviewed-by: lancea
2019-01-04 10:42:12 -08:00
rriggs
8c2783e3cb 8215798: Use {@systemProperty} for definition of org.openjdk.java.util.stream.tripwire property
Reviewed-by: lancea
2019-01-04 12:30:20 -05:00
mbaesken
49af297f01 8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
Reviewed-by: dcubed, dholmes
2019-01-04 17:46:56 +01:00
rriggs
0a56c9382a 8216067: Unused local vars in windows/native/libjava/io_util_md.c
Reviewed-by: rriggs
Contributed-by: andrewluotechnologies@outlook.com
2019-01-04 11:03:53 -05:00
redestad
9099628138 8216157: Enable inlining of java_lang_Class::is_primitive
Reviewed-by: coleenp, eosterlund, jiangli
2019-01-04 16:23:56 +01:00
egahlin
72e16a6f1b 8215771: The jfr tool should pretty print reference chains
Reviewed-by: mgronlun
2019-01-04 14:05:16 +01:00
erikj
17c65baeb2 8216021: RunTest.gmk might set concurrency level to 1 on Windows
Reviewed-by: ctornqvi, tbell
2019-01-04 11:00:29 +01:00
erikj
d834abcf6d 8216048: Fix devkit creation in WSL
Reviewed-by: erikj
Contributed-by: andrewluotechnologies@outlook.com
2019-01-04 01:59:54 -08:00
jgeorge
dacb4bfffa 8213457: serviceability/sa/ClhsdbInspect.java time out
Summary: Increase the timeout needed for ClhsdbInspect.java to 480
Reviewed-by: sspitsyn, cjplummer, lmesnik
2019-01-04 13:41:45 +05:30
psadhukhan
96ed4f3460 8215909: Typo in Swing ProcessMouseEvent method documentation
Reviewed-by: serb, aivanov
2019-01-04 11:40:53 +05:30
kaddepalli
399d8e28c8 8215910: Typo in AWT InvocationEvent Method Documentation.
Reviewed-by: serb, aivanov
2019-01-04 07:56:39 +05:30
sviswanathan
be80812520 8215888: Register to register spill may use AVX 512 move instruction on unsupported platform.
Reviewed-by: vlivanov, thartmann
2019-01-03 14:55:13 -08:00
ccheung
975ed04a43 8215947: JVM crash with -XX:+DumpSharedSpaces
Summary: disable JIT compilation if -XX:+DumpSharedSpaces is specified by the user
Reviewed-by: lfoltan, jiangli
2019-01-03 14:33:58 -08:00
mbaesken
52a229df87 8215961: jdk/jfr/event/os/TestCPUInformation.java fails on AArch64
Reviewed-by: aph, goetz, lucy
2019-01-03 16:14:40 +01:00
gadams
3043e1eb35 8216059: nsk_jvmti_parseoptions still has dependency on tilde separator
Reviewed-by: sspitsyn, cjplummer
2019-01-03 15:54:01 -05:00
ecaspole
28e0ad1c83 Merge 2019-01-03 13:22:45 -05:00
ecaspole
4fc5e290ae 8196347: LogCompilation: generate log file on the fly for input to junits
Summary: Dynamically generate simple log files
Reviewed-by: kvn, thartmann
2019-01-03 13:22:02 -05:00
coffeys
aca9a26486 Merge 2019-01-03 18:19:54 +00:00
hseigel
b7c115f433 8215644: Clean up globalDefinitions_<compiler>.hpp
Summary: Remove non-existent classes from forward declarations, delete unused functions, etc.
Reviewed-by: coleenp, kbarrett
2019-01-03 13:11:35 -05:00
coffeys
6f8c1d7465 8215911: Various Typos in SQL Method Documentation
Reviewed-by: coffeys
Contributed-by: roger.calnan@oracle.com
2019-01-03 17:49:34 +00:00
coffeys
ba1f1dff41 8215912: Various Typos in java.net Method Documentation
Reviewed-by: coffeys
Contributed-by: roger.calnan@oracle.com
2019-01-03 17:46:09 +00:00
coffeys
9517d13266 8182992: Typo in DatagramPacket constructor API doc
Reviewed-by: coffeys
Contributed-by: roger.calnan@oracle.com
2019-01-03 17:29:53 +00:00
coffeys
510636d0d0 8179943: Typo in javax.net.ssl.SSLSession.removeValue(String) method documentation
Reviewed-by: coffeys
Contributed-by: roger.calnan@oracle.com
2019-01-03 17:27:29 +00:00
erikj
21a9a55639 8215991: Stop hiding exception from ArtifactResolver failures in tests
Reviewed-by: tbell, ctornqvi
2019-01-03 11:21:40 +01:00
rriggs
2a3252001a 8215976: Fix gmtime_r declaration conflicts in zip.cpp with linux header files
Reviewed-by: dholmes, rriggs
Contributed-by: patrick@os.amperecomputing.com
2019-01-03 17:39:39 +08:00
weijun
0730a81d9e 8215776: Keytool importkeystore may mix up certificate chain entries when DNs conflict
Reviewed-by: xuelei
2019-01-22 21:18:45 +08:00
alanb
436ab38268 8217451: ExtendedSocketOptions should encapsulate support for SO_FLOW_SLA
Reviewed-by: michaelm, chegar
2019-01-22 12:32:19 +00:00
redestad
496540a781 8217442: Optimize native accesses to String.value
Reviewed-by: shade, dholmes
2019-01-22 11:22:44 +01:00
dnsimon
a562484d81 8217445: [JVMCI] incorrect management of JVMCI compilation failure reason string
Reviewed-by: kvn, thartmann
2019-01-22 10:12:05 +01:00
thartmann
7fd503bb6f 8217291: Failure of ::realloc() should be handled correctly in adlc/forms.cpp
Summary: Handle reallocation failures in adlc.
Reviewed-by: kvn, neliasso
2019-01-22 08:50:49 +01:00
thartmann
f5767275c9 8217447: Develop flag TraceICs is broken
Summary: Added NULL check and fixed output.
Reviewed-by: kvn
2019-01-22 08:47:01 +01:00
bulasevich
f21750a8eb 8214235: arm32: assertion in collectedHeap.cpp: attempt to clean empty remainder
Reviewed-by: phh, pliden
2019-01-22 10:42:41 +03:00
dholmes
5dcb6137cf 8217466: [BACKOUT] Optimize CodeHeap Analytics
Reviewed-by: redestad, shade, jwilhelm, iignatyev
2019-01-21 16:56:13 -05:00
lucy
54ae9cde48 8217250: Optimize CodeHeap Analytics
Reviewed-by: kvn, thartmann
2019-01-21 18:00:23 +01:00
tschatzl
c6f564de4b 8217374: Rename G1 EvacuationInfo class to G1EvacuationInfo
Reviewed-by: phh, kbarrett
2019-01-21 12:19:00 +01:00
shade
970919adc7 8217423: Windows gtest build fails after JDK-8212826 (Make PtrQueue free list lock-free)
Reviewed-by: clanger, zgu, kbarrett
2019-01-21 10:05:24 +01:00
redestad
1882baba36 8217388: Remove develop flag ProfilerPCTickThreshold
Reviewed-by: shade, thartmann
2019-01-21 09:41:35 +01:00
mdoerr
208c19ab20 8216060: [PPC64] Vector CRC implementation should be used by interpreter and be faster for short arrays
Reviewed-by: gromero, goetz
2019-01-21 09:44:27 +01:00
zgu
1a99fb256d 8217342: Build failed with excluding JFR
Reviewed-by: shade, pliden
2019-01-20 12:20:37 -05:00
redestad
4dffe73440 8217387: Remove dead develop flag CIFireOOMAt
Reviewed-by: shade, kbarrett
2019-01-20 16:55:21 +01:00
shade
f92554187c 8217419: Shenandoah fails to build after JDK-8212826 (Make PtrQueue free list lock-free)
Reviewed-by: aph, simonis, rkennke
2019-01-20 11:13:13 +01:00
kbarrett
2b16ffb2e0 8212826: Make PtrQueue free list lock-free
Summary: Add lock-free stack and use in BufferNode::Allocator.
Reviewed-by: tschatzl, sangheki
2019-01-19 19:50:01 -05:00
shade
0589c013ce 8217343: Shenandoah control thread should be able to run at critical priority
Reviewed-by: rkennke
2019-01-19 11:20:01 +01:00
shade
fc821c7c7e 8217378: UseCriticalCMSThreadPriority is broken
Reviewed-by: rkennke, dcubed
2019-01-19 11:19:55 +01:00
vlivanov
dc2ec80805 8217407: StackValue::print_on() crashes on NULL handle
Reviewed-by: kvn
2019-01-18 17:34:43 -08:00
vlivanov
83337e7b77 8217400: Optimized build is broken by Shenandoah changes
Reviewed-by: shade
2019-01-18 17:34:36 -08:00
vlivanov
690211de9a 8217399: Backout 8217358
Reviewed-by: kvn
2019-01-18 17:34:31 -08:00
weijun
0749e29f25 8215937: Check usages of security-related Resources files
Reviewed-by: mullan
2019-01-19 09:20:47 +08:00
igerasim
4c29dcdc1e 8217344: Make comparison overflow-aware in ECDHKeyAgreement.engineGenerateSecret()
Reviewed-by: apetcher
2019-01-18 15:44:17 -08:00
dholmes
bd940c0e64 8217337: [TESTBUG] TestThreadDumpClassInitMonitor.java fails with Unexpected thread info line
Summary: product build is missing two lines in the stacktrace
Reviewed-by: clanger, iignatyev
2019-01-18 18:21:50 -05:00
jwilhelm
49fbce915a Merge 2019-01-18 23:07:48 +01:00
vlivanov
037a5f2a45 8217358: Optimized build is broken by Shenandoah changes
Reviewed-by: shade
2019-01-18 13:22:10 -08:00
jjg
05bc28b666 8217395: Update langtools shell tests to use ${EXE_SUFFIX}
Reviewed-by: darcy
2019-01-18 12:41:11 -08:00
jjg
94a569c23f 8217034: JavadocTester should check for missing files by default
Reviewed-by: hannesw
2019-01-18 11:26:30 -08:00
bsrbnd
40ba6cb17f 8214345: infinite recursion while checking super class
Reviewed-by: vromero
2019-01-18 13:49:45 -05:00
mseledtsov
0b5bed77fb 8217391: [TESTBUG] problem list JFR TestShutdownEvent
Summary: Placed the test on a problem list
Reviewed-by: lfoltan
2019-01-18 10:44:44 -08:00
bpb
9620882551 8215467: Files.isHidden should return true for hidden directories on Windows
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08:00
dfuchs
0081fa7b61 8216561: HttpClient: The logic of retry on connect exception is inverted
Summary: Allows retry on connect exception by default, ensuring that the second attempt takes into account the time spent in the first attempt in order to honor the connect timeout value (if present).
Reviewed-by: chegar
2019-01-18 17:06:29 +00:00
shade
0cb1b523fe 8217315: Proper units should print more significant digits
Reviewed-by: stuefe, tschatzl
2019-01-18 17:05:41 +01:00
shade
e1b315b4cb 8217014: Epsilon should not ignore Metadata GC causes
Reviewed-by: stuefe, zgu
2019-01-18 16:40:24 +01:00
redestad
62183f3b5d 8217318: Unneeded handleization in InstanceKlass::restore_unshareable_info
Summary: No need for a methodHandle here since methods not yet added to SystemDictionary can't be redefined.
Reviewed-by: coleenp
2019-01-18 16:21:07 +01:00
zgu
dd9ac11670 8217319: Cleanup Shenandoah includes
Reviewed-by: shade
2019-01-18 09:10:49 -05:00
gadams
563d18d119 8158066: SourceDebugExtensionTest fails to rename file
Reviewed-by: dcubed, dholmes
2019-01-18 05:33:28 -05:00
clanger
975f710b45 8217311: Improve Exception thrown when MulticastSocket.setInterface fails on AIX(Unix)
Reviewed-by: sgroeger, alanb, mbaesken, chegar
2019-01-18 09:04:09 +01:00
redestad
97c52ccb22 8217325: Enable inlining of java_lang_Class::oop_size_raw
Reviewed-by: shade, coleenp, rehn, stefank
2019-01-18 08:00:05 +01:00
ysuenaga
1cb40991ab 8181313: SA: Remove libthread_db dependency on Linux
Reviewed-by: jgeorge, sballal
2019-01-18 14:43:25 +09:00
mikael
3310839972 8217349: Problem list java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java
Reviewed-by: iignatyev
2019-01-17 14:56:18 -08:00
mikael
97f3c6f2ff 8217266: Remove dead LIR_List::compare_to and LIR_Code::lir_compare_to
Reviewed-by: roland, kvn
2019-01-17 13:46:12 -08:00
rriggs
28ac44e97e 8217340: Compilation failed: tools/launcher/Test7029048.java
Reviewed-by: lancea
2019-01-17 15:24:26 -05:00
shade
863d796c6b 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
Reviewed-by: tschatzl, coleenp
2019-01-17 17:28:47 +01:00
michaelm
0d09395f24 8217237: HttpClient does not deal well with multi-valued WWW-Authenticate challenge headers
Reviewed-by: chegar, dfuchs
2019-01-17 15:24:20 +00:00
jwilhelm
b7d3c0b89e Merge 2019-01-17 15:44:29 +01:00
zgu
0c262e8c4e 8217213: shenandoahTaskQueue.hpp includes .inline.hpp file
Reviewed-by: shade, tschatzl
2019-01-17 08:48:56 -05:00
hseigel
8497fe3169 8215699: -Xlog::file cannot be used with named pipe
Summary: If the log file is a named pipe then change the default file_count to zero so no log file rotation is attempted.
Reviewed-by: lfoltan, coleenp
2019-01-17 08:48:11 -05:00
ngasson
99dd0aa29f 8216350: AArch64: monitor unlock fast path not called
Reviewed-by: aph, drwhite, fyang
2019-01-10 17:08:44 +08:00
stooke
710fa4ade8 8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
2019-01-16 13:38:19 -05:00
mbaesken
34c5f1bfce 8217233: Update build settings for AIX/xlc
Reviewed-by: clanger, sgroeger
2019-01-16 10:13:49 +01:00
mseledtsov
e37146ceba 8213917: [TESTBUG] Shutdown JFR event is not covered by test
Summary: updated the test
Reviewed-by: egahlin
2019-01-16 17:37:05 -08:00
jwilhelm
9de95b8bd8 Added tag jdk-13+4 for changeset a47b8125b7cc 2019-01-17 00:52:01 +01:00
lancea
e8bed1d22e 8211919: ZipDirectoryStream should provide a stream of paths that are relative to the directory
Reviewed-by: alanb, clanger
2019-01-16 17:37:09 -05:00
tschatzl
d0da395247 8213827: NUMA heap allocation does not respect process membind/interleave settings
Summary: Optionally use libnuma v2 API to query for and support NUMA membind/interleave process configuration.
Reviewed-by: tschatzl, sangheki
Contributed-by: Amith Pawar <amith.pawar@gmail.com>
2019-01-16 22:32:04 +01:00
tschatzl
7a7010f345 8217203: Some more includes to .inline.hpp files in gc header files
Reviewed-by: zgu, kbarrett, sangheki
2019-01-16 21:37:12 +01:00
jwilhelm
87d15a0e09 Merge 2019-01-16 20:53:09 +01:00
dfuchs
505cbd7aa6 8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
Summary: The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed
Reviewed-by: chegar
2019-01-16 19:09:16 +00:00
igerasim
a9c23a8ec5 8007606: Handle realloc() failure in unix/native/libnet/net_util_md.c correctly
Reviewed-by: clanger, mbaesken
2019-01-16 10:12:58 -08:00
zgu
7e125f250f 8215299: Remove G1CMTask::should_exit_termination()'s undesirable side-effect
Reviewed-by: kbarrett, rkennke, tschatzl
2019-01-09 19:05:05 -05:00
vromero
822ba8d016 8216529: in case of a crash, javac should print out the parameters passed to it
Reviewed-by: jjg, cushon
2019-01-16 07:01:04 -05:00
goetz
3e6ccb0a2f 8217044: [aix] Launcher still adds old path to jli library to LIBPATH
Reviewed-by: ihse, rriggs, dholmes
2019-01-15 12:02:40 +01:00
mdoerr
a2699c95b3 8216556: Unnecessary liveness computation with JVMTI
Reviewed-by: redestad, dlong, kvn
2019-01-16 10:16:08 +01:00
mdoerr
2500641f80 8216426: Usage of array placement new may lead to memory corruption
Reviewed-by: rehn, kbarrett, rkennke, eosterlund
2019-01-15 10:23:23 +01:00
pmuthuswamy
bee32a69ca 8202626: javadoc generates broken links to <Unnamed>
Reviewed-by: jjg
2019-01-16 11:15:25 +05:30
darcy
988fc14821 8217000: Refactor Class::methodToString
Reviewed-by: smarks
2019-01-15 19:10:40 -08:00
jjg
7114d94adc 8217214: Recent new javadoc test needs to be updated
Reviewed-by: mchung
2019-01-15 15:45:39 -08:00
mbalao
8fc057809a 8217088: Disable JDK-6913047 fix (SunPKCS11 memory leak) after JDK-8216597 (SIGBUS error in getNativeKeyInfo)
Summary: Disable JDK-6913047 fix (SunPKCS11 memory leak) temporarily until JDK-8216597 (SIGBUS error in getNativeKeyInfo) is fixed.
Reviewed-by: mullan
2019-01-15 19:24:07 -03:00
jjg
220eecfded 8216319: Refactor JavadocTester to allow more on-by-default checkers; add A11YChecker
Reviewed-by: hannesw
2019-01-15 14:18:44 -08:00
jwilhelm
ff2ce8ce9b Merge 2019-01-15 22:54:09 +01:00
dholmes
64ef9e9803 8213397: Stack dump should show more clearly when a thread is blocked on a class initialization monitor
Reviewed-by: rehn, coleenp
2019-01-15 16:40:31 -05:00
rriggs
fb11c13baa 8202675: Replace process-wide terminology in serial filtering to be consistent
Reviewed-by: alanb, lancea
2019-01-15 15:56:41 -05:00
redestad
3bec81b884 8216995: Clean up JFR command line processing
Reviewed-by: gziemski, mgronlun
2019-01-15 21:17:35 +01:00
hseigel
ec57f9bb9f 8216563: [TESTBUG] Change stressTime to default to 30 for nsk tests (part 2)
Summary: Change the default from 60 seconds to 30 seconds.
Reviewed-by: coleenp, mseledtsov
2019-01-15 14:55:45 -05:00
rriggs
12a3c3ec02 8080569: java/lang/ProcessBuilder/DestroyTest.java fails with "Process terminated prematurely"
Reviewed-by: lancea, bchristi
2019-01-15 09:22:00 -05:00
dfuchs
399e736b82 8216974: HttpConnection not returned to the pool after 204 response
Summary: MultiExchange now call nullBody() on Exchange after receiving 204
Reviewed-by: chegar
2019-01-15 11:34:20 +00:00
stuefe
aa3248f551 8216982: Assertion poison page established too early
Reviewed-by: mdoerr, dholmes
2019-01-15 08:03:30 +01:00
weijun
cb9c60199a 8215922: jar spec is not precise when describing jar file re-signing
Reviewed-by: lancea, mullan
2019-01-15 11:21:00 +08:00
dholmes
9c9ba3081e 8217017: [TESTBUG] Tests fail to compile after JDK-8216265
Reviewed-by: kvn
2019-01-14 20:56:15 -05:00
shurailine
21a6bcb83c Merge 2019-01-14 08:23:50 -08:00
shurailine
9e2fd2972d 8215729: Enhance makefiles to allow collecting code coverage with JCov
Reviewed-by: erikj
2019-01-14 08:22:49 -08:00
jwilhelm
ffece50ca6 Merge 2019-01-14 23:05:26 +01:00
kvn
803eeaa2d3 8216151: [Graal] Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.debug
Summary: update default.policy based on latest changes in jdk.internal.vm.compiler.management
Reviewed-by: thartmann, alanb, mchung
2019-01-14 13:45:19 -08:00
lancea
075228694e 8216362: Better error message handling when there is an invalid Manifest
Reviewed-by: lancea, rriggs, mullan
Contributed-by: Philipp Kunz <philipp.kunz@paratix.ch>
2019-01-14 16:35:16 -05:00
dnsimon
3c371ef98b 8215313: [AOT] java/lang/String/Split.java fails with AOTed java.base
Reviewed-by: kvn, never, dlong
Contributed-by: Josef Haider <josef.haider@jku.at>
2019-01-14 21:34:39 +01:00
bchristi
d992b06d3b 8216401: Allow "file:" URLs in Class-Path of local JARs
Reviewed-by: alanb, mchung
2019-01-14 11:22:32 -08:00
xuelei
67a0d5bbea 8214418: half-closed SSLEngine status may cause application dead loop
Reviewed-by: jnimeh, dfuchs, chegar
2019-01-14 10:00:45 -08:00
zgu
9e4af4ada8 8215549: Shenandoah deduplication cleans up table/queue twice
Reviewed-by: rkennke
2019-01-14 12:51:45 -05:00
vromero
007502e0fa 8215482: check for cycles in type variables can provoke NPE
Reviewed-by: mcimadamore
2019-01-14 12:24:25 -05:00
shade
17d47424d0 8216308: StackTraceElement::fill_in can use injected Class source-file
Reviewed-by: coleenp, dholmes
2019-01-14 17:20:20 +01:00
goetz
910a9c2b2c 8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests.
Summary: Also cleanup some switches over OSes and use File.pathSeparator.
Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
rkennke
f89857e954 8216973: Kick up cleanup phases in the right places
Reviewed-by: shade
2019-01-14 12:49:12 +01:00
dfuchs
09e3d22a2a 8216478: Cleanup HttpResponseImpl back reference to HttpConnection
Summary: Retain a reference to Exchange and HttpConnection only when necessary, i.e. for WebSocket initial connection.
Reviewed-by: chegar
2019-01-14 10:46:08 +00:00
pmuthuswamy
6cb8835a96 8199892: Missing landmarks when generating docs using html sources
Reviewed-by: jjg
2019-01-14 15:09:15 +05:30
thartmann
5d8d1e17ba 8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest
Summary: Added -XX:-OmitStackTraceInFastThrow to test flags to avoid empty exception message.
Reviewed-by: epavlova, iignatyev, dlong, kvn
2019-01-14 09:48:30 +01:00
mdoerr
54428216cb 8216560: gtest build broken on PPC64 and aarch64
Reviewed-by: shade
2019-01-14 09:26:34 +01:00
jgeorge
77630e05fb 8215544: SA: Modify ClhsdbLauncher to add sudo privileges to enable MacOS tests on Mach5
Summary: Check if 'sudo' privileges can be added for executing macOS tests, and if so, add these privileges before executing the tests
Reviewed-by: jcbeyler, phh, sballal
2019-01-14 09:30:43 +05:30
dholmes
1ed86617c1 8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
Reviewed-by: jiangli, mgronlun
2019-01-13 16:54:01 -05:00
pliden
f8f66c0313 8216595: Fix broken builds after JDK-8216424
Reviewed-by: redestad, alanb
2019-01-13 17:33:26 +01:00
redestad
efaea4c84e 8216424: Remove TimeLivenessAnalysis
Reviewed-by: kvn, thartmann
2019-01-13 12:50:05 +01:00
shade
5f5340ea49 8216589: s390x build failures after JDK-8216167 (Update include guards to reflect correct directories)
Reviewed-by: dholmes
2019-01-12 13:33:18 +01:00
naoto
3858434229 8216140: Correct UnicodeDecoder U+FFFE handling
Reviewed-by: rriggs
2019-01-11 14:24:23 -08:00
ccheung
6f9b259643 8216184: CDS/appCDS tests failed on Windows due to long path to a classlist file
Summary: use os::open() instead of fopen()
Reviewed-by: iklam, dholmes
2019-01-11 14:05:57 -08:00
sgehwolf
2c8c0441ff 8216559: [JFR] Native libraries not correctly parsed from /proc/self/maps
Summary: Use %7s for the dev scan format as major:minor may be up to that length
Reviewed-by: mgronlun, jwilhelm
2019-01-11 13:34:57 +01:00
darcy
afb1019d64 8208371: Provided supported mechanims to create a ModuleElement for an unnamed module
Reviewed-by: jjg
2019-01-11 09:57:15 -08:00
bpb
006e1cec3d 8216172: File.renameTo(File dest) should check for NPE at the very beginning
Reviewed-by: lancea
2019-01-11 08:20:25 -08:00
roland
8acdabc56a 8216549: Mismatched unsafe access to non escaping object fails
Reviewed-by: vlivanov, kvn, thartmann
2019-01-11 10:03:00 +01:00
jjg
eb4aa3a1ad Merge 2019-01-11 11:42:23 -08:00
jjg
3c60f94618 8210561: Command-line help wrong for javac --module
Reviewed-by: darcy
2019-01-11 11:32:00 -08:00
darcy
ba26800255 8213299: runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
Reviewed-by: dholmes
2019-01-11 08:32:44 -08:00
vromero
97d3728014 8215648: remove equals and hashCode implementations from j.l.i.VarHandle
Reviewed-by: mchung
2019-01-11 09:02:44 -05:00
roland
36f8fdb76e 8216482: Shenandoah: typo in ShenandoahBarrierSetC2::clone_barrier_at_expansion() causes failed compilations
Reviewed-by: thartmann, shade, rkennke
2019-01-10 13:54:09 +01:00
eosterlund
88ef3dfb4c 8215754: ZGC: nmethod is not unlinked from Method before rendezvous handshake
Reviewed-by: pliden, neliasso
2019-01-11 13:15:37 +01:00
mdoerr
980e74b5c2 8216376: [PPC64] Possibly unreliable stack frame resizing in template interpreter
Reviewed-by: goetz, gromero
2019-01-11 11:02:00 +01:00
jlahoda
aeb00b252c 8215244: jdk/jshell/ToolBasicTest.java testHistoryReference failed
Summary: Mark history entries from previous sessions with timestamp that is definitelly in the past.
Reviewed-by: rfield
2019-01-11 10:46:29 +01:00
itakiguchi
c599512864 8211841: [testbug] sun/nio/cs/OLD/TestIBMDB.java does not compile (aix)
Reviewed-by: alanb, goetz
2019-01-11 09:37:31 +01:00
eosterlund
b579f5ffcd 8215889: assert(!_unloading) failed: This oop is not available to unloading class loader data with ZGC
Reviewed-by: coleenp, neliasso
2019-01-10 18:10:15 +01:00
jlaskey
58706a3d28 8215489: Remove String::align
Reviewed-by: vromero, sundar
2019-01-09 16:41:16 -04:00
jlaskey
ad2f51aa56 8215112: String::transform spec clarification
Reviewed-by: smarks
2019-01-09 15:23:11 -04:00
mr
e2487d6278 8210669: Some launcher tests assume a pre-JDK 9 run-time image layout
Reviewed-by: mchung
2019-01-09 08:52:47 -08:00
jjg
33a74bb4fe 8215308: pandoc-html-manpage-filter.js does not work for [un]pack200
Reviewed-by: erikj
2019-01-09 08:49:26 -08:00
jlaskey
6f2948c9f4 8215681: Remove compiler support for Raw String Literals from JDK 12
Reviewed-by: mcimadamore, jlahoda, sundar
2019-01-09 11:13:00 -04:00
shade
ff15625caf 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
jiangli
5ee48efdf8 8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
Summary: Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-01-10 13:03:34 -05:00
robm
4ad2cc7911 8214440: ldap over a TLS connection negotiate failed with "javax.net.ssl.SSLPeerUnverifiedException: hostname of the server '' does not match the hostname in the server's certificate"
Reviewed-by: vtewari, xuelei
2019-01-10 07:54:16 -08:00
tschatzl
3d7a25c92f 8216316: Tests fail due to too low specified TLAB size
Reviewed-by: goetz, sangheki
Contributed-by: goetz.lindenmaier@sap.com, thomas.schatzl@oracle.com
2019-01-10 12:14:12 +01:00
jwilhelm
aa5ac20872 Added tag jdk-12+27 for changeset f15d443f9731 2019-01-10 02:47:26 +01:00
jlaskey
8f50139e2b 8215493: String::indent inconsistency with blank lines
Reviewed-by: rriggs, smarks
2019-01-09 18:17:36 -04:00
neliasso
46fd2d890a 8215755: ZGC: split_barrier_thru_phi: check number of inputs of phi
Reviewed-by: pliden, thartmann
2019-01-09 15:36:20 +01:00
coleenp
d9c282eb13 8215575: C2 crash: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
Summary: Set InstanceKlass::loaded before adding classes to the subklass list, which can be read concurrently by the compiler.
Reviewed-by: dholmes, eosterlund
2019-01-09 07:52:45 -05:00
vromero
613b32837d 8215510: j.l.c.ClassDesc is accepting descriptors not allowed by the spec
Reviewed-by: goetz
2019-01-09 08:07:23 -05:00
pliden
9f03443168 8215708: ZGC: Add missing LoadBarrierNode::size_of()
Reviewed-by: eosterlund, neliasso
2019-01-09 13:31:34 +01:00
jwilhelm
52e13444df Added tag jdk-13+2 for changeset 50677f43ac3d 2019-01-03 02:26:42 +01:00
igerasim
19a96a32b1 6996807: FieldReflectorKey hash code computation can be improved
Reviewed-by: rriggs
2019-01-02 15:33:32 -08:00
ecaspole
95bfd7f1e1 8215572: Add new Arrays micros
Summary: New micros for mismatch and fill
Reviewed-by: kvn, vlivanov
2019-01-02 13:37:55 -05:00
redestad
14fef34802 8215990: Avoid using reflection to create common default URLStreamHandlers
Reviewed-by: alanb
2019-01-02 19:06:16 +01:00
apetcher
7ed4d6a3b2 8215643: Microbenchmarks for KeyAgreement and Cipher
Summary: adding some missing microbenchmarks for crypto algorithms
Reviewed-by: jnimeh
2019-01-02 13:06:04 -05:00
ghaug
6939c274c0 8215791: Tiny bug in VM monitoring/management
Reviewed-by: dholmes, simonis
2018-12-21 10:19:15 +01:00
hseigel
f52e823a50 8215398: -Xlog option usage => Invalid decorator '\temp\app_cds.log'.
Summary: On Windows, do not treat ':' as a delimeter when it's in a string such as "C:..."
Reviewed-by: dholmes, sspitsyn
2019-01-02 10:35:33 -05:00
jwilhelm
c04fc2224f Merge 2019-01-02 16:05:13 +01:00
gadams
a775f13c51 8211343: nsk_jvmti_parseoptions should handle multiple suboptions
Reviewed-by: sspitsyn, cjplummer
2019-01-02 07:19:33 -05:00
erikj
032d45ee10 8215445: Enable building for Windows in WSL
Reviewed-by: ihse
Contributed-by: andrewluotechnologies@outlook.com, erik.joelsson@oracle.com
2019-01-02 12:59:26 +01:00
dholmes
4cbca69aa3 8215977: hsdis installation documentation update
Reviewed-by: dholmes
Contributed-by: Sergei Ustimenko <merkel05@gmail.com>
2019-01-01 20:09:02 -05:00
kbarrett
9365394f0f 8213481: [REDO] Fix incorrect copy constructors in hotspot
Summary: Fix and use ResourceObj copy constructor.
Reviewed-by: coleenp, dholmes, kvn
2018-12-31 15:40:50 -05:00
tvaleev
781a28ea0f 8214687: Optimize Collections.nCopies().hashCode() and equals()
Reviewed-by: igerasim, smarks
2018-12-30 08:57:24 +07:00
phh
5eb46fccca 8215966: GeneratePropertyPassword.sh uses bash syntax
Summary: Use "case" instead of "if" for the NT check to make sh happy.
Reviewed-by: dholmes
Contributed-by: merkel05@gmail.com
2018-12-28 15:19:14 -08:00
dholmes
69154bebf2 8215954: [testbug] Remove unnecessary casts in test/hotspot/gtest/threadHelper.inline.hpp
Reviewed-by: dcubed
2018-12-28 16:31:11 -05:00
rpatil
5e2f0479a7 8214567: Use {@systemProperty} for definitions of system properties
8214569: Use {@systemProperty} for definitions of system properties
Reviewed-by: lancea, mchung, alanb, naoto
Contributed-by: Deepak kejriwal <deepak.kejriwal@oracle.com>
2018-12-26 17:09:19 +05:30
sjohanss
4a46c2a907 8215898: Build broken on 32-bit after JDK-8211425
Reviewed-by: tschatzl
2018-12-22 15:47:10 +01:00
sjohanss
140464fb02 8215897: Build broken on zero after JDK-8211424
Reviewed-by: tschatzl
2018-12-22 15:46:54 +01:00
sangheki
063c9ad9ca 8211424: Allocation of old generation of java heap on alternate memory devices - Parallel GC
8202286: Allocation of old generation of Java heap on alternate memory devices
Summary: Enable an experimental feature in HotSpot JVM to allocate old generation of Parallel GC on an alternative memory device, such as NV-DIMMs.
Reviewed-by: sangheki, sjohanss
Contributed-by: kishor.kharbas@intel.com
2018-12-21 08:23:55 -08:00
sangheki
28bc4c1e8e 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices
Summary: Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.
Reviewed-by: sangheki, sjohanss
Contributed-by: kishor.kharbas@intel.com
2018-12-21 08:18:59 -08:00
aph
986676f5e6 8215879: AArch64: ReservedStackAccess may leave stack guard in inconsistent state
Reviewed-by: aph, dholmes
Contributed-by: Andrey Petushkov <andrey.petushkov@gmail.com>
2018-12-21 18:26:55 +00:00
aph
4099b977aa 8215202: AArch64: jtreg test test/jdk/sun/nio/cs/FindEncoderBugs.java fails
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2018-12-21 17:14:46 +00:00
mbaesken
e9e06c9c0f 8215707: [macosx] fix pthread_getschedparam and pthread_setschedparam calls
Reviewed-by: clanger, dholmes
2018-12-21 14:42:08 +01:00
dholmes
6217558f2d 8214097: Rework thread initialization and teardown logic
Reviewed-by: rehn, mgronlun, dcubed, kbarrett
2018-12-27 21:17:11 -05:00
kbarrett
c386c8624a 8214201: Make PtrQueueSet completed buffer list private
Summary: Merge and make private in PtrQueueSet all completed buffer list handling
Reviewed-by: tschatzl, sjohanss
2018-12-26 19:24:00 -05:00
bulasevich
e39ea4b4f0 8206107: [x86_32] jck tests for ldc2_w bytecode fail
Reviewed-by: dsamersoff
2018-12-25 18:35:42 +03:00
sdama
d2305c5c4a 8208184: IllegalArgumentException while invoking code completion on netbeans IDE
Summary: Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Reviewed-by: jjg
Contributed-by: srinivas.dama@oracle.com, jan.lahoda@oracle.com
2018-12-24 12:18:40 +05:30
weijun
58b19f87da 8215769: Java cannot probe pkcs12 files exported by Firefox
Reviewed-by: mullan
2018-12-22 10:38:45 +08:00
bpb
ff98effd14 8215759: [test] java/math/BigInteger/ModPow.java can throw an ArithmeticException
Reviewed-by: rriggs, plevart, smarks
2018-12-21 13:03:03 -08:00
jjg
b2b195ac0e 8215516: Move JavadocTester to a named package
Reviewed-by: hannesw
2018-12-21 10:38:33 -08:00
mgronlun
c58dbbfdc9 8215727: Restore JFR thread sampler loop to old / previous behavior
Reviewed-by: egahlin, mgronlun
Contributed-by: milan.mimica@gmail.com
2018-12-21 16:56:40 +01:00
rriggs
3329370a4b 8066619: Fix deprecation warnings in java.util.jar
Reviewed-by: rriggs, lancea
Contributed-by: philipp.kunz@paratix.ch
2018-12-21 09:54:32 -05:00
gadams
1f54d5c16b 8215571: jdb does not include jdk.* in the default class filter
Reviewed-by: alanb, cjplummer
2018-12-21 07:42:12 -05:00
hannesw
6640929381 8215291: Broken links when generating from project without modules
Reviewed-by: jjg
2018-12-21 11:02:36 +01:00
pbansal
9c309a1759 8215364: JavaFX crashes on Ubuntu 18.04 with Wayland while using Swing-FX interop
Reviewed-by: prr, kcr
2018-12-21 11:43:04 +05:30
amenkov
72b1958483 8215716: PopFrame() was unexpectedly done
Reviewed-by: dholmes, sspitsyn
2018-12-20 17:51:16 -08:00
jwilhelm
38f5689a35 Merge 2018-12-21 01:25:46 +01:00
kvn
79f86f89b7 8215687: [Graal] unit test CheckGraalIntrinsics failed after 8212043
Summary: add check for new intrinsics
Reviewed-by: iveresov, iignatyev
2018-12-20 14:03:56 -08:00
redestad
39ea67b1d6 8215555: TieredCompilation C2 threads can excessively block handshakes
Reviewed-by: kvn, neliasso, rehn
2018-12-20 19:44:08 +01:00
tschatzl
6330c30f85 8215548: G1PeriodicGCSystemLoadThreshold needs to be a double
Summary: Change G1PeriodicGCSystemLoadThreshold to be a double to allow better granularity in determining idleness
Reviewed-by: sjohanss, sangheki
2018-12-20 19:44:33 +01:00
aph
8feb6523c8 8215100: AArch64: fix compareTo intrinsic with four-character Latin/Unicode
Reviewed-by: aph, dpochepk
Contributed-by: nick.gasson@arm.com
2018-12-20 17:07:07 +00:00
lucy
d9fffdfa80 8215551: Missing case label in nmethod::reloc_string_for()
Reviewed-by: kvn, mbaesken
2018-12-20 17:29:59 +01:00
erikj
d267b5397e 8215635: Pandoc check in Docs.gmk does not work on Windows
Reviewed-by: tbell, ihse
2018-12-20 05:27:42 -08:00
aivanov
d3a02d3594 8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
2018-12-20 12:44:41 +00:00
pliden
aa4c5c1b3a 8215547: ZGC: Fix incorrect match rule for loadBarrierWeakSlowRegNoVec
Reviewed-by: eosterlund, neliasso
2018-12-20 11:43:04 +01:00
eosterlund
53f0880a0d 8215491: ICStubInterface::finalize finds zombie nmethod with ZGC concurrent class unloading
Reviewed-by: dlong, coleenp
2018-12-20 10:41:45 +01:00
eosterlund
4767f535fb 8215500: ICRefillVerifierMark does not set the provided verfier as current
Reviewed-by: pliden, thartmann
2018-12-20 10:41:45 +01:00
jwilhelm
55812b5cfa Added tag jdk-12+25 for changeset 7496df94b3b7 2018-12-20 02:54:16 +01:00
serb
ab503e366a 8215200: IllegalArgumentException in sun.lwawt.macosx.CPlatformWindow
Reviewed-by: dmarkov, kaddepalli
2018-12-19 14:11:35 -08:00
coffeys
e9294ec363 8214532: Update RFC 2459 references in javadoc to RFC 5280
Reviewed-by: mullan
2018-12-19 18:21:38 +00:00
adinn
6c381e747b 8209414: AArch64: method handle invocation does not respect JVMTI interp_only mode
Reviewed-by: adinn
Contributed-by: nick.gasson@arm.com
2018-12-19 11:45:54 +00:00
pliden
9dbfa35d07 8216385: ZGC: Fix building without C2
Reviewed-by: shade, eosterlund
2019-01-09 10:18:37 +01:00
pliden
f84067a21f 8215487: ZGC: ZRuntimeWorkers incorrectly identify themselves as ZWorkers
Reviewed-by: eosterlund
2018-12-19 08:32:48 +01:00
iignatyev
681b93ee92 8215322: add @file support to jaotc
Reviewed-by: kvn
2018-12-18 13:37:06 -08:00
pmuthuswamy
f3285bc460 8214570: Use {@systemProperty} for definitions of system properties
Reviewed-by: alanb, mullan
2018-12-19 11:08:08 +05:30
valeriep
7a554f17e0 8214096: sun.security.util.SignatureUtil passes null parameter, so JCE validation fails
Summary: Changed SignatureUtil.specialSetParameter to ignore null signature parameters
Reviewed-by: mullan, weijun
2018-12-19 02:27:44 +00:00
dlong
64b42a6027 8214583: AccessController.getContext may return wrong value after JDK-8212605
Reviewed-by: mchung, redestad
2018-12-18 16:36:26 -08:00
xuelei
1c029912cf 8209333: Socket reset issue for TLS 1.3 socket close
Reviewed-by: jnimeh
2018-12-18 15:18:44 -08:00
dlong
b8e55e371b 8214329: SwingMark SubMenus 9% regression in 12-b19 on Linux client
Reviewed-by: thartmann, mullan
2018-12-18 12:45:07 -08:00
dlong
2db7c925bf 8215205: javaVFrame much slower than vframeStream
Reviewed-by: mchung, thartmann
2018-12-18 12:36:27 -08:00
xuelei
007bf76c94 8215443: The use of TransportContext.fatal() leads to bad coding style
Reviewed-by: ascarpino
2018-12-18 12:08:51 -08:00
rraghavan
727b57d645 8211698: Crash in C2 compiled code during execution of double array heavy processing code
Summary: Correctly registered new Opaque4Node in add_range_check_predicate
Reviewed-by: roland, thartmann
2018-12-18 19:13:54 +05:30
roland
57c93483b3 8215483: Off heap memory accesses should be vectorized
Reviewed-by: neliasso, kvn
2018-12-18 09:29:39 +01:00
ihse
a9fdca92eb 8218186: Clean up CLDR generation in build
Reviewed-by: erikj
2019-02-05 10:56:12 +01:00
ysuenaga
eaac1a2010 8217845: SA should refer const values for JVMFlag from HotSpot
Reviewed-by: sspitsyn, jgeorge
2019-02-05 14:24:29 +09:00
iklam
02a817f0a8 8218029: [TESTBUG] Use -Djava.class.path= to specify empty -cp in CDS tests
Reviewed-by: ccheung, dholmes
2019-02-04 19:42:36 -08:00
jgeorge
222cf1403a 8215568: Refactor SA clhsdb tests to use ClhsdbLauncher
Summary: Refactoring the SA tests which test clhsdb commands to use ClhsdbLauncher for uniformity and ease of maintainence
Reviewed-by: jcbeyler, dholmes
2019-02-05 00:43:38 +05:30
vlivanov
2c99e9ffd9 8218406: C1: Redundant nmethod dependency for private method is added
Reviewed-by: kvn
2019-02-04 17:35:38 -08:00
vlivanov
ea9b741a66 8075052: Autobox elimination hinders loop unrolling
Reviewed-by: kvn
2019-02-04 17:35:36 -08:00
vlivanov
b9aa8fb23d 8188133: C2: Static field accesses in clinit can trigger deoptimizations
Reviewed-by: kvn
2019-02-04 17:35:35 -08:00
rehn
5a32616168 8218145: block_if_requested is not proper inlined due to size
Reviewed-by: kbarrett, coleenp, gziemski
2019-02-04 21:42:47 +01:00
lancea
dd92856d23 8217393: Clarify Attributes.equals()
Reviewed-by: alanb, darcy, rriggs, martin
2019-02-04 14:10:53 -05:00
naoto
f6adce71f8 8218386: Correct the SE version in j.l.Character
Reviewed-by: lancea
2019-02-04 10:04:04 -08:00
mbaesken
76d84c5330 8218276: AIX build fails in tieredThresholdPolicy.cpp
Reviewed-by: dholmes, mdoerr
2019-02-04 11:00:12 +01:00
mchinnathamb
32fb69082d 8215397: jsig.c missing classpath exception
Reviewed-by: dholmes
2018-12-18 12:59:39 +05:30
dlong
f2ab14588a 8214512: ARM32: Jtreg test compiler/c2/Test8062950.java fails on ARM
Reviewed-by: dlong, enevill, bulasevich
Contributed-by: nick.gasson@arm.com
2018-12-17 10:36:07 -08:00
pliden
60bf867899 8215451: JNI IsSameObject should not keep objects alive
Reviewed-by: eosterlund, kbarrett
2018-12-17 16:55:17 +01:00
kaddepalli
94760bf496 6714324: Removing a component from a JTabbedPane does not clear its accessibleParent
Reviewed-by: serb, sveerabhadra
2018-12-17 14:19:06 +05:30
thartmann
9c3961c88b 8215410: Regression test for JDK-8214994
Summary: Added a regression test for 8214994 which was fixed by accident with 8211451.
Reviewed-by: kvn
2018-12-17 08:25:57 +01:00
rfield
be34643603 8215099: jshell tool: /help representation of ctrl/meta characters inconsistent
Reviewed-by: jlahoda
2018-12-15 17:13:39 -08:00
pliden
416084fb65 8215395: Allow null oops in Dictionary and JNIHandle verification
Reviewed-by: eosterlund, kbarrett, coleenp
2018-12-15 20:03:06 +01:00
serb
7d424434ad 8214461: Some unused classes may be removed
Reviewed-by: kaddepalli, prr
2018-12-15 10:35:45 -08:00
xuelei
51c3901ab6 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2018-12-14 19:39:39 -08:00
xuelei
0883aced8c 8213782: NullPointerException in sun.security.ssl.OutputRecord.changeWriteCiphers
Reviewed-by: ascarpino
2018-12-14 17:51:02 -08:00
dnsimon
22b7652c53 8215319: jck lang/INTF/intf049/intf04901 fails in Graal as JIT mode with -Xcomp and AOTed Graal
Reviewed-by: iveresov, never, dlong
2018-12-14 17:32:16 -08:00
prappo
e1e68e517b 8215292: Back out changes for node- and link- local ipv6 multicast address
Reviewed-by: chegar, alanb
2018-12-14 19:49:03 +00:00
roland
d0e620cacd 8215265: C2: range check elimination may allow illegal out of bound access
Reviewed-by: thartmann, kvn
2018-12-14 11:22:26 +01:00
goetz
9cb2b86ba8 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.
Summary: Use LIBPATH on AIX, no shared memory connector on any Unix.
Reviewed-by: gadams, simonis, sspitsyn
2018-12-31 14:38:16 +01:00
kaddepalli
6eae6cdbf5 8196681: Java Access Bridge logging and debug flags dynamically controlled
Reviewed-by: serb, sveerabhadra
2018-12-14 11:00:07 +05:30
roland
ae582e5724 8215044: C2 crash in loopTransform.cpp with assert(cl->trip_count() > 0) failed: peeling a fully unrolled loop
Reviewed-by: thartmann, kvn
2018-12-13 17:57:11 +01:00
sdama
d582f4abd4 8208184: IllegalArgumentException while invoking code completion on netbeans IDE
Summary: Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Reviewed-by: jjg
Contributed-by: srinivas.dama@oracle.com, jan.lahoda@oracle.com
2019-01-03 11:21:11 +05:30
jwilhelm
44101abbe6 Added tag jdk-12+26 for changeset de9fd809bb47 2019-01-03 02:22:30 +01:00
psadhukhan
79904e0cb8 Merge 2018-12-12 15:07:56 +05:30
psadhukhan
e2afccdd3e Merge 2018-12-12 15:04:47 +05:30
pmuthuswamy
6b45285afc 8214468: jQuery UI upgrade from 1.11.4 to 1.12.1
Reviewed-by: hannesw
2018-12-12 13:01:29 +05:30
jgeorge
5b664db548 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
Summary: Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.
Reviewed-by: iklam, cjplummer, kevinw, coleenp
2018-12-12 10:13:11 +05:30
dl
0b3e0aaff2 8214457: Miscellaneous changes imported from jsr166 CVS 2018-12
Reviewed-by: martin
2018-12-11 19:55:27 -08:00
dl
894c5bfb84 8214427: probable bug in logic of ConcurrentHashMap.addCount()
Reviewed-by: martin, dholmes
2018-12-11 19:55:27 -08:00
dl
02dfb1d904 8214559: Use {@systemProperty} for definitions of system properties
Reviewed-by: martin, jjg
2018-12-11 19:55:27 -08:00
iveresov
30f2c9bff8 8215224: Update Graal
Reviewed-by: kvn
2018-12-11 16:50:43 -08:00
kbarrett
f9864705d9 8215097: Do not create NonJavaThreads before BarrierSet
Summary: G1 and CMS delay worker thread creation until BarrierSet exists.
Reviewed-by: dholmes, tschatzl
2018-12-11 18:00:17 -05:00
naoto
8e6ffe01e3 8215194: Initial size of UnicodeBlock map is incorrect
Reviewed-by: rriggs, rgoel, igerasim
2018-12-11 13:13:18 -08:00
smarks
4e1f7a3951 8199394: Object.hashCode should not mention anything about memory addresses
Reviewed-by: shade, forax, adinn, rriggs
2018-12-11 13:10:14 -08:00
jcbeyler
64fa6efb3a 8215160: Normalize spaces for remaining vmTestbase tests
Summary: Add spaces where needed
Reviewed-by: sspitsyn, amenkov
2018-12-11 12:45:38 -08:00
gziemski
71d912a9d0 8214310: SymbolTable: Use get and insert
Summary: Replace get_insert() with get(),insert()
Reviewed-by: redestad, coleenp
2018-12-11 14:09:54 -06:00
ecaspole
6386d48f1b 8215140: Port missing crypto JMH micros from jmh-jdk-microbenchmarks
Reviewed-by: redestad
2018-12-11 14:09:55 -05:00
jcbeyler
f74ed9220f 8215161: Normalize spaces for vmTestbase/[a-j]
Summary: Added spaces around comparators
Reviewed-by: amenkov, sspitsyn, martin
2018-12-11 10:29:30 -08:00
mullan
23c659601a 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2018-12-11 13:22:20 -05:00
apetcher
3eb7d8ef40 8214688: TLS 1.3 session resumption with hello retry request failed with "illegal_parameter"
Reviewed-by: jnimeh
2018-12-11 11:01:02 -05:00
apetcher
726710989f 8208698: Improved ECC Implementation
Summary: New implementation of ECDH and ECDSA forsome prime-order curves
Reviewed-by: ascarpino
2018-12-11 09:42:45 -05:00
hseigel
e1345b5a40 8215165: Improve -Xlog:class+preview message text
Summary: Fix up the logging message.
Reviewed-by: acorn, lfoltan
2018-12-11 10:29:08 -05:00
dfuchs
90641cc049 8215008: Clear confusion between URL/URI paths and file system paths
Reviewed-by: alanb, chegar, martin
2018-12-11 15:09:15 +00:00
aivanov
2a49b06486 8215123: Crash in runtime image built with jlink --compress=2
Reviewed-by: ihse, alanb
2018-12-11 14:11:57 +00:00
jdv
94db2a61c6 8214876: Add "intermittent" key for imageio/stream/StreamCloserLeak/run_test.sh
Reviewed-by: psadhukhan
2018-12-11 11:45:43 +05:30
jdv
e05dbd1e32 8214817: Bad links in ImageInputStream.java & ImageOutputStream.java
Reviewed-by: aivanov, psadhukhan
2018-12-11 11:41:08 +05:30
psadhukhan
2f35fb8779 Merge 2018-12-11 10:47:37 +05:30
mli
d83bd5dfed 8213409: Refactor sun.text.IntHashtable:i18n shell tests to plain java tests
Reviewed-by: naoto
Contributed-by: ying.z.zhou@oracle.com
2018-12-11 08:05:38 +08:00
prr
8814e072e7 8212703: Remove sun.java2d.fontpath property from java launcher code
Reviewed-by: alanb, rriggs
2018-12-10 12:33:23 -08:00
iignatyev
beb108f860 8214917: CTW testlibrary shouldn't ignore errors raised by the library itself
Reviewed-by: kvn, roland
2018-12-10 11:04:55 -08:00
pchilanomate
a5cb67f2d0 8215050: [TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java fails when run with flag -Xcomp
Summary: Identified special case when monitor address is not available in jstack
Reviewed-by: dholmes, hseigel, coleenp
2018-12-10 13:45:12 -05:00
hseigel
da30b138f8 8215015: [TESTBUG] remove unneeded -Xfuture option from tests
Summary: Remove the option from the tests
Reviewed-by: lfoltan, coleenp
2018-12-10 13:24:17 -05:00
gziemski
2885c41bbb 8209387: Follow ups to JDK-8195100 Use a low latency hashtable for SymbolTable
Summary: Use size_t, replaced macros with const, reverted incorrect API name change.
Reviewed-by: coleenp, kbarrett
2018-12-10 11:59:55 -06:00
erikj
59d8132819 8215030: Disable shenandoah in Oracle builds
Reviewed-by: kbarrett
2018-12-10 09:51:23 -08:00
tschatzl
4d904ea2da 8215149: TestOptionsWithRangesDynamic.java fails after JDK-8215120
Summary: Removed range specifier completely.
Reviewed-by: sjohanss, shade
2018-12-10 18:32:47 +01:00
ascarpino
af2cd65bb8 8214098: sun.security.ssl.HandshakeHash.T12HandshakeHash constructor check backwards.
Reviewed-by: xuelei
2018-12-10 09:19:30 -08:00
dpochepk
1246b818a4 8215133: AARCH64: disable Math.log intrinsic publishing
Reviewed-by: aph
2018-12-10 19:34:53 +03:00
dlong
f7b7b80ef2 8215117: [JVMCI] TestResolvedJavaType.java failing after JDK-8210031
Reviewed-by: thartmann
2018-12-10 06:52:12 -08:00
rkennke
db9251167b 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
Contributed-by: Christine Flood <chf@redhat.com>, Aleksey Shipilev <shade@redhat.com>, Roland Westrelin <rwestrel@redhat.com>, Zhenygu Gu <zgu@redhat.com>, Andrew Haley <aph@redhat.com>, Andrew Dinn <adinn@redhat.com>, Mario Torre <mtorre@redhat.com>, Roman Kennke <rkennke@redhat.com>
2018-12-10 15:47:44 +01:00
bulasevich
0b4561d384 8214128: ARM32: wrong stack alignment on Deoptimization::unpack_frames
Reviewed-by: dsamersoff
2018-12-10 17:34:49 +03:00
shade
b418fed459 8215120: 32-bit build failures after JDK-8212657 (Promptly Return Unused Committed Memory from G1)
Reviewed-by: tschatzl, rkennke
2018-12-10 15:31:36 +01:00
dpochepk
2a20968975 8214961: AARCH64: wrong encoding for exclusive and atomic load/stores
Reviewed-by: aph
2018-12-10 17:31:16 +03:00
ihse
a5fb83ac61 8215129: Update build documentation with Xrandr
Reviewed-by: ihse
Contributed-by: Ao Qi <aoqi@loongson.cn>
2018-12-10 14:54:04 +01:00
jgeorge
a8c4b6274e 8215026: Incorrect amount of memory unmapped with ImageFileReader::close()
Summary: Use map_size() instead of _index_size as the amount of memory to be unmapped while closing an image file
Reviewed-by: alanb, jlaskey
2018-12-10 19:08:24 +05:30
gadams
fa42e99fa6 8210106: sun/tools/jps/TestJps.java timed out
Reviewed-by: dholmes, dcubed
2018-12-10 07:52:31 -05:00
manc
715e66d21b 8215114: Fix indent and dead code in GCPolicyCounters
Summary: Clean up gcPolicyCounters.hpp
Reviewed-by: tschatzl, sjohanss
2018-12-10 17:57:19 +08:00
tschatzl
d707a6f3ec 8212657: Implementation of JDK-8204089 Promptly Return Unused Committed Memory from G1
Summary: Issue optional, default enabled, concurrent cycles when the VM is idle to reclaim unused internal and Java heap memory.
Reviewed-by: sjohanss, sangheki
Contributed-by: Rodrigo Bruno <rbruno@gsd.inesc-id.pt>, Ruslan Synytsky <rs@jelastic.com>, Thomas Schatzl <thomas.schatzl@oracle.com>
2018-12-10 10:25:27 +01:00
ihse
f37d823265 8214780: Create pandoc package for Windows
Reviewed-by: erikj
2018-12-10 09:37:18 +01:00
manc
3bd6c231cc 8215043: Remove declaration of parallel_worker_threads
Summary: Removing unused declaration
Reviewed-by: eosterlund, tschatzl
2018-12-09 19:18:27 -08:00
martin
b5547b8ce2 8215048: Some classloader typos
Reviewed-by: alanb
2018-12-09 10:07:18 -08:00
vromero
55987977c1 8210031: implementation for JVM Constants API
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
Contributed-by: brian.goetz@oracle.com, vicente.romero@oracle.com
2018-12-09 12:36:24 -05:00
kbarrett
ac38a4c2ce 8214315: G1: fatal error: acquiring lock SATB_Q_FL_lock/1 out of order with lock tty_lock/0
Summary: Add new 'tty' lock rank.
Reviewed-by: eosterlund, tschatzl
2018-12-08 18:52:57 -05:00
egahlin
88f9fb95c5 8213617: JFR should record the PID of the recorded process
Reviewed-by: mgronlun
2018-12-08 17:41:17 +01:00
egahlin
f81e2e2054 8213966: The ZGC JFR events should be marked as experimental
Reviewed-by: pliden
2018-12-08 14:08:04 +01:00
stuefe
64983bbe4c 8214975: No hs-err file if fatal error is raised during dynamic initialization
Reviewed-by: dholmes, dcubed
2018-12-08 12:09:59 +01:00
stuefe
2ca892acea 8218156: "jcmd VM.metaspace basic" misreports free chunk space
Reviewed-by: zgu
2019-02-01 10:27:45 +01:00
mbaesken
3a6dc15306 8218046: use bundled freetype in the AIX build by default
Reviewed-by: ihse
2019-01-30 09:35:07 +01:00
jgeorge
69dcc680d1 8217473: SA: Tests using ClhsdbLauncher fail on SAP docker containers
Summary: Skip the test with jtreg.SkippedException if Platform.shouldSAAttach() returns false
Reviewed-by: dholmes, goetz
2019-02-01 11:29:31 +05:30
vlivanov
6b84f531b0 6986483: CHA: optimize calls through interfaces
Reviewed-by: neliasso, thartmann
2019-01-31 17:48:29 -08:00
vlivanov
fd6731cc09 8059241: C2: Excessive RemoveUseless passes during incremental inlining
Reviewed-by: roland, shade
2019-01-31 17:48:25 -08:00
joehw
9c124d2a7e 8186321: Cleanup: SourceTreeManager not used
Reviewed-by: bpb, lancea
2019-01-31 13:36:31 -08:00
iignatyev
c054746f40 8217848: [Graal] vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java fails
Reviewed-by: kvn, dlong
2019-01-31 12:52:55 -08:00
kevinw
d16ed1eb24 8209951: Problematic sparc intrinsic: com.sun.crypto.provider.CipherBlockChaining
Reviewed-by: kvn, thartmann
Contributed-by: fairoz.matte@oracle.com
2019-01-31 04:49:46 -08:00
shade
77f1808e84 8218140: Build failures after JDK-8218041 (Assorted wrong/missing includes)
Reviewed-by: stefank, rehn, dholmes
2019-01-31 19:08:37 +01:00
erikj
692df7a66a 8204564: Need better error output when GenerateLinkOptData fails
Reviewed-by: ihse, tbell
2019-01-31 08:39:28 -08:00
dcubed
292068c348 8217659: monitor_logging updates from Async Monitor Deflation project
Reviewed-by: dholmes, coleenp, rehn
2019-01-31 11:19:58 -05:00
coleenp
60f438d053 8213753: SymbolTable is double walked during class unloading and clean up table timing in do_unloading
Summary: remove gc timing for short runtime cleanup triggering; make symbol table cleaning triggered automatically on unloading
Reviewed-by: shade, stefank, gziemski
2019-01-31 10:29:53 -05:00
zgu
44976209cd 8216072: Remove TaskTerminator's assignment operator
Reviewed-by: tschatzl, rkennke, kbarrett
2019-01-31 10:18:41 -05:00
rriggs
1be991b64d 8216528: test/jdk/java/rmi/transport/runtimeThreadInheritanceLeak/RuntimeThreadInheritanceLeak.java failing with Xcomp
Reviewed-by: dholmes, alanb
Contributed-by: fujie@loongson.cn
2019-01-31 10:05:11 -05:00
coleenp
2a63376e4c 8212949: Remove ConstantPoolCache::is_constantPoolCache
Summary: remove relic of permgen, also is_constMethod too.
Reviewed-by: dholmes
2019-01-31 07:28:40 -05:00
gadams
9213e4998c 8215550: Debugger does not work after reattach
Reviewed-by: cjplummer, sspitsyn
2019-01-31 07:24:28 -05:00
rehn
6fdb626a37 8218041: Assorted wrong/missing includes
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
jwilhelm
60f82c3dba Added tag jdk-13+6 for changeset b5f05fe4a6f8 2019-01-31 01:17:41 +01:00
sviswanathan
849f5cb205 8217371: Incorrect LP64 guard in x86.ad after JDK-8210764 (Update avx512 implementation)
Reviewed-by: kvn, neliasso, thartmann
2019-01-30 13:47:25 -08:00
erikj
78e1a7794b 8218084: Revert JDK-8218057
Reviewed-by: darcy, ctornqvi
2019-01-30 12:54:29 -08:00
jwilhelm
e656c624d0 Merge 2019-01-30 21:12:56 +01:00
zgu
8a903f16c0 8217578: Shenandoah cleanup unused timings after concurrent string table change
Reviewed-by: shade
2019-01-30 14:19:24 -05:00
shade
3d97a13f22 8217994: os::print_hex_dump should be more resilient against unreadable memory
Reviewed-by: zgu, stuefe, lucy
2019-01-30 19:45:10 +01:00
dfuchs
00c0334698 8216562: UnknownBodyLength sometimes fails due to "Connection reset by peer"
Summary: uses a longer linger time and avoids closing socket too early.
Reviewed-by: chegar
2019-01-30 18:21:06 +00:00
shade
94e04fc73f 8218031: Zero broken after JDK-8217922 (Compiler dead code removal)
Reviewed-by: thartmann, sgehwolf, shade
Contributed-by: Ao Qi <aoqi@loongson.cn>
2019-01-30 18:34:31 +01:00
erikj
e06db538e3 8217916: Build compare script is not comparing jmods
Reviewed-by: ihse
2019-01-30 18:27:40 +01:00
ihse
d3c04dc1b9 8218057: Add ppc64le and s390x profiles to jib-profiles.js
Reviewed-by: erikj
2019-01-30 18:26:39 +01:00
tschatzl
a079b75b2d 8218063: JDK-8218060 breaks build for S390
Summary: Reinstated function removed by JDK-8218060 and properly ifdef'ed it.
Reviewed-by: shade, eosterlund
2019-01-30 17:02:17 +01:00
tschatzl
c325a3d628 8218060: JDK-8217786 breaks build due to remaining unused function
Summary: Remove unused function.
Reviewed-by: eosterlund
2019-01-30 16:19:25 +01:00
lucy
d0901c05e3 8217465: [REDO] - Optimize CodeHeap Analytics
Reviewed-by: kvn, thartmann
2019-01-30 14:24:14 +01:00
mbaesken
ec01680fa7 8217786: Provide virtualization related info in the hs_error file on linux s390x
Reviewed-by: dholmes, stuefe
2019-01-30 09:57:59 +01:00
prappo
ca1c25b52e Merge 2019-01-30 12:04:59 +00:00
pmuthuswamy
f54a905cd4 8215577: Remove javadoc support for HTML 4
Reviewed-by: jjg, hannesw
2019-01-30 16:39:26 +05:30
prappo
ad07e4907d 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
Contributed-by: Andrey Turbanov <turbanoff@gmail.com>
2019-01-30 00:24:32 +00:00
mseledtsov
efc9d654f0 8217744: [TESTBUG] JFR TestShutdownEvent fails on some systems due to process surviving SIGINT
Summary: changed handling of cases when child process suvives the signal
Reviewed-by: egahlin
2019-01-29 15:13:35 -08:00
jjg
2e115c0b5d 8217773: Test langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java fails after JDK-8217034
Reviewed-by: clanger, hannesw
2019-01-29 13:39:40 -08:00
dcubed
9d48e2b6f8 8217658: baseline_cleanups from Async Monitor Deflation project
Summary: baseline_cleanups from Async Monitor Deflation project plus a couple of misc others.
Reviewed-by: dholmes, rehn
2019-01-29 14:09:38 -05:00
erikj
bc07a62369 8217910: Slow linking with devkit on Linux
Reviewed-by: redestad, ehelin, ihse
2019-01-29 10:09:13 -08:00
gziemski
49a04b063c 8214821: Remove ConcurrentHashTable::get_copy
Summary: Remobed get_copy API, replaced gtest usage with get API
Reviewed-by: coleenp, rehn, kbarrett
2019-01-29 11:44:36 -06:00
mbaesken
e4dfb874e2 8217979: lib-freetype related configure messages contain wrong configure flag names
Reviewed-by: erikj, prr
2019-01-29 15:19:43 +01:00
dtitov
dc10623411 8163127: Debugger classExclusionFilter does not work correctly with method references
Reviewed-by: cjplummer, jcbeyler
2019-01-29 16:48:20 -08:00
jcbeyler
1f03a52c3b 8212824: Remove unnecessary spaces before/after comparison in vmTestbase
Summary: Remove extra spaces around comparisons
Reviewed-by: phh, amenkov
2019-01-14 15:40:22 -08:00
zgu
86ead031c5 8217794: Missing termination check results violation of termination invariant
Reviewed-by: tschatzl, shade
2019-01-29 12:12:27 -05:00
lfoltan
ba2d208c6e 8216970: condy causes JVM crash
Summary: Fix issue with ConstantPool::constant_tag_at to correctly handle a condy whose return type is an array.
Reviewed-by: acorn, hseigel, jrose
2019-01-29 11:56:51 -05:00
chegar
c54d85acb6 8217976: test/jdk/java/net/httpclient/websocket/WebSocketProxyTest.java fails intermittently
Reviewed-by: dfuchs
2019-01-29 16:12:12 +00:00
naoto
47bc230373 8217609: New era placeholder not recognized by java.text.SimpleDateFormat
Reviewed-by: nishjain, rriggs
2019-01-29 07:46:50 -08:00
mullan
f5a66b21c7 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-29 10:24:38 -05:00
sgehwolf
df443a7f0e 8217877: Dead code in jdk.jlink's TaskHelper
Reviewed-by: alanb, mchung
2019-01-28 14:07:58 +01:00
redestad
4548e488f2 8217921: Runtime dead code removal
Reviewed-by: coleenp, sgehwolf, dholmes
2019-01-29 14:43:05 +01:00
redestad
b866022c7a 8217922: Compiler dead code removal
Reviewed-by: thartmann, neliasso
2019-01-29 14:34:26 +01:00
zgu
65b3e20c07 8215047: Task terminators do not complete termination in consistent state
Reviewed-by: tschatzl, minqi
2019-01-29 08:39:04 -05:00
zgu
fe161cf4c0 8217785: Padding ParallelTaskTerminator::_offered_termination variable
Reviewed-by: shade, tschatzl
2019-01-29 08:28:24 -05:00
itakiguchi
8ab8861082 8217880: AIX build issue after JDK-8214533
Reviewed-by: goetz, ihse, mbaesken
2019-01-29 12:16:52 +01:00
pliden
3e1c0c973b 8217856: ZGC: Break out C2 matching rules into separate AD file
Reviewed-by: neliasso, kvn
2019-01-29 10:23:38 +01:00
pliden
1931a95e4d 8217858: ZGC: Clean up ZDriver
Reviewed-by: stefank, eosterlund
2019-01-29 10:23:38 +01:00
pliden
f0edeaf055 8217857: ZGC: Move SvcGCMarker to ZServiceabilityTracer
Reviewed-by: stefank, eosterlund
2019-01-29 10:23:38 +01:00
pliden
0f0aabce47 8217855: ZGC: Clean up ZReferenceProcessor
Reviewed-by: stefank, kbarrett
2019-01-29 10:23:38 +01:00
pliden
313a8d10fe 8217747: ZGC: Minor optimization of ZLoadBarrierStubC1
Reviewed-by: neliasso, eosterlund
2019-01-29 10:23:38 +01:00
pliden
68b974503f 8217745: ZGC: Simplify ZLoadBarrierStubC1
Reviewed-by: neliasso, eosterlund
2019-01-29 10:23:38 +01:00
tschatzl
e9f75f7a20 8213229: Investigate treating StringTable as weak in young collections
Reviewed-by: zgu, kbarrett
2019-01-29 11:30:17 +01:00
eosterlund
29ac00a40f 8216987: ciMethodData::load_data() unpacks MDOs with non-atomic copy
Reviewed-by: kvn, mdoerr, thartmann
2019-01-29 10:13:23 +01:00
sgroeger
4b22bdc66d 8217777: TEST_BUG: jdk/java/util/prefs/ExportSubtree.java passes even when test should fail
Reviewed-by: clanger, rriggs
2019-01-29 09:10:08 +00:00
goetz
b72e585ba5 8217628: Verbose ArrayIndexOutOfBoundsException message also in JNI calls.
Reviewed-by: mdoerr, dholmes, lfoltan
2019-01-29 08:43:33 +01:00
dlong
19c68b8449 8214023: Update Graal
Reviewed-by: kvn
2018-12-08 00:56:10 -08:00
jwilhelm
32b750b4d0 8214052: [testbug] vmTestbase/vm/compiler/CodeCacheInfoOnCompilation - wrong shell used
Reviewed-by: jwilhelm
Contributed-by: merkel05@gmail.com
2018-12-08 05:04:19 +01:00
cushon
9336719691 8198526: getAnnotatedOwnerType does not handle static nested classes correctly
Reviewed-by: jfranck, vromero
2018-12-07 16:56:53 -08:00
vdeshpande
75614e71de 8216050: Superword optimization fails with assert(0 <= i && i < _len) failed: illegal index
Summary: Fix for the crash by matching the operands by swapping to right positions.
Reviewed-by: thartmann, kvn
2019-01-15 11:19:14 -08:00
henryjen
564dc404d9 Merge 2019-01-15 10:55:26 -08:00
jjg
b20fe7b762 8212233: javadoc fails on jdk12 with "The code being documented uses modules but the packages defined in $URL are in the unnamed module."
Reviewed-by: hannesw, pmuthuswamy
2019-01-15 11:05:25 -08:00
iveresov
8a186b7d3a 8196568: [Graal] LongMulOverflowTest.java fails with "runTestOverflow() did not overflow"
Summary: Temporarily cripple j.l.Math.*Exact() instrinsics to pass TCK
Reviewed-by: kvn, dlong, never
2019-01-15 10:40:32 -08:00
phedlin
0df88f9785 8210392: assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit
Summary: Avoid excessive split-if.
Reviewed-by: thartmann, neliasso
2018-12-18 10:12:28 +01:00
eosterlund
e1af07c92f 8216427: ciMethodData::load_extra_data() does not always unpack the last entry
Reviewed-by: thartmann, kvn
2019-01-15 09:44:18 +01:00
roland
52bace6058 8216135: C2 assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, kvn
2019-01-14 15:07:22 +01:00
henryjen
940f5d8341 Merge 2018-12-13 11:51:06 -08:00
henryjen
473d350cf7 Merge 2018-12-13 11:47:35 -08:00
shade
3390954d11 8215356: Disable x86_32 Shenandoah build to avoid hotspot/tier1 failures
Reviewed-by: rkennke
2018-12-13 16:45:26 +01:00
shade
1ff94aae8b 8181143: Introduce diagnostic flag to abort VM on too long VM operations
Reviewed-by: rkennke, zgu, dholmes, stuefe, rehn
2018-12-13 16:45:24 +01:00
vromero
bd2a573b83 8215300: additional changes to constants API
Reviewed-by: goetz
2018-12-13 10:35:09 -05:00
redestad
64e79da0eb 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
shade
47a0ae2539 8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions)
Reviewed-by: thartmann
2018-12-13 16:14:07 +01:00
egahlin
30c9610aa4 8215237: jdk.jfr.Recording javadoc does not compile
Reviewed-by: mgronlun
2018-12-13 15:40:11 +01:00
goetz
c886f23343 8215534: [testbug] some jfr test don't check @requires vm.hasJFR
Reviewed-by: sundar, egahlin
2018-12-13 08:36:10 +01:00
dfuchs
08584ba1ac 8211093: Default logging.properties sets log level for com.xyz.foo
Reviewed-by: bpb, rriggs
2018-12-13 11:27:37 +00:00
jgeorge
9167564fd3 8214226: Incorrect BCI and Line Number with jstack if the top frame is in the interpreter
Summary: Read in the bcp from r13 for the top level interpreter frames
Reviewed-by: jcbeyler, jgeorge
Contributed-by: david.griffiths@gmail.com
2018-12-13 15:11:25 +05:30
weijun
e74835a9f9 8213010: Supporting keys created with certmgr.exe
Reviewed-by: valeriep
2018-12-13 17:28:30 +08:00
weijun
375b0e5497 8213009: Refactoring existing SunMSCAPI classes
Reviewed-by: valeriep
2018-12-13 17:28:19 +08:00
alanb
ebda5ab643 8214696: Module class should be filtered by core reflection
Reviewed-by: lancea, mchung, sundar
2018-12-13 09:02:52 +00:00
jgeorge
cfd512d4a8 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
Summary: While doing a ptrace attach, do not attach to threads which are in the process of exiting or are zombies -- skip these threads.
Reviewed-by: jcbeyler, ysuenaga
2018-12-13 13:03:26 +05:30
jlahoda
b0a2cc0c56 8215243: JShell tests failing intermitently with \"Problem cleaning up the following threads:\"
Summary: Do not reset closed state in the StopDetectingInputStream.write
Reviewed-by: rfield
2018-12-13 08:26:07 +01:00
jcm
6f666053a5 8211034: OnStackReplacePercentage option checking has bugs
Summary: Fixed the constraint checks
Reviewed-by: kvn
2018-12-12 23:08:01 -08:00
epavlova
a925d5ee9c 8215314: [Graal] Enable org.graalvm.compiler.core.test.CountedLoopTest
Reviewed-by: dlong
2018-12-12 22:23:48 -08:00
kvn
160bcc14a5 8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754
Summary: Fix CheckGraalIntrinsics test for new intrinsics.
Reviewed-by: iveresov, never
2018-12-12 21:02:46 -08:00
jjiang
96f2d4d061 8214937: sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed due to unexpected expiration date
Reviewed-by: xuelei
2018-12-13 12:34:35 +08:00
dl
b79defedaf 8215326: Test java/util/concurrent/ConcurrentHashMap/ToArray.java hangs after j.u.c updates
Reviewed-by: martin, dholmes
2018-12-12 20:13:39 -08:00
weijun
f4c0b6bf10 8214568: Use {@systemProperty} for definitions of system properties
Reviewed-by: xuelei
2018-12-13 12:03:03 +08:00
weijun
f413b7250b 8076190: Customizing the generation of a PKCS12 keystore
Reviewed-by: mullan
2018-12-13 11:16:33 +08:00
valeriep
3f596ecc4e 7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck
Summary: Changed Provider class to use ConcurrentHashMap and default providers to use putService()
Reviewed-by: weijun, mullan
2018-12-13 01:15:21 +00:00
jjiang
8c9c23faa8 8214520: [TEST_BUG] sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java failed with incorrect jtreg tags order
Reviewed-by: xuelei
2018-12-13 08:23:56 +08:00
mr
a07cc1c6ac 8215301: Module-summary page is unreadably wide
Reviewed-by: mchung
2018-12-12 15:01:29 -08:00
vdeshpande
4b1837df68 8214751: X86: Support for VNNI Instructions
Reviewed-by: kvn
Contributed-by: razvan.a.lupusoru@intel.com, vivek.r.deshpande@intel.com
2018-12-12 14:48:34 -08:00
rriggs
dc2b3e37c6 8215309: Convert package.html files to package-info.java files
Reviewed-by: darcy, lancea
2018-12-12 15:35:20 -05:00
ascarpino
5cf18af393 8214074: Ghash optimization using AVX instructions
Reviewed-by: kvn, ascarpino
Contributed-by: smita.kamath@intel.com
2018-12-12 12:17:33 -08:00
henryjen
90bf006a1a 8215000: tools/launcher/JliLaunchTest.java fails on Windows
Reviewed-by: bchristi, mchung
2018-12-12 11:45:10 -08:00
mchung
d8a7886f49 8215238: (jdeps) update jdk8_internals.txt per the removal of javafx, corba, EE modules
Reviewed-by: lancea, alanb
2018-12-12 11:17:21 -08:00
zgu
0870f96019 8215220: Simplify Shenandoah task termination in aborted paths
Reviewed-by: shade
2018-12-12 13:50:57 -05:00
mgronlun
f42d0b4c51 8215284: Reduce noise induced by periodic task getFileSize()
Reviewed-by: redestad, egahlin
2018-12-13 14:36:54 +01:00
egahlin
5b8f3efdff 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2018-12-13 14:21:04 +01:00
sgehwolf
57b8c0393f 8215342: [Zero] Build fails after JDK-8200613
Reviewed-by: shade, jgeorge
Contributed-by: Christophe Phillips <chphilli@redhat.com>
2018-12-13 10:25:50 +01:00
mhorie
769e240bdf 8215262: PPC64: FMA Vectorization on PPC64
Reviewed-by: mdoerr, gromero
2018-12-12 12:36:53 -05:00
tnakamura
bd01bc0013 8213183: InputMethod cannot be used after its restarting
Summary: Retains masks at XSelectInput and deletes all IM data at DestroyXIMCallback
Reviewed-by: naoto
2018-12-13 00:46:39 +09:00
ihse
35a6794fde 8215304: Make target "docs-jdk-index" has unnecessary dependencies
Reviewed-by: lancea
2018-12-12 19:04:05 +01:00
ihse
ae4fc5e19f 8214741: docs/index.html has no title or copyright
Reviewed-by: erikj
2018-12-12 18:59:23 +01:00
ihse
ba848e4d67 8214910: If pandoc is present, markdown spec files should be processed
Reviewed-by: erikj, lancea
2018-12-11 15:47:31 +01:00
erikj
0159022f2e 8215239: Make deletes images/jdk/bin/java if something goes wrong
Reviewed-by: redestad, dholmes, tbell, ihse
2018-12-12 09:50:39 -08:00
egahlin
ff949c5f31 8214750: Unnecessary <p> tags in jfr classes
Reviewed-by: mgronlun
2018-12-12 18:43:16 +01:00
egahlin
62cae75f67 8165675: Trace event for thread park has incorrect unit for timeout
Reviewed-by: mgronlun
2018-12-12 18:35:26 +01:00
eosterlund
abd4142b3a 8215206: VtableStubs::find_stub is not appropriately protected by VtableStubs_lock
Reviewed-by: thartmann, pliden
2018-12-12 14:18:16 +01:00
mhorie
4a7616a726 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
Reviewed-by: kvn, rriggs, mdoerr, gromero
2018-12-11 20:31:18 -05:00
redestad
b18205b775 8215159: Improve initial setup of system Properties
Reviewed-by: mchung, rriggs, plevart, briangoetz, robilad
2018-12-12 13:28:50 +01:00
dpochepk
c881dc1551 8205421: AARCH64: StubCodeMark should be placed after alignment
Reviewed-by: aph
2018-12-12 15:26:49 +03:00
clanger
82a4d39b0e 8214892: Delayed starting of debugging via jcmd
Reviewed-by: cjplummer, clanger
Contributed-by: ralf.schmelter@sap.com
2018-12-12 11:34:08 +00:00
tschatzl
4dcc5ad979 8152724: Sum of eden before GC and current survivor capacity may be larger than heap size
Summary: Limit the maximum survivor size for a given GC to the remaining number of free regions.
Reviewed-by: sjohanss, sangheki
2018-12-12 12:00:02 +01:00
cushon
6d32b58f45 8198526: getAnnotatedOwnerType does not handle static nested classes correctly
Reviewed-by: jfranck
2018-12-07 16:56:53 -08:00
hseigel
e4024051b6 8205505: Expire and remove remaining support for commercial features
Summary: Remove the unneeded options and their tests and update the JCMD documentation.
Reviewed-by: dholmes, coleenp, erikj
2018-12-20 08:43:23 -05:00
mbaesken
4dc5f2f7a8 8215296: do not disable c99 on Solaris
Reviewed-by: dholmes, ihse
2018-12-17 13:47:22 +01:00
rehn
f4a7503327 8214180: Need better granularity for sleeping
Reviewed-by: eosterlund, dcubed, dholmes
2018-12-20 10:05:19 +01:00
jwilhelm
cee2ff9d10 Added tag jdk-13+1 for changeset 11033c4ada54 2018-12-20 02:51:01 +01:00
pliden
79321aa814 8215492: Rename INTERNAL_EMPTY to something less "internal"
Reviewed-by: kbarrett, coleenp
2018-12-19 23:40:05 +01:00
amenkov
774340b73f 8215425: vmTestbase/nsk/jvmti/PopFrame should provide more detailed output
Reviewed-by: sspitsyn, jcbeyler
2018-12-19 14:08:08 -08:00
jwilhelm
0d742992c9 Merge 2018-12-19 20:53:30 +01:00
bpb
ba4b471f4c 8183912: java.math.BigDecimal.movePointLeft() should return this if called with zero argument
Reviewed-by: rriggs
2018-12-19 11:44:57 -08:00
vromero
a985dd2222 8215625: javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224
Reviewed-by: mcimadamore
2018-12-19 14:02:19 -05:00
adinn
6c2eb65b9a 8209414: AArch64: method handle invocation does not respect JVMTI interp_only mode
Reviewed-by: adinn
Contributed-by: nick.gasson@arm.com
2018-12-19 11:45:54 +00:00
dfuchs
a5abc1e11f 8213402: [Testbug] java/lang/System/LoggerFinder/internal/PlatformLoggerBridgeTest creates an invalid nest relationship
Summary: The failing tests are refactored to make the custom logger finder class a top-level class.
Reviewed-by: dholmes, mchung
2018-12-19 11:48:34 +01:00
clanger
e32fa22b8f 8215472: (zipfs) Cleanups in implementation classes of jdk.zipfs and tests
Reviewed-by: redestad, lancea
2018-12-19 10:36:16 +00:00
mbaesken
f409696ffd 8215411: some GetByteArrayElements calls miss corresponding Release
Reviewed-by: dholmes, jcbeyler
2018-12-19 10:30:43 +01:00
pli
6079e3d86c 8212043: Add floating-point Math.min/max intrinsics
Summary: Floating-point Math.min() and Math.max() intrinsics are enabled on AArch64 platform
Reviewed-by: adinn, aph
2018-12-18 16:50:35 +00:00
vromero
28ee555f10 8207224: Javac compiles source code despite illegal use of unchecked conversions
Reviewed-by: mcimadamore, darcy
2018-12-18 16:22:46 -05:00
gadams
ddc5061b31 8051349: nsk/jvmti/scenarios/sampling/SP06/sp06t003 fails in nightly
Reviewed-by: dholmes, sspitsyn, cjplummer, jcbeyler
2018-12-18 07:33:07 -05:00
alanb
a3f1caff75 8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00:00
cushon
12ee52c91a 8215368: Make Check.checkOverride call diagnosticPositionFor lazily
Reviewed-by: mcimadamore, vromero
2018-12-13 11:05:40 -08:00
cushon
2d649a41a2 8215366: Code quality improvements in com.sun.tools.javac.code.TypeAnnotations
Reviewed-by: mcimadamore, wmdietl, bsrbnd
2018-12-13 10:08:22 -08:00
jcbeyler
f7e8f759aa 8215228: Use a constant hash table size in order to enable compiler optimization
Summary: Remove a field from KlassInfoTable to allow compiler optimizations
Reviewed-by: phh, aph
Contributed-by: zanglin5@jd.com
2018-12-11 10:23:15 -08:00
lkorinth
aee158357c 8214946: G1: Initialize all class members on construction
Reviewed-by: kbarrett, tschatzl
2018-12-17 11:37:40 +01:00
dnsimon
b781dc25a8 8215319: jck lang/INTF/intf049/intf04901 fails in Graal as JIT mode with -Xcomp and AOTed Graal
Reviewed-by: iveresov, never, dlong
2018-12-14 16:52:17 -08:00
jcbeyler
d47e494c95 8201655: Add thread-enabled support for the Heap Sampling
Summary: Added thread-enabled support
Reviewed-by: amenkov, sspitsyn
2018-12-14 13:13:06 -08:00
lancea
c516abec56 8215372: Incorrect nio/file/DirectoryStream/Basic.java tests for validating the use of a glob
Reviewed-by: alanb
2018-12-14 14:17:22 -05:00
jcbeyler
ad5ade1986 8215329: Modify ZGC requirement for HeapMonitorThreadTest.java
Summary: Modify the requirement to be tested
Reviewed-by: amenkov, pliden, sspitsyn
2018-12-14 10:51:09 -08:00
alanb
28d07d2839 8214077: test java/io/File/SetLastModified.java fails on ARM32
Summary: replace uses of stat with stat64 in java.base
Reviewed-by: alanb
Contributed-by: nick.gasson@arm.com
2018-12-14 13:30:21 +00:00
mdoerr
f4c1be2fe8 8214352: C1: Unnecessary "compilation bailout: block join failed" with JVMTI
Summary: Invalidate Phi functions for conflicting types and avoid bailout.
Reviewed-by: kvn, iveresov
2018-12-14 09:59:08 +01:00
jwilhelm
fd7f07b12c Merge 2018-12-14 01:34:13 +01:00
egahlin
bb08a2e474 8215362: JFR GTest JfrTestNetworkUtilization fails
Reviewed-by: mgronlun
2018-12-13 23:25:00 +01:00
lmesnik
a7dc68c404 8215369: Jcstress pollute /var/tmp with temporary files.
Reviewed-by: iignatyev, mseledtsov
2018-12-13 14:16:21 -08:00
afarley
2928ffeb97 8215217: OpenJDK source has too many swear words
Reviewed-by: smarks, shade, rriggs, lancea, prr, joehw
2018-12-13 11:05:22 -08:00
darcy
a48885c4ca 8205626: Start of release updates for JDK 13
8205393: Add SourceVersion.RELEASE_13
8205394: Add source 13 and target 13 to javac
8205645: Bump maximum recognized class file version to 57 for JDK 13
8214825: Update preview language features for start of JDK 13
Reviewed-by: erikj, alanb, mchung, mcimadamore, dholmes, smarks, jjg
2018-12-13 19:06:11 +01:00
jwilhelm
0580607fd9 Added tag jdk-13+0 for changeset cc4098b3bc10 2018-12-13 17:01:15 +01:00
coleenp
ef287709af 8215034: Remove old HOTSWAP conditionals
Reviewed-by: dcubed, jiangli, sspitsyn
2018-12-07 17:20:44 -05:00
coleenp
25a060c35f 8214972: Uses of klass_holder() except GC need to apply GC barriers
Summary: Fix klass_holder() and make all callers use it, remove holder_phantom().
Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
pchilanomate
b7b489193c 8214148: [TESTBUG] serviceability/tmtools/jstack/WaitNotifyThreadTest.java is not doing what is expected
Summary: Fixed the logic for checking method name and added checks for thread status
Reviewed-by: dholmes, coleenp
2018-12-07 13:59:19 -05:00
zgu
422a978581 8204947: Port ShenandoahTaskTerminator to mainline and make it default
Reviewed-by: tschatzl, rkennke
2018-12-07 13:55:06 -05:00
roland
9c32ce9d16 8214862: assert(proj != __null) at compile.cpp:3251
Reviewed-by: kvn, thartmann
2018-12-07 17:56:51 +01:00
ljiang
cf3e89b03f 8215994: JDK 12 l10n resource file update - msg drop 10
Reviewed-by: billyh, ssadetsky, naoto
2019-01-09 00:25:41 -08:00
darcy
a1b8e09f5d 8216322: Missing since information in deprecation of constructor visitors
Reviewed-by: vromero
2019-01-08 16:26:46 -08:00
fyang
8ba602113e 8215951: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-01-05 10:48:54 +08:00
naoto
32a2e504b2 8216176: Clarify the singleton description in j.t.c.JapaneseEra class
Reviewed-by: rriggs
2019-01-08 10:05:42 -08:00
jlahoda
1113cad03f 8215438: jshell tool: Ctrl-D causes EOF
Summary: Properly handling EndOfFileException so that jshell can be closed with Ctrl-D.
Reviewed-by: rfield
2019-01-08 16:31:27 +01:00
goetz
ebb9ccb9e0 8216271: Make AllocateOldGenAt an unsupported option on AIX.
Reviewed-by: shade, tschatzl
2019-01-08 09:29:36 +01:00
sgroeger
a039f23671 8211844: [aix] ProcessBuilder: Piping between created processes does not work.
Reviewed-by: cjplummer, simonis, goetz
2018-12-07 14:35:57 +01:00
apetcher
b3cf76abae 8208648: ECC Field Arithmetic Enhancements
Summary: interal library enhancements to support ECC implementatation
Reviewed-by: jnimeh
2018-12-11 09:36:49 -05:00
ihse
c7e57a71f3 8215131: Pandoc 2.3/build documentation fixes
Reviewed-by: erikj
2018-12-11 15:21:50 +01:00
ihse
60252c98ee 8214720: Add pandoc filter to improve html man page output
Reviewed-by: erikj
Contributed-by: magnus.ihse.bursie@oracle.com, jonathan.gibbons@oracle.com
2018-12-11 15:18:57 +01:00
eosterlund
f9002569d0 8214897: ZGC: Concurrent Class Unloading
Reviewed-by: pliden
Contributed-by: erik.osterlund@oracle.com, per.liden@oracle.com, stefan.karlsson@oracle.com
2018-12-11 11:08:39 +01:00
jlahoda
8f4d55fb74 8214491: Upgrade to JLine 3.9.0
Summary: Upgrading JLine to 3.9.0 and updating jshell and jjs to the new JLine.
Reviewed-by: rfield, sundar
2018-12-11 11:29:28 +01:00
mdoerr
0d6dc41eca 8215144: PPC64: Wrong assertion "illegal object size"
Reviewed-by: simonis
2018-12-11 10:15:28 +01:00
jlahoda
732c91183d 8214114: Switch expressions with try-catch statements
Summary: When switch expression contains try-catch, move the stack values into locals before the executing the switch expression, and back when it is done.
Reviewed-by: mcimadamore, vromero
2018-12-11 09:10:24 +01:00
manc
9b6d92e4f2 8213224: Move code related to GC threads calculation out of AdaptiveSizePolicy
Summary: Consolidate code related to GC threads calculation into a single class
Reviewed-by: tschatzl, pliden
2018-12-07 12:46:31 +08:00
egahlin
360818bf30 8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
2018-12-07 18:00:41 +01:00
rriggs
ce7d26661b 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
egahlin
b6390f71de 8212232: Wrong metadata for the configuration of the cutoff for old object sample events
Reviewed-by: mgronlun
2018-12-07 17:11:17 +01:00
dchuyko
054af24a68 8214376: Don't use memset to initialize array of Bundle in output.cpp
Reviewed-by: thartmann, shade
2018-12-07 17:52:37 +03:00
egahlin
3a659d5cb6 8207829: FlightRecorderMXBeanImpl is leaking the first classloader which calls it
Reviewed-by: mgronlun
2018-12-07 14:19:20 +01:00
hseigel
614bc36c8f 8214840: runtime/NMT/MallocStressTest.java timed out
Summary: Add volatile to declaration of static field shared by multiple threads
Reviewed-by: dcubed, dholmes, coleenp
2018-12-07 08:16:50 -05:00
sjohanss
dcd3b943cb 8213890: Implementation of JEP 344: Abortable Mixed Collections for G1
Reviewed-by: tschatzl, kbarrett
Contributed-by: erik.helin@oracle.com, stefan.johansson@oracle.com
2018-12-07 13:54:45 +01:00
eosterlund
40a73985a4 8214936: assert(_needs_refill == 0) failed: Forgot to handle a failed IC transition requiring IC stubs
Reviewed-by: kvn, thartmann, pliden
2018-12-07 13:15:35 +01:00
tschatzl
3c46375d35 8215005: Missing include of runtime/os.hpp in zError.cpp after JDK-8214925 breaks build without precompiled headers
Reviewed-by: shade
2018-12-07 11:15:18 +01:00
psadhukhan
aabc3ff91c 8214943: PIT: javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java errors out in mac
Reviewed-by: kaddepalli, serb
2018-12-07 09:38:07 +05:30
kcr
02b3884fad 8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true
Reviewed-by: prr, serb
2018-12-06 10:50:44 -08:00
dmarkov
cb94142c04 8213983: [macosx] Keyboard shortcut “cmd +`” stops working properly if popup window is displayed
Reviewed-by: kaddepalli, serb
2018-12-06 13:32:15 +00:00
itakiguchi
ab0a2b0459 8214002: Cannot use italic font style if the font has embedded bitmap
Reviewed-by: prr
2018-12-05 12:59:50 -08:00
psadhukhan
b98f77b6d8 8213049: Invalid HTML5 in javax.swing files
Reviewed-by: aivanov, serb
2018-12-05 15:48:47 +05:30
psadhukhan
5da53a2dea Merge 2018-12-05 15:42:29 +05:30
psadhukhan
92b90b5a73 Merge 2018-12-05 15:39:04 +05:30
fyuan
97dd39d4f8 8213300: jaxp/unittest/transform/CR6551600Test.java fails due to exception in jdk/jdk CI
Reviewed-by: joehw
2018-12-05 16:41:13 +08:00
serb
4933e633ba 8198398: Test javax/swing/JColorChooser/Test6199676.java fails in mach5
Reviewed-by: kaddepalli, prr
2018-12-04 13:09:20 -08:00
neliasso
036cb17564 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
sundar
23c68e6ad6 8212137: Remove JrtFileSystem finalize method
Reviewed-by: alanb
2018-12-07 14:36:43 +05:30
mbaesken
2f0d662725 8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
dchuyko
cea6bc59a9 8214707: Prevent GCC 8 from reporting error in ClassLoader::file_name_for_class_name()
Reviewed-by: hseigel, dholmes
2018-12-07 10:48:39 +03:00
jnimeh
c5b0467a5f 8214129: SSL session resumption/SNI with TLS1.2 causes StackOverflowError
Reviewed-by: xuelei, jjiang
2018-12-06 22:05:31 -08:00
dzhou
61761983b9 8213127: Refactor test/java/util/ResourceBundle/Control/MissingResourceCauseTest.sh to plain java tests
Reviewed-by: naoto
2018-12-06 18:46:08 -08:00
egahlin
5689bf8146 8214925: JFR tool fails to execute
Reviewed-by: mgronlun, mseledtsov
2018-12-06 23:38:22 +01:00
smarks
07de5cb48f 8211882: Broken links in serialized-form.html
Reviewed-by: darcy, lancea
2018-12-06 14:34:11 -08:00
jcbeyler
cf4dc3a3a4 8214531: HeapMonitorEventOnOffTest.java test fails with "Statistics should be null to begin with"
Summary: Remove the enable sampling and let the underlying method call it
Reviewed-by: sspitsyn, phh
2018-12-06 14:18:39 -08:00
vromero
a002ed3baa 8214514: javac @file option gives error caused by Chinese encoding in the path
Reviewed-by: jjg
2018-12-06 15:51:19 -05:00
ecaspole
de0eba645a Merge 2018-12-06 13:54:52 -05:00
ecaspole
49da5093c5 8214912: LogCompilation: Show the comp level
Summary: Show the TieredCompilation level from the xml log
Reviewed-by: kvn, iignatyev
2018-12-06 13:54:19 -05:00
eosterlund
8608d51e04 8214401: [AOT] crash in ClassLoaderData::is_alive() with AOTed jdk.base
Reviewed-by: kvn, dlong
2018-12-06 18:11:53 +01:00
lfoltan
b63d462ce8 8214275: CondyRepeatFailedResolution asserts "Dynamic constant has no fixed basic type"
Summary: GenerateOopMap::do_ldc must check for a DynamicInError as well as a Dynamic constant pool tag.
Reviewed-by: coleenp
2018-12-06 10:46:10 -05:00
itakiguchi
02223aa1e9 8212794: IBM-964 is required for AIX default charset
Reviewed-by: rriggs, ihse, alanb
2018-12-06 10:22:23 -05:00
rriggs
dc52bad812 8214498: java/util/Locale/bcp47u/SystemPropertyTests.java wrong locale default
Reviewed-by: lancea, bpb
2018-12-06 09:55:02 -05:00
hseigel
314c3fc78b 8214807: Improve handling of very old class files
Summary: Remove old version specific code in reflection.cpp
Reviewed-by: acorn, dholmes
2018-12-06 09:58:26 -05:00
tschatzl
d501a04efa 8214850: Rename vm_operations.?pp files to vmOperations.?pp files
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
tschatzl
466f5f247e 8214791: Consistently name gc files containing VM operations
Summary: Name all gc files containing VM operations according to a <gc>VMOperations.?pp.
Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
tschatzl
71c26b0e32 8159440: Move marking of promoted objects during initial mark into the concurrent phase
Reviewed-by: sjohanss, kbarrett
2018-12-06 13:55:22 +01:00
tschatzl
8ba071ae00 8193312: Rename VM_CGC_Operation to VM_G1Concurrent
Reviewed-by: pliden, sjohanss, jgeorge
2018-12-06 13:55:22 +01:00
psadhukhan
831c113060 Merge 2018-12-04 13:35:04 +05:30
iklam
65458af5b8 8214388: CDS dumping fails with java heap fragmentation
Summary: Force a full GC with a single thread before writing heap archive regions
Reviewed-by: sjohanss, jiangli
2018-12-03 22:27:24 -08:00
jgeorge
e1f81302e3 8213323: sa/TestJmapCoreMetaspace.java and sa/TestJmapCore.java fail with ZGC
Summary: Avoid creating the hprof file and throw an exception in HeapHprofBinWriter for ZGC and handle this in the TestJmap* testcases
Reviewed-by: gadams, jcbeyler, cjplummer
2018-12-04 11:10:19 +05:30
jcbeyler
83a69358f3 8214502: Add space after/before {} in remaining vmTestbase tests
Summary: Added spaces around the {}
Reviewed-by: dholmes, sspitsyn
2018-12-03 19:47:37 -08:00
jjg
01bbf63452 8214745: Bad link in coll-reference.html
Reviewed-by: martin, bpb, lancea
2018-12-03 16:44:57 -08:00
jjg
c4370d4cf7 8214744: Unnecessary <p> tags in java.util.zip.Deflater
Reviewed-by: mchung, lancea
2018-12-03 16:14:15 -08:00
serb
b6dd412ae9 8212680: (JDK12b14/Solaris-sparc) SplashScreen::getSplashScreen call fails with ULE: "libsplashscreen.so: ld.so.1: java: fatal: libz.so.1: open failed: No such file or directory"
Reviewed-by: prr, ihse, erikj
2018-12-03 16:12:33 -08:00
iklam
f6423aa286 8214726: Typo in HeapShared::check_closed_archive_heap_region_object
Reviewed-by: lfoltan
2018-12-03 15:53:01 -08:00
ihse
5e15e4bba2 8213187: Handle libwindowsaccessbridge need to access MSVCRT functions
Reviewed-by: erikj
2018-12-03 18:48:01 +01:00
ihse
e91e092d27 8214718: Update missing copyright year in build system
Reviewed-by: erikj, tbell
2018-12-03 18:46:10 +01:00
ihse
735b34d624 8214710: Fix hg log in update_copyright_year.sh
Reviewed-by: alanb, tbell, erikj
2018-12-03 18:44:45 +01:00
ihse
1bb2d146fb 8214311: dtrace gensrc has missing dependencies
Reviewed-by: tbell, erikj
2018-12-03 18:43:24 +01:00
weijun
279c5bdcaf 8210476: sun/security/mscapi/PrngSlow.java fails with Still too slow
Reviewed-by: xuelei, igerasim, rriggs
2018-12-03 23:58:15 +08:00
eosterlund
d9c1d8169b 8214523: Fix nmethod asserts for concurrent nmethod unloading
Reviewed-by: coleenp, kvn
2018-12-03 14:16:39 +01:00
pliden
30a4368958 8214377: ZGC: Don't use memset to initialize array of ZForwardingTableEntry
Reviewed-by: rkennke, eosterlund
2018-12-03 14:52:49 +01:00
pliden
ca0bd40a5e 8214476: ZGC: Build ZGC by default
Reviewed-by: shade, rkennke, ihse
2018-12-03 14:52:49 +01:00
pliden
9093ad10c4 8214484: ZGC: Exclude SA tests ClhsdbJhisto and TestHeapDumpFor*
Reviewed-by: shade, tschatzl
2018-12-03 14:52:49 +01:00
jlahoda
98238d45eb 8214529: Exception while using Anonymous class in switch expression
Summary: Clearing breakResult when creating methodEnv.
Reviewed-by: mcimadamore
2018-12-03 14:25:00 +01:00
dchuyko
7950e987d4 8214444: Wrong strncat limits in dfa.cpp
Reviewed-by: kvn
2018-12-03 14:28:19 +03:00
roland
564111c364 8214857: "bad trailing membar" assert failure at memnode.cpp:3220
Reviewed-by: adinn, thartmann
2018-12-03 10:51:03 +01:00
redestad
0d1b98c279 8214858: Improve module graph archiving
Reviewed-by: jiangli, alanb
2018-12-06 12:51:13 +01:00
hannesw
7efec01737 8214571: -Xdoclint of array serialField gives "error: array type not allowed here"
Reviewed-by: jjg, sundar
2018-12-06 12:34:28 +01:00
thartmann
959270ceb8 8208277: Code cache heap (-XX:ReservedCodeCacheSize) doesn't work with 1GB LargePages
Summary: Use huge pages for code cache if ReservedCodeCacheSize == InitialCodeCacheSize
Reviewed-by: kvn
2018-12-06 10:07:54 +01:00
nishjain
08ce6dafc1 8177552: Compact Number Formatting support
Reviewed-by: naoto, rriggs
2018-12-06 12:39:28 +05:30
pmuthuswamy
5af988e11d 8214856: Errors with JSZip in web console after upgrade to 3.1.5
Reviewed-by: hannesw
2018-12-06 11:54:39 +05:30
lmesnik
18e83c8b55 8210107: vmTestbase/nsk/stress/network tests fail with Cannot assign requested address (Bind failed)
Reviewed-by: dholmes, mseledtsov, chegar
2018-12-05 21:18:27 -08:00
iignatyev
f7bb8fe057 8214915: CtwRunner misses export for jdk.internal.access
Reviewed-by: kvn
2018-12-05 20:59:55 -08:00
jjiang
f4e06e9215 8214459: NSS source should be removed
Summary: Remove test/jdk/sun/security/pkcs11/nss/src
Reviewed-by: valeriep
2018-12-06 10:05:29 +08:00
cushon
3d65ca25e2 8214902: Pretty-printing marker annotations add unnecessary parenthesis
Reviewed-by: jjg
2018-12-05 11:31:20 -08:00
mseledtsov
818297a0d5 8214906: [TESTBUG] jfr/event/sampling/TestNative.java fails with UnsatisfiedLinkError
Summary: Fixed the name of native method to reflect correct package
Reviewed-by: mgronlun
2018-12-05 17:50:14 -08:00
jwilhelm
8c54891125 Added tag jdk-12+23 for changeset eef755718cb2 2018-12-06 00:44:13 +01:00
iignatyev
ff269f1bb0 8214908: add ctw tests for jdk.jfr and jdk.management.jfr modules
Reviewed-by: kvn
2018-12-05 16:22:22 -08:00
bpb
43cab680e0 6516099: InputStream.skipFully(int k) to skip exactly k bytes
Reviewed-by: rriggs, bchristi, serb, dfuchs
2018-12-05 15:58:46 -08:00
hannesw
4227d6f05d 8214795: Add safety check to dynalink inner class lookup
Reviewed-by: sundar, attila
2018-12-05 19:17:22 +01:00
eosterlund
5cf71779d6 8214257: IC cache not clean after cleaning assertion failure
Reviewed-by: kvn, thartmann
2018-12-05 16:11:53 +01:00
eosterlund
ac536aa114 8214338: Move IC stub refilling out of IC cache transitions
Reviewed-by: dlong, rbackman
2018-12-05 15:57:26 +01:00
coffeys
8edb17d408 8213952: Relax DNSName restriction as per RFC 1123
Reviewed-by: weijun, mullan, chegar
2018-12-05 17:33:01 +00:00
egahlin
a230eb0e97 8214896: JFR Tool left files behind
Reviewed-by: mgronlun
2018-12-05 18:08:50 +01:00
pliden
6534795f85 8214786: Remove unused ThreadLocalAllocBuffer::verify()
Reviewed-by: kbarrett, eosterlund
2018-12-05 17:11:22 +01:00
pliden
2a69621ecc 8214785: Remove unused WeakHandleType::vm_string
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:21 +01:00
pliden
222031032e 8214782: Add missing access barriers on CLD handle area
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:20 +01:00
pliden
6c04fe3230 8214784: Adjust Dictionary and JNIHandle verification
Reviewed-by: coleenp, eosterlund
2018-12-05 17:11:19 +01:00
egahlin
aa369365ba 8205516: JFR tool
Reviewed-by: mgronlun
2018-12-05 16:40:12 +01:00
vromero
4d8de86941 8213703: LambdaConversionException: Invalid receiver type not a subtype of implementation type interface
Reviewed-by: mcimadamore
2018-12-05 09:34:01 -05:00
sundar
edfae5ed74 8206962: jlink --release-info=del throws NPE if no keys are specified
Reviewed-by: alanb
2018-12-05 19:22:04 +05:30
eosterlund
4f4e663239 8214302: Allow safely calling is_unloading() on zombie nmethods
Reviewed-by: kvn, pliden
2018-12-05 11:01:44 +01:00
eosterlund
9791078227 8214522: Last runtime locking issues for concurrent class unloading
Reviewed-by: coleenp, pliden
2018-12-05 08:55:42 +01:00
jlahoda
cf426a54cb 8214031: Assertion error in value break statement with conditional operator in switch expression
Summary: Correcting handling of boolean-valued switch expressions when true/false; generating them directly rather than desugaring in Lower.
Reviewed-by: mcimadamore
2018-12-03 10:37:36 +01:00
nishjain
bf12b1e6f7 8213294: Upgrade IANA LSR data
Reviewed-by: naoto
2018-12-03 12:35:27 +05:30
kaddepalli
7810139531 7124301: [macosx] When in a tab group if you arrow between tabs there are noVoiceOver announcements.
7124298: [macosx] Nothing heard from VoiceOver when tabbing between a nestedtab group and a parent tab group.
Reviewed-by: serb, sveerabhadra
2018-12-03 06:59:19 +05:30
itakiguchi
d046060def 8213618: IBM970 charset has missing entry and remove unexpected entries
Reviewed-by: srl, martin
2018-12-02 11:09:46 -08:00
weijun
1b77129034 8214179: Add groupname info into keytool -list and -genkeypair output
Reviewed-by: mullan
2018-12-01 21:58:05 +08:00
epavlova
75288cf2f2 8214557: Filter out VM flags which don't affect AOT code generation
Reviewed-by: kvn, erikj
2018-11-30 23:46:20 -08:00
psadhukhan
a06c1746bd 8213051: Invalid use of HTML5 in javax.print files
Reviewed-by: aivanov, serb
2018-12-01 09:37:19 +05:30
serb
cb6639974f 8211147: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder
Reviewed-by: prr
2018-11-30 15:54:34 -08:00
prr
bdfa0d5a39 8214558: bad @run tag in CheckPrinterJobSystemProperty.java
Reviewed-by: serb
2018-11-30 15:05:36 -08:00
bpb
03adf8ef23 8214195: Align stdout messages in test/jdk/java/math/BigInteger/PrimitiveConversionTests.java
Reviewed-by: lancea
2018-11-30 14:48:44 -08:00
henryjen
cafb494eb7 8213362: [macOS] Could not find libjava.dylib error when initializing JVM via JNI_CreateJavaVM
Reviewed-by: alanb, ihse
Contributed-by: priyanka.mangal@oracle.com
2018-11-30 13:42:49 -08:00
joehw
bc6d5b9033 8213734: SAXParser.parse(File, ..) does not close resources when Exception occurs.
Reviewed-by: lancea
2018-11-30 12:41:00 -08:00
ccheung
a70fc51f3d 8210102: CDS tests timed out
Summary: increase the timeout to 160s for the DifferentHeapSizes test.
Reviewed-by: iklam
2018-11-30 12:24:23 -08:00
bae
5cedb102ef 8139178: Wrong fontMetrics when printing in Landscape (OpenJDK)
Reviewed-by: prr
2018-11-30 23:21:05 +03:00
prr
70eb7bc2d6 8214552: Resolve clash between 4947890 and 8130264
Reviewed-by: rriggs, mchung
2018-11-30 12:21:39 -08:00
prr
7649262396 8130264: change the mechanism by which JDK loads the platform-specific PrinterJob implementation
Reviewed-by: serb, rriggs
2018-11-30 10:55:59 -08:00
eosterlund
78a8e23c33 8214231: Allow concurrent cleaning of TypeStackSlotEntries and ReturnTypeEntry
Reviewed-by: rehn, coleenp
2018-11-30 16:51:23 +01:00
eosterlund
641b87fe06 8213209: [REDO] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: coleenp, dlong
2018-11-30 15:29:19 +01:00
hannesw
97cb0ae7ce 8214525: Bit rot in Nashorn Ant script
Reviewed-by: attila, jlaskey
2018-11-30 15:43:37 +01:00
hannesw
59bc7befa2 8210943: Hiding of inner classes not resolved properly
Reviewed-by: attila, jlaskey
2018-11-30 15:39:27 +01:00
roland
ffba3718df 8214541: ZGC: Refactoring from JDK-8214172 may leave PhaseIterGVN::_delay_transform set
Reviewed-by: eosterlund
2018-11-30 15:22:44 +01:00
dtitov
37eca57c92 8214572: [Graal] nsk/jvmti/unit/ForceEarlyReturn/earlyretbase should not suspend the thread when the top frame executes JVMCI code
Reviewed-by: sspitsyn, dholmes, jcbeyler
2018-12-04 21:13:45 -08:00
vlivanov
f589c99a31 8146090: java/lang/ref/ReachabilityFenceTest.java fails with -XX:+DeoptimizeALot
Reviewed-by: dholmes, iignatyev
2018-12-04 17:18:11 -08:00
weijun
2b8624772d 8214513: A PKCS12 keystore from Java 8 using custom PBE parameters cannot be read in Java 11
Reviewed-by: mullan
2018-12-05 08:48:49 +08:00
joehw
9cca6211f7 8213325: (props) Properties.loadFromXML does not fully comply with the spec
Reviewed-by: alanb, rriggs, dfuchs, naoto
2018-12-04 14:53:00 -08:00
rriggs
afcb3a48df 8214794: java.specification.version should be only the major version number
Reviewed-by: martin, mchung, bpb
2018-12-04 15:22:41 -05:00
ccheung
a5c14f6482 8214728: Unnecessary InstanceKlass::cast at few places
Reviewed-by: lfoltan, jiangli, coleenp
2018-12-04 11:54:09 -08:00
naoto
5c2d81eb1b 8214770: java/time/test/java/time/format/TestNonIsoFormatter.java failed in non-english locales.
Reviewed-by: lancea, bpb
2018-12-04 11:10:14 -08:00
rriggs
6b05da1b1f 8171426: java/lang/ProcessBuilder/Basic.java failed Stream closed
Reviewed-by: bpb, jlaskey
2018-12-04 12:26:49 -05:00
sgehwolf
f8aa9314da 8214061: Buffer written into itself
Summary: Actually write the msg text into the buffer.
Reviewed-by: dcubed, sgehwolf, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-12-04 17:54:13 +01:00
eosterlund
2e1bf9cbbf 8214556: Crash in DependencyContext::remove_dependent_nmethod still happens
Reviewed-by: kvn, kbarrett
2018-12-04 17:14:11 +01:00
shade
379153bfed 8214787: Zero builds fail with "undefined JavaThread::thread_state()"
Reviewed-by: stuefe, zgu
2018-12-04 15:47:05 +01:00
gadams
4559f9bc30 8214300: .attach_pid files may remain in the process cwd
Reviewed-by: sspitsyn, cjplummer, jcbeyler
2018-12-04 07:06:38 -05:00
gadams
f3adb9ae4c 8176828: jtools do not list VM process launched with the debugger option suspend=y
Reviewed-by: dholmes, cjplummer
2018-12-04 07:09:02 -05:00
lucy
d1135aae74 8214526: Change CodeHeap State Analytics control from UL to Print*
Reviewed-by: coleenp, kvn, stuefe, thartmann
2018-12-04 11:57:18 +01:00
ehelin
e67894a96b 8214230: Classes generated by SystemModulesPlugin.java are not reproducable
Reviewed-by: alanb, redestad, mchung
2018-12-04 09:30:10 +01:00
simonis
3b48147942 8214534: Setting of THIS_FILE in the build is broken
Reviewed-by: erikj, ihse
2018-12-04 09:28:11 +01:00
afarley
d949f0d071 8214063: OpenJDK will not build on AIX while using the xlc 13.1 compiler
Reviewed-by: simonis, erikj, ihse, stuefe, mbaesken
2018-12-04 09:08:03 +01:00
mbaesken
c5844f9cfd 8214380: AwtDragSource function LoadCache misses a ReleaseLongArrayElements in special case
Reviewed-by: serb, stuefe
2018-11-30 13:31:31 +01:00
jdv
02f21f669a 8212875: ftp: links for tiff/TTN2.draft.txt do not respond
Reviewed-by: serb
2018-11-30 17:14:48 +05:30
eosterlund
887142a830 8213565: Crash in DependencyContext::remove_dependent_nmethod
Reviewed-by: rehn, kvn
2018-11-30 11:40:48 +01:00
ysuenaga
27e850defd 8214499: SA should follow 8150689
Reviewed-by: dholmes, jgeorge
2018-11-30 20:15:25 +09:00
psadhukhan
7227b1e2c6 8214470: PIT: javax/swing/JPopupMenu/7154841/bug7154841.java errors out on mac10.13
Reviewed-by: jdv, serb
2018-11-30 10:55:42 +05:30
serb
55502d6cee 8198339: Test javax/swing/border/Test6981576.java is unstable
Reviewed-by: kaddepalli, psadhukhan
2018-11-29 16:22:49 -08:00
mbalao
4851b3414f 6913047: Long term memory leak when using PKCS11 and JCE exceeds 32 bit process address space
Summary: Extract cryptographic keys within NSS PKCS11 software tokens for memory management purposes.
Reviewed-by: valeriep
2018-11-29 13:36:23 -03:00
dfuchs
785c97c3ab 8216498: Confusing and unneeded wrapping of SSLHandshakeException
Summary: [httpclient] Avoid wrapping SSLHandshakeException in plain IOException
Reviewed-by: chegar
2019-01-11 14:48:19 +00:00
ysuenaga
4f16dab2e6 8216486: Possibility of integer overflow in JfrThreadSampler::run()
Reviewed-by: rehn, sgehwolf
2019-01-11 23:32:52 +09:00
rehn
955c2510a6 8214271: Fast primitive to wake many threads
Reviewed-by: dholmes, dcubed
2019-01-11 10:58:46 +01:00
thartmann
219f76fec1 8216480: Typo in test/hotspot/jtreg/compiler/graalunit/README.md
Summary: Removed -vmoptions:
Reviewed-by: epavlova
2019-01-11 09:59:28 +01:00
mbaesken
ac548fdaa8 8216355: missing NULL checks in libnet in interface iteration and potential resource leak in getMacAddress
Reviewed-by: clanger, rwestberg
2019-01-09 14:46:40 +01:00
jwilhelm
feab42aec2 Merge 2019-01-10 21:52:33 +01:00
coleenp
57cc0fa136 8216167: Update include guards to reflect correct directories
Summary: Use script and some manual fixup to fix directores names in include guards.
Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
lancea
c21cffbfc6 8216362: Better error message handling when there is an invalid Manifest
Reviewed-by: lancea, rriggs, mullan
Contributed-by: Philipp Kunz <philipp.kunz@paratix.ch>
2019-01-10 14:32:56 -05:00
darcy
1d0692ba12 8216404: Elements.getPackageOf should handle modules
Reviewed-by: jlahoda
2019-01-10 10:34:30 -08:00
erikj
4ad11d6c26 8216489: Issues with ModulePackages attribute generation on incremental build
Reviewed-by: redestad, alanb, tbell
2019-01-10 10:28:51 -08:00
erikj
592fc5d750 8216278: Fix devkit and basic Jib support on WSL
Reviewed-by: tbell
2019-01-10 09:11:56 -08:00
gziemski
1a172269ac 8215155: Remove get_insert() from concurrent hashtable and gtests
Summary: Replaced get_insert() with get()/insert() in gtest, removed get_insert() API from cht implementation.
Reviewed-by: coleenp, rehn
2019-01-10 11:16:17 -06:00
redestad
7ccf705931 8216428: Remove IgnoreLibthreadGPFault
Reviewed-by: dholmes, eosterlund
2019-01-10 16:50:26 +01:00
robm
f138ab9348 8214440: ldap over a TLS connection negotiate failed with "javax.net.ssl.SSLPeerUnverifiedException: hostname of the server '' does not match the hostname in the server's certificate"
Reviewed-by: vtewari, xuelei
2019-01-10 07:54:16 -08:00
hseigel
b3952cd70d 8207964: [TESTBUG] Change stressTime to default to 30 for nsk tests
Summary: Change the default from 60 seconds to 30 seconds.
Reviewed-by: coleenp, dholmes
2019-01-10 10:15:02 -05:00
roland
ac46bb8e34 8216482: Shenandoah: typo in ShenandoahBarrierSetC2::clone_barrier_at_expansion() causes failed compilations
Reviewed-by: thartmann, shade, rkennke
2019-01-10 13:54:09 +01:00
jwilhelm
1545e6a275 Added tag jdk-13+3 for changeset 642346a11059 2019-01-10 04:52:01 +01:00
iignatyev
abae19fcd5 8216441: problem list org.graalvm.compiler.hotspot.test.ExplicitExceptionTest
Reviewed-by: dholmes
2019-01-09 17:12:17 -08:00
jwilhelm
66cfdd7927 Merge 2019-01-09 22:59:49 +01:00
cushon
de7bc3ef10 8216403: Allocate fewer EnumSets in JavacFileManager#list
Reviewed-by: vromero, redestad
2019-01-08 17:37:57 -08:00
shade
5d6ddc48c3 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-01-09 20:28:16 +01:00
igerasim
d54e78210f 8210788: Javadoc for Thread.join(long, int) should specify that it waits forever when both arguments are zero
Reviewed-by: martin, rriggs
2019-01-09 10:59:37 -08:00
redestad
98f358e257 8216423: Remove FillDelaySlots
Reviewed-by: thartmann
2019-01-09 17:40:12 +01:00
gadams
8acb8ec160 8213001: vmTestbase/nsk/jvmti/ThreadStart/threadstart002/TestDescription.java debug agent times out
Reviewed-by: dcubed, jcbeyler
2019-01-09 12:09:20 -05:00
ecaspole
f8a7b69411 8216375: Revert JDK-8145579 after JDK-8076988 is resolved
Summary: Remove obsolete code
Reviewed-by: thartmann, dlong
2019-01-09 12:02:38 -05:00
shade
0eaa70a36e 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
igerasim
6fee6793c3 8216413: Long.parseLong() is specified to throw unless string contains parsable {@code int}; should be {@code long}
Reviewed-by: clanger
2019-01-09 06:18:33 -08:00
hseigel
002d8fee38 8214442: Improve stack walk API by adding handle marks
Summary: Add the missing handle marks.
Reviewed-by: zgu, mchung
2019-01-09 09:01:27 -05:00
hseigel
a27e4e2105 8215901: [TESTBUG] TestCheckedEnsureLocalCapacity.java fails intermittently
Summary: Change pattern match to not require that the matching string start at the beginning of a line.
Reviewed-by: dcubed, dholmes
2019-01-09 08:07:33 -05:00
neliasso
d07d8947bc 8216372: ZGC: Put C2 load barrier stub routines in separate codeblobs
Reviewed-by: pliden, eosterlund
2019-01-09 10:19:54 +01:00
redestad
ea302291fb 8215995: Add specialized toArray methods to immutable collections
Reviewed-by: martin, smarks
2019-01-09 01:06:19 +01:00
darcy
faf3c5b407 8216335: Minor cleanups to javax.annotation.processing and javax.lang.model javadoc
Reviewed-by: vromero
2019-01-08 13:04:04 -08:00
sgehwolf
7e1c3f3c9f 8216366: Add rationale to PER_CPU_SHARES define
Reviewed-by: bobv, adinn
2019-01-08 14:15:14 +01:00
zgu
b27fba3973 8216200: BCEscapeAnalyzer::ArgumentMap::set_intersect() is incorrect
Summary: Removed incorrect/unused method
Reviewed-by: thartmann
2019-01-07 10:41:29 -05:00
zgu
e58a1c952b 8216199: Local variable arg defined but never used in BCEscapeAnalyzer::compute_escape_for_intrinsic()
Summary: Removed unused local variable
Reviewed-by: thartmann
2019-01-07 09:17:08 -05:00
jcbeyler
fd85a55388 8215495: Set isCopy to JNI_FALSE if len == 0
Summary: Set isCopy in a corner case
Reviewed-by: dholmes, phh, minqi
2019-01-08 09:55:55 -08:00
ecaspole
aac1247e65 Merge 2019-01-08 10:29:02 -05:00
ecaspole
341f6de18a 8076988: reevaluate trivial method policy
Summary: Removed some checks to qualify as trivial
Reviewed-by: shade, thartmann, dlong
2019-01-08 10:28:28 -05:00
redestad
4c988e6a28 8216359: Remove develop flags TraceCompilationPolicy and TimeCompilationPolicy
Reviewed-by: neliasso, thartmann
2019-01-08 16:09:54 +01:00
redestad
4c07bacd0a 8216262: Remove develop flag DelayCompilationDuringStartup
Reviewed-by: kvn, thartmann
2019-01-08 11:23:19 +01:00
mdoerr
f69596652f 8216269: [s390] Debug build broken because CodeBlob has not been declared
Reviewed-by: shade, coleenp
2019-01-08 11:02:26 +01:00
redestad
23da9f64e4 8216285: Enable inlining of CollectedHeap::obj-/array-/class_allocate
Reviewed-by: ehelin
2019-01-08 10:54:00 +01:00
dmarkov
8d28a4db1c 8213583: Error while opening the JFileChooser when desktop contains shortcuts pointing to deleted files
Reviewed-by: kaddepalli, aivanov, serb
2018-11-29 15:17:58 +00:00
kaddepalli
847d84597a 8213048: Invalid use of HTML5 in java.awt files
Reviewed-by: serb, pbansal, aivanov
2018-11-29 15:21:10 +05:30
psadhukhan
906df20321 Merge 2018-11-29 14:32:23 +05:30
dholmes
4733c35510 8214465: Upgrade arm-sflt minimum architecture to ARMv5TE for assembler
Reviewed-by: erikj, dholmes
Contributed-by: Jakub Vanek <linuxtardis@gmail.com>
2018-11-29 00:51:58 -05:00
dholmes
263acdc907 8214466: Append assembler flags on ARM targets
Reviewed-by: erikj, dholmes
Contributed-by: Jakub Vanek <linuxtardis@gmail.com>
2018-11-29 00:49:27 -05:00
dholmes
225000757f 8214332: Add a flag for overriding default JNI library search path
Reviewed-by: erikj, dholmes
Contributed-by: Jakub Vanek <linuxtardis@gmail.com>
2018-11-28 22:29:35 -05:00
smarks
6941ce37f5 8214460: MacosX build is broken because of JDK-8214014
Reviewed-by: dholmes, tbell
2018-11-28 18:16:39 -08:00
jwilhelm
abab08d69e Added tag jdk-12+22 for changeset 732bec44c89e 2018-11-29 02:11:44 +01:00
mli
4db7ac0228 8214431: tests failed because can't find jdk.testlibrary.* in test directory or libraries
Reviewed-by: chegar, ctornqvi, dholmes
2018-11-29 07:40:45 +08:00
dl
02eaeae693 8211283: Miscellaneous changes imported from jsr166 CVS 2018-11
Reviewed-by: martin, chegar
2018-11-28 15:25:14 -08:00
dl
0d4ea7f362 8211877: Broken links in java.util.concurrent.atomic
Reviewed-by: martin, jjg
2018-11-28 15:25:14 -08:00
dl
45151c5227 8212899: java/util/concurrent/tck/JSR166TestCase.java - testMissedSignal_8187947(SubmissionPublisherTest): timed out waiting for CountDownLatch for 40 sec
Reviewed-by: martin, dholmes
2018-11-28 15:25:14 -08:00
martin
1a2b328b03 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -08:00
kbarrett
8fdd9468f6 8214278: Cleanup process_completed_threshold and related state
Summary: Change types, normalize names, remove special values.
Reviewed-by: tschatzl, sjohanss
2018-11-28 16:05:48 -05:00
rriggs
9095ac7213 8214014: Remove vestiges of gopher: protocol proxy support
Reviewed-by: lancea, alanb
2018-11-28 16:04:36 -05:00
rriggs
3b200bab4d 4947890: Minimize JNI upcalls in system-properties initialization
Reviewed-by: erikj, mchung, bchristi, ihse, coleenp, stuefe
2018-11-28 15:53:49 -05:00
lancea
261fdf90ce 8210454: jar tool does not allow setting the module version without also setting the main class
Reviewed-by: alanb, mchung, chegar
2018-11-28 14:49:19 -05:00
jcbeyler
fc6e9443f2 8214408: Migrate EventsOnOff to using the same allocateAndCheck method
Summary: Move code to the more stable version used by other tests
Reviewed-by: sspitsyn, amenkov
2018-11-28 11:09:27 -08:00
joehw
fa93f9c7ca 8213117: adoptNode corrupts attribute values
Reviewed-by: lancea
2018-11-28 10:30:15 -08:00
iklam
40a37ee495 8213275: ReplaceCriticalClasses.java fails with jdk.internal.vm.PostVMInitHook not found
Reviewed-by: lfoltan, sspitsyn, shade
2018-11-28 07:51:15 -08:00
simonis
474ec3eb5c 8214343: Handle the absence of Xrandr more generically
Reviewed-by: stuefe, erikj, prr
2018-11-28 13:56:32 +01:00
dchuyko
19ef0aa3a1 8214272: Don't use memset to initialize arrays of MemoryUsage in memoryManager.cpp
Reviewed-by: rkennke, shade
2018-11-28 13:24:56 +03:00
rehn
c3d77414fd 8213791: StringTable: Use get and insert
Reviewed-by: eosterlund, gziemski
2018-11-28 11:06:27 +01:00
tschatzl
fa3d12deb0 8213996: Remove one of the SparsePRT entry tables
Summary: Remove unused functionality in SparsePRT
Reviewed-by: shade, sjohanss
2018-11-28 11:06:58 +01:00
tschatzl
eef625c0a7 8211211: vmTestbase/metaspace/stressDictionary/StressDictionary.java timeout
Summary: Disable CMS precleaning to avoid accumulating too many classloaders to unload.
Reviewed-by: kbarrett, sangheki
2018-11-28 10:52:01 +01:00
ihse
3e30bdafcb 8178317: Create man pages using pandoc from markdown sources
Reviewed-by: erikj
2018-11-28 10:00:41 +01:00
yzhang
0bd31c48bb 8213134: AArch64: vector shift failed with MaxVectorSize=8
Summary: add vshiftcnt instructions for vector64 and add vsra/vsrl instructions to AArch64 backend. To detect shift failures, MaxVectorSize options are added to jtreg test cases.
Reviewed-by: aph, kvn
2018-11-28 16:22:03 +08:00
shade
85fc0a9fa3 8215374: 32-bit build failures after JDK-8181143 (Introduce diagnostic flag to abort VM on too long VM operations)
Reviewed-by: roland
2018-12-14 12:56:59 +01:00
shade
daadc0a31d 8215353: x86_32 build failures after JDK-8214751 (X86: Support for VNNI Instructions)
Reviewed-by: thartmann, kvn
2018-12-14 12:56:57 +01:00
redestad
7c0215bb8e 8215380: Backout accidental change to String::length
Reviewed-by: darcy, smarks
2018-12-14 12:02:39 +01:00
jwilhelm
72ac450ae0 Added tag jdk-12+24 for changeset 7d4397b43fa3 2018-12-14 06:39:14 +01:00
mbaesken
fadf5aacfb 8214373: adjust usage of ReleaseLongArrayElements in MacosxDebuggerLocal
Reviewed-by: stuefe, jcbeyler
2018-11-27 15:56:10 +01:00
roland
fae901a080 8214362: C2: gc interface entry point for split if
Reviewed-by: rkennke, thartmann
2018-11-27 14:49:13 +01:00
roland
5e058307c2 8214172: GC interface entry points for loop opts
Reviewed-by: kvn, rkennke
2018-11-27 09:35:02 +01:00
mli
40dd48386a 8211975: move testlibrary/jdk/testlibrary/OptimalCapacity.java to top-level library
Reviewed-by: igerasim
2018-11-28 15:34:43 +08:00
pmuthuswamy
af5622cd6c 8202621: bad test with broken links needs to be updated
Reviewed-by: hannesw
2018-11-28 10:21:07 +05:30
pmuthuswamy
1c15212fd5 8213921: Use {@systemProperty} tag for properties listed in "Networking Properties"
Reviewed-by: chegar
2018-11-28 09:37:03 +05:30
dholmes
01967c2e68 8212207: runtime/InternalApi/ThreadCpuTimesDeadlock.java crashes with SEGV in pthread_getcpuclockid+0x0
Summary: skip non-JavaThreads that have not reached a minimal initialization point - setting their stack size
Reviewed-by: kbarrett, stuefe
2018-11-27 22:02:52 -05:00
dholmes
359e04465f 8214208: Nestmate package validation logging/exception should include classloader information
Reviewed-by: hseigel, coleenp, mchung
2018-11-27 21:20:16 -05:00
coleenp
f271e8b314 8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing
Summary: call WB_ProtectionDomainRemovedCount.
Reviewed-by: jiangli, pchilanomate
2018-11-27 19:46:57 -05:00
mseledtsov
6006a133f3 8213914: [TESTBUG] Several JFR VM events are not covered by tests
Summary: Fixed several relevant test issues, added a test to check event coverage
Reviewed-by: egahlin
2018-11-27 15:52:34 -08:00
dcubed
cab30c7098 8202415: Incorrect time logged for monitor deflation
Summary: Add support for "deflating per-thread idle monitors" log mesgs.
Reviewed-by: dholmes, coleenp
2018-11-27 18:35:16 -05:00
jiangli
44ea88b0a9 8214217: [TESTBUG] runtime/appcds/LotsOfClasses.java failed with fragmented heap
Summary: Improve the fragmentation error message. Set java heap size in LotsOfClasses.java.
Reviewed-by: iklam, ccheung
2018-11-27 17:53:17 -05:00
pchilanomate
58b319f4ab 8150689: Thread dump report "waiting to re-lock in wait()" shows incorrectly
Summary: "waiting to re-lock in wait()" is now shown in the frame where relocking is taking place
Reviewed-by: dholmes, dcubed
2018-11-27 13:39:57 -05:00
darcy
2f5c588dd1 8213911: Use example.com in java.net and other examples
Reviewed-by: prappo, chegar, rriggs, mullan
2018-11-27 11:28:47 -08:00
joehw
fe68ef9a06 8177286: AttributeSet: attempt to compare Qname and String
Reviewed-by: lancea
2018-11-27 09:40:32 -08:00
mgronlun
dc150773cc 8214287: SpecJbb2005StressModule got uncaught exception
Reviewed-by: egahlin, jwilhelm
2018-11-27 18:14:27 +01:00
vromero
eb119d2b02 8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body
Reviewed-by: mcimadamore
2018-11-27 11:07:44 -05:00
mhalder
6ecf77e3c3 8209123: [Macosx] Maximized frame (frame state set to MAXIMIZED_BOTH using setExtendedState) is resizable on Mac but not on Windows and Ubuntu
Reviewed-by: kaddepalli, psadhukhan
2018-11-27 13:47:31 +05:30
roland
9c9e4b00f0 8214344: C2: assert(con.basic_type() != T_ILLEGAL) failed: elembt=byte; loadbt=void; unsigned=0
Reviewed-by: kvn, thartmann
2018-11-27 08:44:19 +01:00
michaelm
4510228d0f 8211842: IPv6_supported wrongly returns false when unix domain socket is bound to fd 0
Reviewed-by: chegar, alanb
2018-11-30 10:29:58 +00:00
sadayapalam
190badc5b0 8206325: AssertionError in TypeSymbol.getAnnotationTypeMetadata
Reviewed-by: mcimadamore
2018-11-30 10:37:48 +05:30
jcbeyler
f83f4b2dd0 8214417: Add space after/before {} in vmTestbase/nsk/jvmti/[A-I] tests
Summary: Fix the spaces around {}
Reviewed-by: amenkov, sspitsyn, dholmes
2018-11-29 18:57:18 -08:00
rfield
6e766489f1 8213725: JShell NullPointerException due to class file with unexpected package
Reviewed-by: jlahoda
2018-11-29 17:45:29 -08:00
shurailine
257a5c3519 8214309: Enhance makefiles to allow generating JCov instrumented build
Reviewed-by: erikj
2018-11-29 06:34:46 -08:00
naoto
ac0c0dbb91 8212878: host in ftp: link not found
Reviewed-by: bpb
2018-11-29 13:17:14 -08:00
naoto
23c1d99225 8212870: Broken links for www.usno.navy.mil
Reviewed-by: bpb
2018-11-29 13:16:41 -08:00
sangheki
bd3d7e74f1 8211735: Wrong heap mapper can be selected with UseLargePages on G1
Reviewed-by: tschatzl, kbarrett
2018-11-28 15:09:26 -08:00
iveresov
cab1bde8f3 8193577: nsk/jvmti/IterateThroughHeap/filter-tagged fails with Graal in Xcomp mode
Summary: Make field values opaque to compiler
Reviewed-by: dlong, sspitsyn
2018-11-29 11:47:08 -08:00
lmesnik
0a42ba10e2 8214400: Update hotspot application/jcstress jtreg tests wrappers to use jcstress 0.5
Reviewed-by: dholmes, mseledtsov
2018-11-29 11:14:36 -08:00
lmesnik
5607dfc8f8 8214462: Add serviceability/sa/ClhsdbInspect.java to ProblemList.txt
Reviewed-by: dholmes, jgeorge
2018-11-29 11:06:22 -08:00
coleenp
b95b26ca19 8214356: Verification of class metadata unloading takes a long time
Summary: conditionalize verify_chunk_in_freelist call.
Reviewed-by: shade, tschatzl
2018-11-29 13:04:25 -05:00
naoto
79bf2156e4 8214170: ResourceBundle.Control.newBundle should throw IllegalAccessException when constructor of the resource bundle is not public.
Reviewed-by: rriggs, mchung
2018-11-29 10:13:42 -08:00
psadhukhan
58c6c005ac Merge 2018-11-27 10:59:24 +05:30
psadhukhan
fbc022b71c 8213843: Changing L&F from Nimbus to Window L&F causes NPE in SwingSet2
8213121: javax/swing/GraphicsConfigNotifier/StalePreferredSize.java fails on mac10.13
Reviewed-by: serb
2018-11-27 10:45:54 +05:30
xuelei
a2884af40b 8214321: Misleading code in SSLCipher
Reviewed-by: ascarpino
2018-11-26 20:50:21 -08:00
weijun
0b50f9ba90 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2018-11-27 08:51:20 +08:00
iklam
7e67cc853e 8214029: Remove dead code BasicHashtable::bulk_free_entries
Reviewed-by: dholmes
2018-11-26 15:06:53 -08:00
jjg
9ba42c6eea 8190312: javadoc -link doesn't work with http: -> https: URL redirects
Reviewed-by: hannesw
2018-11-26 11:17:13 -08:00
jiangli
d69b9ebb01 8214086: [TESTBUG] Fix subgraph test cases in ReplaceCriticalClasses.java
Summary: Add subgraph test cases in ReplaceCriticalClassesForSubgraphs.java.
Reviewed-by: iklam
2018-11-26 14:13:22 -05:00
jjg
81c27dd61b 8213956: javadoc crash using {@index} in doc-files file
Reviewed-by: jlahoda, hannesw, pmuthuswamy
2018-11-26 11:00:32 -08:00
kbarrett
75e61448a2 8214202: DirtyCardQueueSet::get_completed_buffer should not clear _process_completed
Summary: Remove flag clearing and simplify get_completed-buffer.
Reviewed-by: tschatzl, sjohanss
2018-11-26 13:17:39 -05:00
mbaesken
8ccfcc2abc 8214297: testbug : missing fclose in jvmti_aod.cpp
Reviewed-by: coleenp, stuefe
2018-11-26 14:04:23 +01:00
hannesw
edc2e5487d 8213716: javadoc search not working with Japanese and Chinese locales
Reviewed-by: jjg
2018-11-27 13:02:28 +01:00
coffeys
ee1e11ef28 8214295: Populate handlers while holding streamHandlerLock
Reviewed-by: chegar
2018-11-27 11:09:53 +00:00
roland
5b6214437d 8214189: test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
Reviewed-by: kvn
2018-11-26 17:35:35 +01:00
dlong
46b3ce8c49 8213259: [AOT] AOTing java.base fails with "java.lang.AssertionError: no fingerprint for Ljdk/internal/event/Event"
Reviewed-by: iklam, kvn
2018-11-26 22:49:57 -08:00
stuefe
f721119cb5 8213834: JVMTI ResourceExhausted should not be posted in CompilerThread
Reviewed-by: dholmes, dcubed, jcbeyler, sspitsyn
2018-11-27 07:54:06 +01:00
sgehwolf
2f860cfb8d 8214059: Undefined behaviour in ADLC
Reviewed-by: shade, kbarrett
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-11-26 09:36:30 +01:00
jlaskey
a44a25fab8 8203442: String::transform
Reviewed-by: smarks, sherman, alanb, darcy, forax, rriggs, scolebourne, dholmes, plevart
2018-11-26 12:20:06 -04:00
hseigel
bd6145ec1a 8204525: [TESTBUG] runtime/NMT/MallocStressTest.java ran out of java heap
Summary: Handle OutOfMemoryError exception to prevent test aborting
Reviewed-by: zgu, dholmes
2018-11-26 09:46:20 -05:00
thartmann
94cb674e54 8214242: compiler/arguments/TestScavengeRootsInCode.java fails because of missing UnlockDiagnosticVMOptions
Summary: Added missing UnlockDiagnosticVMOptions.
Reviewed-by: tschatzl
2018-11-26 12:16:23 +01:00
jlahoda
38316c656c 8214113: Switch expressions may have constant type and may be skipped during write
Summary: Switch expressions should not be compile-time constants.
Reviewed-by: mcimadamore
2018-11-26 09:24:08 +01:00
psadhukhan
6a6ac1789c Merge 2018-11-26 10:49:53 +05:30
weijun
129ae573ad 8214262: SunEC native code does not compile with debug on
Reviewed-by: jnimeh
2018-11-26 08:27:49 +08:00
jwilhelm
7a1cad16e0 8214276: Problemlist compiler/intrinsics/mathexact/MulExactLConstantTest.java
Reviewed-by: kbarrett
2018-11-24 01:05:11 +01:00
bulasevich
c68417360c 8213845: ARM32: Interpreter doesn't call result handler after native calls
Reviewed-by: aph
2018-11-23 19:45:38 +03:00
roland
6e052b59f9 8214206: Fix for JDK-8213419 is broken on 32-bit
Reviewed-by: mdoerr, shade
2018-11-22 17:25:47 +01:00
sjohanss
8ac37dddfd 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2018-11-23 10:57:07 +01:00
rehn
2f8a19e75d 8214181: safepoint header cleanup
Reviewed-by: kbarrett, dholmes, coleenp
2018-11-23 11:07:54 +01:00
rehn
c96328148b 8212108: SafepointSynchronizer never ending counter (big enough)
Reviewed-by: dholmes, eosterlund
2018-11-23 10:43:18 +01:00
mgronlun
fe3746b54a 8214161: java.lang.IllegalAccessError: class jdk.internal.event.X509CertificateEvent (in module java.base) cannot access class jdk.jfr.internal.handlers.EventHandler (in module jdk.jfr) because module java.base does not read module jdk.jfr
Reviewed-by: egahlin, dholmes
2018-11-23 10:51:59 +01:00
vtewari
67f42fe6b7 8203672: JNI exception pending in PlainSocketImpl.c
8203264: JNI exception pending in PlainDatagramSocketImpl.c:740
8203673: JNI exception pending in DualStackPlainDatagramSocketImpl.c:398
Reviewed-by: chegar, igerasim
2018-11-23 13:16:45 +05:30
ysuenaga
5bf3690e90 8213015: Inconsistent settings between JFR.configure and -XX:FlightRecorderOptions
Reviewed-by: mgronlun, egahlin
2018-11-23 16:36:07 +09:00
amlu
11b0b87ff4 8214241: Problem list com/sun/jndi/ldap/LdapTimeoutTest.java for all platforms
Reviewed-by: vtewari, weijun
2018-11-23 12:45:47 +08:00
mhorie
eaaedad67f 8214205: PPC64: Add instructions for counting trailing zeros
Reviewed-by: mdoerr, gromero
2018-11-22 21:43:37 -05:00
mchung
e2d8273f47 8214223: tools/jdeps/listdeps/ListModuleDeps.java failed due to missing Lib2 file
Reviewed-by: lancea, alanb
2018-11-22 10:15:32 -08:00
simonis
cf9badce83 8213698: Improve devkit creation and add support for linux/ppc64/ppc64le/s390x
Reviewed-by: erikj, ihse
2018-11-22 17:22:40 +01:00
hannesw
6135b07908 8200432: javadoc fails with ClassCastException on {@link byte[]}
Reviewed-by: jjg, sundar
2018-11-22 15:38:20 +01:00
sgehwolf
cd485f0f9a 8214108: [TESTBUG] Incorrect Function parameter lists in vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001
Reviewed-by: gadams, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-11-22 11:15:53 +01:00
sgehwolf
67b1cd3a84 8214105: [TESTBUG] Bit test is always false in serviceability/jvmti/StartPhase/AllowedFunctions
Reviewed-by: dcubed, dholmes, jcbeyler, gadams, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-11-22 10:11:58 +01:00
eosterlund
2b3c0b8d7f 8213755: Let nmethods be is_unloading() outside of safepoints
Reviewed-by: rehn, coleenp, kvn
2018-11-22 10:01:38 +01:00
eosterlund
f217317995 8214056: Allow the GC to attach context information to CompiledMethod
Reviewed-by: shade, kvn, adinn
2018-11-22 09:55:44 +01:00
eosterlund
962de39e46 8213486: SIGSEGV in CompiledMethod::cleanup_inline_caches_impl with AOT
Reviewed-by: kvn, dlong
2018-11-22 09:46:24 +01:00
simonis
19352a8c47 8213944: Fix AIX build after the removal of Xrandr.h and add a configure check for it
Reviewed-by: shade, erikj, stuefe, ihse, goetz
2018-11-22 09:44:02 +01:00
tschatzl
251ad5a34f 8213927: G1 ignores AlwaysPreTouch when UseTransparentHugePages is enabled
Summary: With UseTransparentHugePages we always need to pretouch on small page size as the underlying memory could currently be allocated as either small or large pages.
Reviewed-by: shade, sjohanss
2018-11-22 09:26:51 +01:00
tschatzl
6cc35ade91 8213997: Remove G1HRRSUseSparseTable flag
Summary: Remove develop flag because it is not used anyway.
Reviewed-by: shade, manc
2018-11-22 09:25:19 +01:00
rkennke
9366825ba5 8214057: GC/C2 abstraction for Node::has_special_unique_user()
Reviewed-by: kvn, roland
2018-11-22 09:23:05 +01:00
rkennke
70a53f1179 8214055: GC/C2 abstraction for phaseX
Reviewed-by: kvn, roland
2018-11-22 09:22:54 +01:00
cushon
768954ee39 8214026: Canonicalized archive paths appearing in diagnostics
Reviewed-by: vromero
2018-11-19 15:01:59 -08:00
xuelei
3326f87ad0 8210985: Update the default SSL session cache size to 20480
Reviewed-by: jnimeh, mullan
2018-11-29 08:43:12 -08:00
rriggs
87c5ae7c38 8214445: [test] java/net/URL/HandlerLoop has illegal reflective access
Reviewed-by: lancea, chegar, bpb
2018-11-29 09:19:16 -05:00
mullan
c66b391fc1 8214443: Remove TLS v1 and v1.1 from SSLContext required algorithms
Reviewed-by: xuelei
2018-11-29 08:50:25 -05:00
stuefe
44a1f2da12 8214229: Enable ShowRegistersOnAssert by default
Reviewed-by: mdoerr, coleenp
2018-11-22 12:20:10 +01:00
gromero
962f5dc535 8214451: PPC64/s390: Clean up unused CRC32 prototype and function
Reviewed-by: mdoerr, lucy
2018-11-28 13:16:54 -05:00
neliasso
ea39e517dd 8214434: Disabling ZOptimizeLoadBarriers hits assert
Reviewed-by: kvn, pliden, eosterlund
2018-11-29 09:31:04 +01:00
pliden
a5c4bd8fb9 8212748: ZGC: Add reentrant locking functionality
Reviewed-by: eosterlund, kbarrett
2018-11-09 14:08:01 +01:00
pliden
9f1a57d1bd 8214068: ZGC crashes with vmTestbase/nsk/jdi/ReferenceType/instances/instances004/TestDescription.java
Reviewed-by: eosterlund, rehn, dcubed
2018-11-22 09:14:31 +01:00
vtewari
2dd144356d 8046500: GetIpAddrTable function failed on Pure Ipv6 environment
Reviewed-by: chegar
2018-11-22 13:25:44 +05:30
mchung
f856d0bb7d 8213909: jdeps --print-module-deps should report missing dependences
8168869: jdeps: localized messages don't use proper line breaks
Reviewed-by: sundar
2018-11-21 22:34:01 -08:00
mchung
46faf516d2 8211051: jdeps usage of --dot-output doesn't provide valid output for modular jar
Reviewed-by: sundar
2018-11-21 22:33:33 -08:00
pmuthuswamy
9fdbb2778f 8213819: doclint should warn against {@index} inside <a> tag
Reviewed-by: jjg, hannesw
2018-11-22 10:25:44 +05:30
amlu
8e5ca8d993 8211266: [TESTBUG] ZipFSTester.java failed intermittently in ZipFSTester.checkRead(): bound must be positive
Reviewed-by: lancea
2018-11-22 10:30:47 +08:00
jwilhelm
f7bb3a9ae2 Added tag jdk-12+21 for changeset f8fb0c86f2b3 2018-11-22 02:32:36 +01:00
dnsimon
60f4e87b56 8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
Reviewed-by: kvn, never
2018-11-21 22:02:17 +01:00
jjg
6f87405b28 8214139: Remove wrapper methods from {Base,Html}Configuration
Reviewed-by: pmuthuswamy, hannesw
2018-11-21 12:36:16 -08:00
apetcher
383dee120a 8213202: Possible race condition in TLS 1.3 session resumption
Reviewed-by: jnimeh
2018-11-21 15:06:13 -05:00
jcbeyler
19edae095e 8214149: Move out assignments when not using NSK*VERIFY macros
Summary: Move out the assignments from ifs
Reviewed-by: sspitsyn, cjplummer
2018-11-21 10:46:45 -08:00
alanb
77c5a78ebf 8214078: (fs) SecureDirectoryStream not supported on arm32
Reviewed-by: alanb
Contributed-by: nick.gasson@arm.com
2018-11-21 18:44:11 +00:00
jcbeyler
9f3fa5f256 8213721: [Graal] Tests vmTestbase/nsk/stress/except/except* may be encountering SEGV during out-of-memory conditions
Summary: Add the exception handler only for the current thread
Reviewed-by: dholmes, sspitsyn, thartmann
2018-11-21 09:38:27 -08:00
bpb
aae585522c 8213235: java/nio/channels/SocketChannel/AsyncCloseChannel.java fails with threads that didn't exit
Reviewed-by: alanb, dfuchs
2018-11-21 08:16:25 -08:00
coffeys
540a8b4eec 8213942: URLStreamHandler initialization race
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
kbarrett
89152bd080 8214144: Remove confusing locking_enqueue_completed_buffer
Summary: Remove function.
Reviewed-by: tschatzl, manc
2018-11-21 09:40:19 -05:00
simonis
90cfbe839f 8214120: [REDO] Fix sun.awt.nativedebug on X11 platforms
Reviewed-by: stuefe, ihse
2018-11-21 15:22:28 +01:00
jlahoda
80cc1cff74 8212982: Rule cases in switch expression accepted even if complete normally
Summary: Ensure an error is reported if switch expression does not correctly produce a value.
Reviewed-by: mcimadamore
2018-11-21 15:22:57 +01:00
thartmann
aaa5cfe042 8214025: assert(t->singleton()) failed: must be a constant when ScavengeRootsInCode < 2
Summary: Added missing null checks and checks for pending exception.
Reviewed-by: kvn
2018-11-21 15:05:21 +01:00
rgoel
1f22fd0e0c 8209923: Unicode 11.0.0.
Summary: Updated JDK to support Unicode 11.0.0.
Reviewed-by: naoto
2018-11-21 14:24:31 +05:30
roland
b1eb658d9f 8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
Reviewed-by: kvn, dlong, aph
2018-11-14 13:15:54 +01:00
iklam
c74b768080 8213587: Speed up CDS dump time by using resizable hashtables
Reviewed-by: jiangli, coleenp, gziemski
2018-11-20 20:00:15 -08:00
jcbeyler
36c1add786 8214154: problem list HeapMonitorStatIntervalTest.java
Summary: Add the test to the problem list until solved
Reviewed-by: dholmes
2018-11-20 18:36:57 -08:00
zgu
0625b217e0 8214124: [TESTBUG] Bugs in runtime/NMT/MallocStressTest.java
Summary: Fix possible negative size and index that can cause the test to fail
Reviewed-by: stuefe, shade
2018-11-20 20:09:11 -05:00
shade
400929f237 8213992: Rename and make DieOnSafepointTimeout the diagnostic option
Reviewed-by: dholmes, dcubed, coleenp, kvn
2018-11-20 22:59:27 +01:00
rkennke
65e1bf67ed 8213746: GC/C2 abstraction for C2 matcher
Reviewed-by: kvn, roland
2018-11-20 22:37:34 +01:00
redestad
b501ac7f97 8213033: Archive remaining primitive box caches
Reviewed-by: jiangli, alanb
2018-11-20 21:12:46 +01:00
cushon
ceec618ebc 8213908: AssertionError in DeferredAttr at setOverloadKind
Reviewed-by: mcimadamore
2018-11-19 09:57:41 -08:00
simonis
11617325a7 8214125: [test] Fix comparison between pointer and integer in test_ptrQueueBufferAllocator.cpp
Reviewed-by: mdoerr, shade, stuefe, tschatzl
2018-11-20 19:06:34 +01:00
joehw
13846498d9 8210722: JAXP Tests: CatalogSupport2 and CatalogSupport3 generate incorrect messages upon failure
Reviewed-by: lancea
2018-11-20 09:22:13 -08:00
sdama
31e5172583 8210742: compound var declaration type is not uniform for all variables
Summary: make implicit type for all variables in compound declaration as null for which type inference happens at later phase
Reviewed-by: mcimadamore
Contributed-by: srinivas.dama@oracle.com
2018-11-20 21:59:07 +05:30
coffeys
778e536f41 8148188: Enhance the security libraries to record events of interest
Reviewed-by: egahlin, mullan, weijun, xuelei
2018-11-20 13:12:48 +00:00
eosterlund
68fdd33dac 8212992: Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
Reviewed-by: coleenp, pliden
2018-11-20 10:08:19 +01:00
eosterlund
d63ef680e8 8212682: Avoid holding Compile_lock when blocking for GC in ObjArrayKlass::allocate_objArray_klass()
Reviewed-by: coleenp, dlong
2018-11-20 10:08:18 +01:00
rehn
7da8662e69 8213560: gtests might hang
Reviewed-by: rwestberg, eosterlund
2018-11-20 09:35:15 +01:00
pliden
b0c11c9fb7 8213623: ZGC: Let heap iteration walk all roots
Reviewed-by: eosterlund, kbarrett
2018-11-20 08:17:24 +01:00
pmuthuswamy
dc5adefdcf 8184205: Captions on tabbed tables are squashed together
Reviewed-by: jjg
2018-11-20 10:50:54 +05:30
pmuthuswamy
89ed442f01 8213920: Use {@systemProperty} tag for properties listed in System.getProperties
Reviewed-by: mchung, alanb
2018-11-20 10:07:42 +05:30
xyin
b19bdbda07 8129310: java/net/Socket/asyncClose/AsyncClose.java fails intermittently
Reviewed-by: dfuchs
2018-11-20 09:59:58 +08:00
cushon
dca5646729 8214071: Broken msg.bug diagnostics when using the compiler API
Reviewed-by: jjg
2018-11-19 10:47:38 -08:00
stuefe
332cbdc80d 8214075: [BACKOUT] 8214007: Fix sun.awt.nativedebug on X11 platforms
Reviewed-by: shade, dholmes
2018-11-19 22:27:51 +01:00
simonis
2116da000e 8214007: Fix sun.awt.nativedebug on X11 platforms
Reviewed-by: erikj, ihse
2018-11-19 19:25:57 +01:00
erikj
f88ef9d4e3 8214062: JDK-8167368 Leftover: get_source.sh in build documentation
Reviewed-by: dholmes, erikj
Contributed-by: merkel05@gmail.com
2018-11-19 08:52:11 -08:00
akolarkunnu
8006ae0c69 8213168: Enable different look and feel tests in SwingSet3 demo test FileChooserDemoTest
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-11-05 18:53:51 -08:00
kaddepalli
e7f138e29f 8212882: links to tutorial should be updated to use https:
Reviewed-by: psadhukhan, pbansal
2018-11-20 16:40:40 +05:30
jdv
bc4650130b 8211422: Reading PNG with corrupt CRC for IEND chunk throws IIOException
Reviewed-by: serb, kaddepalli
2018-11-20 15:53:54 +05:30
jdv
6707ccda26 8211795: ArrayIndexOutOfBoundsException in PNGImageReader after JDK-6788458
Reviewed-by: serb, kaddepalli
2018-11-20 14:37:24 +05:30
serb
4a5f2551b9 8213817: @return has already been specified (4 occurrences, in AWT and Swing)
Reviewed-by: prr
2018-11-15 14:14:31 -08:00
sveerabhadra
b341c54e43 6849922: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.html fails
Reviewed-by: kaddepalli, serb
2018-11-15 11:25:13 +05:30
alans
5489f471b5 8211301: [macos] support full window content options
Reviewed-by: serb
2018-11-14 20:47:57 -08:00
itakiguchi
b1211b963d 8213614: DnD operation change feature does not work with 64bit big endian CPU
Reviewed-by: serb
2018-11-14 18:04:54 -08:00
avu
2c6f8b4b24 8213292: Input freezes after MacOS key-selector (press&hold) usage on macOS Mojave
Reviewed-by: serb
2018-11-14 13:52:33 -08:00
mbaesken
54ffbe95fa 8213532: add missing LocalFree calls after using FormatMessage(A) [windows]
Reviewed-by: dmarkov, serb
2018-11-08 17:10:47 +01:00
pbansal
935e9ddbed 8213844: Typo in ProblemList updation under JDK-8213536
Reviewed-by: jdv
2018-11-14 18:27:51 +05:30
jdv
6122693ca9 8212116: IIOException "tEXt chunk length is not proper" on opening png file
Reviewed-by: serb
2018-11-14 01:29:34 +05:30
psadhukhan
a2949c33b1 Merge 2018-11-14 17:26:24 +05:30
psadhukhan
1f3dbe1694 Merge 2018-11-14 17:16:44 +05:30
dholmes
61ed12a2a7 8213767: Remove the -Xconcurrentio flag and associated code
Reviewed-by: lfoltan, rehn
2018-11-14 04:56:43 -05:00
stuefe
0df2b83a37 8213591: running bin/idea.sh in Cygwin: generated project cannot be imported
Reviewed-by: erikj, stuefe, mbaesken
Contributed-by: mvala@redhat.com
2018-11-14 09:19:31 +01:00
rehn
2d42e2608c 8213574: Deadlock in string table expansion when dumping lots of CDS classes
Reviewed-by: jiangli, iklam, dholmes
2018-11-14 07:50:37 +01:00
vromero
185e1171d2 8213480: update internal ASM version to 7.0
Reviewed-by: dholmes, iignatyev, alanb
2018-11-13 23:33:17 -05:00
serb
73395ef2f1 8211833: Javadoc cleanup of java.applet package
Reviewed-by: prr
2018-11-13 16:35:58 -08:00
shurailine
65dab29b1c 8186549: move ExtendedRobot closer to tests
Reviewed-by: serb
2018-11-13 07:11:50 -08:00
jdv
b550dae23a 8176556: java/awt/dnd/ImageTransferTest/ImageTransferTest.java fails for JFIF
Reviewed-by: serb
2018-11-13 09:39:57 +05:30
alitvinov
1dc9fb7f4b 8187364: Unable to enter zero width non-joiner (ZWNJ) symbol in Swing text component
Reviewed-by: serb, dmarkov
2018-11-12 22:28:08 +00:00
pbansal
92fd4580e2 8213536: Update ProblemList for Linux
Reviewed-by: serb
2018-11-12 12:39:03 +05:30
psadhukhan
8c1a99b8b1 Merge 2018-11-12 11:10:16 +05:30
sveerabhadra
38b91d38bf 8198624: java/awt/KeyboardFocusmanager/TypeAhead/SubMenuShowTest/SubMenuShowTest.html fails on mac
Reviewed-by: serb
2018-11-12 10:55:49 +05:30
redestad
ce72350ea4 8213478: Reduce rebinds when applying repeated filters and conversions
Reviewed-by: vlivanov, jrose
2018-11-11 21:24:46 +01:00
serb
6d8ee259b2 8211435: Exception in thread "AWT-EventQueue-1" java.lang.IllegalArgumentException: null source
Reviewed-by: dmarkov, lbourges, kaddepalli, prr
2018-11-10 18:48:35 -08:00
serb
db161b5a0b 8198321: javax/swing/JEditorPane/5076514/bug5076514.java fails
Reviewed-by: psadhukhan
2018-11-10 18:41:43 -08:00
shade
49e4575f62 8211926: Catastrophic size_t underflow in BitMap::*_large methods
Reviewed-by: kbarrett, stuefe
2018-11-10 20:47:28 +01:00
shade
5ef03579ac 8213711: Zero build broken after JDK-8213199 (GC abstraction for Assembler::needs_explicit_null_check())
Reviewed-by: rkennke, stuefe
2018-11-10 19:27:52 +01:00
serb
3978c784c0 8199072: Test javax/swing/GroupLayout/6613904/bug6613904.java is unstable
Reviewed-by: prr, psadhukhan
2018-11-10 09:52:59 -08:00
zgu
0c4a6de15c 8213707: [TEST] vmTestbase/nsk/stress/except/except011.java failed due to wrong class name
Summary: Fixed wrong class name in test
Reviewed-by: dholmes, jcbeyler
2018-11-10 09:06:33 -05:00
serb
7d11d4f17f 8213568: Typo in java/awt/GraphicsEnvironment/LoadLock/GE_init5.java
Reviewed-by: prr
2018-11-09 22:25:40 -08:00
igerasim
503965e140 8213383: Wrap up pthread_cond_wait into a loop to workaround potential spurious wakeups
Reviewed-by: dlong, sspitsyn, dholmes, rriggs
2018-11-09 16:21:28 -08:00
dcubed
0728191e5f 8213704: increase default timeout for vmTestbase/metaspace/stressDictionary/StressDictionary.java
Reviewed-by: rehn
2018-11-09 15:19:33 -05:00
manc
32e5dce042 8213113: Dead code related to UseAdaptiveSizePolicy in ParNewGeneration
Summary: Removed dead code related to UseAdaptiveSizePolicy for CMS
Reviewed-by: pliden, tschatzl
2018-11-09 12:13:20 -08:00
dlong
9251eef0b8 8213701: Add org.graalvm.compiler.debug.test.TimerKeyTest to problem list
Reviewed-by: kvn
2018-11-09 11:36:34 -08:00
rriggs
60ffd6e6ab 8185496: Improve performance of system properties initialization in initPhase1
8213424: VersionProps duplicate and skipped initialization
Reviewed-by: mchung, redestad, dholmes
2018-11-09 13:28:16 -05:00
xuelei
6a0d30fcec 8213694: Test Timeout.java should run in othervm mode
Reviewed-by: jnimeh
2018-11-09 10:15:43 -08:00
dlong
365e499607 8213596: test failure with Graal when security manager and policy file are used
Reviewed-by: kvn
2018-11-09 09:59:05 -08:00
dlong
a0968216c5 8213588: compiler/graalunit/HotspotTest.java fails after 8213348 / 8211781 were pushed
Reviewed-by: kvn
2018-11-09 09:57:22 -08:00
xuelei
6d789db173 8212261: Add SSLSession accessors to HttpsURLConnection and SecureCacheResponse
Reviewed-by: mullan, chegar
2018-11-09 08:24:38 -08:00
stuefe
d1923bd673 8213592: Misaligned code in globals.hpp after 8211845
Reviewed-by: dholmes
2018-11-09 16:08:14 +01:00
mdoerr
d531d89871 8213604: Fix missing includes after JDK-8212673
Reviewed-by: tschatzl, roland
2018-11-09 15:19:11 +01:00
arapte
b8de74390c 8198002: java/awt/Mixing/Validating.java debug assert on Windows
Reviewed-by: serb, kaddepalli
2018-11-09 18:35:25 +05:30
rkennke
f766d06137 8213489: GC/C2 abstraction for Compile::final_graph_reshaping()
Reviewed-by: kvn, roland
2018-11-09 10:38:07 +01:00
rkennke
655afa40a6 8213473: Replace testB_mem_imm matcher with testUB_mem_imm
Reviewed-by: kvn, roland
2018-11-09 10:38:07 +01:00
asapre
669f028583 8211951: Broken links in java.management files
Summary: Corrected broken Javadoc links.
Reviewed-by: alanb, sspitsyn
Contributed-by: amit.sapre@oracle.com
2018-11-09 12:47:20 +05:30
arapte
90704be726 8198000: java/awt/List/EmptyListEventTest/EmptyListEventTest.java debug assert on Windows
Reviewed-by: prr, serb
2018-11-09 12:08:05 +05:30
psadhukhan
a30bddacbd 8213181: Updation of ProblemList.txt for removal of passing swing test
Reviewed-by: serb
2018-11-09 09:29:43 +05:30
prr
29ea4039a9 8210776: Upgrade X Window System 6.8.2 to the latest XWD 1.0.7
Reviewed-by: serb
2018-11-08 10:34:49 -08:00
psadhukhan
3ed44389ad 8213116: javax/swing/JComboBox/WindowsComboBoxSize/WindowsComboBoxSizeTest.java fails in Windows
Reviewed-by: prr
2018-11-08 12:09:06 +05:30
iklam
1c787c53cd 8213346: Re-implement shared dictionary using CompactHashtable
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
dholmes
6bb23d2617 8213826: Disable ARMv6 memory barriers on ARMv5 processors
Reviewed-by: dholmes, bulasevich
Contributed-by: Jakub Vanek <linuxtardis@gmail.com>
2018-11-13 21:43:10 -05:00
jnimeh
4a468b8894 8212885: TLS 1.3 resumed session does not retain peer certificate chain
Reviewed-by: xuelei, wetmore
2018-11-13 18:22:52 -08:00
weijun
610d5509d9 8213400: Support choosing group name in keytool keypair generation
Reviewed-by: apetcher, xuelei
2018-11-14 08:46:25 +08:00
jjg
178af8aef1 8213820: unknown tag: @returns
Reviewed-by: darcy
2018-11-13 16:17:24 -08:00
mikael
b2de9c2abc 8213569: Bump minimum boot jdk to JDK 11
Reviewed-by: dholmes, tbell, erikj
2018-11-13 15:25:24 -08:00
dholmes
34be8ee699 8213760: os::obsolete_option is obsolete and should be removed
Reviewed-by: jiangli, igerasim, stuefe
2018-11-13 16:49:58 -05:00
sspitsyn
f394301dca 8213814: build error in jtreg test jvmti/GetLocalVariable
Summary: fix the build error by restoring the macro definitions for missed functions
Reviewed-by: dcubed
2018-11-13 13:42:39 -08:00
epavlova
92a9d7cfac 8212221: GraalUnitTestLauncher should generate MX_SUBPROCESS_COMMAND_FILE
Reviewed-by: dlong
2018-11-13 12:52:37 -08:00
mseledtsov
e8e36b2012 8213570: [TESTBUG] Update JFR sanity test set
Summary: Added tests to the jdk jfr sanity group
Reviewed-by: hseigel
2018-11-13 12:24:13 -08:00
jiangli
116c77c25a Merge 2018-11-13 15:13:36 -05:00
jiangli
ea1bce8f36 8213563: appcds/sharedStrings/SharedStringsStress.java fails with 'GC triggered before VM initialization completed' error
Summary: Move MetaspaceShared::read_extra_data() call to the main MetaspaceShared::preload_and_dump() operation.
Reviewed-by: iklam
2018-11-13 15:11:53 -05:00
sspitsyn
908221071c 8213525: new unit test GetLocalVariable/LocalVars is not stable
Summary: Comment out unstable checks in the test
Reviewed-by: jcbeyler, cjplummer
2018-11-13 12:11:34 -08:00
kbarrett
18df9eb976 8213440: Lingering INCLUDE_ALL_GCS in test_oopStorage_parperf.cpp
Summary: Remove INCLUDE_ALL_GCS conditionalization.
Reviewed-by: tschatzl
2018-11-13 13:45:43 -05:00
aph
8839d3bd6e 8209415: Fix JVMTI test failure HS202
Summary: Fix test for static method in exception throw handler
Reviewed-by: adinn
2018-11-13 11:21:32 -05:00
prappo
c175a0ed9e 8213490: Networking area typos and inconsistencies cleanup
Reviewed-by: alanb, chegar, dfuchs
2018-11-13 12:24:34 +00:00
tschatzl
b71b485db0 8213307: G1 should clean up RMT with ClassUnloadingWithConcurrentMark
Summary: Re-enable cleanup of the ResolvedMethodTable after changes in JDK-8206423.
Reviewed-by: shade, coleenp
2018-11-13 11:45:16 +01:00
redestad
ceed9e92c5 8213741: Consolidate Object and String Stringifiers
Reviewed-by: shade
2018-11-13 11:34:54 +01:00
dholmes
f61eec7a7c 8213718: [TEST] Wrong classname in vmTestbase/nsk/stress/except/except002 and except003
Reviewed-by: zgu, jcbeyler
2018-11-12 16:36:05 -05:00
jcbeyler
5dbb62e92b 8212939: Add space after if/while/for/switch and parenthesis
Summary: Add spaces where needed
Reviewed-by: cjplummer, sspitsyn
2018-11-12 13:13:00 -08:00
rkennke
1b8fd4a10f 8213745: Don't use memset to initialize array of RegMask in matcher.cpp
Reviewed-by: kvn, shade
2018-11-12 22:00:07 +01:00
robm
ea6a9ad097 8160768: Add capability to custom resolve host/domain names within the default JNDI LDAP provider
Reviewed-by: alanb, dfuchs, chegar, mchung, vtewari
2018-11-12 08:33:59 -08:00
goetz
9a81f95be5 8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit.
Reviewed-by: dholmes, mdoerr
2018-11-12 16:40:25 +01:00
prappo
50c8c325d8 8210493: Bind to node- or linklocal ipv6 multicast address fails
Reviewed-by: alanb, chegar
2018-11-12 12:55:36 +00:00
roland
fbcd2e08e0 8205574: Loop predication "assert(f <= 1 && f >= 0) failed Incorrect frequency"
Reviewed-by: kvn
2018-11-09 10:52:15 +01:00
jlahoda
58fa2f06a3 8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
Summary: Do not keep speculative Symbols in DeferredCompletionFailureHandler.
Reviewed-by: jjg, vromero
2018-11-12 09:35:23 +00:00
rraghavan
c0f43d2f7b 8210803: Compilation failure in codeBlob.cpp for Windows 32-bit
Summary: Added ordinary operator delete declaration within class
Reviewed-by: kvn, rlichten, thartmann
2018-11-12 01:15:16 -08:00
pmuthuswamy
8d23488c2c 5076751: System properties documentation needed in javadocs
Reviewed-by: jjg
2018-11-12 13:31:41 +05:30
serb
530effa5dd 8211822: Some tests fail after JDK-8210039
8202886: [macos] Test java/awt/MenuBar/8007006/bug8007006.java fails on MacOS
Reviewed-by: prr, iignatyev, jdv, kaddepalli
2018-11-06 17:57:17 -08:00
psadhukhan
3495fec738 8213261: test javax/swing/plaf/nimbus/AllSwingComponentsBaselineTest.java fails
Reviewed-by: serb
2018-11-03 09:50:22 +05:30
serb
deb2c2acba 8207070: Webstart app popup on wrong screen in a one-screen setup changing to multi-monitor
Reviewed-by: prr
2018-11-02 15:38:03 -07:00
serb
d55ca2a4c9 8211992: GraphicsConfiguration.getDevice().getDisplayMode() causes JVM crash on Mac
Reviewed-by: prr
2018-11-02 12:15:37 -07:00
arapte
34434af4f0 8198001: java/awt/Menu/WrongParentAfterRemoveMenu/WrongParentAfterRemoveMenu.java debug assert on Windows
Reviewed-by: prr, serb
2018-11-02 23:05:47 +05:30
prr
8eb315cc2c 8213213: Remove src/java.desktop/unix/classes/sun/awt/X11/keysym2ucs.h
Reviewed-by: serb
2018-11-01 13:56:14 -07:00
iklam
a872345fa7 8213250: CDS archive creation aborts due to metaspace object allocation failure
Reviewed-by: jiangli, ccheung
2018-11-01 10:59:05 -07:00
amlu
3a7731e1ad 8213576: Make test AsyncCloseChannel.java run in othervm
Reviewed-by: dholmes
2018-11-09 12:08:53 +08:00
dcubed
6d8548ee9c 8204529: gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
Summary: Increase default timeout to 360 seconds.
Reviewed-by: erikj, dholmes
2018-11-08 20:54:30 -05:00
jiangli
24bf2a0282 8213439: Run class initialization for boot loader classes with registered subgraph archiving entry field during CDS dump time.
Summary: Run class initialization for boot classes with registered subgraph archiving entry fieldi(s) at CDS dump time.
Reviewed-by: dholmes, iklam
2018-11-08 19:16:16 -05:00
dlong
a0bcc0e17d 8213348: jdk.internal.vm.compiler.management service providers missing in module descriptor
8211781: re-building fails after changing Graal sources
Reviewed-by: erikj, mchung
2018-11-08 15:19:14 -08:00
vromero
b6271cdfcb 8211450: UndetVar::dup is not copying the kind field to the duplicated instance
Reviewed-by: mcimadamore
2018-11-08 18:23:52 -05:00
rkennke
8897e95da9 8213199: GC abstraction for Assembler::needs_explicit_null_check()
Reviewed-by: adinn, eosterlund
2018-11-08 23:31:08 +01:00
mbalao
e1f12e1061 8213154: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: andrew
2018-11-08 18:10:15 -03:00
mikael
ce0fb4721c 8213436: Obsolete UseMembar
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
mikael
c33d570b6c 8213438: Remove ClearResponsibleAtSTW
Reviewed-by: dholmes, eosterlund, dcubed
2018-11-08 11:22:28 -08:00
joehw
57b7e188e4 8202285: (fs) Add a method to Files for comparing file contents
Reviewed-by: alanb, rriggs, smarks, bpb, dfuchs, weijun, igerasim
2018-11-08 09:50:54 -08:00
kvn
89ec6c8fb8 8212928: Assertion too strict in compiledVFrame::update_deferred_value on SPARC
Reviewed-by: kvn
Contributed-by: richard.reingruber@sap.com
2018-11-08 09:04:00 -08:00
chegar
49b8ec36b7 8213418: Socket/ServerSocket supportedOptions does not work with custom SocketImpl
Reviewed-by: alanb, dfuchs
2018-11-08 16:16:57 +00:00
vromero
ef0131906c 8210197: javac can't tell during speculative attribution if a diamond expression is creating an anonymous inner class or not
Reviewed-by: mcimadamore
2018-11-08 10:36:06 -05:00
stuefe
d880e0e8e2 8211845: A new switch to control verbosity of hs-err files
Reviewed-by: goetz, mdoerr
2018-11-08 16:23:55 +01:00
eosterlund
4c6afa0d00 8213411: JDK-8209189 incorrect for Big Endian (JVM crashes)
Reviewed-by: kvn, mdoerr
2018-11-08 15:02:50 +01:00
rehn
80ac0bcfe8 8209139: globalCounter bootstrap issue
Reviewed-by: dcubed, dholmes
2018-11-08 15:31:23 +01:00
bsrbnd
975244ec0d 8213479: Missing x86_64.ad patterns for 8-bit logical operators with destination in memory
Reviewed-by: kvn
2018-11-08 15:11:32 +01:00
rehn
9afad6bb1d 8211403: Rename SafepointMechanism::poll(...)
Reviewed-by: mdoerr, dcubed, dholmes
2018-11-08 14:32:49 +01:00
roland
3f6fab4faf 8212673: jtreg/applications/runthese/RunThese30M.java fails in C2 with "assert(!had_error) failed: bad dominance"
Reviewed-by: thartmann, kvn, shade
2018-11-08 10:08:52 +01:00
dholmes
b9303c4255 8213137: Remove static initialization of monitor/mutex instances
Summary: moved to the global mutex list in mutexLocker
Reviewed-by: tschatzl, dcubed, rehn, eosterlund
2018-11-08 07:42:08 -05:00
simonis
b4706ab638 8213515: Improve freetype detection on linux/ppc64/ppc64le/s390x
Reviewed-by: shade, ihse, stuefe
2018-11-08 12:24:08 +01:00
ihse
a7c8795b31 8213338: Reduce the number of generated make targets
Reviewed-by: erikj
2018-11-08 12:03:18 +01:00
sspitsyn
cd0e958f45 8080406: VM_GetOrSetLocal doesn't check local slot type against requested type
Summary: Provide possible type checks when LVT is absent
Reviewed-by: jcbeyler, cjplummer
2018-11-08 00:07:48 -08:00
jwilhelm
b68e107c48 Added tag jdk-12+19 for changeset dc1f9dec2018 2018-11-08 02:47:50 +01:00
erikj
4b83f24821 8213428: Add a no precompiled header Linux build to builds-tier1 and jdk-submit
Reviewed-by: ihse, tbell
2018-11-07 15:57:50 -08:00
rkennke
1db26be417 8213469: Remove/fix leftovers from JDK-8213384: Move G1/C2 barrier verification into G1BarrierSetC2
Reviewed-by: kvn, roland
2018-11-07 20:24:44 +01:00
rkennke
b4d8855836 8213371: GC/C2 abstraction and cleanup to handle custom offset for GC memory accesses
Reviewed-by: kvn, roland
2018-11-07 20:21:35 +01:00
gadams
1cb9615cf8 8213245: Restoring nsk/jvmti/scenarios/hotswap tests from ProblemList.txt
Reviewed-by: jcbeyler, cjplummer, amenkov
2018-11-01 11:42:59 -04:00
gadams
8c529a3869 8213052: HTML errors in JPDA spec
Reviewed-by: sspitsyn, amenkov
2018-11-07 10:39:49 -05:00
lfoltan
a5918f1905 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
Summary: Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.
Reviewed-by: coleenp, mbalao, sgehwolf
2018-11-07 13:54:22 -05:00
darcy
383b394ae1 8213444: Missing emphasis for term being defined
Reviewed-by: mchung, jjg
2018-11-07 09:58:21 -08:00
dcubed
fb63ffbd8b 8213487: [BACKOUT] 8213414 Fix incorrect copy constructors in hotspot
Reviewed-by: roland, rkennke, thartmann
2018-11-07 12:40:51 -05:00
mdoerr
77b59279e7 8213464: Fix missing include after JDK-8212243
Reviewed-by: roland
2018-11-07 15:13:12 +01:00
ihse
fe9f9832dc 8213414: Fix incorrect copy constructors in hotspot
Reviewed-by: kbarrett
2018-11-07 10:12:43 +01:00
dnsimon
edacd00fd8 8213347: [JVMCI] remove use of reflection in JVMCI
Reviewed-by: kvn
2018-11-07 09:39:39 +01:00
mbaesken
3fbbd8297a 8213366: (fs) avoid handle leak in Java_sun_nio_fs_WindowsNativeDispatcher_FindFirstFile0
Reviewed-by: alanb, chegar
2018-11-07 09:13:37 +01:00
dlong
917126d5da 8212605: Pure-Java implementation of AccessController.doPrivileged
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
2018-11-06 16:04:50 -08:00
valeriep
bacb9bcb4d 8211049: Second parameter of "initialize" method is not used
Summary: Use the specified random object instead of system default
Reviewed-by: weijun
2018-11-07 01:04:26 +00:00
rkennke
ed6a888697 8213381: Hook to allow GC to inject Node::Ideal() calls
Reviewed-by: kvn, eosterlund, roland
2018-11-06 23:03:05 +01:00
ascarpino
90c76fdec5 8211339: NPE during SSL handshake caused by HostnameChecker
Reviewed-by: xuelei
2018-11-06 10:10:18 -08:00
mchung
c433c50d47 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
rkennke
4805a84919 8213384: Move G1/C2 barrier verification into G1BarrierSetC2
Reviewed-by: kvn, roland, eosterlund
2018-11-06 17:28:14 +01:00
dchuyko
40b87aaf14 8198294: AARCH64 - Set flags' optimal defaults for Cavium Thunder X2 CPU
Reviewed-by: adinn, drwhite
2018-11-06 15:14:10 +03:00
roland
74854d9302 8212243: More gc interface tweaks for arraycopy
Reviewed-by: kvn, eosterlund
2018-11-06 10:01:27 +01:00
mli
c335727926 8210409: Refactor java.util.TimeZone:i18n shell tests to plain java tests
Reviewed-by: naoto
Contributed-by: ying.z.zhou@oracle.com
2018-11-06 15:23:52 +08:00
dlong
e648d4501d 8204521: compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java fails trying to delete temp file
Reviewed-by: kvn
2018-11-05 22:22:49 -08:00
kbarrett
68ece7ced9 8210986: Add OopStorage cleanup to ServiceThread
Summary: Service thread performs cleanup when notified.
Reviewed-by: coleenp, rehn
2018-11-05 18:27:14 -05:00
naoto
b11f859761 8213330: Fix legal headers in i18n tests
Reviewed-by: lancea
2018-11-05 13:55:41 -08:00
joehw
1713f1e873 8212876: ftp: links for character-sets require a login password
Reviewed-by: lancea
2018-11-05 13:45:01 -08:00
joehw
6b1eafe414 8212872: Broken link to Namespaces in XML Errata
Reviewed-by: lancea
2018-11-05 11:49:03 -08:00
tonyp
de50c2c86e 8212883: Setting a double manageable flag with jcmd/jinfo crashes the JVM
Reviewed-by: dholmes, gziemski, stuefe
2018-11-05 14:00:52 -05:00
gziemski
bc88c5c476 8208519: Remove rehashable hashtable
Summary: Removed RehashableHashtable class
Reviewed-by: iklam, ccheung
2018-11-05 12:27:38 -06:00
erikj
91c6db21c1 8213227: Update jib src excludes to filter webrev and Jreg directories
Reviewed-by: dholmes, tbell, ihse
2018-11-05 09:10:57 -08:00
roland
943cf2d2c7 8212610: Fix handling of memory in PhaseIdealLoop::clone_loop_predicates()
Reviewed-by: kvn, thartmann
2018-11-05 13:13:29 +01:00
egahlin
784b50c7d4 8209960: -Xlog:jfr* doesn't work with the JFR
Reviewed-by: mgronlun
2018-11-05 14:40:16 +01:00
lucy
c3d27532c4 8213196: [ppc] [s390]: prepare code for gcc7.3.1 warning (int-in-bool-context)
Reviewed-by: mdoerr, stuefe
2018-11-05 14:02:04 +01:00
eosterlund
38a27b9f85 8212996: Use AS_NO_KEEPALIVE when accessing dead java.lang.invoke.CallSites during nmethod unloading
Reviewed-by: coleenp, pliden
2018-11-05 12:36:23 +01:00
eosterlund
f0055c36a5 8212585: Clean up CompiledMethod::oops_reloc_begin()
Reviewed-by: kvn, pliden
2018-11-05 12:36:23 +01:00
roland
a44474a37d 8209835: Aarch64: elide barriers on all volatile operations
Reviewed-by: aph, adinn
2018-11-05 12:53:55 +01:00
sveerabhadra
1c18be7b85 7124293: [macosx] VoiceOver reads percentages rather than the actual values for sliders.
Reviewed-by: serb, kaddepalli
2018-11-01 18:13:25 +05:30
prr
9e26fc2e6b 8210863: Remove Xrandr include files from JDK sources
Reviewed-by: serb
2018-10-31 16:58:37 -07:00
prr
11190288fa Merge 2018-10-31 13:26:06 -07:00
erikj
71217f4fee 8210837: Add libXrandr-devel to the Linux devkits
Reviewed-by: prr, mikael
2018-10-31 13:14:52 -07:00
prr
07f600f158 8210886: Remove references in xwindows.md to non-existent files.
Reviewed-by: serb, dmarkov
2018-10-31 11:45:04 -07:00
coleenp
97bd97965f 8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
serb
0f1c600d3c 8208702: javax/swing/reliability/HangDuringStaticInitialization.java may hang on macos
Reviewed-by: prr, denis
2018-10-31 10:01:23 -07:00
pbansal
3a65f8d2fc 8212903: [TestBug] Tests test/jdk/javax/swing/LookAndFeel/8145547/DemandGTK2.sh and DemandGTK3.sh fail on Ubuntu 18.04 LTS
Reviewed-by: prr, psadhukhan
2018-10-31 14:22:48 +05:30
itakiguchi
318c929b6f 8211810: X11 Time stamp data should be unsigned
Reviewed-by: serb
2018-10-30 15:51:10 -07:00
mhalder
9a297b4aac 8208543: [macos] Support for apple.awt.documentModalSheet incomplete
Reviewed-by: dmarkov, kaddepalli
2018-10-30 17:06:32 +05:30
psadhukhan
5b2828ea10 8213138: Update ProblemList.txt for mac
Reviewed-by: jdv
2018-10-30 15:43:37 +05:30
jdv
ae26839fb1 8213130: Update ProblemList after verification of jtreg tests in Win 7
Reviewed-by: psadhukhan
2018-10-26 22:20:19 +05:30
serb
9d971820fc 8212790: Javadoc cleanup of java.awt.color package
Reviewed-by: prr, kaddepalli
2018-10-29 17:34:05 -07:00
jdv
15604e5e87 8212865: Broken external link to TIFF6.pdf in ImageIO package-info.java
Reviewed-by: psadhukhan
2018-10-26 15:44:33 +05:30
sveerabhadra
fb25e2ac75 8210057: Enable different look and feels in SwingSet3 demo test InternalFrameDemoTest
Reviewed-by: serb
Contributed-by: gauri.patil@oracle.com
2018-10-26 14:03:57 +05:30
sveerabhadra
73f07ae53f 8211443: Enable different look and feels in SwingSet3 demo test SplitPaneDemoTest
Reviewed-by: serb
Contributed-by: gauri.patil@oracle.com
2018-10-26 13:52:08 +05:30
psadhukhan
8606020e67 8212735: Compilation issue with javax.swing.InputVerifier example in javadoc section
Reviewed-by: serb
2018-10-25 13:09:58 +05:30
psadhukhan
0e2b069b3f 8192888: AllSwingComponentsBaselineTest fails with NullPointerException for NimbusLookAndFeel
Reviewed-by: serb
2018-10-25 13:07:42 +05:30
stuefe
21314a73eb 8212913: (Nested)ThreadsListHandleInErrorHandlingTest need to disable ShowRegistersOnAssert
Reviewed-by: dholmes, mdoerr
2018-10-24 14:59:21 +02:00
jdv
bec707b65d Merge 2018-10-24 16:29:25 +05:30
thartmann
81cd4b5dad 8150552: Remove -XX:+AggressiveOpts
Summary: Removed the -XX:+AggressiveOpts flags and its usages.
Reviewed-by: ecaspole, sjohanss
2018-10-24 12:39:37 +02:00
jdv
d21532cf60 Merge 2018-10-24 15:57:43 +05:30
mli
bce0324779 8210407: Refactor java.util.Calendar:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-24 17:52:06 +08:00
stuefe
b18f0ea69b 8212896: AIX build breaks after 8212611
Reviewed-by: simonis, dholmes
2018-10-24 10:42:12 +02:00
jdv
289157e402 Merge 2018-10-24 13:35:18 +05:30
dholmes
22a6d890ee 8199567: [Nestmates] Cleanup instanceKlass.cpp
Reviewed-by: lfoltan, coleenp
2018-10-23 17:01:48 -04:00
darcy
e54148601c 8212718: Refactor some annotation processor tests to better use collections
Reviewed-by: jlaskey, vromero
2018-10-23 10:32:39 -07:00
dnsimon
f52ae5c593 8212817: [JVMCI] ResolvedJavaMethod.isInVirtualMethodTable throws InternalError
Reviewed-by: never, iveresov
2018-10-23 18:49:32 +02:00
jcbeyler
117d069d46 8212771: Remove remaining spaces before/after () for vmTestbase
Summary: Remove spaces around ()
Reviewed-by: phh, sspitsyn
2018-10-23 09:43:16 -07:00
dtitov
a490d44f69 8211736: jdb doesn't print prompt when breakpoint is hit and suspend policy is STOP_EVENT_THREAD
Reviewed-by: cjplummer, amenkov, gadams, jcbeyler
2018-10-23 07:57:26 -07:00
rehn
5896a86ee1 8212707: GlobalCounter padding is too optimistic
Reviewed-by: shade, redestad, mdoerr
2018-10-23 13:24:36 +02:00
jdv
5174cfcea1 Merge 2018-10-23 15:29:10 +05:30
redestad
c29a08e7e6 8212726: Replace some use of drop- and foldArguments with filtering argument combinator in StringConcatFactory
Reviewed-by: jlaskey, vlivanov
2018-10-23 11:03:51 +02:00
shade
d3c31ce3ae 8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
2018-10-23 10:55:59 +02:00
roland
20fad8d0b5 8212611: Small collection of simple changes from shenandoah
Reviewed-by: thartmann, kvn, eosterlund
2018-10-17 10:19:13 +02:00
amlu
9d1ddc192a 8210353: Move java/util/Arrays/TimSortStackSize2.java back to tier1
Reviewed-by: forax, weijun
2018-10-23 13:47:17 +08:00
weijun
a1f5eadf1b 8212216: JGSS: Fix leak in exception cases in getJavaOID()
Reviewed-by: mullan, weijun
Contributed-by: Nico Williams <nico@twosigma.com>
2018-10-23 12:25:59 +08:00
jcbeyler
379369727b 8212535: Remove spaces before/after () for vmTestbase/[a-j]*
Summary: Remove white spaces from tests
Reviewed-by: amenkov, cjplummer, phh, sspitsyn
2018-10-22 19:31:41 -07:00
mchung
05a4b514fd 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
amenkov
622902f16a 8212665: com/sun/jdi/DeferredStepTest.java: jj1 (line 57) - unexpected. lastLine=52, minLine=52, maxLine=55
Reviewed-by: jcbeyler, gadams, sspitsyn
2018-10-22 14:41:51 -07:00
ccheung
c6092bf181 8210990: [TESTBUG] Some CDS tests don't respect JVM variant being tested
Summary: use CDSTestUtils.run() instead of CDSTestUtils.executeAndLog().
Reviewed-by: iklam
2018-10-22 14:31:10 -07:00
jjg
2ca237349e 8211876: Broken links in java.base files (ClassLoader.html#name)
Reviewed-by: lancea
2018-10-22 13:31:42 -07:00
coleenp
52cadee6fa 8212774: Remove dead code touching Klass::_lower_dimension
Summary: Found dead code removal while looking at usage of Compile_lock. This dead code doesn't have Compile_lock but other code touching Klass::_{upper,lower}_dimension do.
Reviewed-by: shade
2018-10-22 15:32:50 -04:00
jcbeyler
c435a80115 8212148: Remove remaining NSK_CPP_STUBs
Summary: Remove remaining macros
Reviewed-by: amenkov, phh, iignatyev
2018-10-22 12:43:15 -07:00
rfield
26e31524a2 8210959: JShell fails and exits when statement throws an exception whose message contains a '%'.
Reviewed-by: jlahoda
2018-10-22 09:26:50 -07:00
rfield
889be7e4ba 8210923: JShell: support for switch expressions
Reviewed-by: jlahoda
2018-10-22 08:30:39 -07:00
eosterlund
653402984b 8212663: Remove conservative at_safepoint assert when JFR writes type sets during class unloading
Reviewed-by: coleenp, dholmes, mgronlun
2018-10-22 12:13:29 +02:00
chegar
686d2dc786 8212695: Add explicit timeout to several HTTP Client tests
Reviewed-by: dfuchs, michaelm
2018-10-22 12:25:31 +01:00
tschatzl
1c9e7e17e8 8211853: Avoid additional duplicate work when a reference in the task queue has already been evacuated
Reviewed-by: kbarrett, sjohanss
2018-10-22 11:51:17 +02:00
vtewari
0136bfe6ca 8212114: Reconsider the affect on closed streams resulting from 8189366
Reviewed-by: chegar, dfuchs
2018-10-22 15:20:43 +05:30
coffeys
7358a809ba 8212752: Typo in SSL log message related to inactive/disabled signature scheme
Reviewed-by: coffeys
Contributed-by: jai.forums2013@gmail.com
2018-10-22 10:47:28 +01:00
xyin
f90bf5291d 8210339: Add 10 JNDI tests to com/sun/jndi/dns/FedTests/
Reviewed-by: vtewari, rriggs
2018-10-22 14:08:07 +08:00
xyin
44187227b3 8208542: Add 4 JNDI tests to com/sun/jndi/dns/ListTests/
Reviewed-by: vtewari, rriggs
2018-10-22 14:03:06 +08:00
xyin
bd79af3f12 8200151: Add 8 JNDI tests to com/sun/jndi/dns/ConfigTests/
Reviewed-by: vtewari, rriggs
2018-10-22 13:53:39 +08:00
pmuthuswamy
f774f653bc 8211879: Broken links in API overview
Reviewed-by: jjg, erikj
2018-10-22 10:16:34 +05:30
iignatyev
8fecbb491a 8177709: Convert TestVirtualSpace_test to GTest
Reviewed-by: stuefe, jcbeyler
2018-10-19 16:29:45 -07:00
kzhaldyb
65c989683d 8171097: Convert TestReservedSpace_test to Gtest
Reviewed-by: stuefe, jcbeyler, iignatyev
2018-10-19 16:29:43 -07:00
jnimeh
afea62a44f 8211806: TLS 1.3 handshake server name indication is missing on a session resume
Reviewed-by: xuelei, wetmore
2018-10-19 18:05:50 -07:00
phh
d9634eb36f 8212698: Minor g1 #include changes and memoryService.hpp copyright date update
Summary: Fix #includes in g1FullGCOopClosures.inline.hpp, g1HeapVerifier.hpp + memoryService.hpp copyright date
Reviewed-by: tschatzl, jcbeyler
2018-10-19 17:54:21 -04:00
amenkov
6e0be252fb 8212629: [TEST] wrong breakpoint in test/jdk/com/sun/jdi/DeferredStepTest
Reviewed-by: cjplummer, jcbeyler
2018-10-19 09:31:52 -07:00
mullan
d50e59d777 Merge 2018-10-19 09:32:46 -04:00
mullan
5dccf1b461 8195793: Remove GTE CyberTrust Global Root
Reviewed-by: rhalade
2018-10-19 09:31:57 -04:00
michaelm
91c66f2723 8211437: java.net.http.HttpClient hangs on 204 reply without Content-length 0
Reviewed-by: chegar, dfuchs
2018-10-19 14:23:43 +01:00
iklam
dafbdc233c 8212642: Remove SystemDictionary::InitOption enum
Reviewed-by: dholmes, kvn, redestad
2018-10-18 23:05:01 -07:00
rkennke
7403d21db4 8212603: Need to step over GC barriers in Node::eqv_uncast()
Reviewed-by: shade, kvn, eosterlund
2018-10-18 21:14:49 +02:00
igerasim
d65d95c891 8201355: Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed
Reviewed-by: weijun
2018-10-18 09:46:46 -07:00
thartmann
4d341fc486 8212553: [TESTBUG] TestTrichotomyExpressions.java times out with Graal as JIT
Summary: Removed -Xcomp and increased timeout.
Reviewed-by: kvn
2018-10-18 17:50:49 +02:00
lancea
c2e2a009cc 8212662: Fix javadoc typo in java.lang.ref.Cleaner
Reviewed-by: lancea, rriggs
Contributed-by: Andrew Luo <andrewluotechnologies@outlook.com>
2018-10-18 10:45:05 -04:00
hseigel
538ed8cc0d 8209087: Clean up runtime code that compares 'this' to NULL
Summary: Remove 'this' to NULL comparisons from methods and check if calling objects of these methods could be NULL.
Reviewed-by: lfoltan, gziemski
2018-10-18 10:35:58 -04:00
mullan
853e712a79 8210448: Copy Java XML Digital Signature API Specification into java.xml.crypto javadocs
Reviewed-by: weijun
2018-10-18 10:08:35 -04:00
lkorinth
5ba011d49f 8212595: Remove unused size_helper() in oop_oop_iterate* in instanceKlass.inline.hpp
Reviewed-by: shade, pliden
2018-10-18 11:23:54 +02:00
dzhou
b141b3d292 8210406: Refactor java.util.PluggableLocale:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-10-18 00:56:38 -07:00
ihse
1ec852dcfe 8212587: equals in MakeBase does not handle empty strings correctly
Reviewed-by: erikj
2018-10-18 09:19:29 +02:00
iklam
cf192ccd3b 8212612: Add documentation about Arguments::_exit_hook
Reviewed-by: hseigel, dlong, dholmes
2018-10-17 21:51:00 -07:00
jcbeyler
8c82f0995c 8211899: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[E-M]
Summary: Remove the NSK_CPP_STUB macros from tests
Reviewed-by: amenkov, phh, sspitsyn
2018-10-17 21:28:11 -07:00
jjiang
a5699ed4fa 8210632: Add key exchange algorithm to javax/net/ssl/TLSCommon/CipherSuite.java
Summary: javax/net/ssl/TLSCommon/CipherSuite.java supports key exchange algorithms
Reviewed-by: xuelei
2018-10-18 07:56:55 +08:00
jwilhelm
747caa28d0 Added tag jdk-12+16 for changeset 199658d1ef86 2018-10-18 00:50:14 +02:00
shade
99584d3192 8212617: ARM32 build failures after JDK-7041262 (VM_Version should be called instead of Abstract_VM_Version so that overriding works)
Reviewed-by: hseigel
2018-10-17 22:47:59 +02:00
shade
b963d6cf0e 8212616: x86_32 build failures after JDK-8210498 (nmethod entry barriers)
Reviewed-by: kvn, eosterlund
2018-10-17 22:42:31 +02:00
rkennke
426f7d1eff 8212186: JVMTI lacks a few GC barriers/hooks
Reviewed-by: eosterlund, shade
2018-10-17 22:26:41 +02:00
shade
1ac7b395ea 8212608: Minimal VM build failure after JDK-8210498 (nmethod entry barriers)
Reviewed-by: eosterlund
2018-10-17 18:31:48 +02:00
redestad
54685115e8 8212597: Optimize String concatenation setup when using primitive operands
Reviewed-by: shade
2018-10-17 17:35:26 +02:00
jjiang
3addafa37f 8212562: To remove lib/security from test/jdk/TEST.groups
Summary: Remove lib/security from test group jdk_security3
Reviewed-by: coffeys
2018-10-17 22:06:55 +08:00
redestad
efcd7d4737 8212201: Classlist build tool should be built for the target JDK version
Reviewed-by: erikj, ihse
2018-10-17 14:19:21 +02:00
pmuthuswamy
e3d8f60019 8211901: javadoc generates broken links on deprecated items page
Reviewed-by: jjg
2018-10-17 15:28:36 +05:30
mli
bf9fcbd0c4 8210403: Refactor java.util.Locale:i18n shell tests to plain java tests
Reviewed-by: naoto
Contributed-by: ying.z.zhou@oracle.com
2018-10-17 16:37:41 +08:00
gromero
4bb4c7ca18 8212481: PPC64: Enable POWER9 CPU detection
Reviewed-by: mdoerr, simonis
2018-10-16 16:26:28 -04:00
shade
52542bf09b 8213182: Minimal VM build failure after JDK-8212200 (assert when shared java.lang.Object is redefined by JVMTI agent)
Reviewed-by: dholmes, iklam
2018-10-31 19:00:59 +01:00
simonis
175f1fd10b 8213151: [AIX] Some class library files are missing the Classpath exception
Reviewed-by: stuefe, rriggs, mbaesken
2018-10-31 16:02:43 +01:00
bobv
8ac8c8bc78 Merge 2018-10-31 10:48:13 -04:00
mdoerr
671f3a710f 8213086: Compiler thread creation should be bounded by available space in memory and Code Cache
Reviewed-by: kvn, thartmann
2018-10-31 14:48:36 +01:00
tschatzl
20758f8d66 8213142: Use RAII to set the scanning source in G1ScanEvacuatedObjClosure
Reviewed-by: sangheki, kbarrett
2018-10-31 13:43:57 +01:00
tschatzl
b1526a0421 8212911: Unify and micro-optimize handling of non-in-collection set references in oop closures
Reviewed-by: kbarrett, sjohanss
2018-10-31 13:43:57 +01:00
tschatzl
ffaa6f8c53 8211388: Make OtherRegionsTable independent of the region it is for
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
tschatzl
af28e34b3e 6490394: G1: Allow heap shrinking / memory unmapping after reclaiming regions during Remark
Reviewed-by: sjohanss, sangheki
2018-10-31 13:43:57 +01:00
tschatzl
4ff25c5930 8071913: Filter out entries to free/uncommitted regions during iteration
Reviewed-by: sjohanss, kbarrett
2018-10-31 13:43:57 +01:00
coleenp
efeef5c12b 8213107: Make ClassLoaderDataGraph iterator skip unloaded CLDs
Summary: with concurrent class unloading, the CLDG could contain unloaded CLDs while iterating in a safepoint
Reviewed-by: lfoltan, eosterlund
2018-10-31 07:06:54 -04:00
ihse
6c90bc8ceb 8213184: Revert change in jib-profiles.js from run-test-prebuilt to test-prebuilt
Reviewed-by: dholmes
2018-10-31 11:36:07 +01:00
ihse
4938363ef3 8210958: Rename "make run-test" to "make test"
Reviewed-by: erikj
2018-10-31 09:30:24 +01:00
rehn
f07b11c709 8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
mgronlun
cee4d0df66 8213172: CDS and JFR tests fail with assert(JdkJfrEvent::is(klass)) failed: invariant
Reviewed-by: egahlin, dholmes
2018-10-31 09:09:23 +01:00
pmuthuswamy
fb70d8c4e3 8210244: {@value} should be permitted in module documentation
Reviewed-by: jjg, sundar
2018-10-31 10:29:59 +05:30
joehw
3efc3ff515 8212866: Broken link to schematron.com
Reviewed-by: lancea
2018-10-30 20:44:48 -07:00
xuelei
f446906237 8212738: Incorrectly named signature scheme ecdsa_secp512r1_sha512
Reviewed-by: ascarpino
2018-10-30 19:47:16 -07:00
dtitov
43865c5683 8195627: [Graal] nsk/jdi/VirtualMachine/redefineClasses/redefineclasses026 hangs with Graal in Xcomp mode
Reviewed-by: sspitsyn, kvn
2018-10-30 19:29:21 -07:00
jiangli
d06150abe6 8203953: Rename SystemDictionary::load_shared_class(Symbol*, Handle, TRAPS) to load_shared_boot_class().
Summary: Rename SystemDictionary::load_shared_class.
Reviewed-by: coleenp
2018-10-30 22:24:04 -04:00
egahlin
ce834f9d05 8203629: Produce events in the JDK without a dependency on jdk.jfr
Reviewed-by: mgronlun
2018-10-31 02:10:21 +01:00
dlong
9815de5a5a 8211743: [AOT] crash in ScopeDesc::decode_body() when JVMTI walks AOT frames
Reviewed-by: kvn
2018-10-30 15:17:58 -07:00
kbarrett
3cf3abb612 8212827: GlobalCounter should support nested critical sections
Summary: Support nested critical sections.
Reviewed-by: eosterlund, rehn, tschatzl
2018-10-30 18:06:35 -04:00
kvn
794e77b7b9 8210853: JIT: C2 doesn't skip post barrier for new allocated objects
Summary: skip copy Region node when look for last allocation
Reviewed-by: thartmann, kvn
Contributed-by: kuaiwei.kw@alibaba-inc.com
2018-10-30 14:38:59 -07:00
apetcher
c1b49a80c3 8205476: KeyAgreement#generateSecret is not reset for ECDH based algorithm
Summary: Clarify spec of generateSecret and modify ECDH in SunEC to conform to spec
Reviewed-by: mullan
2018-10-30 13:48:19 -04:00
naoto
6e72c56893 8212941: Loosen the range of JapaneseEra
Reviewed-by: rriggs
2018-10-30 10:32:54 -07:00
bobv
be080ca5f4 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
hseigel
d78a59d847 8213148: JDK build fails because of missing #includes
Summary: Add missing #includes
Reviewed-by: dcubed
2018-10-30 09:13:00 -04:00
darcy
703379a534 8212081: AnnotatedType.toString implementation don't print annotations on embedded types
Reviewed-by: jfranck, wmdietl
2018-10-29 11:31:25 -07:00
ccheung
d7f5880635 8209566: [TESTBUG] runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java timeout on tier6 on sparc
Summary: increased the timeout from 120s (default) to 240s
Reviewed-by: dcubed, mseledtsov
2018-10-29 11:05:45 -07:00
jiangli
62bfd981aa 8205327: Clean up #if INCLUDE_CDS in classLoaderExt.cpp and classLoaderExt.hpp
Summary: Clean up #if INCLUDE_CDS in classLoaderExt.* files.
Reviewed-by: dholmes
2018-10-29 14:00:48 -04:00
stuefe
dd317c8796 8213017: jspawnhelper: need to handle pipe write failure when sending return code
Reviewed-by: alanb
2018-10-26 16:49:18 +02:00
redestad
ab093ba606 8213035: Pack MethodHandleInlineStrategy coder and length into a long
Reviewed-by: vlivanov, mchung
2018-10-30 09:34:50 +01:00
thartmann
1b6f0b6444 8177899: Tests fail due to code cache exhaustion on machines with many cores
Summary: Implemented upper limit on CICompilerCount based on code cache size.
Reviewed-by: kvn, mdoerr
2018-10-30 09:06:08 +01:00
vromero
729ee167f5 8212624: remove outdated entries from langtools problem list
Reviewed-by: darcy
2018-10-29 17:11:46 -04:00
vromero
7194e042b6 8213100: fix test OptionSmokeTest before removing it from the problem list
Reviewed-by: jlahoda
2018-10-29 17:09:44 -04:00
iignatyev
f0b1720609 8177710: Convert TestMetaspaceUtils_test to GTest
Reviewed-by: tschatzl
2018-10-29 14:04:44 -07:00
kzhaldyb
4c6e44fb07 8157728: Convert GCTimer_test to GTest
Reviewed-by: tschatzl, jcbeyler, iignatyev
2018-10-29 14:04:42 -07:00
ccheung
aabc126bc0 8212154: [TESTBUG] CheckArchivedModuleApp fails with NPE when JVMCI is absent
Summary: added a null check on wb.getBooleanVMFlag("EnableJVMCI").
Reviewed-by: hseigel, jiangli
2018-10-29 13:58:29 -07:00
iklam
07878b1009 8212205: VM asserts after CDS archive has been unmapped
Reviewed-by: dholmes, jiangli, hseigel, stuefe
2018-10-25 11:23:43 -07:00
rfield
0b5ad14d98 8210808: jshell tool: only considers the first snippet of the external editor
Reviewed-by: jlahoda, sundar
2018-10-29 08:34:33 -07:00
jlaskey
23f587213e 8212694: Using Raw String Literals with align() and Integer.MIN_VALUE causes out of memory error
Reviewed-by: smarks, sherman
2018-10-29 12:31:49 -03:00
coleenp
fcef43c6e7 8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
Summary: Don't return unloaded klasses. Make sure access is protected by Compile_lock.
Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
hseigel
6fa411b04c 8212997: [TESTBUG] Remove defmeth tests for class file versions 50 and 51
Summary: Remove the unneeded tests.  Keep the tests for class file versions 49 and 52.
Reviewed-by: acorn, coleenp
2018-10-29 08:38:59 -04:00
tschatzl
33891c49d7 8212766: TestPromotionEventWithG1.java failed due to "RuntimeException: PLAB size is smaller than object size."
Summary: Also send PLAB size in bytes, not in heap words.
Reviewed-by: shade, sjohanss
2018-10-29 08:55:03 +01:00
tschatzl
1c48b30f90 8212974: Update RS Skipped cards uses wrong enum to register to phase
Reviewed-by: kbarrett
2018-10-29 08:52:04 +01:00
jjg
a613b8066b 8213056: Nested anchor tags in java.lang.module
Reviewed-by: darcy
2018-10-26 15:13:12 -07:00
mchung
cd40f43f8d 8213043: Add internal Unsafe xxxObject methods as jsr166 is broken
Reviewed-by: alanb
2018-10-26 13:59:02 -07:00
lancea
050d948797 8212129: Remove finalize methods from java.util.zip.ZipFIle/Inflator/Deflator
Reviewed-by: rriggs, sherman, alanb, clanger
2018-10-26 14:02:31 -04:00
gziemski
a9fef4b1bd 8017061: os_bsd.cpp contains code for UseSHM and UseHugeTLBFS
Summary: Removed the code using unused flags.
Reviewed-by: dholmes, coleenp
2018-10-26 10:47:05 -05:00
weijun
cfd6d03257 8213007: Update the link in test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java
Reviewed-by: mullan
2018-10-26 22:58:04 +08:00
stuefe
b2b1ad95bf 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
hseigel
4e63ee8160 8192864: defmeth tests can hide failures
Summary: Add a call to addFailureCount() to record previously hidden failures.
Reviewed-by: lfoltan, coleenp
2018-10-26 08:23:52 -04:00
ccheung
9d2350f35c 8209598: Clean up how messages are printed when CDS aborts start-up
Summary: added a new function vm_exit_during_cds_dumping() to java.cpp so that it can be used when an error condition is encountered during CDS dumping.
Reviewed-by: iklam, dholmes, jiangli
2018-10-25 21:40:17 -07:00
weijun
df45b80e20 8212867: Link to DRBG test vectors is redirected to a broken link
Reviewed-by: mullan
2018-10-26 11:11:13 +08:00
never
46090c998f 8212956: [JVCMI] SpeculationReason should maintain identity
Reviewed-by: kvn
2018-10-25 19:00:46 -07:00
dlong
c3b6b49d9b 8021335: Missing synchronization when reading counters for live threads and peak thread count
Reviewed-by: dholmes, mchung
2018-10-25 18:41:26 -07:00
iris
4d93e194cf 8212994: Links to Oracle websites should use "https:"
Reviewed-by: erikj, lancea
2018-10-25 17:06:40 -07:00
erikj
96cc66b6de 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
Reviewed-by: ctornqvi
2018-10-25 16:47:14 -07:00
dholmes
94a266defa 8210242: vmTestbase/nsk/stress/jni/jnistress001.java crashes with EXCEPTION_ACCESS_VIOLATION on windows-x86
Summary: Non-NUL-terminated string was passed to %s - use %.*s to specify the actual length.
Reviewed-by: lfoltan, hseigel
2018-10-25 19:12:39 -04:00
jcbeyler
bf4d736e05 8212884: Remove the assignments in ifs for vmTestbase/[a-s]
Summary: Extract assignments from if statements in vmTestbase
Reviewed-by: cjplummer, sspitsyn
2018-10-25 14:23:26 -07:00
akolarkunnu
5c9cb64ad2 8212897: Some improvements in the EditorPaneDemotest
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-10-25 08:59:26 -07:00
amenkov
1134f59533 8212151: jdi/ExclusiveBind.java times out due to "bind failed: Address already in use" on Solaris-X64
Reviewed-by: sspitsyn, jcbeyler
2018-10-25 11:48:18 -07:00
ppunegov
c94de23641 8164546: Convert DirectivesParser_test to GTest
Reviewed-by: kvn, iignatyev, neliasso
2018-10-25 11:18:24 -07:00
mchung
a0c4835dec Merge 2018-10-25 10:58:59 -07:00
mchung
07dc9b83d9 8212795: ThreadInfoCompositeData.toCompositeData fails to map ThreadInfo to CompositeData
Reviewed-by: dfuchs
2018-10-25 10:57:42 -07:00
mchung
674adb5113 8212948: Remove unused jdk.internal.misc.VMNotification interface
Reviewed-by: alanb
2018-10-25 10:56:45 -07:00
mullan
99c550d762 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
dlong
2d07ef5f4b 8212978: Add RedefineMethodUsedByMultipleMethodHandles.java to problem list
Reviewed-by: kvn
2018-10-25 09:20:54 -07:00
jcbeyler
cffbaef5c9 8212770: Remove spaces before/after () for vmTestbase/jvmti/[s-u]
Summary: Remove spaces before/after ()
Reviewed-by: amenkov, cjplummer
2018-10-25 08:18:42 -07:00
michaelm
8b550b98ea 8212926: HttpClient does not retrieve files with large sizes over HTTP/1.1
Reviewed-by: chegar, dfuchs
2018-10-25 12:09:41 +01:00
rfield
b01ed67087 8211694: JShell: Redeclared variable should be reset
Reviewed-by: sundar
2018-10-24 21:17:30 -07:00
amlu
f687545b9f 8209768: Refactor java/util/prefs/CheckUserPrefsStorage.sh to plain java test
Reviewed-by: bchristi, weijun
2018-10-25 11:05:24 +08:00
amlu
a7d9a06862 8210908: Refactor java/util/prefs/PrefsSpi.sh to plain java test
Reviewed-by: bchristi
2018-10-25 11:00:40 +08:00
jwilhelm
2644fdd419 Added tag jdk-12+17 for changeset eefa65e142af 2018-10-24 18:14:28 -07:00
iklam
a3d6c84273 8212200: assert when shared java.lang.Object is redefined by JVMTI agent
Reviewed-by: dholmes, jiangli, hseigel, lfoltan, sspitsyn
2018-10-17 15:57:10 -07:00
jjg
c2330ffa60 8213102: Oracle Unilinks are [301 Moved Permanently] to https://docs.oracle.com
Reviewed-by: lancea, mchung
2018-10-29 12:33:41 -07:00
jdv
9b3f4b897e Merge 2018-10-16 23:21:05 +05:30
serb
3828679e14 8212213: All tests for splashscreen stopped worked in jdk12b13
Reviewed-by: ihse, prr
2018-10-19 11:15:57 -07:00
itakiguchi
4f8518f473 8211393: Memory leak issue on awt_InputMethod.c
Reviewed-by: naoto, clanger
2018-10-19 15:26:50 +01:00
psadhukhan
5c0810d78c 8211987: Menu bar gets input focus even if Alt-released event is consumed
Reviewed-by: serb
2018-10-19 12:50:25 +05:30
psadhukhan
c8cd24a250 8212098: Cleanup of ProblemList.txt for fixed swing tests
Reviewed-by: serb
2018-10-19 12:39:56 +05:30
serb
fd33c3a44b 8133713: [macosx] Accessible JTables always reported as empty
Reviewed-by: prr
2018-10-16 16:49:50 -07:00
serb
b298c246c9 8210739: Calling JSpinner's setFont with null throws NullPointerException
Reviewed-by: psadhukhan
2018-10-16 15:47:53 -07:00
prr
61aa30e1de 8212071: Need to set the FreeType LCD Filter to reduce fringing.
Reviewed-by: prr, lbourges
Contributed-by: John Neffenger <john@status6.com>
2018-10-16 10:54:50 -07:00
jdv
e893249c87 Merge 2018-10-16 14:26:22 +05:30
jjiang
83026dde18 8211971: Move security/cacerts/VerifyCACerts.java and security/CheckBlacklistedCerts.java
Summary: Move lib/security tests to sun/security/lib
Reviewed-by: weijun
2018-10-16 10:16:04 +08:00
weijun
6c736e800b 8212165: JGSS: Fix cut/paste error in NativeUtil.c
Reviewed-by: alanb, weijun
Contributed-by: Viktor Dukhovni <viktor@twosigma.com>
2018-10-16 09:19:32 +08:00
dholmes
0e134867d0 8048215: [TESTBUG] java/lang/management/ManagementFactory/ThreadMXBeanProxy.java Expected non-null LockInfo
Summary: ensure the target thread has reached wait() before inspecting it
Reviewed-by: mchung, dfuchs, jcbeyler
2018-10-15 21:02:17 -04:00
jcbeyler
57e6f4cf74 8212083: Handle remaining gc/lock native code and fix two strings
Summary: Migrate code to using wrapping JNI for exceptions
Reviewed-by: phh, tschatzl
2018-10-15 14:55:17 -07:00
jcbeyler
a2110414b1 8211980: Remove ThreadHeapSampler enable/disable/enabled methods
Summary: Remove methods from ThreadHeapSampler
Reviewed-by: dholmes, phh
2018-10-15 14:16:35 -07:00
sveerabhadra
bbb70dcd19 8061359: [macosx] Checkbox toggles on Space press but does not spoken by Voice Over
Reviewed-by: mhalder, serb
2018-10-15 10:29:06 +05:30
psadhukhan
d8fbbf8035 8212040: Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
Reviewed-by: jdv
2018-10-14 18:05:06 +05:30
psadhukhan
537dd52adb 6828982: UIDefaults.getUI swallows original exception
Reviewed-by: kaddepalli, prr
2018-10-11 14:19:36 +05:30
psadhukhan
49e01d74a6 8211886: Bad/broken link in synthFileFormat.html
Reviewed-by: serb
2018-10-10 16:20:52 +05:30
tvaleev
f48b7f4898 8211693: Convert C-style array declarations in client demos and jdk.accessibility
Reviewed-by: serb
2018-10-09 18:25:57 -07:00
bchristi
ba10c46022 8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
Reviewed-by: alanb, mchung
2018-10-05 15:12:37 -07:00
roland
d05b47ae0c 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Reviewed-by: adinn, aph
2018-10-04 09:24:27 +02:00
dfuchs
133a8f59c0 8213301: Fix legal headers in jdk logging tests
Reviewed-by: chegar, mchung
2018-11-05 11:20:47 +00:00
ihse
279e30c886 8213339: Update precompiled.hpp with headers based on current frequency
Reviewed-by: shade, dholmes
2018-11-05 10:52:36 +01:00
eosterlund
c390e8e993 8212989: Allow CompiledMethod ExceptionCache have unloaded klasses
Reviewed-by: kvn, pliden
2018-11-05 08:01:39 +01:00
jlahoda
0e964cfb95 8213103: RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8
Summary: Correct handling of missing annotation with -source 8.
Reviewed-by: darcy, jjg, vromero
2018-11-05 10:31:47 +01:00
lancea
4c3bf32570 8213328: Update test copyrights in test/java/util/zip and test/jdk/tools
Reviewed-by: joehw
2018-11-04 13:06:02 -05:00
jiangli
7b6a021aed 8212995: Placing the Integer.IntegerCache and cached Integer objects in the closed archive heap region.
Summary: Support shareable archive object subgraphs in closed archive heap regions.
Reviewed-by: iklam, ccheung
2018-11-03 15:40:19 -04:00
jcbeyler
2752234f40 8213246: Fix typo in vmTestbase failuire to failure
Summary: Fix failuire typo in two spots
Reviewed-by: mikael, dcubed, iignatyev
2018-11-03 12:37:55 -07:00
iklam
7c482c6427 8211336: [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
Reviewed-by: dholmes, ccheung, mseledtsov
2018-10-29 14:01:46 -07:00
iignatyev
3f5686b080 8213337: windows-x64-slowdebug build is broken by 8177708
Reviewed-by: dholmes
2018-11-02 23:44:45 -07:00
darcy
7b734c3f8e 8213256: Clarify runtime vs compile time annotations for RoundEnvironment.getElementsAnnotatedWith(Class)
Reviewed-by: jjg, jlahoda
2018-11-02 18:49:10 -07:00
jiangli
00a2368c7f 8209564: runtime/appcds/CDSandJFR.java timeout on tier6 on sparc
Summary: Set timeout 500 in CDSandJFR.java
Reviewed-by: dcubed
2018-11-02 19:30:31 -04:00
iignatyev
c68dce31f7 8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07:00
iignatyev
fe22a771c9 8177708: Convert TestReserveMemorySpecial_test to Gtest
Reviewed-by: gziemski, vlivanov
2018-11-02 16:26:11 -07:00
kbarrett
55693a4818 6735527: Bitmap - speed up searches
Summary: New parameterized bitmap search routine, using ctz.
Reviewed-by: tschatzl, shade
2018-11-02 17:51:21 -04:00
epavlova
c32b700c3f 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
Reviewed-by: kvn, erikj, ihse
2018-11-02 14:00:29 -07:00
joehw
df8f244a09 8213321: Fix legal headers in test/jaxp
Reviewed-by: darcy, jjg, lancea
2018-11-02 12:33:28 -07:00
hannesw
9e429b747b 8210405: Javadoc search doesn't always consider full input upon Enter
Reviewed-by: jjg
2018-11-02 18:35:30 +01:00
bpb
cf45c63881 8213306: Fix legal headers in test/java/nio
Reviewed-by: chegar
2018-11-02 09:58:55 -07:00
bpb
959bf658e6 8213305: Fix legal headers in test/java/math
Reviewed-by: darcy
2018-11-02 09:56:47 -07:00
dcubed
9527c94edd 8213308: ProblemList runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java
Reviewed-by: ccheung, darcy
2018-11-02 12:49:42 -04:00
chegar
f4eb227511 8213296: Fix legal headers in test/jdk/java/net
Reviewed-by: alanb, dfuchs
2018-11-02 16:11:29 +00:00
rehn
d405f1942f 8213236: A partial removed/deleted JavaThread cannot transition
Reviewed-by: dholmes, dcubed, eosterlund
2018-11-02 14:13:05 +01:00
eosterlund
eff6ab68f6 8209189: Make CompiledMethod::do_unloading more concurrent
Reviewed-by: kvn, coleenp
2018-11-02 08:33:59 +01:00
eosterlund
8b063639bc 8212681: Refactor IC locking to use a fine grained CompiledICLocker
Reviewed-by: coleenp, rehn, kvn
2018-11-01 14:57:26 +01:00
pliden
2bd8d9eb34 8212184: Incorrect oop ref strength used for referents in FinalReference
Reviewed-by: eosterlund, kbarrett
2018-11-02 07:58:22 +01:00
pliden
dbb94a13e6 8212921: ZGC: Move verification to after resurrection unblocked
Reviewed-by: eosterlund
2018-11-02 07:46:00 +01:00
never
4873e7bc31 8213203: [JVMCI] adopt formatting changes from jvmci 8
Reviewed-by: kvn
2018-11-02 00:26:25 -07:00
darcy
16b4184f62 6304578: (reflect) toGenericString fails to print bounds of type variables on generic methods
Reviewed-by: vromero, plevart, briangoetz, mcimadamore
2018-11-01 20:37:45 -07:00
jjg
d42d7c7a2b 8213265: fix missing newlines at end of files
Reviewed-by: darcy
2018-11-01 15:11:08 -07:00
itakiguchi
86bb494bd6 8211382: ISO2022JP and GB18030 NIO converter issues
Reviewed-by: sherman, rriggs
2018-11-01 17:48:10 -04:00
jjg
bf8e7f0305 8213263: fix legal headers in test/langtools
Reviewed-by: darcy
2018-11-01 14:32:55 -07:00
naoto
936d47d17f 8213046: Define Japanese new Era character
Reviewed-by: lancea, rriggs
2018-11-01 14:07:59 -07:00
mullan
326ee563be 8212669: Add note to Cipher javadoc about using full transformation and not relying on defaults
Reviewed-by: xuelei
2018-11-01 16:53:54 -04:00
rehn
fb95d1be3d 8209495: NMethodSweeper::sweep_code_cache cause severe delays
Reviewed-by: thartmann, eosterlund
2018-11-01 17:56:01 +01:00
rpatil
1c428a4c34 8213085: (tz) Upgrade time-zone data to tzdata2018g
Reviewed-by: martin, naoto
2018-11-01 12:43:21 -04:00
joehw
265fb6849d 8212871: Broken links give 401-Unauthorized
Reviewed-by: lancea
2018-11-01 09:41:04 -07:00
bpb
b2563cc2f3 8213210: Change ServerSocket(SocketImpl impl) constructor to protected access
Reviewed-by: alanb, chegar
2018-11-01 09:34:59 -07:00
weijun
6985101e69 8212217: JGSS: Don't dispose() of creds too eagerly
Reviewed-by: mullan, weijun
Contributed-by: Nico Williams <nico@twosigma.com>
2018-11-01 22:41:32 +08:00
thartmann
ce9f7f951f 8213014: Crash in CompileBroker::make_thread due to OOM
Summary: Added missing null checks and checks for pending exception.
Reviewed-by: kvn, dholmes, mdoerr
2018-11-01 14:15:35 +01:00
ihse
a5b8ed2629 8213237: Remove test-compile-commands from jib-profiles.js
Reviewed-by: lancea
2018-11-01 11:28:02 +01:00
dnsimon
9c61a0d3bb 8212934: [JVMCI] do not propagate resolution error in HotSpotResolvedJavaFieldImpl.getType
Reviewed-by: kvn
2018-11-01 11:23:12 +01:00
gadams
2431604c3c 8211013: [TESTBUG] nsk/jdb/kill/kill002 wait for message and prompt
Reviewed-by: cjplummer, dtitov, jcbeyler
2018-10-23 14:23:46 -04:00
gadams
5aa6651728 8206330: Revisit com/sun/jdi/RedefineCrossEvent.java
Reviewed-by: cjplummer, sspitsyn, amenkov
2018-10-23 11:51:03 -04:00
stuefe
697919f9ca 8212828: (process) Provide a way for Runtime.exec to use posix_spawn on linux
Reviewed-by: alanb, rriggs
Contributed-by: david.lloyd@redhat.com
2018-10-18 15:56:37 -05:00
iignatyev
ce56ee2a3c 8177711: Convert TestVirtualSpaceNode_test to GTest
Reviewed-by: jwilhelm
2018-10-31 19:56:51 -07:00
jwilhelm
e5623d694e Added tag jdk-12+18 for changeset e38473506688 2018-11-01 02:12:13 +01:00
ccheung
aace185709 8213000: Obsolete the IgnoreUnverifiableClassesDuringDump vm option
Summary: remove code referencing the IgnoreUnverifiableClassesDuringDump
Reviewed-by: dholmes, jiangli
2018-10-31 14:00:51 -07:00
rhalade
c81e94b0f0 8207059: Update test certificates in QuoVadisCA.java test
Reviewed-by: mullan, mbaesken
2018-10-31 13:58:15 -07:00
bobv
fde23e0981 Merge 2018-10-31 16:27:31 -04:00
bobv
fd4f9ef90f 8213204: ReservedStackTest and ReservedStackTestCompiler tests fail on windows
Reviewed-by: fparain, dcubed, jwilhelm
2018-10-31 16:27:01 -04:00
akolarkunnu
0f8ec8e9e1 8209499: Create test for SwingSet EditorPaneDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-10-03 23:00:32 -07:00
shurailine
2c66f747dc Merge 2018-10-15 13:44:31 -07:00
shade
ded3475374 8212178: Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator
Reviewed-by: rkennke, kbarrett, joehw
2018-10-15 22:30:32 +02:00
jiangli
e01531ecff 8211956: AppCDS crashes for some uses with JRuby
Summary: Make sure FileMapInfo::verify_mapped_heap_regions only verifies 'num' of spaces.
Reviewed-by: iklam
2018-10-15 15:21:54 -04:00
erikj
3c5d37d3ea 8212028: Use run-test makefile framework for testing in Oracle's Mach5
Reviewed-by: ihse
2018-10-15 11:36:20 -07:00
akolarkunnu
b3a40fd958 8211139: Increase timeout value in all tests under jdk/sanity/client/SwingSet/src
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-10-11 07:22:53 -07:00
zgu
7721d568bb 8212074: Add method to peek the remaining tasks in task queues
Summary: Add methods for implementing new task termination protocol
Reviewed-by: tschatzl, shade, rkennke
2018-10-15 11:53:15 -04:00
jjiang
5fa3b1734a 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Summary: Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net
Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
coffeys
fef7b6e112 8209862: CipherCore performance improvement
Reviewed-by: apetcher, ascarpino
Contributed-by: sergey.kuksenko@oracle.com, sean.coffey@oracle.com
2018-10-15 14:42:31 +01:00
lkorinth
0d5bbf7795 8211447: Replace oop_pc_update_pointers with oop_iterate and closure
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:14:01 +02:00
lkorinth
de009ac601 8211446: Replace oop_pc_follow_contents with oop_iterate and closure
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:13:06 +02:00
lkorinth
01e8f2c461 8201436: Replace oop_ps_push_contents with oop_iterate and closure
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:10:34 +02:00
pmuthuswamy
29fa813993 8211957: Broken links to stylesheet in java.base/doc-files
Reviewed-by: alanb
2018-10-15 17:52:42 +05:30
mdoerr
7bf2af37fb 8211852: inspect stack during error reporting
Reviewed-by: dholmes, goetz
2018-10-15 08:08:02 +02:00
jcbeyler
453854b70d 8212082: Remove the NSK_CPP_STUB macros for remaining vmTestbase/jvmti/[sS]*
Summary: Remove NSK_CPP_STUB macros from the tests
Reviewed-by: amenkov, phh
2018-10-14 19:07:34 -07:00
xyin
7d0b9fc425 8187522: test/sun/net/ftp/FtpURLConnectionLeak.java timed out
Reviewed-by: chegar, vtewari
2018-10-15 09:34:18 +08:00
kbarrett
71cba271f1 8212023: Implicit narrowing in Solaris/sparc initializers
Summary: Explicitly narrow or fix destination types.
Reviewed-by: dholmes, tschatzl
2018-10-12 17:35:26 -04:00
lancea
7fea60af05 8212045: Add back tests removed from HashesTest.java and AddExportsTest.java
Reviewed-by: rriggs
2018-10-12 14:16:24 -04:00
amenkov
5274620001 8195703: BasicJDWPConnectionTest.java: 'App exited unexpectedly with 2'
Reviewed-by: sspitsyn, jcbeyler
2018-10-12 10:08:11 -07:00
rkennke
6c0dd709c3 8211955: GC abstraction for LAB reserve
Reviewed-by: pliden, shade
2018-10-10 23:05:15 +02:00
naoto
e54d4fd27b 8211961: Broken link in java.util.Locale
Reviewed-by: mchung
2018-10-15 09:35:05 -07:00
mchinnathamb
35af1fbebe 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-09 16:08:07 +05:30
sgehwolf
c4ba5e7ffc 8212110: Build of saproc.dll broken on Windows 32 bit after JDK-8210647
Summary: Only add RTC1 compile flag for slowdebug builds.
Reviewed-by: mdoerr, erikj
2018-10-12 10:58:06 +02:00
rkennke
8e7d477542 8212053: A few more missing object equals barriers
Reviewed-by: shade, zgu
2018-10-12 16:25:24 +02:00
michaelm
ba2dccf484 8203850: java.net.http HTTP client should allow specifying Origin and Referer headers
Reviewed-by: chegar, dfuchs
2018-10-12 11:12:51 +01:00
dholmes
f2dadd2287 8211046: Forced data dependencies serve no purpose on x86
Reviewed-by: eosterlund, rehn
2018-10-12 03:51:02 -04:00
vtewari
ca434433bd 8189366: SocketInputStream.available() should check for eof
Reviewed-by: chegar
2018-10-12 12:37:13 +05:30
goetz
dcb8b2882b 8211931: [ppc][testbug] runtime/jni/terminatedThread/TestTerminatedThread.java fails as threads don't terminate immediately
Reviewed-by: dholmes, mdoerr
2018-10-12 08:33:18 +02:00
mli
0a84cf6fbe 8186610: move ModuleUtils to top-level testlibrary
Reviewed-by: alanb, iignatyev
2018-10-12 10:35:24 +08:00
kevinw
1d769d07ba 8211714: Need to update vm_version.cpp to recognise VS2017 minor versions
Reviewed-by: dholmes
Contributed-by: muthusamy.chinnathambi@oracle.com
2018-10-11 15:49:23 -07:00
rkennke
a6bb9046cd 8212054: Boilerplate to bind oopDesc::equals_raw() to actual raw implementation
Reviewed-by: shade, eosterlund
2018-10-11 23:48:55 +02:00
jcbeyler
caeab7f298 8212025: Remove collector_present variable from ThreadHeapSampler
Summary: Remove unused variable from ThreadHeapSampler
Reviewed-by: tschatzl, pliden
2018-10-11 12:41:47 -07:00
jcbeyler
c6a7b362ec 8211432: [REDO] Handle JNIGlobalRefLocker.cpp
Summary: Adding a JNI verification wrapper for tests
Reviewed-by: amenkov, sspitsyn, phh
2018-10-11 09:30:10 -07:00
hseigel
de206d0193 8211821: PrintStringTableStatistics crashes JVM
Summary: During JVM exit, print the Symbol and String tables before current thread gets deleted.
Reviewed-by: iklam, dholmes
2018-10-11 11:31:37 -04:00
hseigel
5e47a1d3b7 8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
Summary: Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.
Reviewed-by: dholmes, lfoltan
2018-10-11 10:11:18 -04:00
prappo
190bfdd1af 8212001: Verify exported symbols in java.base (libjava)
Reviewed-by: chegar
2018-10-11 14:10:13 +01:00
chegar
ace9ab8fa3 8211922: Remove test/jdk/javax/naming/module/RunBasic.java from the ProblemList
Reviewed-by: lancea
2018-10-11 13:40:09 +01:00
mbaesken
b8753307b5 8211317: avoid memory leak in Java_sun_awt_UNIXToolkit_load_1stock_1icon
Reviewed-by: clanger, goetz
2018-10-01 12:06:44 +02:00
kaddepalli
29baeec116 8014503: AWT Choice implementation should be made consistent across platforms.
Reviewed-by: serb, aghaisas, sveerabhadra
2018-10-09 12:08:59 +05:30
kaddepalli
1f9afb295b 8182041: File Chooser Shortcut Panel folders under on JDK 9 8062648: FileSystemView.getDefaultDirectory() should check read access on Unix systems
Reviewed-by: serb, prr, psadhukhan
2018-10-05 14:35:24 +05:30
tvaleev
0ab84844d8 8211300: Convert C-style array declarations in JDK client code
Reviewed-by: prr, serb
2018-10-04 12:40:55 -07:00
prr
6e1c8ec604 8208595: [parfait] Better X11 font support
Reviewed-by: serb, psadhukhan
2018-10-04 11:07:30 -07:00
psadhukhan
3688fbfba3 8211055: Provide print to a file (PDF) feature even when printer was not connected
Reviewed-by: prr
2018-10-04 15:03:48 +05:30
psadhukhan
caf904d3e2 8203281: [Windows] JComboBox change in ui when editor.setBorder() is called
Reviewed-by: psadhukhan
Contributed-by: mraz.martin.dev@gmail.com
2018-10-04 14:56:03 +05:30
psadhukhan
1c257c6923 Merge 2018-10-04 14:17:59 +05:30
vagarwal
ceacd70ea7 8210910: Create test for FileChooserDemo
Reviewed-by: serb
Contributed-by: vikrant.v.agarwal@oracle.com
2018-10-04 13:01:23 +05:30
jwilhelm
10c8b9b3ec Added tag jdk-12+14 for changeset 8897e41b327c 2018-10-04 00:50:54 +02:00
kvn
53345adb97 8202359: [GRAAL] compiler/uncommontrap/TestDeoptOOM.java failed with OutOfMemoryError
Summary: exclude this test from running with Java Graal
Reviewed-by: iveresov
2018-10-03 14:53:05 -07:00
sherman
c34f379eb6 8211385: (zipfs) ZipDirectoryStream yields a stream of absolute paths when directory is relative
Reviewed-by: alanb, lancea
2018-10-03 12:54:54 -07:00
poonam
8ad6c26376 8211150: G1 Full GC not purging code root memory and hence causing memory leak
Reviewed-by: tschatzl, sjohanss
2018-10-03 19:30:49 +00:00
prr
93cea91ac8 8211031: Remove un-needed qualified export to java.desktop from java.base on macos
Reviewed-by: serb, mchung
2018-10-03 11:10:09 -07:00
gadams
f788f19995 8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false
Reviewed-by: cjplummer, amenkov
2018-10-03 07:41:28 -04:00
kvn
6e1ec2f67e 8211392: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java times out in JDK12 CI
Summary: use default compile threshold for these tests
Reviewed-by: thartmann
2018-10-03 10:38:30 -07:00
gziemski
737665fe0e 8204294: [REDO] - JVMFlag::printError missing ATTRIBUTE_PRINTF
Summary: Added ATTRIBUTE_PRINTF to JVMFlag::printError
Reviewed-by: kbarrett, coleenp
2018-10-03 12:34:22 -05:00
shade
f46c69a99a 8211375: Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)
Reviewed-by: kvn
2018-10-03 18:46:26 +02:00
aph
a1c1835dc6 Merge 2018-10-03 17:45:59 +01:00
aph
051ae09cbc 8211163: UNIX version of Java_java_io_Console_echo does not return a clean boolean
Reviewed-by: shade, alanb
2018-10-03 17:29:47 +01:00
rraghavan
2a8ee96a97 8211168: Solaris-X64 build failure with error nreg hides the same name in an outer scope
Summary: Corrected nreg definition
Reviewed-by: dcubed, kvn, shade
2018-10-03 08:03:13 -07:00
redestad
db6c45c550 8211384: Obsolete -XX:+/-MonitorInUseLists option
Reviewed-by: mikael, rkennke, shade, dcubed
2018-10-03 15:05:46 +02:00
hseigel
0afd7a2d48 8209138: Symbol constructor uses u1 as the element type of its name argument
Summary: Maske u1 the type for Symbol values and add a function to return it as a char.
Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
dholmes
301afcf932 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
pmuthuswamy
293b48e7d2 8208531: -javafx mode should be on by default when JavaFX is available
Reviewed-by: jjg
2018-10-03 11:43:39 +05:30
mikael
dd0f837499 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
pkoppula
436f6d028a 8211107: LDAPS communication failure with jdk 1.8.0_181
Reviewed-by: chegar, coffeys, vtewari
2018-10-02 21:38:54 +05:30
ccheung
622c3672e8 8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."
Summary: catch the InvocationTargetException and rethrow exception based on the cause
Reviewed-by: jiangli, iklam
2018-10-02 20:52:40 -07:00
mikael
9370872e70 8211364: Remove expired flags
Reviewed-by: dholmes, egahlin
2018-10-02 15:01:25 -07:00
iklam
09321b87e1 8209946: [TESTBUG] CDS tests should use "@run driver"
Reviewed-by: ccheung, jiangli, mseledtsov
2018-10-02 14:32:33 -07:00
dholmes
29293c8f14 8211175: Remove temporary clock initialization duplication
Reviewed-by: rehn, mikael
2018-10-02 17:12:13 -04:00
amenkov
c5bb38bc09 8209332: [TEST] test/jdk/com/sun/jdi/CatchPatternTest.sh is incorrect
Reviewed-by: jcbeyler, dtitov, cjplummer
2018-10-02 12:08:51 -07:00
amenkov
b117c69f87 8203928: [Test] Convert non-JDB scaffolding serviceability shell script tests to java
Reviewed-by: jcbeyler, cjplummer
2018-10-02 12:06:29 -07:00
igerasim
a4b1052398 8200381: Typos in javadoc - missing verb "be" and alike
Reviewed-by: lancea, darcy, wetmore
2018-10-02 10:19:07 -07:00
cushon
5b13772995 8211057: Gensrc step CompileProperties generates unstable CompilerProperties output
Reviewed-by: mcimadamore, vromero
2018-10-01 21:14:58 -07:00
akolarkunnu
d235cf3456 8211160: Handle different look and feels in JInternalFrameOperator
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-10-01 18:03:19 -07:00
psadhukhan
0cf83f07d3 6821316: comment in source code of SynthStyleFactory.java has a self-reference
Reviewed-by: serb
2018-09-29 09:43:33 +05:30
psadhukhan
24b035e832 6994403: Grammatical error in documentation of javax.swing.GroupLayout.ParallelGroup
Reviewed-by: serb
2018-09-29 09:41:33 +05:30
roland
b9438c2e0b 8210887: Tweak C2 gc api for arraycopy
Reviewed-by: kvn, thartmann
2018-09-28 10:42:40 +02:00
clanger
75114f53be 8211218: remove double semicolon in src/java.desktop/macosx/classes/sun/font/CFont.java
Reviewed-by: serb
2018-09-28 06:39:52 +01:00
psadhukhan
06d5597ecc 8210306: Missing closing bracket in GridBagLayout gridwidth, gridheight description
Reviewed-by: serb
2018-09-28 09:17:24 +05:30
prr
71c3ebd9a4 Merge 2018-09-27 11:46:28 -07:00
prr
f4f822890e Merge 2018-09-27 11:39:45 -07:00
prr
5d411b3cf9 Merge 2018-09-27 10:49:10 -07:00
erikj
fd5de8515a 8211130: Change to Oracle Developer Studio 12.6 for building on Solaris at Oracle
Reviewed-by: tbell, prr, ihse
2018-09-27 08:49:12 -07:00
roland
7a5eebb64d 8211233: MemBarNode::trailing_membar() and MemBarNode::leading_membar() need to handle dying subgraphs better
Reviewed-by: kvn, thartmann
2018-09-27 17:46:01 +02:00
roland
b7f6912c49 8211231: BarrierSetC1::generate_referent_check() confuses register allocator
Reviewed-by: iveresov, kvn
2018-09-27 16:25:25 +02:00
dfuchs
e73ce983bc 8211349: Bad HTML in {@link} for HttpResponse.BodyHandlers.ofPublisher
Summary: Fixed links by moving <> out of the link as was done elsewhere in the file.
Reviewed-by: chegar
2018-10-02 14:17:30 +01:00
chegar
ae22c785f1 8209454: [error-prone] TypeParameterUnusedInFormals in jdk.net
Reviewed-by: dfuchs
2018-10-02 10:40:58 +01:00
chegar
df2d17fd8c 8211325: test/jdk/java/net/Socket/LingerTest.java fails with cleaning up
Reviewed-by: dfuchs
2018-10-02 09:05:07 +01:00
weijun
291a71beba 8210821: Support dns_canonicalize_hostname in krb5.conf
Reviewed-by: valeriep
2018-10-02 16:02:35 +08:00
manc
21a5c1b8c5 8210716: Detailed GC logging request misses some
Summary: Changed log tags from (heap, ergo) to (gc, ergo, heap).
Reviewed-by: kbarrett, tschatzl
2018-10-01 20:16:55 -04:00
iignatyev
37c11d2ed9 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
kvn
3f6bf50e03 8211251: Default mask register for avx512 instructions
Summary: Encode AVX 512 instructions as unmasked instruction where mask register is not specified.
Reviewed-by: kvn
Contributed-by: sandhya.viswanathan@intel.com
2018-10-01 11:54:34 -07:00
ccheung
da18b935e6 8211278: Update ProblemList
Reviewed-by: iklam
2018-10-01 11:36:48 -07:00
rkennke
8a505871a4 8211129: compiler/whitebox/ForceNMethodSweepTest.java fails after JDK-8132849
Reviewed-by: eosterlund, thartmann
2018-10-01 20:23:56 +02:00
simonis
888e600531 8211328: Different declaration and definition of ClassLoaderData::classes_do() leads to build failures
Reviewed-by: dcubed, coleenp
2018-10-01 19:08:14 +02:00
lancea
1fa5f332cd 8211295: DriverManager.getConnection fails when called from com.sun.rowset.JdbcRowSetImpl
Reviewed-by: mchung, alanb
2018-10-01 13:05:51 -04:00
aph
2ddbe7fbcf Merge 2018-10-01 12:30:33 -04:00
aph
bfed2fa828 8211333: AArch64: Fix another build failure after JDK-8211029
Reviewed-by: shade, aph
Contributed-by: pengfei.li@arm.com
2018-10-01 12:29:47 -04:00
rkennke
879afd229a 8211071: unpack.cpp fails to compile with statement has no effect [-Werror=unused-value]
Reviewed-by: ihse, clanger
2018-10-01 17:47:26 +02:00
shade
68cd3685ff 8211239: Build fails without JFR: empty JFR events signatures mismatch
Reviewed-by: mgronlun, dholmes
2018-10-01 16:41:10 +02:00
rkennke
4212adb7b8 8211241: Missing obj equals in TemplateTable::fast_aldc
Reviewed-by: dcubed, coleenp
2018-10-01 16:34:22 +02:00
lucy
7e3bb1070f 8211145: [ppc] [s390]: Build fails due to -Werror=switch (introduced with JDK-8211029)
Reviewed-by: shade, simonis
2018-10-01 12:07:15 +02:00
gadams
f57c944d33 8210984: [TESTBUG] hs203t003 fails with "# ERROR: hs203t003.cpp, 218: NSK_CPP_STUB2 ( ResumeThread, jvmti, thread)"
Reviewed-by: cjplummer, jcbeyler
2018-09-27 07:33:13 -04:00
kaddepalli
eff5a9e5ae 8208638: Instead of circle rendered in appl window, but ellipse is produced JEditor Pane
Reviewed-by: serb, psadhukhan
2018-09-27 14:36:33 +05:30
alitvinov
a005d91c4c 8211165: License header is absent in a few J2Ddemo source code files
Reviewed-by: prr, iris
2018-09-26 18:36:55 +01:00
kevinw
d909b79749 8211124: HotSpot update for vm_version.cpp to recognise updated VS2017
Reviewed-by: dholmes, lfoltan
2018-09-26 06:28:48 -07:00
jlahoda
4f40907409 8211102: Crash with -XDfind=lambda and -source 7
Summary: Disabling analyzers that cannot run in the given source level; lambdas in standalone positions should have erroneous type rather than the recovery type; avoiding crash in Flow for broken code.
Reviewed-by: mcimadamore
2018-09-27 10:24:12 +02:00
mdoerr
5a494be202 8211097: aix: fix build after JDK-8210919
Reviewed-by: shade, mbaesken, erikj
2018-09-27 09:29:52 +02:00
pmuthuswamy
307c6b54e7 8202628: javadoc generates bad links in TestModules.java
Reviewed-by: jjg
2018-09-27 10:10:47 +05:30
ccheung
7b6985d0be 8202282: [TESTBUG] appcds TestCommon.makeCommandLineForAppCDS() can be removed
Summary: removed the unnecessary makeCommandLineForAppCDS() method and its usage
Reviewed-by: iklam, jiangli
2018-09-26 18:21:26 -07:00
jwilhelm
076cf56f42 Added tag jdk-12+13 for changeset 511a9946f83e 2018-09-27 01:25:42 +02:00
jjg
95f2ca9a27 8209963: source file mode for JVM should provide a hook to locate the source file
Reviewed-by: darcy
2018-09-26 16:23:31 -07:00
jjg
74b7fefb2b 8210555: create --source --target synonyms for -source -target
Reviewed-by: hannesw
2018-09-26 15:14:17 -07:00
jjg
a8c817883d 8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
Reviewed-by: mchung, darcy
2018-09-26 14:54:38 -07:00
epavlova
b13d142b82 8199885: [Graal] org.graalvm.compiler.core.test.CountedLoopTest fails with "ControlFlowAnchor should never be cloned in the same graph"
Reviewed-by: kvn
2018-09-26 12:47:38 -07:00
coleenp
dedf5831f6 Merge 2018-09-26 14:56:10 -04:00
coleenp
6943dd2215 8210856: Move InstanceKlass DependencyContext cleaning to SystemDictionary::do_unloading()
Summary: Already walk classes in ClassLoaderData::unload so generalize to also clean nmethod dependencies.
Reviewed-by: eosterlund, dlong, vlivanov
2018-09-26 14:01:48 -04:00
cushon
e5ab844ae6 8211138: Missing Flag enum constants
Reviewed-by: mcimadamore, vromero
2018-09-25 21:33:51 -07:00
lancea
52fc4a4504 8211121: Remove sun.reflect.ReflectionFactory::newInstanceForSerialization
Reviewed-by: mchung, alanb, darcy, dfuchs
2018-09-26 13:56:08 -04:00
mikael
8d2e14be47 8210892: Deprecate TLABStats
Reviewed-by: pliden, tschatzl
2018-09-26 10:37:50 -07:00
serb
378fcb0ca7 8210286: Drop of sun.awt.HToolkit class
Reviewed-by: dmarkov, prr
2018-09-25 17:58:53 -07:00
prr
0b6a886ff1 8210880: Remove HPKeysym.h from JDK sources
Reviewed-by: serb, dmarkov
2018-09-25 14:44:36 -07:00
prr
df7909c08d 8211125: backout fix for 8210880 which was pushed under another ID
Reviewed-by: serb
2018-09-25 14:38:35 -07:00
lbourges
736022627e 8210335: Clipping problems with complex affine transforms: negative scaling factors or small scaling factors
Summary: fixed clipping rectangle to take into account the inverse transform (scale/shear)
Reviewed-by: prr, serb
2018-09-24 21:23:37 +02:00
prr
ba700d740f 8209548: Unused and incorrect calls to FT_Get_Char_Index
Reviewed-by: psadhukhan, kaddepalli
2018-09-24 11:49:25 -07:00
prr
c6c17c7449 8210866: Remove HPKeysym.h from JDK sources
Reviewed-by: serb, dmarkov
2018-09-24 11:46:40 -07:00
prr
063a766c0f Merge 2018-09-24 10:59:26 -07:00
bchristi
5cc9e25d7d 8072130: java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Mac OSX
Reviewed-by: sherman
2018-09-24 10:41:41 -07:00
ihse
d4c1b5c70e 8211029: Have a common set of enabled warnings for all native libraries
Reviewed-by: erikj
2018-09-24 19:26:48 +02:00
dcubed
4fefc3e096 8209019: Remove tests affected by JDK-8208690 from the ProblemList
Reviewed-by: dfuchs
2018-09-24 13:05:59 -04:00
dholmes
f01b890dc4 8211045: [Testbug] Fix for 8144279 didn't define a test case!
Summary: add missing file from original commit
Reviewed-by: shade, sgehwolf
2018-09-24 12:18:51 -04:00
akolarkunnu
f45fdf2bcd 8210994: Create test for SwingSet3 FrameDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-09-24 03:25:19 -07:00
jjg
96f6a8348a 8210274: Source Launcher should work with a security manager
Reviewed-by: mchung, alanb
2018-09-26 11:41:08 -07:00
serb
35a3d416d7 8210692: The "com.sun.awt.SecurityWarning" class can be dropped
Reviewed-by: prr, mullan, mchung
2018-09-22 20:31:45 -07:00
aph
9b0e74fadf 8210972: Add comment text to C1 patching code
Reviewed-by: kvn
2018-09-20 18:29:05 +01:00
aph
f4ed8b7eed Merge 2018-10-01 09:56:45 +01:00
jiangli
d4c070373b 8210926: vmTestbase/nsk/jvmti/scenarios/allocation/AP11/ap11t001/TestDescription.java failed with JVMTI_ERROR_INVALID_CLASS in CDS mode
Summary: Reset InstanceKlass _init_state to 'allocated' before writing out shared classes at dump time.
Reviewed-by: dholmes, coleenp
2018-10-01 00:52:37 -04:00
mikael
aca70f864c 8211291: Backout JDK-8210842 Handle JNIGlobalRefLocker.cpp
Reviewed-by: kbarrett, iignatyev, jcbeyler
2018-09-28 14:53:41 -07:00
mikael
2f5f57be58 8211176: Initialize ObjectMonitor eagerly
Reviewed-by: dholmes, adinn, redestad
2018-09-28 14:11:21 -07:00
coleenp
de42d15aff 8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
henryjen
1b3aef7083 8210810: Escaped character at specific position in argument file is not handled properly
Reviewed-by: alanb
Contributed-by: Bo Zhang <zhangbodut@gmail.com>
2018-09-28 13:15:01 -07:00
jcbeyler
cd8bc1b28e 8210842: Handle JNIGlobalRefLocker.cpp
Summary: Add checking for JNI calls via a new ExceptionCheckingJniEnv
Reviewed-by: sspitsyn, amenkov, dholmes, mikael
2018-09-28 13:01:28 -07:00
gadams
73267a867c 8208473: [TESTBUG] nsk/jdb/exclude/exclude001/exclude001.java is timing out on solaris-sparc again
Reviewed-by: cjplummer, amenkov
2018-09-28 14:31:36 -04:00
dtitov
2978cdd377 8163083: SocketListeningConnector does not allow invocations with port 0
Reviewed-by: sspitsyn, amenkov, gadams, jcbeyler
2018-09-28 12:04:47 -07:00
shade
a17301979d 8211268: Disable unsupported GCs for Zero
Reviewed-by: sgehwolf, erikj
2018-09-28 18:28:49 +02:00
shade
7abce5a62e 8211274: x86_32 build failures after JDK-8211029 (Have a common set of enabled warnings for all native libraries)
Reviewed-by: dholmes, tschatzl
2018-09-28 18:28:49 +02:00
shade
d6cb0615e0 8211272: x86_32 build failures after JDK-8210764 (Update avx512 implementation)
Reviewed-by: rkennke, kvn
2018-09-28 18:28:48 +02:00
dl
0d54e350ec 8207003: Miscellaneous changes imported from jsr166 CVS 2018-09
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
dl
2db70dc2fc 8210971: Add exception handling methods to CompletionStage and CompletableFuture
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
mbaesken
775b36bb9d 8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2018-09-27 17:13:07 +02:00
avoitylov
46090478b5 8211212: ARM: -Werror=switch build failure
Reviewed-by: shade
2018-09-28 15:39:31 +03:00
chegar
8029ac29f3 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails intermittently when cleaning up
Reviewed-by: dfuchs
2018-09-28 12:47:09 +01:00
sballal
188c99eb80 8207745: serviceability/sa/TestJmapCore.java times out parsing a 4GB hprof file
Reviewed-by: dholmes, jgeorge
2018-09-28 14:31:58 +05:30
rkennke
4a0416275a 8211269: Make declaration of Allocation protected in MemAllocator
Reviewed-by: shade
2018-09-28 10:57:31 +02:00
jjiang
ed36c6bf24 8209546: Make sun/security/tools/keytool/autotest.sh to support macosx
Summary: Refactor autotest.sh to java test and remove standard.sh
Reviewed-by: weijun
2018-09-28 15:42:20 +08:00
mbaesken
007058ee82 8211149: fix potential memleak in getJavaIDFromLangID after failing SetupI18nProps call [windows]
Reviewed-by: naoto, lucy
2018-09-27 15:37:55 +02:00
mbaesken
83acf11a9e 8210964: add more ld preloading related info to hs_error file on Linux
Reviewed-by: clanger, stuefe
2018-09-28 09:20:46 +02:00
jcbeyler
f13ba20869 8211036: Remove the NSK_STUB macros from vmTestbase for non jvmti
Summary: Remove the NSK_STUB macros from code outside of the jvmti subfolder
Reviewed-by: iignatyev, amenkov, dholmes
2018-09-27 15:56:40 -07:00
jlaskey
5235e6db60 8211080: RawStringLiteralLangAPI.java test times out by default
Reviewed-by: jjg
2018-09-27 15:47:33 -03:00
aph
95a60d3b77 8211170: AArch64: Warnings in C1 and template interpreter
Reviewed-by: adinn
2018-09-26 18:11:00 +01:00
serb
6e7c63a569 8170937: Swing apps are slow if displaying from a remote source to many local displays
Reviewed-by: prr, aivanov
2018-09-18 18:32:03 -07:00
roland
cb17fcc8cb 8210885: Convert left over loads/stores to access api
Reviewed-by: thartmann, rkennke
2018-09-18 20:49:44 +02:00
roland
68dcd6f413 8210389: C2: assert(n->outcnt() != 0 || C->top() == n || n->is_Proj()) failed: No dead instructions after post-alloc
Reviewed-by: kvn, thartmann
2018-09-18 20:41:17 +02:00
shade
17ce40c8fa 8212005: Epsilon elastic TLAB sizing may cause misalignment
Reviewed-by: rkennke, tschatzl
2018-10-11 10:42:17 +02:00
mbaesken
abefa0f747 8211929: hotspot/share/opto/parse2.cpp compile error with gcc 7.3.1
Reviewed-by: kvn, stuefe
2018-10-10 16:56:18 +02:00
kbarrett
2647d76acf 8211962: Implicit narrowing in MacOSX java.desktop jsound
Summary: Cast value to needed type.
Reviewed-by: serb
2018-10-10 23:47:36 -04:00
bpb
c56b00deab 8152910: Get performance improvement with Stable annotation
Reviewed-by: darcy
Contributed-by: Peter Levart <peter.levart@gmail.com>
2018-10-10 17:53:22 -07:00
jwilhelm
35b0143311 Added tag jdk-12+15 for changeset f8626bcc1698 2018-10-11 00:43:09 +02:00
mchung
098d579c18 8211921: AssertionError in MethodHandles$Lookup.defineClass
Reviewed-by: alanb
2018-10-10 15:19:34 -07:00
akolarkunnu
c2480fcbb4 8210055: Enable different look and feel tests in SwingSet3 demo tests
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-10-05 05:03:15 -07:00
mullan
cecb93f955 8191053: Provide a mechanism to make system's security manager immutable
Summary: Make System.setSecurityManager optional to support and add new disallow and allow options to the java.security.manager system property
Reviewed-by: alanb, mchung, rriggs, smarks
2018-10-10 16:25:40 -04:00
mullan
b23a708e57 8211878: Bad/broken links in docs/api/java.xml.crypto/javax/xml/crypto/dsig/Reference.html
Reviewed-by: jjg
2018-10-10 15:23:38 -04:00
ctornqvi
f75dd1d317 8212008: Use of TREAT_EXIT_CODE_1_AS_0 hide problems with jtreg Java
Reviewed-by: erikj
2018-10-10 11:47:01 -07:00
jcbeyler
78ed222b64 8211801: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/scenarios/[A-E]
Summary: Remove the NSK_CPP_STUB macros
Reviewed-by: amenkov, sspitsyn
2018-10-10 11:20:21 -07:00
igerasim
6508bb0681 8211396: Broken link in javadoc for private java.util.regex.Pattern#normalize()
Reviewed-by: jjg, sherman
2018-10-10 10:56:24 -07:00
darcy
03e717db96 8058202: AnnotatedType implementations don't override toString(), equals(), hashCode()
Reviewed-by: jfranck
2018-10-10 10:28:33 -07:00
jjg
ffcd70961a 8211952: Broken links in java.time API
Reviewed-by: lancea
2018-10-10 10:00:25 -07:00
jcbeyler
1a1ea285cb 8211950: Deprecate the check if a JVMTI collector is present assertion
Summary: Deprecate assertion that a collector is there; it is now a nop
Reviewed-by: eosterlund, phh, pliden
2018-10-10 08:26:49 -07:00
hseigel
78b60f6876 8207689: Remove perfCounter _load_instance_class_failCounter used by deleted flag UnsyncloadClass
Summary: Delete the perfCounter
Reviewed-by: lfoltan, acorn, dholmes
2018-10-10 10:18:52 -04:00
weijun
d81039a555 8211969: test/jdk/lib/security/CheckBlacklistedCerts.java searching for wrong paths
Reviewed-by: mullan
2018-10-10 22:13:30 +08:00
roland
be31f9e4bb 8211232: GraphKit::make_runtime_call() sometimes attaches wrong memory state to call
Reviewed-by: kvn
2018-09-28 14:24:22 +02:00
prappo
e05afc94a6 8212000: Verify exported symbols in java.base (libnet, libnio/ch)
Reviewed-by: alanb, chegar
2018-10-10 14:13:32 +01:00
mhorie
734651c69b 8211908: PPC64: Enable SuperWordLoopUnrollAnalysis by default
Reviewed-by: mdoerr, goetz
2018-10-10 14:28:35 +02:00
rkennke
31c41df4a6 8211270: GC abstraction to get real object and headers size
Reviewed-by: shade, zgu, eosterlund
2018-10-10 10:58:48 +02:00
rkennke
029c36bb32 8211279: Verify missing object equals barriers
Reviewed-by: pliden, shade, zgu
2018-10-03 15:22:16 +02:00
thartmann
9f855ff358 8211332: Space for stub routines (code_size2) is too small on new Skylake CPUs
Summary: Increase code_size2 for new Skylake CPUs.
Reviewed-by: kvn, stuefe, thartmann
Contributed-by: ralf.schmelter@sap.com
2018-10-10 08:36:31 +02:00
dtitov
173b9118b5 8193879: Java debugger hangs on method invocation
Reviewed-by: sspitsyn, amenkov, gadams
2018-10-09 19:11:09 -07:00
dholmes
7314179826 8211394: CHECK_ must be used in the rhs of an assignment statement within a block
Summary: replace "return foo(CHECK_X);" with "return foo(THREAD);"
Reviewed-by: iklam, phh, stuefe, lfoltan
2018-10-09 20:38:13 -04:00
dholmes
1dfb42a50c 8211065: Private method check in linkResolver is incorrect
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
erikj
d4a75df22d 8211724: Change mkdir -p to MakeDir macro where possible
Reviewed-by: ihse, asemenyuk
2018-10-09 14:57:23 -07:00
gadams
083cbbb2b4 8211324: Link to java.lang.ThreadGroup in JDWP spec is broken
Reviewed-by: sspitsyn, chegar, alanb
2018-10-09 07:33:15 -04:00
jcbeyler
bbd887c18e 8211905: Remove multiple casts for EM06 file
Summary: Remove multiple casts for EM06 file
Reviewed-by: sspitsyn, cjplummer
2018-10-09 13:22:19 -07:00
jiangli
f09d78b55d 8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
Summary: Restructure and cleanup java heap object archiving code.
Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
sherman
8ca9444b12 8211880: Broken links in java.util.jar
Reviewed-by: alanb, mchung, martin
2018-10-09 12:36:51 -07:00
chegar
e17d8236f4 8211927: Add additional diagnostic information to java/net/BindException/Test.java
Reviewed-by: dfuchs
2018-10-09 20:32:24 +01:00
amenkov
55fc6c3272 8211292: [TEST] convert com/sun/jdi/DeferredStepTest.sh test
Reviewed-by: sspitsyn, jcbeyler
2018-10-09 12:26:29 -07:00
rkennke
2a78771f40 8211792: Fix misplaced BarrierSet forward declarations
Reviewed-by: shade, zgu
2018-10-05 23:45:02 +02:00
gadams
6c358e12a8 8201603: MonitorContendedEnter failure in nsk/jvmti/scenarios/contention/TC02/tc02t001
Reviewed-by: cjplummer
2018-10-08 14:57:07 -04:00
goetz
ad6f364ca9 8211856: [ppc, s390] ProblemList some failing tests.
Reviewed-by: kvn, mdoerr
2018-10-09 16:03:56 +02:00
ghaug
fd31d28ee2 8211768: [s390] Implement JFR profiling
Reviewed-by: simonis, mdoerr
2018-10-09 15:06:27 +02:00
redestad
ef5e781ed1 8211859: Avoid initializing AtomicBoolean from RandomAccessFile
Reviewed-by: alanb
2018-10-09 14:30:06 +02:00
chegar
70ed731268 8211902: broken link in java.net.http.WebSocket.Builder
Reviewed-by: alanb, dfuchs
2018-10-09 13:31:50 +01:00
chegar
ecd62e9ba4 8211920: Close server socket and cleanups in test/jdk/javax/naming/module/RunBasic.java
Reviewed-by: dfuchs
2018-10-09 11:44:00 +01:00
sgehwolf
c613a6ad49 8211387: [Zero] atomic_copy64: Use ldrexd for atomic reads on ARMv7
Reviewed-by: dholmes, aph
Contributed-by: Andrew Haley <aph@redhat.com>
2018-10-02 17:17:43 +02:00
alanb
e61dc83719 8211825: ModuleLayer.defineModulesWithXXX does not setup delegation when module reads automatic module
Reviewed-by: mchung
2018-10-09 07:06:32 +01:00
jcbeyler
2951abeb52 8211782: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[I-S]*
Summary: Remove the NSK_CPP_STUB macros
Reviewed-by: amenkov, sspitsyn
2018-10-08 19:44:44 -07:00
kbarrett
9543273f77 8211804: Constant AO_UNUSED_MBZ uses left shift of negative value
Summary: Use unsigned shift.
Reviewed-by: alanb
2018-10-08 20:01:39 -04:00
iklam
2874758a7c 8210388: Use hash table to store archived subgraph_info records
Reviewed-by: jiangli
2018-10-08 16:29:10 -07:00
sherman
6440544b5f 8211728: JarFile::versionedStream() does not filter META-INF resources in versioned stream
Reviewed-by: alanb
2018-10-08 14:14:52 -07:00
jcbeyler
11309eecc8 8211131: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[G-I]*
Summary: Remove the NSK_CPP_STUB macros
Reviewed-by: amenkov, sspitsyn
2018-10-08 13:56:28 -07:00
jcbeyler
fbac598765 8211261: Remove the NSK_CPP_STUB macros from vmTestbase for jvmti/[A-G]*
Summary: Remove the NSK_CPP_STUB macros
Reviewed-by: amenkov, cjplummer
2018-10-08 13:54:43 -07:00
jjg
62b42ece14 8211407: Bad links to non-existent entries on serialized-form page
Reviewed-by: jlahoda
2018-10-08 11:14:59 -07:00
gadams
441871a155 8036026: nsk/jvmti/scenarios/capability/CM02/cm02t001 fails intermittently
Reviewed-by: cjplummer, dcubed
2018-10-08 07:18:40 -04:00
chegar
62b358a271 8211863: Problem list test/jdk/javax/naming/module/RunBasic.java
Reviewed-by: lancea
2018-10-08 18:29:41 +01:00
redestad
fad1fe56dc 8211860: Avoid reading security properties eagerly on Manifest class initialization
Reviewed-by: mullan, alanb
2018-10-08 18:16:03 +02:00
simonis
7b625bbd97 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS
Reviewed-by: shade, goetz, mdoerr, iklam
2018-10-08 17:41:44 +02:00
vromero
ef621d7169 8209407: VerifyError is thrown for inner class with lambda
Reviewed-by: mcimadamore
2018-10-08 06:52:41 -07:00
eosterlund
82752d4952 8211718: Supporting multiple concurrent OopStorage iterators
Reviewed-by: pliden, kbarrett
2018-10-08 14:48:12 +02:00
roland
47e1e33f6a 8211776: 8210887 broke arraycopy optimization when ZGC is enabled
Reviewed-by: kvn
2018-10-05 16:47:27 +02:00
weijun
3e65a56e31 8210395: Add doc to SecurityTools.java
Reviewed-by: mullan
2018-10-08 13:25:39 +08:00
lancea
055532a590 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2018-10-07 14:35:00 -04:00
dnsimon
b64ce42eec 8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
Reviewed-by: never, kvn, sspitsyn
2018-10-05 20:03:14 +02:00
vaibhav
41971db565 8210376: [TESTBUG] @requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
Summary: @requires vm.cds should be replaced by @requires vm.cds.archived.java.heap and documentation is required for vm.gc==null
Reviewed-by: iklam, jiangli
Contributed-by: Vaibhav Choudhary <vaibhav.x.choudhary@oracle.com>
2018-10-05 18:25:15 +01:00
rkennke
1247ca6a77 8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..)
Reviewed-by: eosterlund, iveresov
2018-09-27 13:56:09 +02:00
jiangli
6bcb66b17c 8202951: Implementation of JEP 341: Default CDS Archives
8210592: Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
8209739: [TESTBUG] javax/imageio/plugins/png/ItxtUtf8Test.java fails with OutOfMemoryError when running in CDS mode
Summary: Generate the default CDS archive at JDK build time.
Reviewed-by: erikj, ihse, dholmes, iklam, ccheung, mseledtsov
Contributed-by: erik.joelsson@oracle.com, jiangli.zhou@oracle.com, calvin.cheung@oracle.com
2018-10-05 18:56:11 -04:00
kvn
93f8468475 8206963: [AOT] bug with multiple class loaders
Summary: AOT should not support custom class loaders.
Reviewed-by: dlong, iveresov
2018-10-05 15:46:47 -07:00
bpb
941f3cb73b 8211794: Remove jdk/java/nio/channels/Selector/RacyDeregister.java from problem list
Reviewed-by: bchristi
2018-10-05 15:37:46 -07:00
jcbeyler
c270140c29 8211123: GC Metaspace printing after full gc
Summary: Move GC printing to after usage is calculated
Reviewed-by: tschatzl, stuefe
Contributed-by: nijiaben@perfma.com, jcbeyler@google.com
2018-10-05 13:38:03 -07:00
kbarrett
fcbc3abb4c 8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Summary: Removed deprecation warning suppression, fixed uses of deprecated functions.
Reviewed-by: dholmes, mikael
2018-10-05 14:28:44 -04:00
coleenp
0441b7fd94 8209889: RedefineStress tests crash
Summary: Create CompileTaskWrapper before potential safepoint
Reviewed-by: mdoerr, dlong
2018-10-05 09:15:52 -04:00
hseigel
6dfdaabea7 8211438: [Testbug] runtime/XCheckJniJsig/XCheckJSig.java looks for libjsig in wrong location
Summary: Remove the os_arch string and JRE path from the test.  Also add JNIEXPORT to libjsig symbols so dlsym can find them
Reviewed-by: dholmes, lfoltan
2018-10-05 08:50:49 -04:00
michaelm
cbe365a640 8211420: com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code
Reviewed-by: chegar
2018-10-05 11:28:23 +01:00
rwestberg
1389694a94 8210459: Add support for generating compile_commands.json
Reviewed-by: erikj, ihse
2018-10-05 07:54:28 +02:00
naoto
9af20d18c6 8211398: Square character support for the Japanese new era
Reviewed-by: rriggs
2018-10-04 14:12:34 -07:00
mchung
04cad53dbb 8206240: java.lang.Class.newInstance() is causing caller to leak
Reviewed-by: alanb
2018-10-04 13:02:58 -07:00
vromero
b45ee2f7de 8210789: langtools/tools/javac/T8152616.java missing @modules
Reviewed-by: jjg
2018-10-04 10:19:01 -07:00
erikj
a141f15dc0 8211677: Java resource copy and clean should use MakeTargetDir macro
Reviewed-by: tbell, ihse
2018-10-04 09:43:49 -07:00
psadhukhan
7eb74d0d53 8191178: [macos] Problem with input of yen symbol
Reviewed-by: dmarkov, mhalder
2018-09-18 18:12:40 +05:30
cushon
9db78c5b15 8198945: Invalid RuntimeVisibleTypeAnnotations for annotation on anonymous class type parameter
Reviewed-by: wmdietl, abuckley, martin
2018-09-17 11:09:43 -07:00
darcy
4c010c89ba 8212880: Cannot access ftp: site for fdlibm.tar
Reviewed-by: jjg, lancea, bpb
2018-10-24 15:45:09 -07:00
sspitsyn
ccfaa114b6 8024368: private methods are allocated vtable slots
Summary: Stop allocating vtable slots for  private methods
Reviewed-by: dholmes, acorn, lfoltan
2018-10-24 13:11:54 -07:00
epavlova
048b533cfb 8212877: Restore JTREG_VERBOSE value for mach5 testing
Reviewed-by: dholmes
2018-10-24 09:56:03 -07:00
dcubed
6f5a6c7a80 Merge 2018-10-24 11:05:22 -04:00
dcubed
d7fc71b002 8212220: add code to verify results to metaspace/stressDictionary/StressDictionary.java
Summary: Also change the test's default timeout to 5 minutes.
Reviewed-by: dholmes, stuefe
2018-10-24 11:04:25 -04:00
ecaspole
d001407191 8212706: nmethod jvmci_installed_code_name need to be XML escaped
Summary: Call text instead of print to escape chars properly
Reviewed-by: thartmann
2018-10-24 11:02:55 -04:00
tschatzl
002d31f727 8212753: Improve oopDesc::forward_to_atomic
Summary: Avoid multiple unnecessary reloads of the mark oop in oopDesc::forward_to_atomic
Reviewed-by: kbarrett, mdoerr
2018-10-24 16:22:34 +02:00
prr
9989d8a63b Merge 2018-09-17 09:36:33 -07:00
jcbeyler
5a284e0bd8 8210726: Fix up a few minor nits forgotten by JDK-8210665
Summary: Minor changes to 4 tests to make one-liners
Reviewed-by: cjplummer, iignatyev, sspitsyn
2018-09-17 09:07:40 -07:00
rfield
2ddc736640 8210596: jshell does not support raw string literals
Reviewed-by: jlahoda, jlaskey
2018-09-17 08:37:47 -07:00
sgehwolf
9571bbfa84 8210416: [linux] Poor StrictMath performance due to non-optimized compilation
Summary: Compile fdlibm with -O2 -ffp-contract=off on gcc/clang arches.
Reviewed-by: aph, erikj, dholmes, darcy, ihse
2018-09-17 10:53:56 +02:00
jlahoda
3cb8674332 8193561: Cyclic hierarchy causes a NullPointerException when setting DEFAULT flag
Summary: When marking interface as having default methods, use .owner as it is always defined.
Reviewed-by: mcimadamore
2018-09-17 11:49:20 +02:00
rgoel
ac4a177467 8210490: TimeZone.getDisplayName given Locale.US doesn't always honor the Locale.
Summary: specified locale for formatting..
Reviewed-by: naoto
2018-09-17 14:16:31 +05:30
prr
cc0a7a7f3a 8210766: Remove obsolete qualified export sun.net.www to java.desktop
Reviewed-by: mchung
2018-09-15 14:03:07 -07:00
sgehwolf
75ec56cbb7 8210647: libsaproc is being compiled without optimization.
Summary: Compile with high optimization instead of none.
Reviewed-by: erikj, jgeorge, sballal
2018-09-14 14:47:50 +02:00
weijun
fa03a94a8e 8210736: jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux
Reviewed-by: alanb
2018-09-17 14:52:44 +08:00
xyin
1ecf82345b 8210695: Create test to cover JDK-8205330 InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: vtewari, dfuchs, chegar
2018-09-17 13:49:55 +08:00
igerasim
f2dbb6fafa 8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
2018-09-15 22:02:08 -07:00
igerasim
aab95a1883 8210787: Object.wait(long, int) throws inappropriate IllegalArgumentException
Reviewed-by: martin, rriggs
2018-09-15 13:53:43 -07:00
bsrbnd
82ab643309 8183548: Comma-expressions shouldn't use any temporary variable
Summary: Uses enhanced let-expressions allowing multiple statements
Reviewed-by: vromero
2018-09-15 22:16:16 +02:00
mikael
e346171f01 8210676: Remove some unused Label variables
Reviewed-by: kvn, dholmes, njian, aph
2018-09-14 22:35:44 -07:00
xuelei
ad13461947 8210785: Trivial typo fix in X509ExtendedKeyManager javadoc
Reviewed-by: xuelei
Contributed-by: Jaikiran Pai <jaikiran.pai@gmail.com>
2018-09-14 20:30:28 -07:00
iignatyev
d9e840eb2d 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
gromero
6c74e0ffc9 8209972: [GRAAL] Don't run RTM tests with Graal
Reviewed-by: kvn, goetz
2018-09-14 15:32:22 -04:00
jcbeyler
9cc39de99f 8210724: Change the verbosity threshold of logging for [oopstorage,ref]
Summary: Improve logging verbosity levels in oopStorage.cpp
Reviewed-by: kbarrett, sjohanss
Contributed-by: manc@google.com
2018-09-14 08:48:36 -07:00
rkennke
e49493d8a9 8210752: Remaining explicit barriers for C2
Reviewed-by: roland, shade
2018-09-14 14:43:40 +02:00
sgehwolf
938a54b22e 8210761: libjsig is being compiled without optimization
Reviewed-by: erikj, ihse
2018-09-21 16:58:36 +02:00
avoitylov
1cc0989589 8209697: ARM: Explicit barriers for C1/assembler
Reviewed-by: dsamersoff
2018-09-24 16:54:42 +03:00
avoitylov
3cb696c2b3 8209695: ARM: Explicit barriers for interpreter
Reviewed-by: dsamersoff
2018-09-24 16:52:12 +03:00
avoitylov
890c1819fb 8210466: Modularize allocations in assembler
Reviewed-by: rkennke, dsamersoff
2018-09-24 16:44:24 +03:00
avoitylov
9c2908fc32 8210465: ARM: Object equals abstraction for BarrierSetAssembler
Reviewed-by: rkennke, dsamersoff
2018-09-24 16:39:02 +03:00
jnimeh
f2e99d5667 8210918: Add test to exercise server-side client hello processing
Reviewed-by: xuelei
2018-09-24 00:13:02 -07:00
gadams
87d938c258 8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Prompt is not received during 300200 milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-21 08:13:55 -04:00
cjplummer
eb783fa298 8210987: Extra newlines on Windows when running nsk jdb tests
Summary: fix skipping over newlines
Reviewed-by: dholmes, jcbeyler, amenkov
2018-09-22 14:12:48 -07:00
jjg
8cd5d8400a 8210275: Source Launcher should fail if --source is used without a source file
Reviewed-by: mchung, alanb, mcimadamore
2018-09-21 15:38:43 -07:00
iignatyev
da627ed906 8210894: remove jdk/testlibrary/Asserts
Reviewed-by: serb
2018-09-21 14:50:06 -07:00
ihse
91761b5d2e 8210988: Improved handling of compiler warnings in the build
Reviewed-by: erikj
2018-09-21 21:35:12 +02:00
tbell
dc267b3fab 8190985: .jcheck/conf files contain 'project=jdk10'
Reviewed-by: mr, iris, erikj
2018-09-21 12:08:13 -07:00
amenkov
775752e3cb 8210760: [TEST] rewrite com/sun/jdi shell tests to java version - step4
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2018-09-21 11:28:14 -07:00
amenkov
c5ff64b189 8210725: com/sun/jdi/RedefineClearBreakpoint.java fails with waitForPrompt timed out after 60 seconds
8210748: [TESTBUG] lib.jdb.Jdb.waitForPrompt() should clarify which output is the pending reply after a timeout
Reviewed-by: jcbeyler, gadams, sspitsyn
2018-09-21 10:18:12 -07:00
tschatzl
b45e3e8110 8210557: G1 next bitmap verification at the end of concurrent mark sometimes fails
Summary: Removed unnecessary verification that can cause spurious false alarm.
Reviewed-by: sjohanss, kbarrett
2018-09-21 15:11:09 +02:00
mbaesken
c0c3610d9c 8210961: [aix] enhance list of environment variables reported in error log file on AIX
Reviewed-by: clanger, simonis
2018-09-20 13:59:39 +02:00
jlahoda
dce151f571 8209058: Cannot find annotation method 'value()' in type 'Profile+Annotation'
Summary: Correct detection of the Profile+Annotation synthetic annotation for classes that are not from the java.base module.
Reviewed-by: jjg
2018-09-21 12:29:46 +02:00
jlahoda
b2561f55ea 8209865: Incorrect 'multiple elements' notes with Elements#getTypeElement and --release
Summary: Changing ct.sym to be module-path oriented, rather than class-path oriented.
Reviewed-by: jjg
2018-09-21 12:29:31 +02:00
xyin
d95528e7b3 8169246: java/net/DatagramSocket/ReportSocketClosed.java fails intermittently with BindException
Reviewed-by: chegar
2018-09-21 16:13:49 +08:00
xyin
6e49d4561d 8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
Reviewed-by: chegar
2018-09-21 15:49:59 +08:00
xuelei
4c849b07f4 8210974: No extensions debug log for ClientHello
Reviewed-by: jnimeh, wetmore
2018-09-20 14:19:53 -07:00
mhalder
c0d4424271 8206392: [macosx] Cycling through windows (JFrames) does not work with keyboard shortcut
Reviewed-by: dmarkov, kaddepalli
2018-09-14 17:53:58 +05:30
prr
5acfd93f5a 7017058: Malayalam glyph substitution is failing for Malayalam with Windows Kartika font.
8191130: Sinhala text rendering problem with C+VIRAMA+ZWJ+RA/YA+V
8195836: opentype:Bengali: "Khanda Ta" shaping issue with U+09A4 TA, U+09CD virama, U+200D ZWJ
Reviewed-by: serb, psadhukhan
2018-09-13 11:31:59 -07:00
prr
7054b615b7 Merge 2018-09-13 10:54:11 -07:00
jiangli
533eac4954 8210193: [TESTBUG]gc/g1/mixedgc/TestOldGenCollectionUsage.java fails intermittently with OutOfMemoryError in CDS mode.
Summary: Increase java heap size in TestOldGenCollectionUsage. Catch OOM in tests.
Reviewed-by: phh, iklam
2018-09-13 13:30:07 -04:00
jlaskey
f588f715fb 8210674: Need to add examples for use of javac properties introduced by Raw String Literals
Reviewed-by: vromero, jjg
2018-09-13 14:15:27 -03:00
gadams
f9815ef805 8208468: [TESTBUG] nsk/jdb/locals/locals002: fails with "Prompt is not received during ... milliseconds"
Reviewed-by: cjplummer, amenkov
2018-09-13 07:46:41 -04:00
ccheung
e90a846961 8190737: use unicode version of the canonicalize() function to handle long path on windows
Summary: also calling CreateFileW in zip_util.c to handle long path
Reviewed-by: sherman, iklam
2018-09-14 11:17:25 -07:00
michaelm
2ef698a5bb 8210311: IllegalArgumentException in CookieManager - Comparison method violates its general contract
Reviewed-by: chegar, dfuchs
2018-09-13 12:07:01 +01:00
ihse
87db55c2c0 8210704: Remove dead build tools
Reviewed-by: alanb
2018-09-13 12:41:42 +02:00
iignatyev
cc1c067b4e 8210699: Problem list tests which times out in Xcomp mode
Reviewed-by: kvn
2018-09-12 21:56:59 -07:00
jwilhelm
4299361380 8199552: Update to build scripts
Reviewed-by: jwilhelm, mschoene, rhalade
Contributed-by: magnus.ihse.bursie@oracle.com
2018-09-13 01:49:48 +02:00
prr
1304f5a08b 8210866: Improve JPEG processing
Reviewed-by: serb, psadhukhan, rhalade
2018-10-08 12:53:53 -07:00
weijun
6d909124eb 8210870: Libsunmscapi improved interactions
Reviewed-by: valeriep, mschoene, rhalade
2018-10-08 12:55:04 +08:00
prr
289f1f6543 8210606: Improved data set handling
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2018-10-05 11:36:30 -07:00
michaelm
41e3a23c00 8209094: Improve web server connections
Reviewed-by: chegar, dfuchs, mschoene, igerasim
2018-10-05 08:54:10 +01:00
roland
96ff3316f7 8210390: C2 still crashes with "assert(mode == ControlAroundStripMined && use == sfpt) failed: missed a node"
Reviewed-by: thartmann, kvn
2018-09-12 16:38:13 +02:00
vromero
8a4b3932dc 8209022: Missing checkcast when casting to type parameter bounded by intersection type
Reviewed-by: mcimadamore
2018-09-20 12:49:58 -07:00
shade
a3ae4a33ab 8210963: Build failures after "8210829: Modularize allocations in C2"
Reviewed-by: rkennke, thartmann
2018-09-20 21:14:38 +02:00
ihse
0a3b35ca81 8210931: JLI and launchers normalization and cleanup
Reviewed-by: alanb, erikj
2018-09-20 21:05:00 +02:00
ihse
bc6d935fed 8210962: Deprecate jdk-variant
Reviewed-by: shade, erikj
2018-09-20 20:54:19 +02:00
iklam
867cf67130 8210875: Refactor CompactHashtable
Reviewed-by: ccheung, jiangli
2018-09-18 21:47:14 -07:00
ihse
50a578df59 8210960: Allow --with-boot-jdk-jvmargs to work during configure
Reviewed-by: erikj
2018-09-20 18:39:53 +02:00
ihse
6055f50816 8210941: Stop filtering out -xregs=no%appl for libsunec
Reviewed-by: erikj
2018-09-20 18:38:34 +02:00
ihse
ad21ffe06c 8210944: Stop replacing -MD with -MT in libwindowsaccessbridge
Reviewed-by: erikj
2018-09-20 18:37:25 +02:00
ihse
80dd948a95 8210949: Stop filtering out -xc99=%none for liblcms
Reviewed-by: erikj
2018-09-20 18:33:19 +02:00
pliden
15971ebd15 8210883: ZGC: Parallel retire/resize/remap of TLABs
Reviewed-by: eosterlund
2018-09-20 14:04:44 +02:00
pliden
0e9b19adad 8210857: Allow retiring TLABs and collecting statistics in parallel
Reviewed-by: sjohanss, eosterlund
2018-09-20 14:04:43 +02:00
coleenp
b7ae4cb7dc 8202201: All oop stores in the x64 interpreter are treated as volatile when using G1
Summary: ran out of registers, generated volatile and non-volatile branches.
Reviewed-by: eosterlund, dholmes
2018-09-20 08:11:21 -04:00
phedlin
0895e2e221 8210284: "assert((av & 0x00000001) == 0) failed: unsupported V8" on Solaris 11.4
Summary: Sanity checks on V8 legacy properties removed.
Reviewed-by: neliasso, eosterlund, kvn
2018-09-12 14:08:15 +02:00
ihse
e9d6848f92 8210920: Native C++ tests are not using CXXFLAGS
Reviewed-by: tbell, erikj
2018-09-20 08:59:03 +02:00
kbarrett
14d98ac90d 8210889: Some service thread cleanups can be starved
Summary: Do all available work on each iteration.
Reviewed-by: pliden, tschatzl, coleenp
2018-09-19 20:07:02 -04:00
jnimeh
303e418daa 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: wetmore
2018-09-19 16:07:03 -07:00
ihse
0cceee7322 8210924: Remove PACKAGE_PATH
Reviewed-by: tbell
2018-09-20 00:19:46 +02:00
jwilhelm
66e337d013 Added tag jdk-12+12 for changeset 15094d12a632 2018-09-20 00:16:23 +02:00
zgu
6aa3dfa28f 8210879: ClassLoaderStatsClosure does raw oop comparison
Summary: Uses oopDesc::equals() for comparing oop equality
Reviewed-by: shade
2018-09-19 16:51:22 -04:00
ihse
de90daa860 8210919: Remove statically linked libjli on Windows
Reviewed-by: erikj
2018-09-19 22:42:34 +02:00
coleenp
1872fe7e07 8198717: Remove compute_optional_offset
Summary: remove optional_offset computation and related unused code from javaClasses for reflection.
Reviewed-by: redestad, lfoltan
2018-09-19 15:25:05 -04:00
rkennke
5e4a820348 8210829: Modularize allocations in C2
Reviewed-by: kvn, roland
2018-09-19 21:31:33 +02:00
martin
f64b476b22 8209817: stack is executable when building with Clang on Linux
Reviewed-by: dholmes, martin, mikael, ihse
Contributed-by: Arthur Eubanks <aeubanks@google.com>
2018-09-19 10:51:06 -07:00
pliden
2f2efc9a52 8210884: ZGC: Remove insertion of filler objects
Reviewed-by: eosterlund
2018-09-19 19:12:20 +02:00
pliden
b21ba2c12e 8210881: ZGC: Introduce ZRootsIteratorClosure
Reviewed-by: eosterlund
2018-09-19 19:12:18 +02:00
mikael
9f325f2cf2 8210912: Build error in src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c after JDK-8029661
Reviewed-by: mullan
2018-09-19 09:24:40 -07:00
pliden
5ea497c375 8210713: Let CollectedHeap::ensure_parsability() take care of TLAB statistics gathering
Reviewed-by: eosterlund, sjohanss
2018-09-19 14:09:11 +02:00
mbalao
ea1d4eee90 8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
Summary: TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider.
Reviewed-by: valeriep
2018-09-12 13:09:51 +02:00
jlahoda
1a114dcbdf 8207954: Data for --release 11
Summary: Adding support for --release 11
Reviewed-by: erikj, ihse, jjg
2018-09-19 10:50:25 +02:00
alanb
035fa631f7 8210496: Improve filtering for classes with security sensitive fields
Reviewed-by: plevart, mchung
2018-09-19 08:49:07 +01:00
pmuthuswamy
a749bee0d5 8210047: some pages contain content outside of landmark region
Reviewed-by: jjg
2018-09-19 12:14:53 +05:30
iklam
56b8d994b5 8210864: Reduce the use of metaspaceShared.hpp
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
sherman
adf029cdbd 8210899: (zipfs) ZipFileSystem.EntryOutputStreamCRC32 mistakenly set the crc32 value into size field
Reviewed-by: bpb
2018-09-18 19:44:27 -07:00
pliden
a1bd4f1623 8210753: Make ThreadLocalAllocBuffer::resize() public
Reviewed-by: eosterlund, jcbeyler
2018-09-18 22:46:35 +02:00
coleenp
f28463f7a5 8210861: Move assert to help diagnose rare RedefineStress crash
Summary: assert that Method being marked on stack hasn't been missed by previous metadata walk
Reviewed-by: lfoltan
2018-09-18 16:11:36 -04:00
dnsimon
09b9954286 8210793: [JVMCI] AllocateCompileIdTest.java failed to find DiagnosticCommand.class
Reviewed-by: thartmann, kvn
2018-09-18 22:32:25 +02:00
joehw
2595738a4e 8210874: Test for JDK-8209615
Reviewed-by: lancea
2018-09-18 13:31:30 -07:00
bpb
df38f3aeae 8210817: Minor typo in java.nio.file.attribute package summary
Reviewed-by: dfuchs, alanb
2018-09-18 13:18:54 -07:00
naoto
411d630ee2 8209880: tzdb.dat is not reproducibly built
Reviewed-by: erikj, rriggs
2018-09-18 12:42:40 -07:00
jgeorge
85a6514fe8 8210836: Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Summary: Read in and process the return value of pread() while dealing with the PT_INTERP segment
Reviewed-by: stuefe, jcbeyler
2018-09-18 23:20:17 +05:30
sherman
705ab7ea41 8034802: (zipfs) newFileSystem throws UOE when the zip file is located in a custom file system
Reviewed-by: xiaofeya, clanger
2018-09-18 10:43:01 -07:00
joehw
a8d802f1af 8207760: SAXException: Invalid UTF-16 surrogate detected: d83c ?
Reviewed-by: lancea, dfuchs
2018-09-18 09:44:20 -07:00
jiangli
cc61a9cf28 8210237: [TESTBUG]gc/stress/TestStressIHOPMultiThread.java fails with 'Unexpected exit from test [exit code: 1]' in CDS mode
Summary: Fix TestStressIHOPMultiThread to handle possible OutOfMemoryError.
Reviewed-by: ccheung, gziemski
2018-09-18 11:55:33 -04:00
coleenp
fa1b08e637 8203466: intermittent crash at jdk.internal.misc.Unsafe::getObjectVolatile (native)
Summary: Store rsi, rdi on thread local memory, store r15 in r9, for the stubs that have gc barriers
Reviewed-by: dlong, eosterlund
2018-09-18 08:27:01 -04:00
ihse
91e8514cfe 8210729: Clean up macosx static library handling
Reviewed-by: erikj
2018-09-18 13:32:40 +02:00
mbaesken
1c3a0429a2 8207768: Improve exception messages during manifest parsing of jar archives
Reviewed-by: clanger, mullan, weijun
2018-09-12 11:13:09 +02:00
mbaesken
7647734661 8211146: fix problematic elif-tests after recent gcc warning changes Werror=undef
Reviewed-by: stuefe, clanger, dholmes, chegar, alanb
2018-09-26 14:28:37 +02:00
lkorinth
ba801c4b61 8196341: Add JFR events for parallel phases of G1
Reviewed-by: tschatzl, sangheki
2018-09-21 18:57:18 +02:00
iignatyev
de5d0b7fcf 8211134: problem list compiler/whitebox/ForceNMethodSweepTest.java
Reviewed-by: kvn
2018-09-25 18:26:46 -07:00
fyang
69f25b4fe3 8210413: AArch64: Optimize div/rem by constant in C1
Summary: Remove div-by-zero check for non-zero divisor and generate cheap instructions if divisor is power-of-2
Reviewed-by: aph
Contributed-by: pengfei.li@arm.com
2018-09-26 06:26:54 +08:00
naoto
401bb291e8 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2018-09-25 13:57:24 -07:00
darcy
95f748b7e0 8211127: TestNewLanguageFeatures.java fails after JDK-8173730
Reviewed-by: jjg
2018-09-25 13:31:51 -07:00
darcy
9e38407e0f 8173730: Stop including enhanced for-loop tip for enum values() method
Reviewed-by: jjg
2018-09-25 11:31:55 -07:00
jjg
06e9821a1f 8210839: Improve interaction between source launcher and classpath
Reviewed-by: alanb, mchung
2018-09-25 10:30:32 -07:00
jcbeyler
6936727dc2 8210689: Remove the multi-line old C style for string literals
Summary: Remove the multi-line old C style and prefer C++ multi-line
Reviewed-by: amenkov, cjplummer
2018-09-25 09:34:51 -07:00
dcubed
b1c006993e 8211103: ProblemList runtime/XCheckJniJsig/XCheckJSig.java on MacOS X
Reviewed-by: mikael, dholmes
2018-09-25 11:31:55 -04:00
rkennke
1b442bac38 8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
Reviewed-by: thartmann, roland
2018-09-25 16:41:25 +02:00
chegar
229df3d744 8211099: ProblemList two networking tests until jtreg b14 is promoted
Reviewed-by: alanb
2018-09-25 15:35:31 +01:00
aph
352a1794f3 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls
Reviewed-by: aph
Contributed-by: andrey.petushkov@gmail.com
2018-09-24 18:19:46 +01:00
rkennke
700efad308 8132849: Increased stop time in cleanup phase because of single-threaded walk of thread stacks in NMethodSweeper::mark_active_nmethods()
Reviewed-by: eosterlund, zgu, thartmann
2018-09-24 18:44:39 +02:00
plevart
026201fdfd 8205461: Create Collector which merges results of two other collectors
Reviewed-by: briangoetz, smarks, plevart
Contributed-by: amaembo@gmail.com
2018-09-25 14:23:37 +02:00
thartmann
2c6b740b52 8210152: Optimize integer divisible by power-of-2 check
Summary: Integer conditional negation operation before zero check is eliminated
Reviewed-by: kvn, thartmann
Contributed-by: pengfei.li@arm.com
2018-09-25 14:16:33 +02:00
pmuthuswamy
1f1b21a413 8202462: {@index} may cause duplicate labels
Reviewed-by: jjg
2018-09-25 13:58:54 +05:30
pmuthuswamy
5468f8e669 8205593: Javadoc -link makes broken links if module name matches package name
Reviewed-by: jjg
2018-09-25 12:36:45 +05:30
mikael
1be49b9c6b 8210848: Obsolete SyncKnobs
Reviewed-by: redestad, coleenp, dholmes, dcubed
2018-09-24 22:12:07 -07:00
fyuan
45094d9b36 8210934: Move sun/net/www/protocol/http/GetErrorStream.java to OpenJDK
Summary: repalce internet website dependency with a built-in http server
Reviewed-by: chegar
2018-09-25 11:24:59 +08:00
mli
3e0c964d79 8210443: Migrate Locale matching tests to JDK Repo.
Reviewed-by: naoto
Contributed-by: dan.z.zhou@oracle.com
2018-09-25 11:18:36 +08:00
kvn
bf4b6c32ad 8210764: Update avx512 implementation
Reviewed-by: kvn
Contributed-by: sandhya.viswanathan@intel.com
2018-09-24 16:37:28 -07:00
erikj
ed0a97ddc5 8211037: Load jib jars dynamically from JibArtifactManager
Reviewed-by: ihse
2018-09-24 13:51:22 -07:00
ihse
ba62fbe72c 8210705: Stop exporting all symbols on macosx
Reviewed-by: erikj
2018-09-24 20:45:06 +02:00
vagarwal
36249f0c78 8210052: Enable testing for all the available look and feels in SwingSet3 demo tests
Reviewed-by: shurailine, serb
2018-09-12 11:51:39 +05:30
akolarkunnu
03be9bcbc8 8210056: Enable different look and feel tests in SwingSet3 demo test TextFieldDemoTest
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-09-11 22:16:47 -07:00
rriggs
b16afdedc3 8098798: Thread.join(ms) on Linux still affected by changes to the time-of-day clock
8210004: Thread.sleep(millis, nanos) timeout returns early
Reviewed-by: martin, igerasim
2018-09-14 12:53:07 -04:00
coleenp
bb819a9960 8210559: ClassLoaderData Symbols can leak
Summary: unrefcount the symbol names when the CLD is destroyed
Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
bpb
7d1c394b74 8210741: Typo in Java API documentation of java.nio.file.Paths
Reviewed-by: alanb, rriggs
2018-09-14 09:00:22 -07:00
alanb
6d292e9a09 8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure
Reviewed-by: bpb
2018-09-14 16:56:09 +01:00
pliden
270af0b757 8210714: ZGC: ZWeakRootsIterator should no longer call reset/finish_dead_counter()
Reviewed-by: eosterlund
2018-09-14 14:44:11 +02:00
pliden
7cacbc93fe 8210711: Remove unused offset getters in ThreadLocalAllocBuffer
Reviewed-by: rkennke, tschatzl, mdoerr
2018-09-14 14:44:11 +02:00
pliden
cb3fdac450 8210710: Rename ThreadLocalAllocBuffer::myThread() to thread()
Reviewed-by: rkennke, tschatzl
2018-09-14 14:44:11 +02:00
pliden
79b63de7ec 8209163: SA: Show Object Histogram asserts with ZGC
Reviewed-by: ysuenaga, jcbeyler
2018-09-14 14:44:11 +02:00
hannesw
70b71bded5 8209914: javadoc search sometimes generates bad URIs
Reviewed-by: jjg
2018-09-14 14:45:31 +02:00
dpochepk
569449ffae 8210461: AArch64: Math.cos intrinsic gives incorrect results
Reviewed-by: aph
2018-09-14 14:24:00 +03:00
sgehwolf
fae641ce3b 8210703: vmStructs.cpp compiled with -O0
Reviewed-by: erikj, ihse
2018-09-13 11:07:40 +02:00
ihse
ab17fecf2f 8210731: PropertiesParser does not produce reproducible output
Reviewed-by: mchung, jjg, erikj
2018-09-14 09:16:51 +02:00
iveresov
fc426e1dd1 8210478: Update Graal
Reviewed-by: kvn
2018-09-13 22:45:12 -07:00
amlu
42e0cd54d0 8209772: Refactor shell test java/util/ServiceLoader/basic/basic.sh to java
Reviewed-by: alanb
2018-09-14 13:18:52 +08:00
cushon
38dd4a2331 8193037: package-info annotations are not reported when annotation processing is enabled
Reviewed-by: jjg
2018-09-13 15:29:44 -07:00
xuelei
a60ca6be26 8209916: NPE in SupportedGroupsExtension
Reviewed-by: jnimeh, wetmore
2018-09-13 17:11:04 -07:00
gadams
7d18c0eff1 8210252: com/sun/jdi/DebuggerThreadTest.java fails with NPE
Reviewed-by: cjplummer, sspitsyn
2018-09-13 07:54:38 -04:00
kvn
cdb90f6d08 8210220: [AOT] jdwp test cases are failing with error # ERROR: TEST FAILED: Cought IOException while receiving event packet
Summary: don't register AOT method if corresponding java method has breakpoints.
Reviewed-by: dlong
2018-09-13 15:27:21 -07:00
naoto
a161e54b1d 8209167: Use CLDR's time zone mappings for Windows
Reviewed-by: erikj, rriggs, ihse
2018-09-13 13:41:17 -07:00
jcbeyler
7a249d0afa 8210665: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[R-U] tests
Summary: Remove JNI_ENV and JVMTI_ENV macros from jvmti/[R-U] tests
Reviewed-by: cjplummer, sspitsyn
2018-09-13 13:03:50 -07:00
ihse
83dc57359f 8207264: solaris-sparcv9-cmp-baseline fails
Reviewed-by: erikj, prr
2018-09-13 21:14:04 +02:00
ihse
395911bbe7 8210702: Remove dtrace mapfiles
Reviewed-by: erikj
2018-09-13 21:12:22 +02:00
sgehwolf
df812db7c4 8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization
Summary: Compile with -O2 and -ffp-contract=off as for fdlibm.
Reviewed-by: erikj, lucy, aph
2018-09-11 18:18:51 +02:00
ihse
a0a8bf5156 8210750: Clean up compare.sh exceptions
Reviewed-by: erikj
2018-09-18 10:35:42 +02:00
ihse
f9d653f9f9 8210723: Better information in configure for invalid Xcode
Reviewed-by: erikj
2018-09-18 10:29:56 +02:00
mchung
7c43d8614d 8210841: test/jdk/vm/runtime/ReflectStackOverflow.java fails with NoClassDefFoundError
Reviewed-by: dholmes, mikael
2018-09-17 22:56:31 -07:00
mli
9b83561589 8210802: temp files left by tests in jdk/java/net/httpclient
Reviewed-by: chegar, clanger
2018-09-18 13:24:25 +08:00
mhorie
3ac88c3e20 8210660: PPC64: Mapping floating point registers to vsx registers in ppc.ad
Reviewed-by: mdoerr, gromero
2018-09-17 23:35:00 -04:00
fyuan
5e9ab80a26 8210819: Update the host name in CNameTest.java
Reviewed-by: chegar
2018-09-18 11:09:18 +08:00
jcbeyler
4a345f3370 8210700: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti/unit tests
Summary: Remove JNI_ENV macros from the remaining vmTestbase tests
Reviewed-by: amenkov, sspitsyn, dholmes, cjplummer
2018-09-17 19:48:35 -07:00
jcbeyler
4b4432cf1d 8210481: Remove #ifdef cplusplus from vmTestbase
Summary: Remove all cplusplus ifdefs from vmTestbase
Reviewed-by: dholmes, iignatyev, cjplummer, sspitsyn
2018-09-17 19:36:09 -07:00
jnimeh
4f91cef3da 8140466: ChaCha20 and Poly1305 TLS Cipher Suites
Reviewed-by: xuelei, mullan
2018-09-17 15:25:42 -07:00
mchung
a2f4d3b8d3 8210721: Replace legacy serial exception field with Throwable::cause
Reviewed-by: dfuchs, lancea
2018-09-17 15:22:46 -07:00
ascarpino
768390a0e3 8209031: SSLSocket should throw an exception when configuring DTLS
Reviewed-by: xuelei
2018-09-17 14:04:46 -07:00
kvn
2241dffd4e 8209574: [AOT] breakpoint events are generated in different threads does not meet expected count
Summary: Disable AOT when debugger is attached.
Reviewed-by: dlong
2018-09-17 13:43:22 -07:00
iignatyev
589a85c707 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
iris
d7232c2a9f 8210775: JVM TI Spec missing copyright
Reviewed-by: dholmes, mchung, sspitsyn
2018-09-17 10:14:31 -07:00
cushon
46a1892074 8210483: AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
Reviewed-by: mcimadamore, vromero
2018-09-10 16:59:41 -07:00
iklam
57247dac22 8210523: runtime/appcds/cacheObject/DifferentHeapSizes.java crash
Reviewed-by: jiangli, ccheung
2018-09-12 17:45:22 -07:00
vromero
6d0131e355 8207160: ClassReader::adjustMethodParams can potentially return null if the args list is empty
Reviewed-by: mcimadamore, cushon
2018-09-12 16:28:06 -07:00
jwilhelm
bd02619ffc Added tag jdk-12+11 for changeset f0f5d23449d3 2018-09-13 01:41:24 +02:00
jlaskey
bc9bcc8e74 8210671: CheckExamples.java fail after Raw String Literals checkin
Reviewed-by: vromero, darcy
2018-09-12 17:14:08 -03:00
amenkov
a31dbcce05 8210560: [TEST] convert com/sun/jdi redefineClass-related tests
Reviewed-by: jcbeyler, sspitsyn
2018-09-12 12:29:40 -07:00
jcbeyler
5233b7a3d5 8210593: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[N-R] tests
Summary: Remove JNI_ENV/JVMTI_ENV macros from N to R jvmti tests
Reviewed-by: amenkov, dholmes
2018-09-12 10:27:03 -07:00
jlaskey
7edddbedad 8200434: String::align, String::indent
Reviewed-by: abuckley, smarks, sherman, rriggs, jrose, sundar, igerasim, briangoetz, darcy, jjg
2018-09-12 14:19:36 -03:00
jlaskey
f309afe1f1 8206981: Compiler support for Raw String Literals
Reviewed-by: mcimadamore, briangoetz, abuckley, jjg, vromero, jlahoda
2018-09-12 14:19:36 -03:00
erikj
5e6df1f839 8210519: build/releaseFile/CheckSource.java failed additional sources found
Reviewed-by: mikael, dholmes, ihse
2018-09-12 08:46:25 -07:00
mhorie
6eef45803a 8208171: PPC64: Enrich SLP support
Reviewed-by: mdoerr, gromero
2018-09-12 14:24:17 +02:00
mdoerr
f33da206d7 8210497: [PPC64] Vector registers not saved across safepoint
Reviewed-by: goetz, lucy
2018-09-12 12:54:16 +02:00
ihse
832f34c16b 8059019: sdp.conf.template should be copied on linux too
Reviewed-by: alanb, erikj
2018-09-12 12:23:58 +02:00
tschatzl
3d97646b9a 8209843: Optimize oop scan closure closures wrt to reference processing in G1
Summary: Set more appropriate reference iteration mode for G1 closures.
Reviewed-by: kbarrett, pliden
2018-09-12 11:08:42 +02:00
adinn
abc305f8f3 8210578: AArch64: Invalid encoding for fmlsvs instruction
Summary: sub_op code for fmslvs should be 1 not 0
Reviewed-by: roland
2018-09-12 09:12:42 +01:00
thartmann
f2683897ba 8210387: C2 compilation fails with "assert(node->_last_del == _last) failed: must have deleted the edge just produced"
Summary: Refresh iterator and start from the beginning while there is progress when removing dead regions.
Reviewed-by: kvn
2018-09-12 09:23:36 +02:00
serb
abc72fd31b 8205537: Drop of sun.applet package
Reviewed-by: prr
2018-09-09 19:07:34 -07:00
prr
f7c72a3285 8210384: SunLayoutEngine.isAAT() font is expensive on MacOS
Reviewed-by: dmarkov, kaddepalli
2018-09-09 11:19:57 -07:00
serb
674fd547ad 8207150: Clip.isRunning() may return true after Clip.stop() was called
Reviewed-by: prr
2018-09-08 12:32:51 -07:00
prr
f0ea85ddc6 Merge 2018-09-05 10:17:02 -07:00
sherman
972c3bde74 8210394: (zipfs) jdk/nio/zipfs/ZFSTests.java rootdir.zip: The process cannot access the file because it is being used by another process
Reviewed-by: alanb, jlaskey
2018-09-05 09:12:50 -07:00
mbaesken
8fb4dec508 8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning
Reviewed-by: shade, simonis
Contributed-by: ralf.schmelter@sap.com
2018-09-05 12:48:51 +02:00
ihse
acf1841d05 8182733: aarch64 build documentation misleading
Reviewed-by: shade, dholmes
2018-09-05 14:00:36 +02:00
psadhukhan
7885e24e01 8202013: JEditorPane shows large HTML unordered list bullets
8201925: JEditorPane unordered list bullets look pixelated
Reviewed-by: prr, pbansal
2018-09-05 15:56:49 +05:30
eosterlund
8e4870c9ba 8210158: Accessorize JFR getEventWriter() intrinsics
Reviewed-by: kvn, neliasso, roland, rbackman
2018-09-05 10:11:42 +02:00
alanb
c2a6355b98 8209152: (so) ServerSocketChannel::supportedOptions includes IP_TOS
Reviewed-by: chegar
2018-09-05 11:52:08 +01:00
glaubitz
f19553860c 8165440: Add Zero support for x86_64-linux-gnux32 target
Reviewed-by: erikj, ihse
2018-09-05 11:15:28 +02:00
pmuthuswamy
ccaab77a9b 8209052: Low contrast in docs/api/constant-values.html
Reviewed-by: jjg
2018-09-05 11:52:15 +05:30
amlu
689ed7054e 8209832: Refactor jdk/internal/reflect/Reflection/GetCallerClassTest.sh to plain java test
Reviewed-by: alanb, mchung
2018-09-05 12:34:08 +08:00
sherman
4c2fd90148 8197398: (zipfs) Files.walkFileTree walk indefinitelly while processing JAR file with "/" as a directory inside.
Reviewed-by: alanb
2018-09-04 17:04:10 -07:00
iignatyev
cd72d0134a 8210039: move OSInfo to top level testlibrary
Reviewed-by: serb, chegar, alanb, dfuchs
2018-09-04 14:35:59 -07:00
ccheung
e2b76e2045 8209736: runtime/RedefineTests/ModifyAnonymous.java fails with NullPointerException when running in CDS mode
Summary: add logging of class names in the allLoadedClasses array; throw RuntimeException upon encountering of a null class.
Reviewed-by: jiangli
2018-09-04 15:00:08 -07:00
jcbeyler
758aff1052 8210192: Hsperf counter ParNew::CMS should be ParNew:CMS
Summary: Rename the counter back to ParNew:CMS and added a test
Reviewed-by: sjohanss, tschatzl
Contributed-by: manc@google.com
2018-09-04 14:17:45 -07:00
jcbeyler
cf8b7b6854 8210182: Remove macros for C compilation from vmTestBase but non jvmti
Summary: Remove the macros and update the code
Reviewed-by: sspitsyn, cjplummer, amenkov
2018-08-31 22:55:34 -07:00
kvn
3207e56e32 8209594: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
Summary: replace short jumps and fix other issues when generated code exceed expected range.
Reviewed-by: dlong, rasbold
2018-09-04 12:44:02 -07:00
dfuchs
059a1f5343 8210366: Typo in MethodHandles.Lookup: must be either be
Reviewed-by: rriggs
2018-09-04 18:32:28 +01:00
alanb
66869dbbf6 8210087: Classes in jdk.unsupported not accessible from jconsole plugin
Reviewed-by: erikj
2018-09-04 18:03:44 +01:00
bpb
afda94cd93 8210279: (bf) Remove unused package private method java.nio.Buffer.truncate()
Reviewed-by: alanb
2018-09-04 09:07:06 -07:00
gromero
00c58afe9d 8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code
Reviewed-by: mbaesken, shade, mdoerr
2018-09-04 11:46:23 -04:00
shade
6cf6c50ed2 8210357: Zero builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:38 +02:00
shade
fe1cd37ae2 8210355: Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:37 +02:00
alanb
c0cc769e88 8210341: (fs) Typos in PosixFileAttributeView javadoc
Reviewed-by: dfuchs
2018-09-04 11:35:35 +01:00
tschatzl
9d7ded48c7 8207200: Committed > max memory usage when getting MemoryUsage
Summary: Make sure that modification of memory usage variables are synchronized with returning them to Java.
Reviewed-by: sangheki, mchung
2018-09-04 12:18:35 +02:00
tschatzl
ef1ee38524 8210265: Crash in HSpaceCounters::update_used()
Summary: Guard call to update HSpaceCounters with flag
Reviewed-by: shade, sjohanss, kbarrett
2018-09-04 12:17:23 +02:00
weijun
6f5cd5e853 8210338: Better output for GenerationTests.java
Reviewed-by: xuelei
2018-09-04 14:47:55 +08:00
stuefe
ca32e4ef8d 8210307: 8210246 broke NMT jtreg tests
Reviewed-by: goetz, iklam
2018-09-04 08:06:31 +02:00
stuefe
52c612a1d4 8210314: [aix] NMT does not show "Safepoint" memory type
Reviewed-by: goetz, mbaesken
2018-09-03 14:27:03 +02:00
bulasevich
583ebdff4f 8209408: Primitive heap access for interpreter BarrierSetAssembler/arm32
Reviewed-by: rkennke
2018-09-03 13:42:58 +03:00
avoitylov
29f5607cb7 8207247: AARCH64: Enable Minimal and Client VM builds
Reviewed-by: aph
2018-09-03 13:39:35 +03:00
lucy
c4a3da275a 8207343: Automate vtable/itable stub size calculation
Reviewed-by: kvn, mdoerr
2018-09-03 09:43:08 +02:00
iklam
0c5c505f7f 8210246: NMTUtil::_memory_type_names should be in sync with MemoryType
Reviewed-by: ccheung, jiangli, coleenp
2018-09-01 12:02:07 -07:00
goetz
7ec02199d1 8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
alans
e79eae2e20 8146310: [macosx] com.apple.eawt.Application.setDefaultMenuBar does not initialize screen menu bar
Reviewed-by: serb
2018-08-31 18:05:38 -07:00
jjg
fbaca07d05 8208608: Update --module-source-path to allow explicit source paths for specific modules
Reviewed-by: jlahoda
2018-08-31 14:54:42 -07:00
kbarrett
102adcd65e 8210235: JvmtiTrace::safe_get_current_thread_name is unsafe in debug builds
Summary: Use Thread::current_or_null and handle NULL result.
Reviewed-by: coleenp
2018-08-31 16:29:49 -04:00
dtitov
d0e9944559 8209585: [Graal] vmTestbase/nsk/jvmti/scenarios/sampling tests fail with "Too small stack of resumed thread"
Reviewed-by: sspitsyn, amenkov, cjplummer, jcbeyler
2018-08-31 11:56:43 -07:00
mcimadamore
732ec3ead3 8210226: Add support for multiple project folders to idea.sh
Summary: Overhaul templating logic for idea.sh; add support for -o option
Reviewed-by: erikj, ihse
2018-08-31 18:01:47 +01:00
amenkov
98de1c332d 8067354: com/sun/jdi/GetLocalVariables4Test.sh failed
Reviewed-by: jcbeyler, sspitsyn
2018-08-31 09:53:37 -07:00
rkennke
10fb5042a7 8210187: Explicit barriers for C2
Reviewed-by: eosterlund, shade, roland, pliden
2018-08-31 16:28:52 +02:00
mikael
d3388ed6ba 8210513: Obsolete SyncFlags
Reviewed-by: coleenp, dcubed, dholmes
2018-09-11 20:37:47 -07:00
igerasim
28141b8e06 8210347: Combine subsequent calls to Set.contains() and Set.add()
Reviewed-by: smarks, bpb
2018-09-11 14:51:45 -07:00
mikael
1ea2bfdf37 8210514: Obsolete SyncVerbose
Reviewed-by: coleenp, dcubed
2018-09-11 13:54:34 -07:00
iklam
42909e4467 8210289: ArchivedKlassSubGraphInfoRecord is incomplete
Reviewed-by: jiangli, ccheung
2018-09-05 18:14:45 -07:00
pchilanomate
506513de1b 8210300: runtime/MemberName/MemberNameLeak.java fails with RuntimeException
Summary: Added flag -XX:+UnlockDiagnosticVMOptions to tests failing in product builds
Reviewed-by: dcubed, dholmes
2018-09-11 13:34:13 -04:00
jcbeyler
e6653ac8b1 8210385: Clean up JNI_ENV_ARG and factorize the macros for vmTestbase/jvmti[A-N] tests
Summary: Remove JNI_ENV and JVMTI_ENV macros for part of the jvmti tests
Reviewed-by: amenkov, dholmes
2018-09-11 10:12:50 -07:00
coleenp
5969d6f39d 8210422: runtime/modules/ModuleStress/ExportModuleStressTest.java - assertion failed: address not aligned: 0x00000008baadbabe
Summary: CLDG_lock caused safepoint in inconsistent state
Reviewed-by: lfoltan, eosterlund, kbarrett
2018-09-11 09:42:27 -04:00
hseigel
ef2896a10f 8210470: Remove unused Verifier::verify() Verifier::Mode argument
Summary: Remove the unused argument.
Reviewed-by: coleenp, jiangli
2018-09-11 09:53:41 -04:00
vtewari
74fb20ef3f 8205330: InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: chegar, dfuchs
2018-09-11 17:48:24 +05:30
tschatzl
1e94b88e54 8210467: Remove unused G1CollectedHeap::_max_heap_capacity
Reviewed-by: sjohanss, phh
2018-09-11 09:14:36 +02:00
tschatzl
4b889dccb5 8210463: Recalculate_used() always sets time taken in G1GCPhaseTimes
Reviewed-by: phh, sjohanss
2018-09-11 09:13:37 +02:00
xyin
e9014d557b 8209773: Refactor shell test javax/naming/module/basic.sh to java
Reviewed-by: vtewari, alanb
2018-09-11 09:27:47 +08:00
weijun
77245142d9 8205507: jdk/javax/xml/crypto/dsig/GenerationTests.java timed out
Reviewed-by: mullan
2018-09-11 08:48:26 +08:00
dlong
797e47e5c0 8210434: [Graal] 8209301 prevents GitHub Graal from compiling with latest JDK
Reviewed-by: dnsimon, kvn
2018-09-10 16:33:05 -07:00
kbarrett
ca250eaa35 8210511: TestSingleWriterSynchronizer can deadlock
Summary: Check for safepoints in test loops.
Reviewed-by: coleenp, eosterlund
2018-09-10 19:18:04 -04:00
dholmes
890773abcc 8210512: [Testbug] vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails with unexpected size of ClassLoaderReference.referringObjects
Summary: Account for the self-reference that every class has in the constant pool
Reviewed-by: sspitsyn, jcbeyler
2018-09-10 18:57:44 -04:00
jiangli
e757f6274c 8210515: [TESTBUG]CheckArchivedModuleApp.java needs to check if EnableJVMCI is set.
Summary: System module objects are not archived when EnableJVMCI is set to true.
Reviewed-by: iklam, ccheung
2018-09-10 18:30:24 -04:00
iignatyev
73d98fc574 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00
coleenp
d9adc226a8 8208697: vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace
Summary: remove timeoutHandler class and let Stresser handle timeout, remove 30 threads filling metaspace, and remove related unused files.
Reviewed-by: lfoltan, mseledtsov
2018-09-10 16:33:55 -04:00
mchung
8e5dac6ea8 8210502: jdeps does not handle properly on analyzing a mixture of MR JARs and non-MR JARs
Reviewed-by: alanb
2018-09-10 12:48:57 -07:00
lucy
6b771a8375 8210319: [s390]: Use of shift operators not covered by cpp standard
Reviewed-by: mdoerr, goetz
2018-09-10 16:40:59 +02:00
amlu
f0063b0b99 8209930: Refactor java/util/zip/ZipFile/deletetempjar.sh to plain java test
Reviewed-by: alanb
2018-09-10 20:17:26 +08:00
eosterlund
f19cbb3f45 8210321: Create NO_KEEPALIVE CLD holder accessor
Reviewed-by: coleenp, kbarrett
2018-09-10 13:07:42 +02:00
eosterlund
3b145dc711 8210233: Prepare Klass::is_loader_alive() for concurrent class unloading
Reviewed-by: coleenp, pliden
2018-09-10 13:07:42 +02:00
eosterlund
655eed1bb4 8210236: Prepare ciReceiverTypeData::translate_receiver_data_from for concurrent class unloading
Reviewed-by: coleenp, roland
2018-09-10 11:24:26 +02:00
ihse
8a83916b41 8056217: Remove awt_makecube.cpp
Reviewed-by: erikj, serb
2018-09-10 10:02:48 +02:00
ihse
891dcfa5a9 8081858: make dist-clean does not delete all log files
Reviewed-by: erikj
2018-09-10 09:59:27 +02:00
ihse
70e4dbad14 8200609: Proper fix for mapfile removal for libjsig
Reviewed-by: erikj, dholmes
2018-09-10 09:58:23 +02:00
erikj
cb4327c616 8210283: Support git as an SCM alternative in the build
Reviewed-by: ihse, ehelin
2018-09-07 14:54:15 -07:00
iignatyev
f6a0e13091 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
jiangli
3e39489a3c 8209971: TestOptionsWithRanges.java crashes in CDS mode with G1UpdateBufferSize=1.
Summary: Fixup archive heap regions before restoring any archived java object at runtime.
Reviewed-by: iklam, ccheung
2018-09-07 15:18:14 -04:00
kbarrett
38574c818c 8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code
Summary: Expanded permitted threads to include all NamedThreads.
Reviewed-by: dcubed, sspitsyn
2018-09-07 14:44:52 -04:00
jcbeyler
8fd8ff2f5c 8210429: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[G-Z] tests
Summary: Remove the JNI_ENV_ARG for the rest of the Get[G-Z]
Reviewed-by: dholmes, sspitsyn, cjplummer
2018-09-07 09:50:02 -07:00
sherman
02e77ca5d5 8210345: The Japanese message of FileNotFoundException garbled
Reviewed-by: alanb
2018-09-07 10:17:49 -07:00
mcimadamore
f69910356a 8210495: compiler crashes because of illegal signature in otherwise legal code
Summary: Disable strict verification of compiler signatures when they do not affect generated bytecode
Reviewed-by: vromero
2018-09-07 15:56:21 +01:00
aleonard
4f62fbcc70 8209786: JDK12 fails to build on s390x with gcc 7.3
Reviewed-by: ihse, goetz
2018-09-07 11:24:59 +02:00
dholmes
13a38fb736 8210486: Unused code in check_nest_attributes function
Reviewed-by: mikael, sspitsyn
2018-09-07 08:14:47 -04:00
mullan
37444dd540 6899533: SecureClassLoader and URLClassLoader have unnecessary check for createClassLoader permission
Summary: Remove code that is no longer necessary now that pre-JDK 1.2 SecurityManager methods are not supported.
Reviewed-by: mchung
2018-09-07 08:02:51 -04:00
roland
ace0d54301 8209544: AES encrypt performance regression in jdk11b11
Reviewed-by: kvn, vlivanov
2018-09-06 16:27:07 +02:00
dlong
135520b3b1 8209361: [AOT] Unexpected number of references for JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected at least 1)
Reviewed-by: coleenp, dholmes
2018-09-06 17:45:15 -07:00
xyin
20ea7ceaf2 8042902: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently
Reviewed-by: chegar
2018-09-07 09:09:31 +08:00
mikael
0ec1c4e2c7 8210381: Obsolete EmitSync
Reviewed-by: kvn, dcubed, mdoerr, mbaesken, shade
2018-09-06 18:06:24 -07:00
jjg
ac5a493d7d 8210009: Source Launcher classloader should support getResource and getResourceAsStream
Reviewed-by: mchung, plevart
2018-09-06 16:15:32 -07:00
igerasim
b24d8cdf4a 8210285: CharsetDecoder/Encoder's constructor does not reject NaN
Reviewed-by: sherman, smarks, alanb, martin, darcy
2018-09-06 12:10:59 -07:00
naoto
9ddd6a4dee 8210142: java.util.Calendar.clone() doesn't respect sharedZone flag
Reviewed-by: rriggs
2018-09-06 10:49:17 -07:00
ccheung
67c8024b95 8185145: AppCDS custom loader support on Mac OS X
Reviewed-by: dholmes, gziemski
2018-09-06 09:30:47 -07:00
vromero
9f1d44f194 8210435: don't add local variable spots if they are DCE'ed by the compiler
Reviewed-by: mcimadamore
2018-09-06 05:44:47 -07:00
mcimadamore
6a515bc4df 8210318: idea.sh script doesn't work on Mac
Summary: remove usage non-portable sed options
Reviewed-by: erikj, ihse
2018-09-06 13:13:35 +01:00
dholmes
adbe3c8fd4 8199874: [TESTBUG] runtime/Thread/ThreadPriorities.java fails with "expected 0 to equal 10"
Reviewed-by: lfoltan, ccheung
2018-09-06 02:01:20 -04:00
rhalade
40559e4c9f 8210432: Add additional TeliaSonera root certificate
Reviewed-by: mullan
2018-09-05 21:06:01 -07:00
xuelei
204ba6b505 8210334: TLS 1.3 server fails if ClientHello doesn't have pre_shared_key and psk_key_exchange_modes
Reviewed-by: ascarpino, wetmore
2018-09-05 21:01:39 -07:00
jcbeyler
34780294aa 8210198: Clean up JNI_ENV_ARG for vmTestbase/jvmti/Get[A-F] tests
Summary: Remove JNI_ENV macros from the Get[A-F] tests
Reviewed-by: sspitsyn, amenkov, cjplummer
2018-09-05 19:40:52 -07:00
jwilhelm
895258b60f Added tag jdk-12+10 for changeset 8f594f75e054 2018-09-06 02:50:04 +02:00
jcbeyler
58088ea1bd 8208352: Merge HeapMonitorTest and HeapMonitorGCTest code
Summary: Merged the code that enables sampling and allocates
Reviewed-by: cjplummer, sspitsyn, amenkov
2018-09-05 11:12:15 -07:00
pchilanomate
157f53cb84 8206424: Use locking for cleaning ProtectionDomainTable
Summary: ServiceThread is now in charge of cleaning ProtectionDomainTable entries
Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
coleenp
106a94d64e 8207793: [TESTBUG] runtime/Metaspace/FragmentMetaspace.java fails: heap needs to be increased
Summary: Reduce test time and allow OOM.
Reviewed-by: iklam, hseigel
2018-08-31 09:10:27 -04:00
coleenp
e65c33b340 8210155: Lock ClassLoaderDataGraph
Summary: In preparation for concurrent class unloading.
Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
hannesw
22e28f7d89 8176453: Javadoc search: there are issues with generics in parameters
Reviewed-by: jjg, sundar
2018-08-31 12:41:00 +02:00
dnsimon
104c95cb20 8210066: [JVMCI] iterateFrames uses wrong GrowableArray API for appending
Reviewed-by: dlong, twisti
2018-08-31 11:43:06 +02:00
ihse
9d18a7deed 6657100: Rename sparcWorks to solstudio in HotSpot
Reviewed-by: erikj, dcubed
2018-08-31 09:37:03 +02:00
mbaesken
8cb5ed4dc8 8210205: build fails on AIX in hotspot cpp tests (for example getstacktr001.cpp)
Reviewed-by: mdoerr, stuefe
2018-08-30 13:12:38 +02:00
jjiang
15660c76e9 8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"
Summary: Refactor this test with SSLSocketTemplate
Reviewed-by: xuelei
2018-08-31 10:32:47 +08:00
mli
5df26f00ee 8208280: java/nio/channels/Selector/RegisterDuringSelect.java fails with "key not removed from key set"
Reviewed-by: alanb
2018-08-31 10:00:22 +08:00
cjplummer
074a172d15 8210118: better jdb test diagnostics when getting "Prompt is not received during ... milliseconds" failures
Summary: print pending reply when prompt is not recieved
Reviewed-by: dholmes, gadams, sspitsyn, jcbeyler
2018-08-30 17:59:40 -07:00
kbarrett
51695368e7 8209975: Some GCThreadLocalData not initialized
Summary: Perform deferred BarrierSet initializations for NonJavaThreads too.
Reviewed-by: eosterlund, pliden
2018-08-30 17:03:46 -04:00
avoitylov
33684eb800 8210164: building Minimal VM fails with error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
Summary: Conditionalize compare with serial_phase_count.
Reviewed-by: kbarrett, shade
2018-08-30 16:33:14 -04:00
kbarrett
e2a430b33d 8210119: Rename SubTasksDone::is_task_claimed
Summary: Renamed to try_claim_task and inverted result.
Reviewed-by: coleenp, sjohanss
2018-08-30 16:16:19 -04:00
bpb
884c0a9613 8207744: Clean up inconsistent use of opendir/closedir versus opendir64/closedir64
Reviewed-by: bsrbnd, mbaesken, bchristi, simonis
2018-08-30 12:39:26 -07:00
amenkov
de5cc853eb 8209604: [TEST] rewrite com/sun/jdi shell tests to java version - step2
Reviewed-by: jcbeyler, sspitsyn, cjplummer
2018-08-30 11:53:49 -07:00
akolarkunnu
25857de206 8209993: Create a test for SwingSet3 ToolTipDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-08-30 03:01:49 -07:00
jcbeyler
f39f980a67 8203356: VM Object Allocation Collector can infinite recurse
Summary: VM Event callback do not provoke a VM alloc event
Reviewed-by: sspitsyn, phh, amenkov, cjplummer
2018-08-30 09:47:12 -07:00
iklam
ea5c861167 8210194: [TESTBUG] jvmti_FollowRefObjects.cpp missing initializer for member _jvmtiHeapCallbacks::heap_reference_callback
Reviewed-by: sspitsyn, iignatyev
2018-08-30 08:01:13 -07:00
hseigel
95232bc384 8210168: JCK test .vm.classfmt.ins.code__002.code__00201m1.code__00201m1 hangs with -noverify
Summary: Check for 'bc_length > 0' to handle lengths of -1.
Reviewed-by: coleenp
2018-08-30 09:08:23 -04:00
lucy
d0c838e1e8 8209950: SIGBUS in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2018-08-30 09:34:10 +02:00
eosterlund
8d8f545eed 8210065: ZGC: Remove mode for treating weaks as strong
Reviewed-by: kbarrett, pliden
2018-08-30 09:25:38 +02:00
mbaesken
181014ed7a 8210147: adjust some WSAGetLastError usages in windows network coding
Reviewed-by: clanger, stuefe
2018-08-29 10:11:51 +02:00
eosterlund
b496d28aba 8210063: ZGC: Enable load barriers for IN_NATIVE runtime barriers
Reviewed-by: pliden
2018-08-30 09:12:07 +02:00
eosterlund
53b689c3a5 8210061: ZGC: Remove STW weak processor mode
Reviewed-by: pliden, kbarrett
2018-08-30 08:59:23 +02:00
ihse
315fdc4de1 8210160: Remove deprecated configure arguments
Reviewed-by: erikj
2018-08-30 08:19:13 +02:00
ihse
d9d229f4d1 8210150: Allow custom-hook.m4 to include files from CUSTOM_CONFIG_DIR
Reviewed-by: erikj
2018-08-30 08:15:10 +02:00
cjplummer
7839b60766 8199811: com/sun/jdi/ProcessAttachTest.java fails intermittently: Remote thread failed for unknown reason
Summary: give attach listener thread a chance to finish starting
Reviewed-by: dholmes, gadams
2018-08-29 20:13:53 -07:00
gadams
c7e02ef1aa 8170089: nsk/jdi/EventSet/resume/resume008: ERROR: suspendCounts don't match for : Common-Cleaner
Reviewed-by: cjplummer, sspitsyn
2018-08-28 08:06:59 -04:00
ljiang
abd9393212 8210153: localized currency symbol of VES
Reviewed-by: naoto
2018-08-29 19:14:08 -07:00
jwilhelm
a5d2737e59 Added tag jdk-12+9 for changeset 31b159f30fb2 2018-08-30 03:49:23 +02:00
mikael
ead16a3fee 8210167: ProblemList vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java
Reviewed-by: coleenp
2018-08-29 13:50:55 -07:00
mikael
b6ab63c7d4 8209856: Obsolete error reporter
Reviewed-by: coleenp, stuefe
2018-08-29 13:04:50 -07:00
rkennke
accf08ce49 8180193: Make marking bitmap code available to other GCs
Reviewed-by: shade, stefank
2018-08-29 20:15:09 +02:00
jwilhelm
1728c9d086 Merge 2018-08-29 19:48:28 +02:00
apetcher
4039aed93b 8201317: X25519/X448 code improvements
Summary: Minor code/comment improvements
Reviewed-by: xuelei
2018-08-29 12:00:47 -04:00
ghaug
ca5701d046 8209996: [PPC64] Fix JFR profiling
Reviewed-by: mdoerr, simonis
2018-08-28 14:55:06 +02:00
pchilanomate
4a65b98032 8209844: MemberNameLeak.java fails when ResolvedMethod entry is not removed
Summary: Fixed MemberNameLeak.java due to intermittent failure after 8206423
Reviewed-by: coleenp, lfoltan
2018-08-29 10:46:59 -04:00
prr
79bb8b15fd Merge 2018-08-27 10:54:58 -07:00
alitvinov
42d995f470 8201818: [macosx] Printing attributes break page size set via "java.awt.print.Book" object
Reviewed-by: prr, psadhukhan
2018-08-27 18:29:07 +01:00
akolarkunnu
f43e1dc896 8209789: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-08-27 03:46:44 -07:00
xuelei
43e0494ed0 8209965: The "supported_groups" extension in ServerHellos
Reviewed-by: ascarpino
2018-08-27 09:46:24 -07:00
weijun
cab5448198 8209995: java.base does not need to export sun.security.ssl to java.security.jgss
Reviewed-by: xuelei, alanb
2018-08-27 23:14:17 +08:00
dfuchs
dcceb9c7b9 8209987: Minor cleanup in Level.java
Reviewed-by: dfuchs
Contributed-by: Bernd Eckenfels <ecki@zusammenkunft.net>
2018-08-27 12:33:03 +01:00
jgeorge
5ae11ff930 8204308: SA: serviceability/sa/TestInstanceKlassSize*.java fails when running in CDS mode
Summary: Use longs instead of ints while computing the identity hash of klass symbols
Reviewed-by: coleenp, lfoltan
2018-08-27 10:25:13 +05:30
coleenp
b6455d6161 8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
Summary: And also added function with KlassClosure to remove the hacks.
Reviewed-by: lfoltan, sspitsyn
2018-08-25 11:10:21 -04:00
smarks
5b9487343c 7033681: Arrays.asList methods needs better documentation
Reviewed-by: smarks
Contributed-by: Jaikiran Pai <jaikiran.pai@gmail.com>
2018-08-25 20:16:43 +05:30
shade
4f2b7a165d 8209911: More blob types in hs_err printout
Reviewed-by: simonis, kvn
2018-08-25 14:23:21 +02:00
igerasim
f084e0aae0 6474858: CardChannel.transmit(CommandAPDU) throws unexpected ArrayIndexOutOfBoundsException
Reviewed-by: valeriep
2018-08-24 18:56:41 -07:00
serb
bf23f66727 8039082: [TEST_BUG] Test java/awt/dnd/BadSerializationTest/BadSerializationTest.java fails
Reviewed-by: prr
2018-08-24 16:29:04 -07:00
serb
1584c1b3bd 8209340: The code which avoids synthetic accessors has become outdated
Reviewed-by: psadhukhan, kaddepalli
2018-08-23 23:12:16 -07:00
iklam
c666a6d216 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Summary: Move different execution modes to IncompatibleOptions_stringDedup.java and IncompatibleOptions_noCompactStrings.java
Reviewed-by: jiangli, coleenp
2018-08-23 21:16:45 -07:00
vromero
7ed346baa9 8209173: javac fails with completion exception while reporting an error
Reviewed-by: mcimadamore
2018-08-24 13:30:56 -07:00
mikael
34a438e0d5 8209915: Fix license headers
Reviewed-by: kvn, pliden
2018-08-24 13:23:39 -07:00
zgu
3704848371 8209841: [REDO] Refactor G1ParallelCleaningTask into shared
Summary: Refactored ParallelCleaningTask to share with other GCs
Reviewed-by: tschatzl, shade
2018-08-24 15:49:21 -04:00
jiangli
40cc4504a0 8208061: runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode.
Summary: Allow resizing for all system dictionaries except for the shared dictionary at runtime.
Reviewed-by: iklam, gziemski
2018-08-24 15:33:28 -04:00
dlong
c2c2231cf3 8209825: guarantee(false) failed: wrong number of expression stack elements during deopt
Reviewed-by: kvn, thartmann
2018-08-24 11:56:14 -07:00
bpb
4778dbcffd 8200659: Improve BigDecimal support
Reviewed-by: darcy, rhalade, mschoene
2018-08-22 15:55:04 -07:00
weijun
e55c4f7340 8210610: Improved LSA authentication
Reviewed-by: valeriep, mschoene, rhalade
2018-09-29 10:08:42 +08:00
serb
dcb32600cb 8210598: Strengthen Windows Access Bridge Support
Reviewed-by: prr, psadhukhan, rhalade, mschoene
2018-09-27 12:54:50 -07:00
bpb
5fcf5fdc98 8206290: Better FileChannel transfer performance
Reviewed-by: alanb, rhalade, mschoene
2018-09-25 16:49:51 -07:00
coleenp
18a64fe351 8210624: Clean up better loading tests
Reviewed-by: hseigel, jwilhelm
2018-09-12 08:26:31 -04:00
coleenp
a40e67a7f3 8210094: Better loading of classloader classes
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-10 16:49:01 -04:00
sdama
3bc1656983 8203688: [testbug] Nashorn test test/nashorn/script/nosecurity/treeapi/diagnostic.js fails
Summary: Updating the expected output for diagnostic.js to its correct value
Reviewed-by: jlaskey, sundar
Contributed-by: thejasvi.v.voniadka@oracle.com
2018-08-28 13:22:57 +05:30
roland
c235af3e87 8209691: Allow MemBar on single memory slice
Reviewed-by: kvn, vlivanov
2018-08-22 10:29:17 +02:00
mcimadamore
bce221937a 8209064: Make intellij support more robust after changes for 2018.2
Summary: Do not treat build.xml wrapper as a template file
Reviewed-by: erikj, ihse
2018-08-29 11:25:51 +01:00
vtewari
e2f40b9b7b 8176553: LdapContext follows referrals infinitely ignoring set limit
Reviewed-by: chegar
Contributed-by: jkalina@redhat.com
2018-08-29 14:10:19 +05:30
jlahoda
e47b7d1d23 8206986: Compiler support for Switch Expressions (Preview)
8207405: Compiler Tree API support for Switch Expressions (Preview)
Summary: Support for switch expression, switch with rules and multiple constants for cases.
Reviewed-by: jjg, mcimadamore, vromero
2018-08-29 09:36:17 +02:00
mbaesken
fc118b324d 8209994: windows: Java_java_net_NetworkInterface_getAll misses releasing interface-list
Reviewed-by: bpb, chegar, simonis
2018-08-28 09:01:54 +02:00
ljiang
c35d3bf400 8208746: ISO 4217 Amendment #168 update
8209775: ISO 4217 Amendment #169 update
Reviewed-by: naoto
2018-08-28 20:05:41 -07:00
pliden
3eec6e89ea 8210045: Allow using a subset of worker threads even when UseDynamicNumberOfGCThreads is not set
Reviewed-by: eosterlund, kbarrett
2018-08-29 08:00:00 +02:00
jcbeyler
2daaffcff6 8210035: Fix copyrights for files created for the HeapMonitor work
Summary: Added the Oracle copyright to newly created files
Reviewed-by: sspitsyn, cjplummer
2018-08-28 21:25:37 -07:00
iklam
25c601014f 8210040: TestOptionsWithRanges.java is very slow
Summary: Added -Xmx1024m -XX:-ZapUnusedHeapArea; split into 10 smaller tests
Reviewed-by: kvn, coleenp
2018-08-28 16:01:12 -07:00
iklam
bee15e80fa 8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap
Summary: Removed the assert
Reviewed-by: ccheung, jiangli
2018-08-28 16:01:01 -07:00
ccheung
47d763201c 8209743: [TESTBUG] java/lang/management/MemoryMXBean/LowMemoryTest2.sh fails with OutOfMemoryError running in CDS mode
Summary: increase the MaxMetaspaceSize from 16m to 32m
Reviewed-by: jiangli, iklam, mchung
2018-08-28 16:18:58 -07:00
coleenp
60683f65ba Merge 2018-08-28 18:31:14 -04:00
twisti
f04dbf14d9 8210008: custom extension for make/SourceRevision.gmk
Reviewed-by: erikj
2018-08-28 15:17:52 -07:00
coleenp
1ad69b128b 8209958: Clean up duplicate basic array type statics in Universe
Reviewed-by: lfoltan, zgu
2018-08-28 18:17:01 -04:00
coleenp
febce478e8 8210088: ProblemList gc/epsilon/TestMemoryMXBeans.java
Reviewed-by: kbarrett, jiangli
2018-08-28 18:03:33 -04:00
iignatyev
edcaf4cec2 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07:00
iignatyev
9447fb25bb 8210108: sun/tools/jstatd test build failures after JDK-8210022
Reviewed-by: cjplummer, jcbeyler, mikael
2018-08-28 14:33:18 -07:00
gadams
56939a869a 8019927: [TESTBUG] nsk/jvmti/GetThreadInfo/thrinfo001 intermittently fails with 'invalid thread group' when running with JFR
Reviewed-by: amenkov, cjplummer, sspitsyn
2018-08-28 07:30:36 -04:00
kbarrett
fe27b1d30b 8209976: Improve iteration over non-JavaThreads
Summary: Add NonJavaThread and move NamedThread iteration to new class.
Reviewed-by: eosterlund, coleenp, rkennke
2018-08-28 16:04:54 -04:00
jiangli
19987382f1 8209534: [TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI.
Summary: Use TestCommon.execOff().
Reviewed-by: ccheung
2018-08-28 14:45:34 -04:00
kbarrett
18d3538334 8072498: Multi-thread JNI weak reference processing
Summary: Add parallel processing support to WeakProcessor.
Reviewed-by: tschatzl, sjohanss
2018-08-28 12:57:40 -04:00
jcbeyler
6f53a4f8a3 8201224: Make string buffer size dynamic in mlvmJvmtiUtils.c
Summary: Calculate the string size for the buffer first
Reviewed-by: amenkov, sspitsyn, iklam
2018-08-22 09:33:18 -07:00
goetz
bcfc5d5790 8209939: [testbug][ppc] Test SafepointPollingPages fails after 8208499 with UseSIGTRAP on.
Reviewed-by: mdoerr, ghaug
2018-08-28 17:03:16 +02:00
hseigel
63a9c4554e 8202578: Revisit location for class unload events
Summary: Use notify_unload_class() to post JFR class unload events instead of doing a separate traversal of the class loader data graph
Reviewed-by: lfoltan, coleenp, mgronlun, egahlin
2018-08-28 10:10:11 -04:00
pliden
a694e2a804 8209894: ZGC: Cap number of GC workers based on heap size
Reviewed-by: ehelin, tschatzl
2018-08-28 09:06:23 +02:00
iignatyev
4bc5a9ae3f 8210022: remove jdk.testlibrary.ProcessThread, TestThread and XRun
Reviewed-by: sspitsyn, jcbeyler
2018-08-27 21:50:52 -07:00
iignatyev
9752e03155 8186548: move jdk.testlibrary.JcmdBase closer to tests
Reviewed-by: cjplummer, amenkov
2018-08-27 17:01:15 -07:00
amenkov
96c9542700 8203393: com/sun/jdi/JdbMethodExitTest.sh and JdbExprTest.sh fail due to timeout
Reviewed-by: sspitsyn, cjplummer
2018-08-27 16:45:18 -07:00
akolarkunnu
bc7363f177 8209494: Create a test for SwingSet InternalFrameDemo
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com
2018-08-27 03:48:41 -07:00
zgu
3c7b06b20a 8209852: Counters in StringCleaningTask should be type of size_t
Summary: Converted counters to size_t type to avoid casting
Reviewed-by: coleenp
2018-08-27 17:20:29 -04:00
lmesnik
6f04656927 8209920: runtime/logging/RedefineClasses.java fail with OOME with ZGC
Reviewed-by: pliden
2018-08-27 12:45:31 -07:00
serb
52ac19e4fa 8203955: Improve robot support
Reviewed-by: prr, psadhukhan, rhalade, skoivu
2018-08-21 13:57:18 -07:00
roland
12db52e5ec 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-08-17 17:13:12 +02:00
gziemski
aeaedd53b8 8209622: applications/kitchensink/Kitchensink.java failed with Kitchensink failed with exit code = 138
Summary: SymbolTableLock no longer checks for safepoints
Reviewed-by: coleenp, rehn
2018-08-24 09:12:51 -05:00
ghaug
4e9316232b 8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
Reviewed-by: kvn, phh, lucy
2018-08-20 12:08:07 +02:00
gdub
c233aefa34 8209136: [JVMCI] Make sure volatile fields are read as volatile during constant reflection.
Reviewed-by: kvn
2018-08-17 12:19:52 +02:00
vromero
141f635fea 8211148: var in implicit lambdas shouldn't be accepted for source < 11
Reviewed-by: mcimadamore
2018-10-04 08:37:08 -07:00
mchung
58ad78c0ad 8181443: Replace usages of jdk.internal.misc.Unsafe with MethodHandles.Lookup.defineClass
Reviewed-by: alanb, egahlin
2018-10-04 08:45:21 -07:00
mdoerr
cb51437463 8210754: print_location is not reliable enough (printing register info)
Reviewed-by: stuefe, coleenp
2018-10-04 16:39:07 +02:00
rehn
1f2c519e5a 8210303: VM_HandshakeAllThreads fails assert with "failed: blocked and not walkable"
Reviewed-by: dcubed, dholmes
2018-10-04 14:03:13 +02:00
nishjain
e8846608ee 8166138: DateTimeFormatter.ISO_INSTANT should handle offsets
Reviewed-by: rriggs, scolebourne, naoto
Contributed-by: pallavi.sonal@oracle.com
2018-10-04 17:25:51 +05:30
jwilhelm
a09b924bb3 Added tag jdk-12+14 for changeset 6f04692c7d51 2018-10-04 10:35:59 +02:00
dmarkov
c1c418b7cb 8205479: OS X: requestFocus() does not work properly for embedded frame
Reviewed-by: serb, aivanov
2018-08-17 09:31:13 +01:00
dmarkov
b7034683e8 8130655: OS X: keyboard input in textfield is not possible if the window contained textfield is owned by EmbeddedFrame
Reviewed-by: serb, aivanov
2018-08-16 19:20:20 +01:00
serb
a803e4e50e 8204895: Better icon support
Reviewed-by: prr, mschoene, aghaisas, rhalade
2018-08-16 10:22:25 -07:00
psadhukhan
43cc84e55f 8202702: Clearing selection on JTable causes disappearance of a row
Reviewed-by: serb
2018-08-16 11:15:22 +05:30
jnimeh
9d4810e957 8206295: More reliable p11 transactions
Reviewed-by: valeriep, mschoene, rhalade
2018-08-15 09:36:32 -07:00
prr
cef26bcf5f Merge 2018-08-14 12:11:28 -07:00
kbarrett
9f45d807b4 8209347: SATBMarkQueue.cpp should not need jvm.h
Summary: Use os::snprintf instead of jio_snprintf.
Reviewed-by: shade, tschatzl
2018-08-14 14:58:14 -04:00
amenkov
ee0a1f4dc8 8209109: [TEST] rewrite com/sun/jdi shell tests to java version - step1
Reviewed-by: sspitsyn, jcbeyler
2018-08-14 11:56:32 -07:00
kbarrett
523f795372 8209346: Refactor SATBMarkQueue filter configuration
Summary: Moved reference to G1-specific option to G1CollectedHeap.
Reviewed-by: shade, rkennke
2018-08-14 13:16:26 -04:00
rhalade
da7da439b5 8209452: VerifyCACerts.java failed with "At least one cacert test failed"
Summary: Allow test to pass even if cert in EXPIRY_EXC_ENTRIES expires
Reviewed-by: mullan
2018-08-14 10:08:21 -07:00
akolarkunnu
7cbd146fe2 8209418: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb
Contributed-by: abdul.kolarkunnu@oracle.com, alexandre.iline@oracle.com
2018-08-13 21:57:17 -07:00
weijun
9fb6f6af28 8209416: Refactoring GetPropertyAction calls in security libs
Reviewed-by: xuelei, rriggs
2018-08-14 22:39:34 +08:00
lucy
ee6b7caa1b 8209433: [s390] Fix build, broken by 8208672 (Enable -Wreorder)
Reviewed-by: tschatzl, shade
2018-08-14 14:28:23 +02:00
jcbeyler
af750c626a 8061467: Add UseLargePages to TestNUMAPageSize
Summary: Add flag to test for all architectures to be tested
Reviewed-by: phh, pliden, tschatzl
2018-08-13 09:19:21 -07:00
pliden
c09bb792ff 8209376: ZGC: Move ZMarkStackAllocator into a separate file
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:43 +02:00
pliden
1d3054107f 8209375: ZGC: Use dynamic base address for mark stack space
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:42 +02:00
kbarrett
e4b8838dd4 8209345: Merge SATBMarkQueueFilter into SATBMarkQueueSet
Summary: Move filter extension protocol to SATBMarkQueueSet.
Reviewed-by: shade, tschatzl, rkennke
2018-08-14 00:15:56 -04:00
xiaofeya
456acbec2b 8194230: jdk/internal/jrtfs/remote/RemoteRuntimeImageTest.java fails with java.lang.NullPointerException
Reviewed-by: mchung
2018-08-14 10:42:00 +08:00
iignatyev
2366172c6d 8209382: [error-prone] HashtableContains in sun/rmi/server/ActivationGroupImpl.java
Reviewed-by: rriggs
2018-08-13 17:39:27 -07:00
kbarrett
efc714f121 8209396: Make PtrQueueSets not statically allocated
Summary: Change the G1BarrierSet PtrQueueSet static members to ordinary members.
Reviewed-by: shade, tschatzl, rkennke
2018-08-13 18:21:26 -04:00
kvn
0af2affb48 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
redestad
63dfacd135 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
iignatyev
93f630248f 8209386: [error-prone] StreamResourceLeak in jdk.internal.ed module
Reviewed-by: rriggs
2018-08-10 13:36:10 -07:00
dlong
8615986be0 8187078: -XX:+VerifyOops finds numerous problems when running JPRT
Reviewed-by: kvn
2018-09-05 13:10:40 -07:00
amenkov
d3914f6ec7 8210243: [TEST] rewrite com/sun/jdi shell tests to java version - step3
Reviewed-by: jcbeyler, cjplummer, sspitsyn
2018-09-05 10:39:16 -07:00
jcbeyler
4e0b2ec870 8208186: SetHeapSamplingInterval handles 1 explicitly
Summary: Explicitly test for the 0 case (sample everything)
Reviewed-by: amenkov, sspitsyn
2018-09-05 10:17:11 -07:00
chegar
e5f2a495b5 8199156: Better route routing
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 15:02:30 +01:00
chegar
309b55d42a 8199166: Better interface lists
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:35:44 +01:00
dholmes
3b37db6cc3 8205714: Initial class initialization
Summary: ensure class is fully initialized before caching a resolved invokestatic, or patching the callsite
Reviewed-by: acorn, coleenp, kvn, vlivanov
2018-08-12 18:05:16 -04:00
mbaesken
3faea1dc09 8209115: adjust libsplashscreen linux ppc64le builds for easier libpng update
Reviewed-by: prr, dholmes
2018-08-10 09:16:10 +02:00
epavlova
d65d29cd12 8199486: [Graal] gc/g1/ihop/TestIHOPStatic.java fails by timeout with -Xcomp
Reviewed-by: kvn
2018-08-13 04:02:51 -07:00
tschatzl
e4ddd84474 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
Summary: For initial TLAB sizing, increase the number of expected refills to 2.
Reviewed-by: phh, sangheki
2018-08-13 12:24:25 +02:00
tschatzl
3e7ec28288 8205633: TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently
Summary: Exclude maximum range value from testing.
Reviewed-by: sangheki, kbarrett
2018-08-13 12:24:25 +02:00
tschatzl
afde3a5db0 8209193: Fix aarch64-linux compilation after -Wreorder changes
Reviewed-by: shade, drwhite
2018-08-13 12:24:25 +02:00
ghaug
79878fe362 8209357: [PPC64] Fix build which was broken by 8208672 (Enable -Wreorder)
Reviewed-by: mbaesken, tschatzl
2018-08-13 12:24:25 +02:00
avoitylov
92ebef2ed8 8209380: ARM: cleanup maybe-uninitialized and reorder compiler warnings
Reviewed-by: dholmes, drwhite, tschatzl
2018-08-13 12:24:25 +02:00
shade
571bcbd947 8209378: Fix Minimal VM after JDK-8208677
Reviewed-by: coleenp, shade
Contributed-by: Aleksei Voitylov <aleksei.voitylov@bell-sw.com>
2018-08-13 10:28:01 +02:00
coleenp
aeca66363a 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
Summary: InstanceKlass::implementors() needs the Compile_lock
Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
coleenp
f8288a1bc7 8209384: ProblemList stressHierarchy metaspace tests
Summary: These try to trigger GC by filling metaspace which seems to be not working.
Reviewed-by: jiangli
2018-08-10 22:38:18 -04:00
bchristi
3d5975d9b2 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
coleenp
b371e76c63 8164683: Solaris: JVM abuses thread preemption control
Summary: Complete removal of preemption control and command line arguments (were deprecated in 11).
Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
hseigel
90a5046d04 8207778: Add locking to ModuleEntry and PackageEntry tables
Summary: Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()
Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04:00
bulasevich
dd57e6d6b6 8206895: aarch64: rework error-prone cmp instuction
Reviewed-by: aph
2018-08-10 14:22:49 +03:00
weijun
06156881fb 8201290: keytool importcert fails with CertificateParsingException if unknown certificate algorithms should be imported
Reviewed-by: mullan, xuelei
2018-08-10 17:07:44 +08:00
psadhukhan
ea35bb7fb0 8209343: Test javax/swing/border/TestTitledBorderLeak.java should be marked as headful
Reviewed-by: jdv
2018-08-10 12:36:21 +05:30
xyin
82030d1180 8208483: Add 5 JNDI tests to com/sun/jndi/dns/FactoryTests/
Reviewed-by: vtewari, rriggs
2018-08-10 13:07:21 +08:00
jiangli
a7337ce33b 8207263: Store the Configuration for system modules into CDS archive.
Summary: Archive boot layer Configuration.
Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
ccheung
06926c7ba9 8208705: [TESTBUG] The -Xlog:cds,cds+hashtables vm option is not always required for appcds tests
Summary: only include the CDS logging option in the tests which require it
Reviewed-by: mseledtsov, jiangli, iklam
2018-08-09 15:52:23 -07:00
redestad
89fe0b4fba 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2018-08-10 00:20:15 +02:00
rkennke
5f806d3e90 8209118: Abstract SATBMarkQueueSet's ThreadLocalData access
Reviewed-by: kbarrett, shade
2018-08-09 22:51:48 +02:00
epavlova
c0f87f3a53 8205078: [Graal] org.graalvm.compiler.core.test.VerifyDebugUsageTest fails with "Expected exception: VerificationError"
Reviewed-by: kvn, dnsimon
2018-08-09 11:39:18 -07:00
mikael
d492d341b2 Merge 2018-08-09 10:08:07 -07:00
psadhukhan
14dcbfc097 8204963: javax.swing.border.TitledBorder has a memory leak
Reviewed-by: serb, kaddepalli
2018-08-09 11:01:59 +05:30
serb
21bb24e6ac 8208996: X11 icon window color handing bug
Reviewed-by: serb
Contributed-by: takiguc@linux.vnet.ibm.com
2018-08-08 18:31:24 -07:00
weijun
48a92a2b31 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-08 08:05:43 +08:00
prr
e901d27e94 Merge 2018-08-03 12:52:58 -07:00
bpb
742b0e9cfc 8186766: UnixNativeDispatcher::readlink() may truncate overlong paths
Reviewed-by: alanb
2018-08-03 12:45:18 -07:00
prr
9b62623f56 Merge 2018-08-03 09:42:57 -07:00
coffeys
39e3b1048c 8208583: Better management of internal KeyStore buffers
Reviewed-by: weijun
2018-08-03 14:14:59 +01:00
zgu
180f99aee3 8205921: Optimizing best-of-2 work stealing queue selection
Summary: Bias towards stealing from queues that we recently successfully stole from to decrease the number of unsuccessful steal attempts.
Reviewed-by: eosterlund, kbarrett
Contributed-by: Zhengyu Gu <zgu@redhat.com>, Thomas Schatzl <thomas.schatzl@oracle.com>
2018-08-03 11:06:10 +02:00
coffeys
e331d89c6a 8207775: Better management of CipherCore buffers
Reviewed-by: ascarpino
2018-08-03 09:57:10 +01:00
dcubed
0c3d4097eb 8208706: compiler/tiered/ConstantGettersTransitionsTest.java fails to compile
Reviewed-by: dholmes
2018-08-02 22:14:54 -04:00
iignatyev
c2c8f98f69 8208701: Fix for JDK-8208655 causes test failures in CI tier1
Reviewed-by: dholmes, dcubed
2018-08-02 16:16:02 -07:00
iignatyev
d36481314d 8208699: remove unneeded imports from runtime tests
Reviewed-by: iklam
2018-08-02 16:15:48 -07:00
iignatyev
fec744152b 8208655: use JTreg skipped status in hotspot tests
Reviewed-by: kvn, hseigel, iklam
2018-08-02 14:40:55 -07:00
prr
90226536b6 Added tag jdk-12+5 for changeset f8696e0ab9b7 2018-08-02 09:27:40 -07:00
zgu
e8a7daebad 8208635: Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)
Summary: Added missing header file
Reviewed-by: shade, gziemski
2018-08-02 11:13:00 -04:00
psadhukhan
458d900d8c 8203904: javax/swing/JSplitPane/4816114/bug4816114.java: The divider location is wrong
Reviewed-by: serb, kaddepalli
2018-08-01 11:02:19 +05:30
jcbeyler
dfbf64a7ea 8208249: TriggerUnloadingByFillingMetaspace generates garbage class names
Summary: Put a ThreadLocal around the object to be thread safe
Reviewed-by: tschatzl, iignatyev
2018-07-31 10:16:56 -07:00
jcbeyler
3e588c0d88 8169004: Fix redundant @requires tags in tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 12:24:47 -07:00
jcbeyler
dce9b0248a 8069343: Improve gc/g1/TestHumongousCodeCacheRoots.java to use jtreg @requires
Summary: Remove client test entirely and clean up test
Reviewed-by: tschatzl, iignatyev
2018-08-01 09:23:24 -07:00
jcbeyler
dc0b6b602e 8208246: flags duplications in vmTestbase_vm_g1classunloading tests
Summary: Remove duplicate flags for the classunloading tests
Reviewed-by: tschatzl, iignatyev
2018-07-31 10:20:10 -07:00
iignatyev
aa59db17b4 8208647: switch jtreg to 4.2b13
Reviewed-by: kvn, dholmes, ihse
2018-08-01 23:06:33 -07:00
mseledtsov
8f4a217ba4 8185531: [TESTBUG] Improve test configuration for shared strings
Summary: Added extra test configurations to the tests
Reviewed-by: iklam, gziemski
2018-08-01 19:07:27 -07:00
kbarrett
444249c2af 8208611: Refactor SATBMarkQueue filtering to allow GC-specific filters
Summary: Add SATBMarkQueueFilter.
Reviewed-by: tschatzl, eosterlund, rkennke
2018-08-01 19:14:04 -04:00
iignatyev
0dff8666aa 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2018-08-01 10:04:08 -07:00
naoto
9ed92ffc85 8208080: Locale extensions via Service provider is not working for region extensions
Reviewed-by: rriggs, nishjain
2018-08-01 09:33:56 -07:00
nishjain
e951b0fa2f 8208560: ChoiceFormat class has unused constants needs cleanup
Reviewed-by: rriggs, naoto
2018-08-01 18:02:25 +05:30
pmuthuswamy
2ab6ea013e 8208484: color contrast issues in a couple of spec files
Reviewed-by: jjg, ihse
2018-08-01 12:36:02 +05:30
dbuck
df30a0375a 8191006: hsdis disassembler plugin does not compile with binutils 2.29+
Summary: update call to disassembler() function to match new signature used by Binutils
Reviewed-by: gromero, kvn
2018-08-01 02:21:02 -04:00
weijun
a50cca42a4 8208602: Cannot read PEM X.509 cert if there is whitespace after the header or footer
Reviewed-by: xuelei
2018-08-01 13:35:08 +08:00
dbuck
2aed50f6f0 8208541: non-ASCII characters in hsdis UPL text
Summary: replace Unicode left/right double quote pair with normal ASCII double quotes
Reviewed-by: jrose
2018-08-01 01:40:44 -04:00
dcubed
3e0db2de30 8208605: Fix for 8199868 breaks tier1 build
Summary: Move variable declarations to make studio compiler happy.
Reviewed-by: kbarrett
2018-07-31 17:07:43 -04:00
coleenp
a06c6eba64 8208074: [TESTBUG] vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java failed with NullPointerException
Summary: fixed refactoring caused by JDK-8203820
Reviewed-by: dholmes, sspitsyn, cjplummer
2018-07-31 15:57:52 -04:00
hseigel
4929bb870a 8202171: Some oopDesc functions compare this with NULL
Summary: Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.
Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
zgu
2a80240e41 8199868: Support JNI critical functions in object pinning API
Summary: Pin/unpin incoming array arguments of critical native JNI call
Reviewed-by: shade, adinn
2018-07-31 13:12:06 -04:00
mcimadamore
e4fa3ef2f0 8208524: IntelliJ support broken since 2018.2
Summary: Move build.xml out of .idea folder
Reviewed-by: stuefe
2018-07-31 16:49:51 +01:00
hseigel
831e2328bd 8208399: Metadata methods print_(value_)on_maybe_null() compare 'this' to NULL
Summary: Add Method* parameter and make method static to avoid 'this' comparison with NULL
Reviewed-by: lfoltan, gziemski, coleenp
2018-07-31 09:55:09 -04:00
zgu
756d009e52 8208499: NMT: Missing memory tag for Safepoint polling page
Summary: Added missing memory tag and cleanup memory type enum
Reviewed-by: shade, coleenp
2018-07-31 07:35:16 -04:00
psadhukhan
1d9f695b24 8205360: Choose printer defaults
Reviewed-by: prr, mschoene, rhalade
2018-07-31 11:43:24 +05:30
hseigel
df3fbdd422 8207779: Method::is_valid_method() compares 'this' with NULL
Summary: Add Method* parameter and make method static to avoid 'thi's comparison with NULL
Reviewed-by: lfoltan, coleenp
2018-07-30 16:35:54 -04:00
mvala
1dcc752361 8208084: Windows build failure - "'snprintf': identifier not found"
Reviewed-by: kbarrett, coleenp
2018-07-30 14:08:30 -04:00
dcubed
692ea7079f 8208521: ProblemList more tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-30 14:22:36 -04:00
apetcher
7d3bdb3b0a 8208209: Improve TLS connection stability again
Reviewed-by: xuelei
2018-07-30 13:53:30 -04:00
pmuthuswamy
ab9d3060dd 8203791: Remove "compatibility" features from Table.java
Reviewed-by: jjg
2018-07-30 11:52:05 +05:30
xyin
3ea467d936 8208363: test/jdk/java/lang/Package/PackageFromManifest.java missing module dependencies declaration
Reviewed-by: lancea, mchung
2018-07-30 09:06:14 +08:00
dcubed
7cc342de21 8171157: Convert ObjectMonitor_test to GTest
Summary: Migration of the ObjectMonitor test to GTest. Two GTests were actually created, one for ObjectMonitor and one for ObjectSynchronizer.
Reviewed-by: dcubed, hseigel
Contributed-by: patricio.chilano.mateo@oracle.com
2018-07-27 16:29:36 -04:00
nishjain
6a154d3b61 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
tschatzl
1da94418b4 8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
2018-07-27 09:49:03 +02:00
dtitov
889d0f990d 8207364: nsk/jvmti/ResourceExhausted/resexhausted003 fails to start
Reviewed-by: sspitsyn, cjplummer
2018-07-26 16:22:58 -07:00
jcbeyler
4d94cb8718 8208251: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCCMSTest.java fails intermittently on Linux-X64
Summary: Lower the interval rate and check GC objects too
Reviewed-by: dcubed, sspitsyn
Contributed-by: jcbeyler@google.com
2018-07-26 11:53:59 -07:00
amenkov
2d4131868c 8199155: Accessibility issues in jdk.jdi
Reviewed-by: dtitov, sspitsyn
2018-07-26 11:31:15 -07:00
dcubed
87985deee4 8208305: ProblemList compiler/jvmci/compilerToVM/GetFlagValueTest.java
Reviewed-by: hseigel, kvn
2018-07-26 13:08:42 -04:00
prr
eba10622fe Merge 2018-07-26 10:00:40 -07:00
prr
935c02292e Added tag jdk-12+4 for changeset 499b873761d8 2018-07-26 09:30:58 -07:00
ysuenaga
2a42fe40cf 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2018-07-27 00:54:39 +09:00
dbuck
9088ff5d60 8208183: update HSDIS plugin license to UPL
Reviewed-by: simonis, adinn, jrose
2018-07-26 10:56:58 -04:00
jjg
0930ac4df8 8208227: tools/jdeps/DotFileTest.java fails on Win-X64
Reviewed-by: darcy
2018-07-25 17:26:35 -07:00
darcy
683b1de718 8208200: Add missing periods to sentences in RoundEnvironment specs
Reviewed-by: jjg
2018-07-25 17:22:26 -07:00
dcubed
3b0e2b5c2c 8208226: ProblemList com/sun/jdi/BasicJDWPConnectionTest.java
Reviewed-by: sspitsyn
2018-07-25 17:22:25 -04:00
darcy
5033c8f49d 8208201: Update SourceVersion.RELEASE_11 docs to mention var for lambda param
Reviewed-by: jjg
2018-07-25 12:54:58 -07:00
rkennke
bdef9cae67 8204970: Remaing object comparisons need to use oopDesc::equals()
Reviewed-by: eosterlund, zgu
2018-07-25 21:47:40 +02:00
dcubed
ab15f47465 8208205: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!'
Reviewed-by: cjplummer
2018-07-25 15:38:37 -04:00
jcbeyler
277b776226 8207765: HeapMonitorTest.java intermittent failure
Summary: Lower the interval rate and check GC objects too
Reviewed-by: dcubed, sspitsyn
Contributed-by: jcbeyler@google.com
2018-07-25 10:51:16 -07:00
darcy
db32c508a9 8190886: package-info handling in RoundEnvironment.getElementsAnnotatedWith
Reviewed-by: vromero, jlahoda
2018-07-25 12:32:59 -07:00
dcubed
ee617125a1 8208189: ProblemList compiler/graalunit/JttThreadsTest.java
Reviewed-by: darcy
2018-07-25 12:32:06 -04:00
psadhukhan
48d665430b 8205535: Useless (or buggy) call to Math.round on int input
Reviewed-by: jdv
2018-07-25 15:36:37 +05:30
xyin
315bc994ed 8198882: Add 10 JNDI tests to com/sun/jndi/dns/AttributeTests/
Reviewed-by: vtewari, rriggs
2018-07-25 11:03:07 +08:00
shurailine
80e962fca0 8208157: requires.VMProps throws NPE for missing properties in "release" file
Reviewed-by: iignatyev, lancea
2018-07-24 08:58:32 -07:00
jjg
870d9441c0 8207214: Broken links in JDK API serialized-form page
Reviewed-by: hannesw
2018-07-24 11:37:43 -07:00
mbaesken
508d1c8844 8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug]
Reviewed-by: goetz, psadhukhan
2018-07-24 09:27:42 +02:00
sgehwolf
a36e4107f7 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Summary: Be sure to use the same register index in native and Java code.
Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
redestad
e3ab667d5e 8209837: Avoid initializing ExpiringCache during bootstrap
Reviewed-by: sundar, forax
2018-08-24 14:04:34 +02:00
dtitov
64a82c4095 8205709: Proper allocation handling
Reviewed-by: sspitsyn, mschoene, rhalade
2018-07-19 15:23:06 -07:00
prr
1260f08aaf Merge 2018-07-19 10:53:38 -07:00
prr
d45e5d57b8 Merge 2018-07-19 10:17:22 -07:00
prr
0df8bc87a0 Added tag jdk-12+3 for changeset 990db216e719 2018-07-19 09:46:29 -07:00
darcy
8198619a44 8207816: Align declaration of SerializedLambda.readResolve with serialization conventions
Reviewed-by: briangoetz
2018-07-19 09:20:08 -07:00
bpb
e010ec67be 8206301: Improve NIO stability
Reviewed-by: alanb, mschoene, rhalade
2018-07-19 07:02:42 -07:00
mbaesken
42179d94fb 8207395: jar has issues with UNC-path arguments for the jar -C parameter [windows]
Reviewed-by: goetz, sherman
2018-07-19 11:04:46 +02:00
igerasim
44fba94dc1 8207314: Unnecessary reallocation when constructing WeakHashMap from a large Map
Reviewed-by: martin
2018-07-23 22:07:55 -07:00
kvn
0cbe93514d 8207262: enable applications/ctw/modules/java_desktop_2.java test again
Reviewed-by: iignatyev
2018-07-23 18:29:35 -07:00
dcubed
328b9ba59b 8208092: ProblemList serviceability/sa/ClhsdbCDSCore.java
Reviewed-by: sspitsyn
2018-07-23 14:41:06 -04:00
tonyp
5697db0d6c 8207849: Allow the addition of more number to the Java version string
Reviewed-by: erikj
2018-07-23 11:38:28 -04:00
tschatzl
6260c1339a 8207953: Remove dead code in G1CopyingKeepAliveClosure
Reviewed-by: kbarrett
2018-07-23 17:32:04 +02:00
vromero
9195ed478a 8205493: OptionSmokeTest.java uses hard-coded release values
Reviewed-by: darcy
2018-07-20 14:48:41 -07:00
darcy
2d2e772640 8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
2018-07-20 14:46:43 -07:00
iklam
662e828821 8203382: Rename SystemDictionary::initialize_wk_klass to resolve_wk_klass
Reviewed-by: jiangli
2018-07-20 12:19:28 -07:00
coleenp
1203cd5e80 8207359: Make SymbolTable increment_refcount disallow zero
Summary: Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.
Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
kvn
cea376bf07 8206075: On x86, assert on unbound assembler Labels used as branch targets
Reviewed-by: kvn, mdoerr, phh
Contributed-by: xxinliu@amazon.com
2018-07-20 11:55:05 -07:00
mli
5c7ed310e6 8207316: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java failed
Reviewed-by: alanb, simonis
2018-07-19 16:22:19 +08:00
kaddepalli
533d5e7074 8206343: There is a typo in the java documentation of javax.swing.JScrollBar.
Reviewed-by: prr, mhalder
2018-07-19 13:49:44 +05:30
darcy
85545b96c3 8203263: Remove unnecessary throws clauses from serialization-related methods
Reviewed-by: prr
2018-07-18 16:13:21 -07:00
jnimeh
9023b94805 8207237: SSLSocket#setEnabledCipherSuites is accepting empty string
Reviewed-by: xuelei
2018-07-18 14:32:46 -07:00
rhalade
f8da853a08 8203230: update VerifyCACerts test
Reviewed-by: mullan
2018-07-18 09:50:04 -07:00
darcy
76fb9e4b41 8207751: Remove misleading serialVersionUID from JulienFields.Field
Reviewed-by: lancea
2018-07-18 08:27:53 -07:00
rriggs
6cc53b6773 8189717: Too much documentation of ProcessBuilder.start copied to ProcessBuilder.startPipeline
Reviewed-by: bpb, lancea
2018-07-18 09:46:03 -04:00
darcy
dfb4c77bfe 8193462: Fix Filer handling of package-info initial elements
Reviewed-by: vromero
2018-07-18 00:23:06 -07:00
darcy
2eda2a4597 8193214: Incorrect annotations.without.processors warnings with JDK 9
Reviewed-by: vromero
2018-07-18 00:16:37 -07:00
jcbeyler
b68d287822 8207765: HeapMonitorStatIntervalTest.java fails with ZGC
Summary: Add a calculation of array sizes before test to satisfy ZGC support
Reviewed-by: amenkov, sspitsyn
Contributed-by: jcbeyler@google.com
2018-07-19 18:21:24 -07:00
ctornqvi
3928bc24ec 8207855: Make applications/jcstress invoke tests in batches
Reviewed-by: kvn, iignatyev
2018-07-20 09:15:54 -04:00
dtitov
fa52978983 8204695: [Graal] vmTestbase/nsk/jdi/ClassPrepareRequest/addSourceNameFilter/addSourceNameFilter002/addSourceNameFilter002.java fails
Reviewed-by: sspitsyn, cjplummer
2018-07-19 16:53:33 -07:00
vromero
5fe2c935a2 8206874: Evaluate LoadClassFromJava6CreatedJarTest.java after dropping -source 6
Reviewed-by: darcy
2018-07-19 15:13:10 -07:00
igerasim
ef741310a3 8207753: Handle to process snapshot is leaked if Process32First() fails
Reviewed-by: rriggs
2018-07-19 13:41:26 -07:00
never
ffa38b4cd3 8207202: [Graal] compiler/graalunit/CoreTest.java fails
Reviewed-by: kvn
2018-07-19 12:55:24 -07:00
naoto
8afc61f47d 8206886: Java does not set the default format locale correctly on mac10.13
Reviewed-by: rriggs
2018-07-19 11:15:38 -07:00
alanb
e6b90d9251 8207393: ServiceLoader class description improvements
Reviewed-by: alanb, lancea
Contributed-by: alex.buckley@oracle.com
2018-07-18 07:39:54 +01:00
martin
02057301cd 8206863: A closed JarVerifier.VerifierStream should throw IOException
Reviewed-by: rasbold
Contributed-by: Tobias Thierer <tobiast@google.com>, Martin Buchholz <martinrb@google.com>
2018-07-17 17:36:27 -07:00
igerasim
9817e6de03 8207750: Native handle leak in java.io.WinNTFileSystem.list()
Reviewed-by: bpb
2018-07-17 17:17:16 -07:00
bpb
f8a281df4a 8207748: Fix for 8202794 breaks tier1 builds
Reviewed-by: kbarrett, darcy
2018-07-17 16:22:26 -07:00
rriggs
3530924f73 8205610: [TESTLIB] Improve listing of open file descriptors
Reviewed-by: lancea
2018-07-17 17:14:03 -04:00
kbarrett
4b99cef623 8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events
Summary: os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.
Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
bpb
25cb3d36a5 8202794: Native Unix code should use readdir rather than readdir_r
Reviewed-by: alanb, bsrbnd
Contributed-by: Bernard Blaser <bsrbnd@gmail.com>
2018-07-17 12:03:10 -07:00
ccheung
50bb57d9e6 8204591: Expire/remove the UseAppCDS option in JDK 12
Reviewed-by: jiangli, mseledtsov, iklam
2018-07-17 11:58:53 -07:00
jlahoda
e2dd3d1995 8207229: Trees.getScope crashes for broken lambda
8207230: Trees.getScope runs Analyzers
Reviewed-by: vromero
2018-07-17 14:28:56 +02:00
alanb
5497c9f06d 8207340: (fs) UnixNativeDispatcher close and readdir usages should be fixed
Reviewed-by: bpb
2018-07-17 08:10:48 +01:00
darcy
8a982e7996 8207248: Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
Reviewed-by: vromero
2018-07-16 21:53:49 -07:00
bpb
cab4c2929b 8206448: (fs) Extended attributes assumed to be enabled on ext3 (lnx)
Summary: Assume extended attributes are only explicitly enable on ext3
Reviewed-by: mbaesken, alanb
2018-07-16 10:58:28 -07:00
igerasim
ca87261979 8207016: Avoid redundant native memory allocation in getFinalPath()
Reviewed-by: alanb
2018-07-16 10:07:22 -07:00
rhalade
8e1ced3d71 8207321: Merge error with 8199779
Reviewed-by: mullan
2018-07-16 08:59:39 -07:00
lfoltan
6db832ab8a 8205611: Improve the wording of LinkageErrors to include module and class loader information
Summary: Clean up the wording of loader constraint violations to include the module and class loader information.
Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
lfoltan
59f99a4216 8178712: ResourceMark may be missing inside initialize_[vi]table
Summary: Clean up use of ResourceMark within initialize_[vi]table.
Reviewed-by: ccheung, iklam, jiangli
2018-07-16 09:06:33 -04:00
prr
bb4d3e1c4b Merge 2018-07-12 11:09:23 -07:00
sgehwolf
e2a3b8f498 8207057: No debug info for assembler files
Summary: Generate debug info for assembler files as needed.
Reviewed-by: erikj
2018-07-12 16:28:31 +02:00
jlahoda
771b1a8309 8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance.
Summary: Caching the results of Elements.getTypeElement/getPackageElement
Reviewed-by: darcy
2018-07-16 12:35:25 +02:00
dsamersoff
2fd4fbbfb8 8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
Summary: Limit flag range to don't overflow 12bit instruction operand
Reviewed-by: aph, dsamersoff
Contributed-by: boris.ulasevich@bell-sw.com
2018-07-15 18:16:55 +03:00
jwilhelm
961d884049 Merge 2018-07-14 02:14:54 +02:00
mikael
dccd1a0d71 8207210: Problem list javax/sound/sampled/Clip/AutoCloseTimeCheck.java
Reviewed-by: prr
2018-07-12 15:02:41 -07:00
jjiang
9fa70e3efc 8206443: Update security libs manual test to cope with removal of javac -source/-target 6
Summary: Change compile -source/-target from 1.6 to 1.7
Reviewed-by: xuelei
2018-07-14 07:31:26 +08:00
coleenp
026e322a4f 8206470: Incorrect use of os::lasterror in ClassListParser
Summary: The change is for future-proof the code in case errno gets overwritten inside the allocation logic.
Reviewed-by: dholmes
Contributed-by: patricio.chilano.mateo@oracle.com
2018-07-13 13:58:17 -04:00
igerasim
3d63010bd4 8207145: (fs) Native memory leak in WindowsNativeDispatcher.LookupPrivilegeValue0
Reviewed-by: alanb
2018-07-12 06:04:57 -07:00
zgu
51d7ec6fcb 8207056: Epsilon GC to support object pinning
Summary: Epsilon GC to use object pinning to avoid expensive GCLocker
Reviewed-by: shade, rkennke
2018-07-11 13:55:38 -04:00
jwilhelm
3ea3ce2e69 Added tag jdk-12+2 for changeset 69b438908512 2018-07-12 12:22:54 +02:00
darcy
4062de80e1 8207055: Make javac -help output for -source and -target more informative
Reviewed-by: jjg
2018-07-11 16:12:18 -07:00
bchristi
55bb7ee425 8207005: Disable the file canonicalization cache by default
Reviewed-by: alanb, bpb
2018-07-11 14:32:42 -07:00
jwilhelm
63551726f0 Merge 2018-07-11 21:41:43 +02:00
coleenp
1f5d0eb7a1 8198720: Obsolete PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Summary: Convert PrintSafepointStatistics to UL
Reviewed-by: shade, lfoltan
2018-07-11 14:44:05 -04:00
zgu
4439481954 8206183: Possible construct EMPTY_STACK and allocation stack, etc. on first use
Summary: Uses "construct on First Use Idiom" pattern to workaround static initialization order
Reviewed-by: dholmes, minqi
2018-07-11 13:28:07 -04:00
darcy
bfa00b9ca9 8173606: Deprecate constructors of 7-era visitors
Reviewed-by: vromero, jjg
2018-07-11 08:24:39 -07:00
shade
a7a9b714c9 8206931: Misleading "COMPILE SKIPPED: invalid non-klass dependency" compile log
Reviewed-by: vlivanov, never
2018-07-11 08:44:00 +02:00
ccheung
6fbecb17d2 8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
Summary: exit vm if setting of boot class path fails.
Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07:00
dl
67bcb935db 8205620: Miscellaneous changes imported from jsr166 CVS 2018-07
Reviewed-by: martin, psandoz
2018-07-10 10:24:08 -07:00
dl
88351aaa4c 8205576: forkjoin/FJExceptionTableLeak.java fails "AssertionError: failed to satisfy condition"
Reviewed-by: martin, psandoz, dholmes, tschatzl
2018-07-10 10:24:08 -07:00
dl
b0b8b6154f 8206123: ArrayDeque created with default constructor can only hold 15 elements
Reviewed-by: martin, psandoz, igerasim
2018-07-10 10:24:08 -07:00
coleenp
bd17e201bb 8206471: Race with ConcurrentHashTable deleting items on insert with cleanup thread
Summary: Only fetch Node::next once and use that result.
Reviewed-by: hseigel, dholmes
2018-07-10 11:13:33 -04:00
michaelm
f10580e1ee 8196902: Better HTTP Redirection
Reviewed-by: dfuchs
Contributed-by: chris.hegarty@oracle.com
2018-07-10 08:20:13 +01:00
dholmes
95113114b4 8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
Summary: Run the new runtime/jni/terminatedThread/TestTerminatedThread.java test in othervm mode
Reviewed-by: alanb, mikael
2018-07-10 03:14:55 -04:00
dholmes
798e72f190 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04:00
sherman
ba5f4826e4 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
kbarrett
3172e0695a 8204834: Fix confusing "allocate" naming in OopStorage
Summary: allocate_list => allocation_list and so on.
Reviewed-by: dholmes, tschatzl, coleenp
2018-07-09 13:35:55 -04:00
tschatzl
271f7005eb 8206453: Taskqueue stats should count real steal attempts, not calls to GenericTaskQueueSet::steal
Reviewed-by: ehelin, kbarrett
2018-07-09 14:12:50 +02:00
dholmes
2d213236a1 8205966: [testbug] New Nestmates JDI test times out with Xcomp on sparc
Reviewed-by: mikael, sspitsyn
2018-07-08 20:00:46 -04:00
jiangli
ca7c4f483d 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module.
Summary: Support system module archiving with unnamed initial module at dump time.
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
Contributed-by: alan.bateman@oracle.com, jiangli.zhou@oracle.com
2018-07-08 12:43:05 -04:00
rriggs
d2b729740c 8206495: Redundant System.setProperty(null) tests
Reviewed-by: mchung, lancea
2018-07-06 15:22:07 -04:00
darcy
e580af1985 8206439: Remove javac -source/-target 6 from langtools regression tests
Reviewed-by: mcimadamore
2018-07-06 10:28:56 -07:00
darcy
136cf3dbaa 8206440: Remove javac -source/-target 6 from jdk regression tests
Reviewed-by: alanb
2018-07-06 09:37:44 -07:00
joehw
1ed777018c 8206164: forgot to "throw" TransformerConfigurationException
Reviewed-by: lancea
2018-07-06 09:26:01 -07:00
rkennke
4cd757dbdd 8206457: Code paths from oop_iterate() must use barrier-free access
Reviewed-by: eosterlund, shade
2018-07-06 16:04:19 +02:00
shade
21d87005b1 8208665: Amend cross-compilation docs with qemu-debootstrap recipe
Reviewed-by: martin, glaubitz, erikj
2018-08-24 09:38:11 +02:00
thartmann
97d25fa657 8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
Summary: Deoptimize if exception is thrown in _clone intrinsic.
Reviewed-by: kvn
2018-08-24 08:17:23 +02:00
lmesnik
9e5d225b42 8209150: [TESTBUG] Add logging to verify JDK-8197901 to a different test
Reviewed-by: coleenp, mseledtsov
2018-08-23 16:47:53 -07:00
gadams
45f923e839 8034084: nsk.nsk/jvmti/ThreadStart/threadstart003 Wrong number of thread end events
Reviewed-by: amenkov, dholmes, sspitsyn
2018-08-23 07:54:19 -04:00
kbarrett
de6c1d5bad 8209850: Allow NamedThreads to use GlobalCounter critical sections
Summary: Add NamedThreads iterator and make GlobalCounter use it.
Reviewed-by: eosterlund, rehn
2018-08-23 18:14:53 -04:00
joehw
8f153adc24 8209873: Typo in javax.xml.validation.Validator.validate documentation
Reviewed-by: lancea
2018-08-23 12:57:40 -07:00
igerasim
432feb94ca 8209171: Simplify Java implementation of Integer/Long.numberOfTrailingZeros()
Reviewed-by: martin
Contributed-by: ivan.gerasimov@oracle.com, martinrb@google.com
2018-08-23 12:09:46 -07:00
igerasim
4f614129d9 8209851: Algorithm name is compared via reference identity
Reviewed-by: mullan
2018-08-23 09:36:13 -07:00
ccheung
246fb4ed52 8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests
Summary: changed the value of the property test.cds.copy.child.stdout to false so that stdout of child processes are logged in files. Each stdout and stderr file will have a unique name.
Reviewed-by: iklam
2018-08-23 09:35:09 -07:00
pchilanomate
fec18323a7 8209854: ProblemList MemberNameLeak
Summary: MemberNameLeak.java moved to ProblemList due to intermittent failure after 8206423
Reviewed-by: coleenp
2018-08-23 11:33:51 -04:00
pliden
adf9bd7898 8209883: ZGC: Compile without C1 broken
Reviewed-by: eosterlund, shade
2018-08-23 14:31:27 +02:00
coffeys
d2fc43bc0f 8209129: Further improvements to cipher buffer management
Reviewed-by: weijun, igerasim
2018-08-23 11:37:14 +01:00
pliden
d549cdac8d 8209831: ZGC: Clean up ZRelocationSetSelectorGroup::semi_sort()
Reviewed-by: eosterlund, kbarrett
2018-08-23 10:52:27 +02:00
joehw
b79940ecd5 8209615: ParseError in XMLEventReader on a valid input
Reviewed-by: lancea
2018-08-22 14:28:47 -07:00
dlong
9144677189 8209651: better TLS poll for x64 C2
Reviewed-by: kvn
2018-08-22 13:53:48 -07:00
jwilhelm
f1197762c9 Added tag jdk-12+8 for changeset 492b366f8e57 2018-08-22 21:48:39 +02:00
mchung
eb52071905 8167314: Enable the check to detect duplicate provides in in GenModuleInfoSource
Reviewed-by: lancea
2018-08-22 13:47:47 -05:00
tschatzl
351964c2e6 8209062: Clean up G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
tschatzl
49f2209a64 8209061: Move G1 serviceability functionality to G1MonitoringSupport
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
tschatzl
c488a627b4 8209700: Remove HeapRegionSetBase::RegionSetKind for a more flexible approach
Reviewed-by: kbarrett, phh
2018-08-22 20:37:07 +02:00
tschatzl
66bd0229fc 8209698: Remove "Pinned" from HeapRegionTraceType
Reviewed-by: iklam
2018-08-22 20:37:07 +02:00
tschatzl
95b469f72b 8208498: Put archive regions into a first-class HeapRegionSet
Summary: Maintain archive regions in a HeapRegionSet like other region types.
Reviewed-by: phh, sangheki
2018-08-22 20:37:07 +02:00
amenkov
f30d958f82 8209605: com/sun/jdi/BreakpointWithFullGC.java fails with ZGC
Reviewed-by: sspitsyn, dholmes
2018-08-22 10:28:34 -07:00
dtitov
71fc006ed6 8202342: [Graal] fromTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java fails with "Location mismatch" errors
Reviewed-by: sspitsyn, amenkov
2018-08-22 08:31:15 -07:00
iklam
6a96a42fdc 8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
Summary: Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
adinn
aebd8e894f 8209783: AArch64: Combine Multiply and Neg operations in C2
Summary: Generate mneg instructions for a*(-b) or (-a)*b to save one instruction
Reviewed-by: adinn
Contributed-by: pengfei.li@arm.com
2018-08-22 16:06:51 +01:00
roland
44a829d6af 8209686: cleanup arguments to PhaseIdealLoop() constructor
Reviewed-by: thartmann, kvn, pliden
2018-08-22 10:36:39 +02:00
tschatzl
8f6bfe9fb6 8209839: [Backout] Backout JDK-8206467 Refactor G1ParallelCleaningTask into shared
Reviewed-by: zgu
2018-08-22 16:01:29 +02:00
rkennke
8d04265c1a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00
coleenp
c9e1243421 8208172: SIGSEGV when owner of invokedynamic bootstrap method throws an exception - Symbol::increment_refcount()+0x0
Summary: table for resolution errors always expect non-null message string.
Reviewed-by: dholmes, iklam
2018-08-22 07:51:07 -04:00
eosterlund
c1f6b75841 8208601: Introduce native oop barriers in C2 for OopHandle
Reviewed-by: neliasso, kvn
2018-08-22 13:06:33 +02:00
rkennke
2262140129 8209801: Rename C1_WRITE_ACCESS and C1_READ_ACCESS decorators to ACCESS_READ and ACCESS_WRITE
Reviewed-by: kbarrett, pliden
2018-08-22 13:01:26 +02:00
roland
d8301866e5 8209684: Intrinsics that assume some input non null should use GraphKit::must_be_not_null()
Reviewed-by: kvn, thartmann
2018-08-22 10:09:06 +02:00
roland
bc6801fd36 8209420: Track membars for volatile accesses so they can be properly optimized
Reviewed-by: adinn, aph, thartmann
2018-08-14 16:54:47 +02:00
weijun
22c157fdc1 8209829: SpnegoUnknownMech.java does not contain the SpnegoUnknownMech class
Reviewed-by: dholmes
2018-08-22 15:10:40 +08:00
iklam
cbba10631e 8209826: Undefined reference to os::write after JDK-8209657 (filemap.hpp cleanup)
Summary: include os_inline.hpp instead
Reviewed-by: jiangli
2018-08-21 20:23:34 -07:00
igerasim
a5436f27f1 8186186: GSSContext.isEstablished() can return true on error state
Reviewed-by: weijun
Contributed-by: weijun.wang@oracle.com
2018-08-21 20:19:46 -07:00
weijun
6a03343121 8209771: jdk.test.lib.Utils::runAndCheckException error
Reviewed-by: dholmes
2018-08-22 11:10:45 +08:00
iklam
4c10ed968f 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Summary: Added src/hotspot/share/include/cds.h
Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
zgu
3192b88445 8206467: Refactor G1ParallelCleaningTask into shared
Summary: Refactored and moved G1ParllelCleaningTask to be shared among GCs
Reviewed-by: rkennke, kbarrett
2018-08-21 20:29:57 -04:00
lmesnik
77554fa1f3 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2018-08-21 13:17:29 -07:00
twisti
57f7c4e10f 8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property
Reviewed-by: kvn
2018-08-21 14:14:28 +02:00
never
287768e021 8209624: [JVMCI] Invalidate nmethods instead of directly unloading them when the InstalledCode is dropped
Reviewed-by: kvn
2018-08-21 08:38:02 -07:00
pchilanomate
2fe4370b5f 8206423: Use locking for cleaning ResolvedMethodTable
Summary: ServiceThread is now in charge of cleaning ResolvedMethodTable entries
Reviewed-by: gziemski, dholmes, coleenp
2018-08-21 10:37:02 -04:00
coleenp
472f13c1d4 8209792: Remove ClassLoaderDataGraph::keep_alive_cld_do
Summary: unnecessary
Reviewed-by: zgu, tschatzl
2018-08-21 10:03:22 -04:00
coleenp
1d2bf39f62 8209738: Remove ClassLoaderDataGraph::*oops_do functions
Summary: Make walking CLDG more consistent.
Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04:00
rkennke
de79e28ee4 8209668: Explicit barriers for C1/assembler
Reviewed-by: roland, eosterlund
2018-08-21 13:12:15 +02:00
pmuthuswamy
f9e933ecec 8203792: Remove "compatibility" features from Head.java
Reviewed-by: jjg, sundar
2018-08-21 11:41:54 +05:30
iklam
f1b453df67 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Summary: Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
tbell
d7f82739e8 8209760: merge error: restore ea in make/conf/jib-profiles.js
Reviewed-by: mikael
2018-08-20 16:18:56 -07:00
jnimeh
6ad7bc397b 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
mikael
03e4580690 Merge 2018-08-20 14:19:30 -07:00
iignatyev
e35a1e40ed 8209740: typo in test/lib/jtreg/SkippedException.java
Reviewed-by: kvn
2018-08-20 11:37:57 -07:00
joehw
e092562a97 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
lucy
ca52e8e1ac 8209588: SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
Reviewed-by: kvn, goetz
2018-08-20 17:25:45 +02:00
redestad
f3ab780bd8 8209633: Avoid creating WeakEntry wrappers when looking up cached MethodType
Reviewed-by: plevart, mchung
2018-08-20 14:25:02 +02:00
lfoltan
1763d571ea 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Summary: Clean up VM anonymous class terminology.
Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
shade
563fc1ef3e 8209573: [TESTBUG] gc/epsilon/TestMemoryMXBeans should retry on failure
Reviewed-by: kvn, pliden
2018-08-20 10:04:00 +02:00
iignatyev
ba64fdf6b7 8209456: [error-prone] ShortCircuitBoolean in java.logging
Reviewed-by: rriggs
2018-08-19 22:41:49 -07:00
kbarrett
451d1c69e0 8154343: Make SATB related code available to other GCs
Summary: Move ptrQueue and satbMarkQueue files from g1 to shared.
Reviewed-by: rkennke, sangheki
2018-08-18 13:59:25 -04:00
jnimeh
e7a7d5a1d6 8203614: Java API SSLEngine example code needs correction
Reviewed-by: wetmore, ascarpino
2018-08-17 21:36:02 -07:00
ccheung
96866eb620 8209385: CDS runtime classpath checking is too strict when only classes from the system modules are archived
Summary: skip checking the path entries which are not being referenced during CDS dump time
Reviewed-by: jiangli, iklam
2018-08-17 14:50:59 -07:00
coffeys
4014d001d8 8208675: Remove legacy sun.security.key.serial.interop property
Reviewed-by: mullan
2018-08-17 22:20:47 +01:00
darcy
a1629c0cd2 8209304: Deprecate serialVersionUID fields in interfaces
Reviewed-by: lancea, mullan, rriggs, smarks
2018-08-17 13:37:01 -07:00
iveresov
86d914cf4e 8206992: Update Graal
Reviewed-by: kvn
2018-08-17 13:20:53 -07:00
gziemski
98744d602a 8209586: AARCH64: SymbolTable changes throw assert on aarch64
Summary: Cast the comparison value to match the signdeness
Reviewed-by: gziemski, coleenp
Contributed-by: stuart.monteigh@linaro.org
2018-08-17 11:56:59 -05:00
mikael
eabc067806 Added tag jdk-12+7 for changeset ef57958c7c51 2018-08-17 09:53:52 -07:00
sballal
f25d9c441d 8209342: Problemlist SA tests on Solaris due to Error attaching to process: Can't create thread_db agent!
Reviewed-by: dcubed, iklam, jgeorge
2018-08-17 21:50:55 +05:30
rehn
f15857cafb 8207334: VM times out in VM_HandshakeAllThreads::doit() with RunThese30M
Summary: Handshakes did not consider external suspended threads safe for safepoint.
Reviewed-by: dcubed, dholmes
2018-08-17 13:38:19 +02:00
epavlova
59434aa395 8209587: Update test/hotspot/jtreg/ProblemList-graal.txt
Reviewed-by: kvn
2018-08-17 03:59:20 -07:00
thartmann
a6177f875d 8208275: C2 crash in Node::add_req(Node*)
Summary: Split-if optimization should not process (dead) counted loops.
Reviewed-by: roland
2018-08-17 08:21:20 +02:00
iklam
dae7523dd1 8209545: Simplify HeapShared::archive_module_graph_objects
Summary: Added archivable_static_fields array in heapShared.cpp
Reviewed-by: jiangli
2018-08-15 11:19:57 -07:00
kbarrett
4c0eaf104d 8209607: Remove stale comment for JNI mutexes
Summary: Remove comment.
Reviewed-by: dholmes
2018-08-16 19:49:25 -04:00
amenkov
a5e99905b3 8209608: Problem list com/sun/jdi/BreakpointWithFullGC.java
Reviewed-by: mikael, dtitov, dcubed
2018-08-16 16:44:51 -07:00
iignatyev
082b3db7f8 8209549: remove VMPropsExt from TEST.ROOT
Reviewed-by: dholmes
2018-08-16 16:28:03 -07:00
jiangli
c79cc05c1c 8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work.
Summary: Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.
Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
amenkov
1e11a72965 8209517: com/sun/jdi/BreakpointWithFullGC.java fails with timeout
Reviewed-by: dcubed, mikael
2018-08-16 10:20:00 -07:00
jlahoda
48bfdf5233 8208269: Javadoc does not support module-info in a multi-release jar
Summary: Ensuring correct version is set when reading multi-release jars.
Reviewed-by: jjg
2018-08-16 15:00:23 +02:00
rriggs
6b1228a9fc 8208715: Conversion of milliseconds to nanoseconds in UNIXProcess contains bug
Reviewed-by: martin
2018-08-15 10:38:27 -04:00
rgoel
584e82cd91 8209047: "Illegal pattern character 'B'" IllegalArgumentException with Burmese locales
Summary: Replaced time patterns for Burmese locale from CLDR 29's patterns.
Reviewed-by: naoto
2018-08-16 16:06:54 +05:30
dnsimon
0a4a5134e6 8209535: [JVMCI] Do not swallow NoClassDefFoundError when converting JVMCI methods and fields to reflection objects
Reviewed-by: kvn, iveresov
2018-08-16 09:46:09 +02:00
thartmann
ba1384ef6b 8209511: C2 asserts with UseSSE < 4 and AVX enabled: "Label was never bound to a location, but it was used as a jmp target'
Summary: Make sure label is bound even if SSE is disabled.
Reviewed-by: kvn
2018-08-16 09:09:18 +02:00
iklam
4835562e4d 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Summary: Handle %p in /proc/sys/kernel/core_pattern
Reviewed-by: dholmes, hseigel
2018-08-15 19:22:46 -07:00
iklam
35568967df 8206115: Use shared macros for JavaClasses::compute_offsets and MetaspaceShared::serialize_well_known_classes
Summary: Added BASIC_JAVA_CLASSES_DO in javaClasses.hpp
Reviewed-by: jiangli, redestad, coleenp
2018-08-14 20:46:46 -07:00
vromero
1595765009 8207320: Wrong type order for intersection lambdas with multiple abstract methods
Reviewed-by: mcimadamore
2018-08-15 13:39:32 -07:00
coleenp
5e4bd2f697 8209541: Fix merge problem in SymbolTable::do_check_concurrent_work
Summary: remerged with previous change to do_unloading.
Reviewed-by: hseigel
2018-08-15 16:01:48 -04:00
coleenp
59a65aef87 8209447: vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/TestDescription.java timed out
Summary: was walking code cache for every safepoint because redefined methods take a long time to clear out of the code cache
Reviewed-by: eosterlund, rehn
2018-08-15 15:50:23 -04:00
darcy
7e1df8cb77 5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading
Reviewed-by: lancea, rriggs, smarks
2018-08-15 10:44:56 -07:00
darcy
4af29d1da0 8176425: Add radix indication in NumberFormatException message for Integer.decode
Reviewed-by: lancea
2018-08-15 10:16:15 -07:00
mseledtsov
4054d4aad9 8209164: [TESTBUG] Apply jtreg skipped status to cds tests
Summary: Added the SkippedException where applicable
Reviewed-by: iklam, jiangli
2018-08-15 10:00:16 -07:00
thartmann
eb8599a9a7 8209459: TestSHA512MultiBlockIntrinsics failed on AArch64
Summary: Prevent classloading to avoid generation of SHA stubs.
Reviewed-by: kvn, thartmann
Contributed-by: Joshua Zhu <joshua.zhu@arm.com>
2018-08-15 14:35:33 +02:00
dpochepk
df5b83b7f3 8209439: C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
Reviewed-by: kvn, thartmann
2018-08-15 14:48:12 +03:00
eosterlund
39d3e957a2 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
xuelei
66d2269f5d 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 18:16:47 -07:00
coleenp
f515863815 8209518: symbol table gtest fails with semaphore error
Summary: loop count was wrong.
Reviewed-by: mikael, kbarrett
2018-08-14 19:52:34 -04:00
gziemski
270e37b8ab 8195100: Use a low latency hashtable for SymbolTable
Summary: Used concurrentHashTable, similar to stringTable
Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
kvn
3f41558488 8208463: jdk.internal.vm.compiler's module-info.java.extra contains duplicated provides of the same service interface
Reviewed-by: mchung
2018-08-14 14:08:04 -07:00
coleenp
079a131fd4 8205417: Obsolete UnlinkSymbolsALot debugging option
Summary: Obsolete and remove support for UnlinkSymbolsALot
Reviewed-by: hseigel, dholmes
2018-07-06 09:10:07 -04:00
hseigel
01dfb5cb4e 8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
Summary: Remove unneeded validate_class() check from  checked_jni_GetModule().
Reviewed-by: dholmes, coleenp
2018-07-06 06:26:25 -07:00
coleenp
6d172d6489 8202737: Obsolete AllowNonVirtualCalls option
Summary: obsolete option and remove support.
Reviewed-by: dholmes, jiangli, kbarrett
2018-07-06 09:00:48 -04:00
jjg
731aa1b0d0 8206318: Enhance package documentation for internal javadoc packages
Reviewed-by: sundar
2018-07-05 14:35:03 -07:00
naoto
d5cde863b6 8206350: java/util/Locale/bcp47u/SystemPropertyTests.java failed on Mac 10.13 with zh_CN and zh_TW locales.
Reviewed-by: rriggs
2018-07-05 14:23:45 -07:00
rkennke
15ecbce147 8206272: Remove stray BarrierSetAssembler call
Reviewed-by: pliden, shade
2018-07-05 19:22:53 +02:00
rkennke
9bbd24216e 8206407: Primitive atomic_cmpxchg_in_heap_at() in BarrierSet::Access needs to call non-oop raw method
Reviewed-by: pliden, shade
2018-07-05 19:22:38 +02:00
ccheung
bf461844d7 8205548: Remove multi-release jar related vm code
Reviewed-by: iklam, jiangli
2018-07-05 09:11:33 -07:00
bpb
43799af06c 8194899: Remove unused sun.net classes
Reviewed-by: alanb, mchung, dfuchs, chegar, michaelm
2018-07-05 07:22:21 -07:00
jwilhelm
55493d5f01 Added tag jdk-12+1 for changeset 00b16d0457e4 2018-07-05 13:31:04 +02:00
ssahoo
2bccf9f6a8 8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure
Summary: Test failure due to unsupported DSA keys
Reviewed-by: dfuchs, xuelei
2018-07-04 03:44:32 -07:00
darcy
7a4fa1a5f9 8206114: Refactor langtools/tools/javac/classfiles/ClassVersionChecker.java
Reviewed-by: jjg
2018-07-03 16:14:46 -07:00
darcy
c4e748e591 8206085: Refactor langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg, forax, plevart, mcimadamore
2018-07-03 15:59:09 -07:00
bpb
e0e41603c1 8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
Summary: Clear handler instance variable after use
Reviewed-by: rriggs, alanb
2018-07-03 15:02:46 -07:00
naoto
948f9d11c7 8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: rriggs
2018-07-03 14:42:13 -07:00
coleenp
f8fce00fe8 8206309: Tier1 SA tests fail
Summary: remove tests that should have been removed with JDK-8205534
Reviewed-by: hseigel
2018-07-03 15:40:08 -04:00
coleenp
7fdfbf21f8 8134538: Duplicate implementations of os::lasterror
Summary: Method os::lasterror was moved to os_posix.cpp
Reviewed-by: hseigel, kbarrett, coleenp
Contributed-by: patricio.chilano.mateo@oracle.com
2018-07-03 15:08:01 -04:00
coleenp
99385fdc24 8205534: Remove SymbolTable dependency from serviceability agent
Reviewed-by: gziemski, poonam, jgeorge, hseigel
2018-07-03 13:41:18 -04:00
erikj
bc58571624 8206087: windows-x64-cmp-baseline fails with The files do not have the same suffix type
Reviewed-by: tbell
2018-07-03 18:46:51 +02:00
sveerabhadra
69c0883a80 8195991: [TEST_BUG]:Regression manual Test java/awt/TrayIcon/RightClickWhenBalloonDisplayed/RightClickWhenBalloonDisplayed.html fails
Reviewed-by: serb, mhalder
2018-07-03 16:09:25 +05:30
vtheeyarath
fd1904b4ef 8177275: IllegalArgumentException when MH would have too many parameters is not specified for several methods
Summary: Updated spec and added tests
Reviewed-by: psandoz
2018-07-02 23:33:40 -07:00
neliasso
1c6cf8ba8e 8205999: C2 compilation fails with "assert(store->find_edge(load) != -1) failed: missing precedence edge"
Summary: Backout 8204157 to state before 8192992
Reviewed-by: thartmann, mdoerr
2018-07-03 10:47:50 +02:00
jwilhelm
f4439cd509 Merge 2018-07-03 02:07:49 +02:00
joehw
a59789ffc6 8204329: Java API doc for XMLStreamReader.next() needs to be clarified for the exception thrown when hasNext() method returns false
Reviewed-by: lancea, rriggs
2018-07-02 13:54:01 -07:00
zgu
34bb2d0714 8205965: SIGSEGV on write to NativeCallStack::EMPTY_STACK
Summary: Made EMPTY_STACK non-const, so it will not be placed in read-only BSS section.
Reviewed-by: stuefe, martin
2018-07-02 16:28:09 -04:00
kaddepalli
e46b948878 8197810: Test java/awt/Choice/SelectCurrentItemTest/SelectCurrentItemTest.html fails on Windows
Reviewed-by: serb, pbansal
2018-07-02 14:31:33 +05:30
rraghavan
b8f6ca8e24 8203504: [Graal] org.graalvm.compiler.debug.test.DebugContextTest fails with java.util.ServiceConfigurationError
Summary: Added required uses statement
Reviewed-by: dnsimon, kvn
2018-07-02 00:55:24 -07:00
thartmann
bd472e8d13 8206093: compiler/graalunit/HotspotTest.java fails in CheckGraalIntrinsics
Summary: Ignore encodeBlock intrinsic.
Reviewed-by: kvn
2018-07-02 09:21:06 +02:00
igerasim
b111355cb3 8204310: Simpler RandomAccessFile.setLength() on Windows
Reviewed-by: alanb
2018-06-29 17:35:04 -07:00
dtitov
fdb5f61509 8206086: [Graal] JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer, amenkov
2018-06-29 12:34:03 -07:00
joehw
e42c2fe829 8190835: Subtraction with two javax.xml.datatype.Duration gives incorrect result
Reviewed-by: lancea
2018-06-29 10:13:24 -07:00
jlahoda
cd2ed2eac3 8205418: Assorted improvements to source code model
Summary: Improving tree positions, better error recovery, fixing Trees.getScope for possibly erroneous lambdas.
Reviewed-by: jjg, mcimadamore, vromero
2018-06-29 10:41:10 +02:00
kaddepalli
58dd9f29d3 8194546: Choosier FileManagers
Reviewed-by: serb, prr, rhalade, skoivu
2018-06-29 10:28:05 +05:30
darcy
f24d8b7b5f 8206083: Make tools/javac/api/T6265137.java robust to JDK version changes
Reviewed-by: jjg
2018-06-28 17:49:13 -07:00
mikael
2e37e9ba55 8206022: Add test to check that the JVM accepts class files with version 56
Reviewed-by: hseigel, hseigel
2018-06-28 17:45:59 -07:00
jjg
d42c5dc259 8202959: Rearrange the top and bottom navigation bar in the javadoc generated pages
Reviewed-by: darcy, jjg
Contributed-by: bhavesh.x.patel@oracle.com, jonathan.gibbons@oracle.com
2018-06-28 15:46:27 -07:00
jwilhelm
37a8d32e43 8206006: Build failed on Windows
Reviewed-by: jwilhelm, dcubed
Contributed-by: robin.westberg@oracle.com
2018-06-28 22:28:41 +02:00
jwilhelm
5c14ee9e6f Added tag jdk-12+0 for changeset 95aad0c785e4 2018-06-28 21:11:50 +02:00
darcy
adcdf5fcaa 8205615: Start of release updates for JDK 12
8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
Contributed-by: erik.joelsson@oracle.com, mikael.vidstedt@oracle.com, joe.darcy@oracle.com
2018-06-27 21:01:12 -07:00
jwilhelm
5497bb9bcd Added tag jdk-12+0 for changeset c9cd3ec6a0eb 2018-06-28 19:55:44 +02:00
rhalade
afc7da8651 8195774: Add Entrust root certificates
Reviewed-by: weijun
2018-06-28 11:41:45 -07:00
rkennke
673ceb56c3 8205523: Explicit barriers for interpreter
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
rkennke
9d296a03ad 8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()
Reviewed-by: tschatzl, eosterlund
2018-08-09 17:11:11 +02:00
mikael
7ee0bf0d40 Added tag jdk-12+6 for changeset 7939b3c4e408 2018-08-09 08:02:20 -07:00
jcbeyler
6d9a68bcd4 8208242: Add @requires to vmTestbase/gc/g1 tests
Summary: Added classunloading must not be disabled and G1 is required to g1/unloading tests
Reviewed-by: kbarrett, tschatzl
2018-08-08 11:11:19 -07:00
pliden
fb6cb7ac19 8209127: ZGC: Improve error message when failing to map memory for mark stacks
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
pliden
d691e989f6 8209126: ZGC: ZMarkStackAllocator::is_initialized() never called
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
pliden
a5a64a004f 8209125: ZGC: Clean up ZServiceabilityCounters
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
pliden
06b55f6c21 8207756: ZGC: jstat should show CGC STW phases
Reviewed-by: pliden, ysuenaga, eosterlund
Contributed-by: yasuenag@gmail.com, per.liden@oracle.com
2018-08-09 11:24:30 +02:00
xiaofeya
a0518ae09d 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2018-08-09 15:42:48 +08:00
kvn
97b8580363 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
Contributed-by: xxinliu@amazon.com
2018-08-08 18:38:34 -07:00
jcbeyler
42e82199fb 8208303: Track JNI failures and fail tests
Summary: Fail in native code via  FatalException to signal test failure
Reviewed-by: amenkov, sspitsyn
2018-08-08 15:34:32 -07:00
mchung
680fc25b5a 8202941: GenModuleInfoSource build tool does not detect missing semicolons
Reviewed-by: erikj
2018-08-08 14:40:02 -07:00
coleenp
c5181cd466 8208677: Move inner metaspace cleaning out of class unloading
Summary: move to safepoint cleanup actions to do if needed.
Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
dcubed
2eb8e1be69 8209149: [TESTBUG] runtime/RedefineTests/RedefineRunningMethods.java needs a longer timeout
Reviewed-by: coleenp
2018-08-08 15:11:11 -04:00
bpb
b4c2c5dadf 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
Reviewed-by: alanb, psandoz
2018-08-08 09:25:10 -07:00
tschatzl
53869e5c41 8208672: Enable -Wreorder in make files for gcc, clang
Reviewed-by: dholmes, ihse
2018-08-08 15:31:07 +02:00
tschatzl
9ff26bdcbb 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
tschatzl
e08b57b552 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
tschatzl
cb03e1b73f 8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
2018-08-08 15:31:06 +02:00
xyin
7a555d55b0 8208279: Add 8 JNDI tests to com/sun/jndi/dns/EnvTests/
Reviewed-by: vtewari, rriggs
2018-08-08 10:21:23 +08:00
coleenp
e50d2fad19 8208575: Remove Atomic::add/sub for short
Summary: Removed code to atomic::add for short because it's no longer used for Symbol.
Reviewed-by: iklam
2018-08-07 19:35:50 -04:00
iklam
a9d8732b2f 8208999: Some use of Klass* should be replaced by InstanceKlass*
Summary: Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*
Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
sherman
d2461e2f2c 8208634: Add x-IBM-1129 charset
Reviewed-by: alanb, sherman
Contributed-by: enasser@in.ibm.com
2018-08-07 16:07:47 -07:00
redestad
ad45783d1d 8209003: Consolidate use of empty collections in java.lang.module
Reviewed-by: alanb, mchung
2018-08-07 23:08:52 +02:00
iignatyev
8a9c4f5787 8031761: [TESTBUG] Add a regression test for JDK-8026328
Reviewed-by: kvn, iignatyev
Contributed-by: staffan.larsen@oracle.com
2018-08-07 13:51:30 -07:00
ccheung
e3062cadc1 8208704: runtime/appcds/MultiReleaseJars.java timed out often in hs-tier7 testing
Summary: increase timout to 2400 and reduce the amount of output
Reviewed-by: mseledtsov, jiangli
2018-08-07 09:44:39 -07:00
mbaesken
44c129bf80 8208744: remove unneeded -DUSE_MMAP settings for JDK native libs builds
Reviewed-by: ihse, martin, alanb, dholmes
2018-08-03 07:59:01 +02:00
kvn
034b564d4a 8209023: fix 2 compiler tests to avoid JDK-8208690
Reviewed-by: dholmes, dcubed
2018-08-06 18:49:51 -07:00
dcubed
054ddc3b36 8209029: ProblemList tests that fail due to 'Error attaching to process: Can't create thread_db agent!' in jdk-11+25 testing
Reviewed-by: dholmes, sspitsyn
2018-08-06 20:52:41 -04:00
jcbeyler
b9eafeef96 8079682: [mlvm] remove SAM code in MHTransformationGen
Summary: Remove SAM code from the test and remove related dead code
Reviewed-by: iignatyev
2018-08-06 14:23:02 -07:00
shurailine
4dbe317ce2 8208364: java/lang/reflect/callerCache/ReflectionCallerCacheTest.java missing module dependencies declaration
Reviewed-by: mchung
2018-08-06 15:35:44 -07:00
psandoz
eb0d60113b 8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
Reviewed-by: mchung, plevart
2018-08-06 15:18:57 -07:00
fweimer
5e95e6c869 8208362: (bf) Long chains created by direct Buffer::slice
Reviewed-by: mr, psandoz, alanb
2018-08-06 14:55:04 -07:00
darcy
81108a1be1 8209024: Use SuppressWarnings on serialVersionUID fields in interfaces
Reviewed-by: bpb, rriggs, mullan
2018-08-06 14:29:22 -07:00
epavlova
3c1399de7d 8194958: [Graal] disable compiler/c2/cr7200264 tests
Reviewed-by: kvn, tschatzl
2018-08-06 13:53:49 -07:00
dcubed
b7934a7db5 8209020: ProblemList tests affected by JDK-8208778
Reviewed-by: hseigel
2018-08-06 16:15:09 -04:00
hseigel
f21974e5b8 8208604: Metadata::print_value_string() compares 'this' to NULL
Summary: Remove the comparison and add asserts to check for NULL
Reviewed-by: coleenp, gziemski
2018-08-06 14:20:58 -04:00
dcubed
0d538f8288 8209018: ProblemList tests affected by JDK-8208690
Reviewed-by: kvn
2018-08-06 13:57:26 -04:00
dholmes
3d07cee5ee 8208623: [TESTBUG] runtime/LoadClass/LongBCP.java fails in AUFS file system
Summary: Limit the maximal file name length to 242 for AUFS file system
Reviewed-by: dholmes, redestad
Contributed-by: pengfei.li@arm.com
2018-08-06 04:31:50 -04:00
alanb
ca836ed59e 8208998: Typo in ModueInfo.java, field for ModuleHashes should be moduleHashes
Reviewed-by: alanb
Contributed-by: christoph.dreis@freenet.de
2018-08-05 19:16:31 +01:00
darcy
52e9c320c0 8208782: Remove extra type in throws clause of SerialClob.writeObject
Reviewed-by: lancea
2018-08-03 21:06:15 -07:00
igerasim
67a58052ef 8204667: Resources not freed on exception
Reviewed-by: skoivu, chegar
2018-06-20 18:02:22 -07:00
joehw
91a9642dc1 8204497: Better formatting of decimals
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2018-06-15 14:19:51 -07:00
valeriep
f214690e36 8203654: Improve cypher state updates
Reviewed-by: ascarpino
2018-06-14 23:47:05 +00:00
vtewari
597ca5b0e7 8199177: Enhance JNDI lookups
Reviewed-by: michaelm, robm, skoivu, rhalade, chegar, rriggs, ahgross
Contributed-by: vyom.tewari@oracle.com
2018-06-08 15:56:23 +05:30
iklam
0111be7f01 8204267: Generate comments in -XX:+PrintInterpreter to link to source code
Summary: Changed __ macro to use Disassembler::hook()
Reviewed-by: coleenp, aph
2018-06-03 23:33:00 -07:00
amenkov
fa3a34578c 8201513: nsk/jvmti/IterateThroughHeap/filter-* are broken
Reviewed-by: sspitsyn, cjplummer
2018-07-13 10:10:51 -07:00
nishjain
791e60aba5 8193444: SimpleDateFormat throws ArrayIndexOutOfBoundsException when format contains long sequences of unicode characters
Reviewed-by: naoto, rriggs
2018-07-13 14:04:59 +05:30
dtitov
11495ee2e2 8191948: db error: InvalidTypeException: Can't assign double[][][] to double[][][]
Reviewed-by: sspitsyn, amenkov
2018-07-12 22:53:35 -07:00
valeriep
70c0b09cab 8179098: Crypto AES/ECB encryption/decryption performance regression (introduced in jdk9b73)
Summary: Do bounds check per encryption/decryption call instead of per block
Reviewed-by: ascarpino, redestad
2018-07-13 02:36:42 +00:00
weijun
6911dd7d65 8206189: sun/security/pkcs12/EmptyPassword.java fails with Sequence tag error
Reviewed-by: xuelei
2018-07-12 08:44:39 +08:00
mikael
f6194a974e 8207011: Remove uses of the register storage class specifier
Reviewed-by: kbarrett, kvn
2018-07-12 17:29:48 -07:00
gadams
07831988d1 8206007: nsk/jdb/exclude001 test is taking a long time on some builds
Reviewed-by: cjplummer, sspitsyn
2018-07-12 10:41:44 -04:00
lmesnik
f2eceae3d9 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled
Reviewed-by: kvn, mseledtsov
2018-07-12 13:32:45 -07:00
darcy
e077ba9e1c 8028563: Remove javac support for 6/1.6 source and target values
Reviewed-by: jjg, erikj, henryjen
2018-07-12 14:13:15 -07:00
joehw
65ed72244f 8194680: StartElement#getAttributes and getNamespaces refer to incorrect package
Reviewed-by: jjg, lancea
2018-07-12 12:06:22 -07:00
igerasim
5e985c8aea 8206122: Use Queue in place of ArrayList when need to remove first element
Reviewed-by: martin, jjg, vromero
2018-07-12 11:32:14 -07:00
igerasim
ffaa74a34e 8207060: Memory leak when malloc fails within WITH_UNICODE_STRING block
Reviewed-by: vtewari, rriggs
2018-07-12 11:18:01 -07:00
bchristi
2f3eed26d0 8195874: Improve jar specification adherence
Summary: Also reviewed by Chris Ries <chris.ries@oracle.com>
Reviewed-by: alanb, mchung, rriggs
2018-05-29 10:27:45 -07:00
sundar
883061b04f 8202936: Improve script engine support
Reviewed-by: jlaskey, ahgross, rhalade
2018-05-18 13:34:42 +05:30
hseigel
7f9f82a455 8199226: Improve field accesses
Reviewed-by: acorn, ahgross, rhalade
Contributed-by: harold.seigel@oracle.com
2018-05-14 09:05:20 -04:00
prr
1a53a46e0b 8200648: Make midi code more sound
Reviewed-by: serb, mschoene, rhalade
2018-04-23 16:15:26 -07:00
apetcher
95ebd76fe9 8201756: Improve cipher inputs
Summary: Clarify spec of CipherInputStream in Javadoc comments
Reviewed-by: ascarpino
2018-04-23 12:01:46 -04:00
weijun
0cbf108b5f 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
sherman
8405e85f95 8199172: Improve jar attribute checks
Reviewed-by: psandoz, alanb
2018-04-04 13:55:30 -07:00
vtewari
caf22c118e 8199110: Address Internet Addresses
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-03-30 08:37:31 +05:30
sherman
1f06d32b7e 8197881: Better StringBuilder support
Reviewed-by: rriggs
2018-03-28 08:42:45 -07:00
weijun
9c9f9eb5e3 8196897: Improve PRNG support
Reviewed-by: valeriep, mullan, igerasim
2018-03-08 14:04:39 +08:00
dholmes
f7e8e3a691 8211909: JDWP Transport Listener: dt_socket thread crash
Reviewed-by: dcubed, dsamersoff
2018-10-16 19:07:47 -04:00
jnimeh
b476163cbb 8210989: RSASSA-PSS certificate cannot be selected for client auth on TLSv1.2
Reviewed-by: xuelei
2018-10-16 12:05:57 -07:00
mchung
7f72dbc963 8212197: OpenDataException thrown when constructing CompositeData for StackTraceElement
Reviewed-by: alanb
2018-10-16 11:47:33 -07:00
jnimeh
49cbccaa7c 8211866: TLS 1.3 CertificateRequest message sometimes offers disallowed signature algorithms
Reviewed-by: xuelei
2018-10-16 11:24:41 -07:00
shade
5cb5a4b7ad 8212177: Epsilon alignment adjustments can overflow max TLAB size
Reviewed-by: pliden, tschatzl
2018-10-16 17:43:30 +02:00
rriggs
de37c4f398 8192939: Remove Finalize methods from FileInputStream and FileOutputStream
Reviewed-by: alanb, iris, mchung
2018-10-16 10:55:28 -04:00
hseigel
09dd4137ea 7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
Summary: Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.
Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
bpb
21cb7f509e 8212212: (bf) Incorrect path to stream preprocessor source in java.nio Buffer test scripts
Reviewed-by: alanb
2018-10-16 07:49:08 -07:00
bobv
c33967a525 Merge 2018-10-16 09:55:30 -04:00
bobv
2304b87c92 8211740: [AOT] -XX:AOTLibrary doesn't accept windows path
Reviewed-by: kvn, iignatyev
2018-10-16 09:54:28 -04:00
hannesw
74a0d4c11b 8210683: Search result display order reversed for overloaded entries
Reviewed-by: jjg
2018-10-16 15:05:03 +02:00
thartmann
ff8d613bfd 8210215: C2 should optimize trichotomy calculations
Summary: Ideal transformation to optimize trichotomic comparisons.
Reviewed-by: kvn, jrose
2018-10-16 14:17:19 +02:00
eosterlund
327df7a3a6 8210498: nmethod entry barriers
Reviewed-by: kvn, pliden
2018-10-16 13:18:22 +02:00
eosterlund
11b9fbec0e 8210330: Make CLD claiming allow multiple claim bits
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00
eosterlund
38a3f040d5 8210064: ZGC: Introduce ZConcurrentRootsIterator for scanning a subset of strong IN_NATIVE roots concurrently
Reviewed-by: pliden, kbarrett
2018-10-16 13:14:18 +02:00
pliden
aa2b3e6410 8212181: ZGC: Fix incorrect root iteration in ZHeapIterator
Reviewed-by: eosterlund
2018-10-16 13:43:04 +02:00
dfuchs
66cc93a031 8211960: broken links in java.util.logging
Reviewed-by: mchung, chegar
2018-10-16 12:38:46 +01:00
rwestberg
23578c0e1f 8212004: Optional compile_commands.json field not compatible with older libclang
Reviewed-by: erikj
2018-10-16 11:32:49 +02:00
tschatzl
194935cedd 8210492: PLAB object promotion events report object sizes in words
Summary: Properly scale values passed to the JFR event.
Reviewed-by: phh, jcbeyler
2018-10-16 11:27:21 +02:00
iignatyev
3092f7f95a 8167276: jvmci/compilerToVM/MaterializeVirtualObjectTest.java fails with -XX:-EliminateAllocations
Reviewed-by: kvn
2018-01-30 16:48:53 -08:00
iignatyev
6837324062 8150757: [TESTBUG] compiler/ciReplay/TestVM.sh and compiler/ciReplay/TestVM_no_comp_level.sh fail when no compilations are happening
Reviewed-by: kvn
2019-01-23 18:45:34 -08:00
iveresov
b55399b90c 8217678: [AOT] jck Math/IncrementExact and Math/DecrementExact tests fail when test classes are AOTed
Reviewed-by: kvn
2019-01-23 16:57:01 -08:00
iignatyev
547f4e739a 8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled
Reviewed-by: kvn
2019-01-23 16:36:45 -08:00
iignatyev
b7498517c1 8158646: [jittester] generated tests may not compile by javac
Reviewed-by: kvn
2019-01-23 16:25:40 -08:00
jwilhelm
fe52fe2d0f Added tag jdk-12+29 for changeset 44f41693631f 2019-01-24 00:43:22 +01:00
phedlin
c3a4490154 8191339: [JVMCI] BigInteger compiler intrinsics on Graal
Reviewed-by: kvn
2017-12-06 13:07:21 +01:00
roland
79e5e54f3d 8211451: ~2.5% regression on compression benchmark starting with 12-b11
Reviewed-by: kvn, thartmann
2018-11-08 10:20:04 +01:00
redestad
dbd3c182e5 8214045: Missing explicit dependencies of build-microbenchmark cause intermittent build failure
Reviewed-by: ihse, dholmes
2018-11-19 13:49:50 +01:00
gadams
950e243cfb 8213916: no copyright in signature.html
Reviewed-by: sspitsyn, rriggs, jcbeyler
2018-11-19 07:05:13 -05:00
shade
9a0ba55ff7 8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
Reviewed-by: mikael, thartmann
2018-11-19 11:51:27 +01:00
roland
13c1fc5a03 8213779: Loop opts anti dependent store detection should ignore uncommon trap calls
Reviewed-by: kvn
2018-11-13 09:59:50 +01:00
coffeys
f16c3ca060 8210838: Override javax.crypto.Cipher.toString()
Reviewed-by: mullan, weijun
2018-11-19 09:56:42 +00:00
bsrbnd
5a5d28230f 8214027: Reinstate testB_mem_imm pattern in x86_64.ad
Reviewed-by: rkennke
2018-11-18 19:45:33 +01:00
iklam
00cb94c39f 8213948: Solaris-X64 build fails with compact hashtable
Reviewed-by: dcubed, shade
2018-11-16 17:46:15 -08:00
rrich
eef850b0c8 8213902: com/sun/jdi/SetLocalWhileThreadInNative.java times out
Reviewed-by: dholmes, jcbeyler
Contributed-by: richard.reingruber@sap.com
2018-11-16 15:51:29 +01:00
shade
8e31c13180 8214004: Missing space between compiler thread name and task info in hs_err
Reviewed-by: dcubed, zgu
2018-11-17 13:48:50 +01:00
weijun
dcb6c86f93 8212003: Deprecating the default keytool -keyalg option
Reviewed-by: mullan, xuelei
2018-11-17 18:11:23 +08:00
jcbeyler
692472968c 8212931: HeapMonitorStatIntervalTest.java fails due average calculation
Summary: Added a method to get the actual size
Reviewed-by: amenkov, sspitsyn
2018-11-16 19:27:21 -08:00
ccheung
1a743f2e20 8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
Summary: Allow Java agent during CDS dumping if the AllowArchivingWithJavaAgent dignostic option is specified.
Reviewed-by: iklam, jiangli, sspitsyn, dcubed
2018-11-16 16:10:25 -08:00
redestad
c47284b17d 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
8061282: Migrate jmh-jdk-microbenchmarks into the JDK
Reviewed-by: ecaspole, mchung, erikj, ihse
Contributed-by: magnus.ihse.bursie@oracle.com, erik.joelsson@oracle.com, claes.redestad@oracle.com, sfriberg@kth.se
2018-11-16 23:39:51 +01:00
jiangli
911ab6d93a 8213898: CDS dumping of springboot asserts in G1ArchiveAllocator::alloc_new_region
Summary: HeapRegionManager::find_highest_free needs to check if the region obtained from the HeapRegionManager::_regions is available.
Reviewed-by: tschatzl, sjohanss
2018-11-16 13:23:50 -05:00
erikj
e3bfd65ca6 8214003: Limit default test jobs based on memory size
Reviewed-by: shade, tbell
2018-11-16 09:49:05 -08:00
dlong
c944655d69 8213959: add org.graalvm.compiler.replacements.test.StringCompressInflateTest to graal problem list
Reviewed-by: thartmann, kvn
2018-11-16 09:35:39 -08:00
bulasevich
fa6419f7ad 8213947: ARM32: failed check_simd should set UsePopCountInstruction to false
Reviewed-by: kvn
2018-11-16 19:30:11 +03:00
bulasevich
d0c0355a16 8213794: ARM32: disable TypeProfiling, CriticalJNINatives, Serviceablity tests for ARM32
Reviewed-by: dholmes
2018-11-16 19:29:40 +03:00
bulasevich
b9ae7cd90a 8213410: UseCompressedOops requirement check fails fails on 32-bit system
Reviewed-by: dholmes
2018-11-16 19:29:20 +03:00
erikj
0de8d970c7 8213906: Update arm devkits with libXrandr headers
Reviewed-by: tbell, prr
2018-11-16 08:25:46 -08:00
coleenp
6f90679cc5 8213092: Add more runtime locks for concurrent class unloading
Summary: Add locks for calling CLDG::purge concurrently as well and for calling SystemDictionary::do_unloading concurrently.
Reviewed-by: eosterlund, hseigel
2018-11-16 10:54:04 -05:00
coleenp
c1d0ee0d3e 8213751: ClassLoaderDataGraph::cld_do() should sometimes require CLDG_lock
Summary: Add version of loaded_cld_do for runtime calls.
Reviewed-by: eosterlund, rehn
2018-11-16 07:30:40 -05:00
mbaesken
4f8e7ed34a 8211326: add OS user related information to hs_err file
Reviewed-by: dholmes, stuefe
2018-11-15 17:08:59 +01:00
dzhou
3aa0b4ed5d 8210408: Refactor java.util.ResourceBundle:i18n shell tests to plain java tests
Reviewed-by: naoto
2018-11-15 21:53:30 -08:00
jcm
f2394ed102 8212779: ADL Parser does not check allocation return values in all cases
Summary: made to fail gracefully in case of malloc failure.
Reviewed-by: kvn
2018-11-15 21:26:35 -08:00
kbarrett
a4cddae8a0 8213352: Separate BufferNode allocation from PtrQueueSet
Summary: Move free-list management and allocation to new class.
Reviewed-by: tschatzl, sjohanss
2018-11-15 19:59:10 -05:00
dholmes
03fef58478 8213723: More Monitor/mutex initialization management
8213893: StringTable_lock is unused
Reviewed-by: tschatzl, dcubed, coleenp
2018-11-15 17:55:41 -05:00
iignatyev
ef1dd7addc 8213926: WB_EnqueueInitializerForCompilation requests compilation for NULL
Reviewed-by: kvn, roland
2018-11-15 14:01:10 -08:00
iignatyev
24c7c136f7 8213922: fix ctw stand-alone build
Reviewed-by: kvn, roland
2018-11-15 14:01:08 -08:00
dlong
1527bc86fe 8210777: Update Graal
Reviewed-by: kvn
2018-11-15 09:04:07 -08:00
shade
de649c97f0 8213373: Bulk MarkBitMap clearing methods
Reviewed-by: rkennke, zgu
2018-11-15 21:05:47 +01:00
manc
2824812210 8213829: Remove circular dependency between g1CollectedHeap and g1ConcurrentMark
Summary: Improve include statements related to g1CollectedHeap.inline.hpp
Reviewed-by: kbarrett, tschatzl
2018-11-13 22:08:44 -08:00
apetcher
ffe48a684b 8213363: X25519 private key PKCS#8 encoding/decoding is incorrect
Summary: Fixed private key format to match spec in RFC 8410
Reviewed-by: mullan
2018-11-15 13:22:29 -05:00
dtitov
bc9f716bd9 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException
Reviewed-by: sspitsyn, cjplummer
2018-11-15 09:56:49 -08:00
neliasso
86bd49fddf 8213538: VM crashes when MaxVectorSize is set to 0, 1 or 2
Summary: Require MaxVectorSize minimum 4 on 64 bit
Reviewed-by: kvn, thartmann
2018-11-15 09:45:18 +01:00
sgehwolf
2a00226ef3 8213736: Build fails with LOG=debug on F28 after JDK-8210958
Summary: Add --no-print-directory to make invocation of create-main-targets-include
Reviewed-by: erikj, tbell
2018-11-14 09:34:46 +01:00
mbaesken
1ec9048d83 8211106: [windows] Update OS detection code to recognize Windows Server 2019
Reviewed-by: alanb, clanger, bobv
2018-10-02 13:48:08 +02:00
michaelm
d86ca46e4d 8213616: URLPermission with query or fragment behaves incorrectly
Reviewed-by: chegar, dfuchs
2018-11-15 11:26:46 +00:00
mgronlun
80200611c0 8210024: JFR calls virtual is_Java_thread from ~Thread()
Reviewed-by: kbarrett, dholmes, dcubed, egahlin
2018-11-15 11:10:04 +01:00
rkennke
dccff84e0a 8213615: GC/C2 abstraction for escape analysis
Reviewed-by: kvn, roland
2018-11-15 10:59:56 +01:00
ssahoo
0065b1f7f5 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out
Summary: java.net.SocketTimeoutException: Read timed out
Reviewed-by: xuelei
2018-11-14 23:12:19 -08:00
pmuthuswamy
c9f73f60e1 8206475: Repeated word in error message
Reviewed-by: sundar
2018-11-15 11:23:43 +05:30
jwilhelm
1bdc7be103 Added tag jdk-12+20 for changeset 40098289d580 2018-11-15 01:58:53 +01:00
jjg
b5ed2e1d8e 8213913: Redundant HTML in java.se/module-info.java
Reviewed-by: lancea, mchung
2018-11-14 16:27:11 -08:00
jjg
07f4d5a090 8213910: Invalid HTML in java.net.http.HttpClient
Reviewed-by: mchung, darcy
2018-11-14 16:11:21 -08:00
jiangli
762792c250 8213713: Minor issues during MetaspaceShared::initialize_runtime_shared_and_meta_spaces
Summary: 1)Populate MetaspaceShared::_core_spaces_size early at mapping time; 2)Fix FileMapInfo::validate_shared_path_table to report failure properly; 3)Remove dead code in FileMapInfo::validate_shared_path_table.
Reviewed-by: iklam, ccheung
2018-11-14 18:49:02 -05:00
jcbeyler
9d9f067fa2 8213622: Windows VS2013 build failure - "'snprintf': identifier not found"
Summary: Replace snprintf with strlen and memcpy
Reviewed-by: dholmes, mvala, kbarrett
2018-11-14 12:25:15 -08:00
naoto
eafa190366 8213818: @return has already been specified
Reviewed-by: rriggs
2018-11-14 11:42:40 -08:00
rkennke
44ad4b3dc0 8213795: Force explicit null check on patching placeholder offset
Reviewed-by: kvn, adinn
2018-11-14 18:57:47 +01:00
mbalao
7db37ae9e3 8204142: AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts
Summary: Improvements on the synchronization of SequencedEvent events from different AppContexts
Reviewed-by: serb
2018-11-09 10:34:19 -03:00
erikj
544b370e91 8213709: jdk/javadoc/doclet/testValueTag/TestValueTagInModule.java missing modules declaration
Reviewed-by: jjg
2018-11-14 09:31:38 -08:00
erikj
2d297e7bdf 8211727: Adjust default concurrency settings for running tests on Sparc
Reviewed-by: ctornqvi, tbell, mikael
2018-11-14 09:26:28 -08:00
pchilanomate
345c245b74 8213708: Different #ifdef guards cause incorrect use of Monitor::check_block_state()
Summary: Wrapped check_block_state() method in DEBUG_ONLY macro and make the use of the latter more consistent
Reviewed-by: dcubed, dholmes
2018-11-14 09:50:01 -05:00
michaelm
4fd3e2c947 8213189: Make restricted headers in HTTP Client configurable and remove Date by default
Reviewed-by: dfuchs
2018-11-14 14:23:21 +00:00
18447 changed files with 662096 additions and 834717 deletions

22
.gitignore vendored
View File

@@ -1,7 +1,15 @@
JTwork
JTreport
*.class
.idea/workspace.xml
build/
# Project exclude paths
/jb/project/java-gradle/.gradle/
/build/
/dist/
/.idea/
nbproject/private/
/webrev
/.src-rev
/.jib/
.DS_Store
.metadata/
.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
**/JTreport/**
**/JTwork/**

91
.hgtags
View File

@@ -490,55 +490,62 @@ a11c1cb542bbd1671d25b85efe7d09b983c48525 jdk-11+15
02934b0d661b82b7fe1052a04998d2091352e08d jdk-11+16
64e4b1686141e57a681936a8283983341484676e jdk-11+17
e1b3def126240d5433902f3cb0e91a4c27f6db50 jdk-11+18
fb8b3f4672774e15654958295558a1af1b576919 jdk-11+19
fb8b3f4672774e15654958295558a1af1b576919 jdk-11+19
36ca515343e00b021dcfc902e986d26ec994a2e5 jdk-11+19
95aad0c785e497f1bade3955c4e4a677b629fa9d jdk-12+0
9816d7cc655e53ba081f938b656e31971b8f097a jdk-11+20
14708e1acdc3974f4539027cbbcfa6d69f83cf51 jdk-11+21
00b16d0457e43d23f6ca5ade6b243edce62750a0 jdk-12+1
9937ef7499dcd7673714517fd5e450410c14ba4e jdk-11+22
69b438908512d3dfef5852c6a843a5778333a309 jdk-12+2
1edcf36fe15f79d6228d1a63eb680878e2386480 jdk-11+23
990db216e7199b2ba9989d8fa20b657e0ca7d969 jdk-12+3
ea900a7dc7d77dee30865c60eabd87fc24b1037c jdk-11+24
499b873761d8e8a1cc4aa649daf04cbe98cbce77 jdk-12+4
331888ea4a788df801b1edf8836646cd25fc758b jdk-11+25
f8696e0ab9b795030429fc3374ec03e378fd9ed7 jdk-12+5
945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26
7939b3c4e4088bf4f70ec5bbd8030393b653372f jdk-12+6
9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27
ef57958c7c511162da8d9a75f0b977f0f7ac464e jdk-12+7
76072a077ee1d815152d45d1692c4b36c53c5c49 jdk-11+28
c01cc45790f871adec30acc90742b521d57a2fff jdk-11.0.1+0
1353ec839c82de926bfacd2c7976b6b652d4afb0 jdk-11.0.1+1
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
0000000000000000000000000000000000000000 jdk-11.0.1+2
fc55f0667af5ea3b21e40a59e2a88b1b82e65e62 jdk-11.0.1+2
781b5d8f2f75ae4dfdafc85630e5dbd31e324ed1 jdk-11.0.1+3
b5b1dd7e6f9d86aedf7141e9279342fae257bd67 jdk-11.0.1+4
d6efeebf554c918bfab50f89939eb11121e18432 jdk-11.0.1+5
db768cfe2141b3eb9ef53d7104002a0532c8c977 jdk-11.0.1+6
88a221c0bad0cee441767106776628550d660a82 jdk-11.0.1+7
c2b23a17d3ff92235aed8e8d04642d7a6eaecf54 jdk-11.0.1+8
adb9933aa8c68e6dec6b441133f3955fe7366206 jdk-11.0.1+9
a86e14193fc8ea98835fd3e2f867447164c7af53 jdk-11.0.1+10
0343f9aacae2d4a9e6df4e61087837166a6a477c jdk-11.0.1+11
c0431cf9c38e5c56eedc680e007a94c4279a8f13 jdk-11.0.1+12
8513ac27b65198d2e6562fb7da6e9c99b9fdcf51 jdk-11.0.1+13
7da060835810b5fbd4a7493ea1c98e9a4338f30d jdk-11.0.2+0
2be95a1bf50877cafba791c2f342953bd4a6412e jdk-11.0.2+1
b4b16f510f48e2dd4bea007b60fddf69af0f6c10 jdk-11.0.2+2
8a8606a3bdf2dbe0698bef375e6a4b47df0efb1a jdk-11.0.2+3
0db90dec8c39bc38058afa11b7fda607ee259d01 jdk-11.0.2+4
ff1f7723c4e88822fd60bcacd55824e1d3da6d36 jdk-11.0.2+5
c6fd7ff3e96f3e6f4913d026a90c6c454a7a35c8 jdk-11.0.2+6
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2+7
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
fe85e2f43a1c893cb410308106b0f31b814aebb8 jdk-11.0.2+8
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2+9
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
0000000000000000000000000000000000000000 jdk-11.0.2-ga
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2-ga
98e7354165d3a2443a8b845a5a526cc55d1b0dd7 jdk-11.0.3+0
cd1c042181e934a1a91f9ee59a0066f64c8bad7a jdk-11.0.3+1
9de3f198995c6c384fd6431c97089c311ec6a7ff jdk-11.0.3+2
d17a1764a0f318ab72beadb589c998d40951493a jdk-11.0.3+3
43d6759c3b2e36c1118e9753a080372294e1f17a jdk-11.0.3+4
c9865fee1a6d39a7bd2a5313f54c812d9a0852f5 jdk-11.0.3+5
8e139b8b4f62c0a1c4b13fa216f6fd975df81c1c jdk-11.0.3+6
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3+7
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3-ga
492b366f8e5784cc4927c2c98f9b8a3f16c067eb jdk-12+8
31b159f30fb281016c5f0c103552809aeda84063 jdk-12+9
8f594f75e0547d4ca16649cb3501659e3155e81b jdk-12+10
f0f5d23449d31f1b3580c8a73313918cafeaefd7 jdk-12+11
15094d12a632f452a2064318a4e416d0c7a9ce0c jdk-12+12
511a9946f83e3e3c7b9dbe1840367063fb39b4e1 jdk-12+13
8897e41b327c0a5601c6ba2bba5d07f15a3ffc91 jdk-12+14
8897e41b327c0a5601c6ba2bba5d07f15a3ffc91 jdk-12+14
6f04692c7d5137ee34a6bd94c0c8a6c9219cb127 jdk-12+14
f8626bcc169813a4b2a15880386b952719d1d6d1 jdk-12+15
199658d1ef860cdc17055b4fd3e94b057f292fe9 jdk-12+16
eefa65e142af305923d2adcd596fab9c639723a1 jdk-12+17
e38473506688e0995e701fc7f77d5a91b438ef93 jdk-12+18
dc1f9dec2018a37fedba47d8a2aedef99faaec64 jdk-12+19
40098289d5804c3b5e7074bc75501a81e70d9b0d jdk-12+20
f8fb0c86f2b3d24294d39c5685a628e1beb14ba7 jdk-12+21
732bec44c89e8b93a38296bf690f97b7230c5b6d jdk-12+22
eef755718cb24813031a842bbfc716a6cea18e9a jdk-12+23
cc4098b3bc10d1c390384289025fea7b0d4b9e93 jdk-13+0
7d4397b43fa305806160785a4c7210600d59581a jdk-12+24
11033c4ada542f9c9a873314b6ecf60af19e8256 jdk-13+1
7496df94b3b79f3da53925d2d137317715f11d97 jdk-12+25
50677f43ac3df9a8684222b8893543c60f3aa0bd jdk-13+2
de9fd809bb475401aad188eab2264226788aad81 jdk-12+26
642346a11059b9f283110dc301a24ed43b76a94e jdk-13+3
f15d443f97318e9b40e6f451e327ff69ed4ec361 jdk-12+27
a47b8125b7cc9ef59619745c163975fe935b57ed jdk-13+4
659b004b6a1bd8c31e766cbdf328d8f8473fd4d7 jdk-12+28
e3ed960609927b5fdfd0a797159835cd83a81a31 jdk-13+5
44f41693631f9b5ac78ff4d2bfabd6734fe46df2 jdk-12+29
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

View File

@@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="LINE_SEPARATOR" value="&#10;" />
</code_scheme>
</component>

View File

@@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

View File

@@ -1,9 +0,0 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

View File

@@ -1,3 +0,0 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@@ -1,2 +1,2 @@
project=jdk10
project=jdk
bugids=dup

View File

@@ -1,60 +0,0 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Downloads
|Windows-x64 |macOS |Linux-x64 |
|-------------|-------------|-------------|
|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-windows-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-windows-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-osx-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-osx-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-linux-x64/_latestVersion"><img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-linux-x64/images/download.svg"/></a>|
# How JetBrains Runtime is organised
## Workspaces
[github.com/JetBrains/JetBrainsRuntime](https://github.com/JetBrains/JetBrainsRuntime)
## Getting sources
__OSX, Linux:__
```
git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
__Windows:__
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
# Configure Local Build Environment
## Linux (docker)
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
```
## Linux (Ubuntu 18.10 desktop)
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev install libcups2-dev libfontconfig1-dev libasound2-dev
$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
$ make images
```
## Windows
#### TBD
## OSX
#### TBD
## Contribution
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 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
@@ -49,7 +49,7 @@ do
;;
-o | --output )
IDEA_OUTPUT=$2
IDEA_OUTPUT=$2/.idea
shift
;;
@@ -64,28 +64,25 @@ do
shift
done
mkdir $IDEA_OUTPUT || exit 1
mkdir -p $IDEA_OUTPUT || exit 1
cd $IDEA_OUTPUT; IDEA_OUTPUT=`pwd`
if [ "x$TOPLEVEL_DIR" = "x" ] ; then
cd $SCRIPT_DIR/..
TOPLEVEL_DIR=`pwd`
cd $IDEA_OUTPUT
fi
MAKE_DIR="$SCRIPT_DIR/../make"
IDEA_MAKE="$MAKE_DIR/idea"
IDEA_TEMPLATE="$IDEA_MAKE/template"
cp -r "$IDEA_TEMPLATE"/* "$IDEA_OUTPUT"
#init template variables
for file in `ls -p $IDEA_TEMPLATE | grep -v /`; do
VAR_SUFFIX=`echo $file | cut -d'.' -f1 | tr [:lower:] [:upper:]`
eval "$VAR_SUFFIX"_TEMPLATE="$IDEA_TEMPLATE"/$file
eval IDEA_"$VAR_SUFFIX"="$IDEA_OUTPUT"/$file
done
#override template variables
#override template
if [ -d "$TEMPLATES_OVERRIDE" ] ; then
for file in `ls -p "$TEMPLATES_OVERRIDE" | grep -v /`; do
cp "$TEMPLATES_OVERRIDE"/$file "$IDEA_OUTPUT"/
VAR_SUFFIX=`echo $file | cut -d'.' -f1 | tr [:lower:] [:upper:]`
eval "$VAR_SUFFIX"_TEMPLATE="$TEMPLATES_OVERRIDE"/$file
done
fi
@@ -94,14 +91,6 @@ if [ "$VERBOSE" = "true" ] ; then
echo "idea template dir: $IDEA_TEMPLATE"
fi
if [ ! -f "$JDK_TEMPLATE" ] ; then
echo "FATAL: cannot find $JDK_TEMPLATE" >&2; exit 1
fi
if [ ! -f "$ANT_TEMPLATE" ] ; then
echo "FATAL: cannot find $ANT_TEMPLATE" >&2; exit 1
fi
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" || exit 1
cd $SCRIPT_DIR
@@ -124,94 +113,62 @@ if [ "x$SPEC" = "x" ] ; then
echo "FATAL: SPEC is empty" >&2; exit 1
fi
SOURCE_FOLDER=" <sourceFolder url=\"file://\$MODULE_DIR\$/####\" isTestSource=\"false\" />"
SOURCE_FOLDERS_DONE="false"
### Replace template variables
addSourceFolder() {
root=$@
relativePath="`echo "$root" | sed -e s@"$TOP/\(.*$\)"@"\1"@`"
folder="`echo "$SOURCE_FOLDER" | sed -e s@"\(.*/\)####\(.*\)"@"\1$relativePath\2"@`"
printf "%s\n" "$folder" >> $IDEA_JDK
NUM_REPLACEMENTS=0
replace_template_file() {
for i in $(seq 1 $NUM_REPLACEMENTS); do
eval "sed \"s|\${FROM${i}}|\${TO${i}}|g\" $1 > $1.tmp"
mv $1.tmp $1
done
}
### Generate project iml
replace_template_dir() {
for f in `find $1 -type f` ; do
replace_template_file $f
done
}
rm -f $IDEA_JDK
while IFS= read -r line
do
if echo "$line" | egrep "^ .* <sourceFolder.*####" > /dev/null ; then
if [ "$SOURCE_FOLDERS_DONE" = "false" ] ; then
SOURCE_FOLDERS_DONE="true"
for root in $MODULE_ROOTS; do
addSourceFolder $root
done
add_replacement() {
NUM_REPLACEMENTS=`expr $NUM_REPLACEMENTS + 1`
eval FROM$NUM_REPLACEMENTS='$1'
eval TO$NUM_REPLACEMENTS='$2'
}
add_replacement "###MODULE_NAMES###" "$MODULE_NAMES"
SPEC_DIR=`dirname $SPEC`
if [ "x$CYGPATH" = "x" ]; then
add_replacement "###BUILD_DIR###" "$SPEC_DIR"
add_replacement "###JTREG_HOME###" "$JT_HOME"
add_replacement "###IMAGES_DIR###" "$SPEC_DIR/images/jdk"
add_replacement "###ROOT_DIR###" "$TOPLEVEL_DIR"
add_replacement "###IDEA_DIR###" "$IDEA_OUTPUT"
else
add_replacement "###BUILD_DIR###" "`cygpath -am $SPEC_DIR`"
add_replacement "###IMAGES_DIR###" "`cygpath -am $SPEC_DIR`/images/jdk"
add_replacement "###ROOT_DIR###" "`cygpath -am $TOPLEVEL_DIR`"
add_replacement "###IDEA_DIR###" "`cygpath -am $IDEA_OUTPUT`"
if [ "x$JT_HOME" = "x" ]; then
add_replacement "###JTREG_HOME###" ""
else
add_replacement "###JTREG_HOME###" "`cygpath -am $JT_HOME`"
fi
else
printf "%s\n" "$line" >> $IDEA_JDK
fi
done < "$JDK_TEMPLATE"
fi
SOURCE_PREFIX="<sourceFolder url=\"file://"
SOURCE_POSTFIX="\" isTestSource=\"false\" />"
MODULE_NAME=" <property name=\"module.name\" value=\"####\" />"
for root in $MODULE_ROOTS; do
if [ "x$CYGPATH" != "x" ]; then
root=`cygpath -am $root`
fi
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
done
addModuleName() {
mn="`echo "$MODULE_NAME" | sed -e s@"\(.*\)####\(.*\)"@"\1$MODULE_NAMES\2"@`"
printf "%s\n" "$mn" >> $IDEA_ANT
}
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
BUILD_DIR=" <property name=\"build.target.dir\" value=\"####\" />"
addBuildDir() {
DIR=`dirname $SPEC`
mn="`echo "$BUILD_DIR" | sed -e s@"\(.*\)####\(.*\)"@"\1$DIR\2"@`"
printf "%s\n" "$mn" >> $IDEA_ANT
}
### Generate ant.xml
rm -f $IDEA_ANT
while IFS= read -r line
do
if echo "$line" | egrep "^ .* <property name=\"module.name\"" > /dev/null ; then
addModuleName
elif echo "$line" | egrep "^ .* <property name=\"build.target.dir\"" > /dev/null ; then
addBuildDir
else
printf "%s\n" "$line" >> $IDEA_ANT
fi
done < "$ANT_TEMPLATE"
### Generate misc.xml
rm -f $IDEA_MISC
JTREG_HOME=" <path>####</path>"
IMAGES_DIR=" <jre alt=\"true\" value=\"####\" />"
addImagesDir() {
DIR=`dirname $SPEC`/images/jdk
mn="`echo "$IMAGES_DIR" | sed -e s@"\(.*\)####\(.*\)"@"\1$DIR\2"@`"
printf "%s\n" "$mn" >> $IDEA_MISC
}
addJtregHome() {
DIR=`dirname $SPEC`
mn="`echo "$JTREG_HOME" | sed -e s@"\(.*\)####\(.*\)"@"\1$JT_HOME\2"@`"
printf "%s\n" "$mn" >> $IDEA_MISC
}
rm -f $MISC_ANT
while IFS= read -r line
do
if echo "$line" | egrep "^ .*<path>jtreg_home</path>" > /dev/null ; then
addJtregHome
elif echo "$line" | egrep "^ .*<jre alt=\"true\" value=\"images_jdk\"" > /dev/null ; then
addImagesDir
else
printf "%s\n" "$line" >> $IDEA_MISC
fi
done < "$MISC_TEMPLATE"
replace_template_dir "$IDEA_OUTPUT"
### Compile the custom Logger

View File

@@ -1,19 +1,24 @@
<!DOCTYPE html>
<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">
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Building the JDK</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css">
<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]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<header>
<header id="title-block-header">
<h1 class="title">Building the JDK</h1>
</header>
<nav id="TOC">
@@ -26,7 +31,8 @@
<li><a href="#build-hardware-requirements">Build Hardware Requirements</a><ul>
<li><a href="#building-on-x86">Building on x86</a></li>
<li><a href="#building-on-sparc">Building on sparc</a></li>
<li><a href="#building-on-armaarch64">Building on arm/aarch64</a></li>
<li><a href="#building-on-aarch64">Building on aarch64</a></li>
<li><a href="#building-on-32-bit-arm">Building on 32-bit arm</a></li>
</ul></li>
<li><a href="#operating-system-requirements">Operating System Requirements</a><ul>
<li><a href="#windows">Windows</a></li>
@@ -68,10 +74,12 @@
</ul></li>
<li><a href="#running-tests">Running Tests</a></li>
<li><a href="#cross-compiling">Cross-compiling</a><ul>
<li><a href="#cross-compiling-the-easy-way-with-openjdk-devkits">Cross compiling the easy way with OpenJDK devkits</a></li>
<li><a href="#boot-jdk-and-build-jdk">Boot JDK and Build JDK</a></li>
<li><a href="#specifying-the-target-platform">Specifying the Target Platform</a></li>
<li><a href="#toolchain-considerations">Toolchain Considerations</a></li>
<li><a href="#native-libraries">Native Libraries</a></li>
<li><a href="#creating-and-using-sysroots-with-qemu-deboostrap">Creating And Using Sysroots With qemu-deboostrap</a></li>
<li><a href="#building-for-armaarch64">Building for ARM/aarch64</a></li>
<li><a href="#verifying-the-build">Verifying the Build</a></li>
</ul></li>
@@ -91,7 +99,7 @@
<li><a href="#getting-help">Getting Help</a></li>
</ul></li>
<li><a href="#hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</a><ul>
<li><a href="#setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</a></li>
<li><a href="#setting-up-a-repository-for-pushing-changes-defpath">Setting Up a Repository for Pushing Changes (defpath)</a></li>
<li><a href="#bash-completion">Bash Completion</a></li>
<li><a href="#using-multiple-configurations">Using Multiple Configurations</a></li>
<li><a href="#handling-reconfigurations">Handling Reconfigurations</a></li>
@@ -129,7 +137,7 @@
<p>The JDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.</p>
<p>If you just want to use the JDK and not build it yourself, this document is not for you. See for instance <a href="http://openjdk.java.net/install">OpenJDK installation</a> for some methods of installing a prebuilt JDK.</p>
<h2 id="getting-the-source-code">Getting the Source Code</h2>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="http://hg.openjdk.java.net/">OpenJDK Mercurial server</a> you can see a list of all available forests. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the <a href="http://hg.openjdk.java.net/">OpenJDK Mercurial server</a> you can see a list of all available repositories. If you want to build an older version, e.g. JDK 8, it is recommended that you get the <code>jdk8u</code> forest, which contains incremental updates, instead of the <code>jdk8</code> forest, which was frozen at JDK 8 GA.</p>
<p>If you are new to Mercurial, a good place to start is the <a href="http://www.mercurial-scm.org/guide">Mercurial Beginner's Guide</a>. The rest of this document assumes a working knowledge of Mercurial.</p>
<h3 id="special-considerations">Special Considerations</h3>
<p>For a smooth building experience, it is recommended that you follow these rules on where and how to check out the source code.</p>
@@ -137,7 +145,7 @@
<li><p>Do not check out the source code in a path which contains spaces. Chances are the build will not work. This is most likely to be an issue on Windows systems.</p></li>
<li><p>Do not check out the source code in a path which has a very long name or is nested many levels deep. Chances are you will hit an OS limitation during the build.</p></li>
<li><p>Put the source code on a local disk, not a network share. If possible, use an SSD. The build process is very disk intensive, and having slow disk access will significantly increase build times. If you need to use a network share for the source code, see below for suggestions on how to keep the build artifacts on a local disk.</p></li>
<li><p>On Windows, extra care must be taken to make sure the <a href="#cygwin">Cygwin</a> environment is consistent. It is recommended that you follow this procedure:</p>
<li><p>On Windows, if using <a href="#cygwin">Cygwin</a>, extra care must be taken to make sure the environment is consistent. It is recommended that you follow this procedure:</p>
<ul>
<li><p>Create the directory that is going to contain the top directory of the JDK clone by using the <code>mkdir</code> command in the Cygwin bash shell. That is, do <em>not</em> create it using Windows Explorer. This will ensure that it will have proper Cygwin attributes, and that it's children will inherit those attributes.</p></li>
<li><p>Do not put the JDK clone in a path under your Cygwin home directory. This is especially important if your user name contains spaces and/or mixed upper and lower case letters.</p></li>
@@ -153,7 +161,10 @@
<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>
<h3 id="building-on-armaarch64">Building on arm/aarch64</h3>
<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>
<h3 id="building-on-32-bit-arm">Building on 32-bit arm</h3>
<p>This is not recommended. Instead, see the section on <a href="#cross-compiling">Cross-compiling</a>.</p>
<h2 id="operating-system-requirements">Operating System Requirements</h2>
<p>The mainline JDK project supports Linux, Solaris, macOS, AIX and Windows. Support for other operating system, e.g. BSD, exists in separate &quot;port&quot; projects.</p>
@@ -190,12 +201,12 @@
<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>
<p>On Windows, it is important that you pay attention to the instructions in the <a href="#special-considerations">Special Considerations</a>.</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layer is Cygwin. (Msys is no longer supported due to a too old bash; msys2 and the new Windows Subsystem for Linux (WSL) would likely be possible to support in a future version but that would require effort to implement.)</p>
<p>Windows is the only non-POSIX OS supported by the JDK, and as such, requires some extra care. A POSIX support layer is required to build on Windows. Currently, the only supported such layers are Cygwin and Windows Subsystem for Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would likely be possible to support in a future version but that would require effort to implement.)</p>
<p>Internally in the build system, all paths are represented as Unix-style paths, e.g. <code>/cygdrive/c/hg/jdk9/Makefile</code> rather than <code>C:\hg\jdk9\Makefile</code>. This rule also applies to input to the build system, e.g. in arguments to <code>configure</code>. So, use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than <code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is thus required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment is required for building the JDK on Windows. If you have a 64-bit OS, we strongly recommend using the 64-bit version of Cygwin.</p>
<p><strong>Note:</strong> Cygwin has a model of continuously updating all packages without any easy way to install or revert to a specific version of a package. This means that whenever you add or update a package in Cygwin, you might (inadvertently) update tools that are used by the JDK build process, and that can cause unexpected build problems.</p>
<p>The JDK requires GNU Make 4.0 or greater on Windows. This is usually not a problem, since Cygwin currently only distributes GNU Make at a version above 4.0.</p>
<p>The JDK requires GNU Make 4.0 or greater in Cygwin. This is usually not a problem, since Cygwin currently only distributes GNU Make at a version above 4.0.</p>
<p>Apart from the basic Cygwin installation, the following packages must also be installed:</p>
<ul>
<li><code>autoconf</code></li>
@@ -206,6 +217,11 @@
<p>Often, you can install these packages using the following command line:</p>
<pre><code>&lt;path to Cygwin setup&gt;/setup-x86_64 -q -P autoconf -P make -P unzip -P zip</code></pre>
<p>Unfortunately, Cygwin can be unreliable in certain circumstances. If you experience build tool crashes or strange issues when building on Windows, please check the Cygwin FAQ on the <a href="https://cygwin.com/faq/faq.html#faq.using.bloda">&quot;BLODA&quot; list</a> and the section on <a href="https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures">fork() failures</a>.</p>
<h4 id="windows-subsystem-for-linux-wsl">Windows Subsystem for Linux (WSL)</h4>
<p>Windows 10 1809 or newer is supported due to a dependency on the wslpath utility and support for environment variable sharing through WSLENV. Version 1803 can work but intermittent build failures have been observed.</p>
<p>It's possible to build both Windows and Linux binaries from WSL. To build Windows binaries, you must use a Windows boot JDK (located in a Windows-accessible directory). To build Linux binaries, you must use a Linux boot JDK. The default behavior is to build for Windows. To build for Linux, pass <code>--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu</code> to <code>configure</code>.</p>
<p>If building Windows binaries, the source code must be located in a Windows- accessible directory. This is because Windows executables (such as Visual Studio and the boot JDK) must be able to access the source code. Also, the drive where the source is stored must be mounted as case-insensitive by changing either /etc/fstab or /etc/wsl.conf in WSL. Individual directories may be corrected using the fsutil tool in case the source was cloned before changing the mount options.</p>
<p>Note that while it's possible to build on WSL, testing is still not fully supported.</p>
<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>
@@ -221,7 +237,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>
@@ -357,8 +373,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<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>
@@ -390,9 +405,9 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<h3 id="x11">X11</h3>
<p>Certain <a href="http://www.x.org/">X11</a> libraries and include files are required on Linux and Solaris.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel</code>.</li>
<li>To install on Solaris, try running <code>pkg install x11/header/x11-protocols x11/library/libice x11/library/libpthread-stubs x11/library/libsm x11/library/libx11 x11/library/libxau x11/library/libxcb x11/library/libxdmcp x11/library/libxevie x11/library/libxext x11/library/libxrender x11/library/libxscrnsaver x11/library/libxtst x11/library/toolkit/libxt</code>.</li>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel</code>.</li>
<li>To install on Solaris, try running <code>pkg install x11/header/x11-protocols x11/library/libice x11/library/libpthread-stubs x11/library/libsm x11/library/libx11 x11/library/libxau x11/library/libxcb x11/library/libxdmcp x11/library/libxevie x11/library/libxext x11/library/libxrender x11/library/libxrandr x11/library/libxscrnsaver x11/library/libxtst x11/library/toolkit/libxt</code>.</li>
</ul>
<p>Use <code>--with-x=&lt;path&gt;</code> if <code>configure</code> does not properly locate your X11 files.</p>
<h3 id="alsa">ALSA</h3>
@@ -458,6 +473,10 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<li><code>--with-jvm-features=&lt;feature&gt;[,&lt;feature&gt;...]</code> - Use the specified JVM features when building Hotspot. The list of features will be enabled on top of the default list. For the <code>custom</code> JVM variant, this default list is empty. A complete list of available JVM features can be found using <code>bash configure --help</code>.</li>
<li><code>--with-target-bits=&lt;bits&gt;</code> - Create a target binary suitable for running on a <code>&lt;bits&gt;</code> platform. Use this to create 32-bit output on a 64-bit build platform, instead of doing a full cross-compile. (This is known as a <em>reduced</em> build.)</li>
</ul>
<p>On Linux, BSD and AIX, it is possible to override where Java by default searches for runtime/JNI libraries. This can be useful in situations where there is a special shared directory for system JNI libraries. This setting can in turn be overriden at runtime by setting the <code>java.library.path</code> property.</p>
<ul>
<li><code>--with-jni-libpath=&lt;path&gt;</code> - Use the specified path as a default when searching for runtime libraries.</li>
</ul>
<h4 id="configure-arguments-for-native-compilation">Configure Arguments for Native Compilation</h4>
<ul>
<li><code>--with-devkit=&lt;path&gt;</code> - Use this devkit for compilers, tools and resources</li>
@@ -565,6 +584,47 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>This requires a more complex setup and build procedure. This section assumes you are familiar with cross-compiling in general, and will only deal with the particularities of cross-compiling the JDK. If you are new to cross-compiling, please see the <a href="https://en.wikipedia.org/wiki/Cross_compiler#External_links">external links at Wikipedia</a> for a good start on reading materials.</p>
<p>Cross-compiling the JDK requires you to be able to build both for the build platform and for the target platform. The reason for the former is that we need to build and execute tools during the build process, both native tools and Java tools.</p>
<p>If all you want to do is to compile a 32-bit version, for the same OS, on a 64-bit machine, consider using <code>--with-target-bits=32</code> instead of doing a full-blown cross-compilation. (While this surely is possible, it's a lot more work and will take much longer to build.)</p>
<h3 id="cross-compiling-the-easy-way-with-openjdk-devkits">Cross compiling the easy way with OpenJDK devkits</h3>
<p>The OpenJDK build system provides out-of-the box support for creating and using so called devkits. A <code>devkit</code> is basically a collection of a cross-compiling toolchain and a sysroot environment which can easily be used together with the <code>--with-devkit</code> configure option to cross compile the OpenJDK. On Linux/x86_64, the following command:</p>
<pre><code>bash configure --with-devkit=&lt;devkit-path&gt; --openjdk-target=ppc64-linux-gnu &amp;&amp; make</code></pre>
<p>will configure and build OpenJDK for Linux/ppc64 assuming that <code>&lt;devkit-path&gt;</code> points to a Linux/x86_64 to Linux/ppc64 devkit.</p>
<p>Devkits can be created from the <code>make/devkit</code> directory by executing:</p>
<pre><code>make [ TARGETS=&quot;&lt;TARGET_TRIPLET&gt;+&quot; ] [ BASE_OS=&lt;OS&gt; ] [ BASE_OS_VERSION=&lt;VER&gt; ]</code></pre>
<p>where <code>TARGETS</code> contains one or more <code>TARGET_TRIPLET</code>s of the form described in <a href="https://sourceware.org/autobook/autobook/autobook_17.html">section 3.4 of the GNU Autobook</a>. If no targets are given, a native toolchain for the current platform will be created. Currently, at least the following targets are known to work:</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Supported devkit targets</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86_64-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">aarch64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">arm-linux-gnueabihf</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">ppc64le-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">s390x-linux-gnu</td>
</tr>
</tbody>
</table>
<p><code>BASE_OS</code> must be one of &quot;OEL6&quot; for Oracle Enterprise Linux 6 or &quot;Fedora&quot; (if not specified &quot;OEL6&quot; will be the default). If the base OS is &quot;Fedora&quot; the corresponding Fedora release can be specified with the help of the <code>BASE_OS_VERSION</code> option (with &quot;27&quot; as default version). If the build is successful, the new devkits can be found in the <code>build/devkit/result</code> subdirectory:</p>
<pre><code>cd make/devkit
make TARGETS=&quot;ppc64le-linux-gnu aarch64-linux-gnu&quot; BASE_OS=Fedora BASE_OS_VERSION=21
ls -1 ../../build/devkit/result/
x86_64-linux-gnu-to-aarch64-linux-gnu
x86_64-linux-gnu-to-ppc64le-linux-gnu</code></pre>
<p>Notice that devkits are not only useful for targeting different build platforms. Because they contain the full build dependencies for a system (i.e. compiler and root file system), they can easily be used to build well-known, reliable and reproducible build environments. You can for example create and use a devkit with GCC 7.3 and a Fedora 12 sysroot environment (with glibc 2.11) on Ubuntu 14.04 (which doesn't have GCC 7.3 by default) to produce OpenJDK binaries which will run on all Linux systems with runtime libraries newer than the ones from Fedora 12 (e.g. Ubuntu 16.04, SLES 11 or RHEL 6).</p>
<h3 id="boot-jdk-and-build-jdk">Boot JDK and Build JDK</h3>
<p>When cross-compiling, make sure you use a boot JDK that runs on the <em>build</em> system, and not on the <em>target</em> system.</p>
<p>To be able to build, we need a &quot;Build JDK&quot;, which is a JDK built from the current sources (that is, the same as the end result of the entire build process), but able to run on the <em>build</em> system, and not the <em>target</em> system. (In contrast, the Boot JDK should be from an older release, e.g. JDK 8 when building JDK 9.)</p>
@@ -589,11 +649,13 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>Note that alsa is needed even if you only want to build a headless JDK.</p>
<ul>
<li><p>Go to <a href="https://www.debian.org/distrib/packages">Debian Package Search</a> and search for the <code>libasound2</code> and <code>libasound2-dev</code> packages for your <em>target</em> system. Download them to /tmp.</p></li>
<li><p>Install the libraries into the cross-compilation toolchain. For instance:</p>
<li>Install the libraries into the cross-compilation toolchain. For instance:</li>
</ul>
<pre><code>cd /tools/gcc-linaro-arm-linux-gnueabihf-raspbian-2012.09-20120921_linux/arm-linux-gnueabihf/libc
dpkg-deb -x /tmp/libasound2_1.0.25-4_armhf.deb .
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre></li>
<li><p>If alsa is not properly detected by <code>configure</code>, you can point it out by <code>--with-alsa</code>.</p></li>
dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre>
<ul>
<li>If alsa is not properly detected by <code>configure</code>, you can point it out by <code>--with-alsa</code>.</li>
</ul>
<h4 id="x11-1">X11</h4>
<p>You will need X11 libraries suitable for your <em>target</em> system. For most cases, using Debian's pre-built libraries work fine.</p>
@@ -611,6 +673,7 @@ dpkg-deb -x /tmp/libasound2-dev_1.0.25-4_armhf.deb .</code></pre></li>
<li>libice-dev</li>
<li>libxrender</li>
<li>libxrender-dev</li>
<li>libxrandr-dev</li>
<li>libsm-dev</li>
<li>libxt-dev</li>
<li>libx11</li>
@@ -634,9 +697,78 @@ cp: cannot stat `arm-linux-gnueabihf/libSM.so&#39;: No such file or directory
cp: cannot stat `arm-linux-gnueabihf/libXt.so&#39;: No such file or directory</code></pre></li>
<li><p>If the X11 libraries are not properly detected by <code>configure</code>, you can point them out by <code>--with-x</code>.</p></li>
</ul>
<h3 id="creating-and-using-sysroots-with-qemu-deboostrap">Creating And Using Sysroots With qemu-deboostrap</h3>
<p>Fortunately, you can create sysroots for foreign architectures with tools provided by your OS. On Debian/Ubuntu systems, one could use <code>qemu-deboostrap</code> to create the <em>target</em> system chroot, which would have the native libraries and headers specific to that <em>target</em> system. After that, we can use the cross-compiler on the <em>build</em> system, pointing into chroot to get the build dependencies right. This allows building for foreign architectures with native compilation speed.</p>
<p>For example, cross-compiling to AArch64 from x86_64 could be done like this:</p>
<ul>
<li>Install cross-compiler on the <em>build</em> system:</li>
</ul>
<pre><code>apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu</code></pre>
<ul>
<li>Create chroot on the <em>build</em> system, configuring it for <em>target</em> system:</li>
</ul>
<pre><code>sudo qemu-debootstrap --arch=arm64 --verbose \
--include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \
--resolve-deps jessie /chroots/arm64 http://httpredir.debian.org/debian/</code></pre>
<ul>
<li>Configure and build with newly created chroot as sysroot/toolchain-path:</li>
</ul>
<pre><code>CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure --openjdk-target=aarch64-linux-gnu --with-sysroot=/chroots/arm64/ --with-toolchain-path=/chroots/arm64/
make images
ls build/linux-aarch64-normal-server-release/</code></pre>
<p>The build does not create new files in that chroot, so it can be reused for multiple builds without additional cleanup.</p>
<p>Architectures that are known to successfully cross-compile like this are:</p>
<table>
<thead>
<tr class="header">
<th style="text-align: left;">Target</th>
<th style="text-align: left;"><code>CC</code></th>
<th style="text-align: left;"><code>CXX</code></th>
<th style="text-align: left;"><code>--arch=...</code></th>
<th style="text-align: left;"><code>--openjdk-target=...</code></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">x86</td>
<td style="text-align: left;">default</td>
<td style="text-align: left;">default</td>
<td style="text-align: left;">i386</td>
<td style="text-align: left;">i386-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">armhf</td>
<td style="text-align: left;">gcc-arm-linux-gnueabihf</td>
<td style="text-align: left;">g++-arm-linux-gnueabihf</td>
<td style="text-align: left;">armhf</td>
<td style="text-align: left;">arm-linux-gnueabihf</td>
</tr>
<tr class="odd">
<td style="text-align: left;">aarch64</td>
<td style="text-align: left;">gcc-aarch64-linux-gnu</td>
<td style="text-align: left;">g++-aarch64-linux-gnu</td>
<td style="text-align: left;">arm64</td>
<td style="text-align: left;">aarch64-linux-gnu</td>
</tr>
<tr class="even">
<td style="text-align: left;">ppc64el</td>
<td style="text-align: left;">gcc-powerpc64le-linux-gnu</td>
<td style="text-align: left;">g++-powerpc64le-linux-gnu</td>
<td style="text-align: left;">ppc64el</td>
<td style="text-align: left;">powerpc64le-linux-gnu</td>
</tr>
<tr class="odd">
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">gcc-s390x-linux-gnu</td>
<td style="text-align: left;">g++-s390x-linux-gnu</td>
<td style="text-align: left;">s390x</td>
<td style="text-align: left;">s390x-linux-gnu</td>
</tr>
</tbody>
</table>
<p>Additional architectures might be supported by Debian/Ubuntu Ports.</p>
<h3 id="building-for-armaarch64">Building for ARM/aarch64</h3>
<p>A common cross-compilation target is the ARM CPU. When building for ARM, it is useful to set the ABI profile. A number of pre-defined ABI profiles are available using <code>--with-abi-profile</code>: arm-vfp-sflt, arm-vfp-hflt, arm-sflt, armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer properly supported by the JDK.</p>
<p>The JDK contains two different ports for the aarch64 platform, one is the original aarch64 port from the <a href="http://openjdk.java.net/projects/aarch64-port">AArch64 Port Project</a> and one is a 64-bit version of the Oracle contributed ARM port. When targeting aarch64, by the default the original aarch64 port is used. To select the Oracle ARM 64 port, use <code>--with-cpu-port=arm64</code>. Also set the corresponding value (<code>aarch64</code> or <code>arm64</code>) to --with-abi-profile, to ensure a consistent build.</p>
<h3 id="verifying-the-build">Verifying the Build</h3>
<p>The build will end up in a directory named like <code>build/linux-arm-normal-server-release</code>.</p>
<p>Inside this build output directory, the <code>images/jdk</code> will contain the newly built JDK, for your <em>target</em> system.</p>
@@ -710,11 +842,11 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
<p>Verify that the summary at the end looks correct. Are you indeed using the Boot JDK and native toolchain that you expect?</p>
<p>By default, the JDK has a strict approach where warnings from the compiler is considered errors which fail the build. For very new or very old compiler versions, this can trigger new classes of warnings, which thus fails the build. Run <code>configure</code> with <code>--disable-warnings-as-errors</code> to turn of this behavior. (The warnings will still show, but not make the build fail.)</p>
<h4 id="problems-with-incremental-rebuilds">Problems with Incremental Rebuilds</h4>
<p>Incremental rebuilds mean that when you modify part of the product, only the affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most common cause for unexpected build problems, together with inconsistencies between the different Mercurial repositories in the forest.</p>
<p>Incremental rebuilds mean that when you modify part of the product, only the affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most common cause for unexpected build problems.</p>
<p>Here are a suggested list of things to try if you are having unexpected build problems. Each step requires more time than the one before, so try them in order. Most issues will be solved at step 1 or 2.</p>
<ol type="1">
<li><p>Make sure your forest is up-to-date</p>
<p>Run <code>bash get_source.sh</code> to make sure you have the latest version of all repositories.</p></li>
<li><p>Make sure your repository is up-to-date</p>
<p>Run <code>hg pull -u</code> to make sure you have the latest changes.</p></li>
<li><p>Clean build results</p>
<p>The simplest way to fix incremental rebuild issues is to run <code>make clean</code>. This will remove all build results, but not the configuration or any build system support artifacts. In most cases, this will solve build errors resulting from incremental build mismatches.</p></li>
<li><p>Completely clean the build directory.</p>
@@ -723,8 +855,8 @@ Hint: If caused by a warning, try configure --disable-warnings-as-errors.</code>
make dist-clean
bash configure $(cat current-configuration)
make</code></pre></li>
<li><p>Re-clone the Mercurial forest</p>
<p>Sometimes the Mercurial repositories themselves gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the &quot;sledgehammer approach&quot;: delete the entire forest, and re-clone it. If you have local changes, save them first to a different location using <code>hg export</code>.</p></li>
<li><p>Re-clone the Mercurial repository</p>
<p>Sometimes the Mercurial repository gets in a state that causes the product to be un-buildable. In such a case, the simplest solution is often the &quot;sledgehammer approach&quot;: delete the entire repository, and re-clone it. If you have local changes, save them first to a different location using <code>hg export</code>.</p></li>
</ol>
<h3 id="specific-build-issues">Specific Build Issues</h3>
<h4 id="clock-skew">Clock Skew</h4>
@@ -746,7 +878,7 @@ spawn failed</code></pre>
<p>If none of the suggestions in this document helps you, or if you find what you believe is a bug in the build system, please contact the Build Group by sending a mail to <a href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>. Please include the relevant parts of the configure and/or build log.</p>
<p>If you need general help or advice about developing for the JDK, you can also contact the Adoption Group. See the section on <a href="#contributing-to-openjdk">Contributing to OpenJDK</a> for more information.</p>
<h2 id="hints-and-suggestions-for-advanced-users">Hints and Suggestions for Advanced Users</h2>
<h3 id="setting-up-a-forest-for-pushing-changes-defpath">Setting Up a Forest for Pushing Changes (defpath)</h3>
<h3 id="setting-up-a-repository-for-pushing-changes-defpath">Setting Up a Repository for Pushing Changes (defpath)</h3>
<p>To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as <a href="http://openjdk.java.net/projects/code-tools/defpath">defpath</a>. It will help you setup a proper push path for pushing changes to the JDK.</p>
<p>Install the extension by cloning <code>http://hg.openjdk.java.net/code-tools/defpath</code> and updating your <code>.hgrc</code> file. Here's one way to do this:</p>
<pre><code>cd ~
@@ -759,7 +891,6 @@ defpath=~/hg-ext/defpath/defpath.py
EOT</code></pre>
<p>You can now setup a proper push path using:</p>
<pre><code>hg defpath -d -u &lt;your OpenJDK username&gt;</code></pre>
<p>If you also have the <code>trees</code> extension installed in Mercurial, you will automatically get a <code>tdefpath</code> command, which is even more useful. By running <code>hg tdefpath -du &lt;username&gt;</code> in the top repository of your forest, all repos will get setup automatically. This is the recommended usage.</p>
<h3 id="bash-completion">Bash Completion</h3>
<p>The <code>configure</code> and <code>make</code> commands tries to play nice with bash command-line completion (using <code>&lt;tab&gt;</code> or <code>&lt;tab&gt;&lt;tab&gt;</code>). To use this functionality, make sure you enable completion in your <code>~/.bashrc</code> (see instructions for bash in your operating system).</p>
<p>Make completion will work out of the box, and will complete valid make targets. For instance, typing <code>make jdk-i&lt;tab&gt;</code> will complete to <code>make jdk-image</code>.</p>
@@ -777,10 +908,10 @@ chmod +x /tmp/configure
sudo mv /tmp/configure /usr/local/bin</code></pre>
<p>Now <code>configure --en&lt;tab&gt;-dt&lt;tab&gt;</code> will result in <code>configure --enable-dtrace</code>.</p>
<h3 id="using-multiple-configurations">Using Multiple Configurations</h3>
<p>You can have multiple configurations for a single source forest. When you create a new configuration, run <code>configure --with-conf-name=&lt;name&gt;</code> to create a configuration with the name <code>&lt;name&gt;</code>. Alternatively, you can create a directory under <code>build</code> and run <code>configure</code> from there, e.g. <code>mkdir build/&lt;name&gt; &amp;&amp; cd build/&lt;name&gt; &amp;&amp; bash ../../configure</code>.</p>
<p>You can have multiple configurations for a single source repository. When you create a new configuration, run <code>configure --with-conf-name=&lt;name&gt;</code> to create a configuration with the name <code>&lt;name&gt;</code>. Alternatively, you can create a directory under <code>build</code> and run <code>configure</code> from there, e.g. <code>mkdir build/&lt;name&gt; &amp;&amp; cd build/&lt;name&gt; &amp;&amp; bash ../../configure</code>.</p>
<p>Then you can build that configuration using <code>make CONF_NAME=&lt;name&gt;</code> or <code>make CONF=&lt;pattern&gt;</code>, where <code>&lt;pattern&gt;</code> is a substring matching one or several configurations, e.g. <code>CONF=debug</code>. The special empty pattern (<code>CONF=</code>) will match <em>all</em> available configuration, so <code>make CONF= hotspot</code> will build the <code>hotspot</code> target for all configurations. Alternatively, you can execute <code>make</code> in the configuration directory, e.g. <code>cd build/&lt;name&gt; &amp;&amp; make</code>.</p>
<h3 id="handling-reconfigurations">Handling Reconfigurations</h3>
<p>If you update the forest and part of the configure script has changed, the build system will force you to re-run <code>configure</code>.</p>
<p>If you update the repository and part of the configure script has changed, the build system will force you to re-run <code>configure</code>.</p>
<p>Most of the time, you will be fine by running <code>configure</code> again with the same arguments as the last time, which can easily be performed by <code>make reconfigure</code>. To simplify this, you can use the <code>CONF_CHECK</code> make control variable, either as <code>make CONF_CHECK=auto</code>, or by setting an environment variable. For instance, if you add <code>export CONF_CHECK=auto</code> to your <code>.bashrc</code> file, <code>make</code> will always run <code>reconfigure</code> automatically whenever the configure script has changed.</p>
<p>You can also use <code>CONF_CHECK=ignore</code> to skip the check for a needed configure update. This might speed up the build, but comes at the risk of an incorrect build result. This is only recommended if you know what you're doing.</p>
<p>From time to time, you will also need to modify the command line to <code>configure</code> due to changes. Use <code>make print-configure</code> to show the command line used for your current configuration.</p>

View File

@@ -48,7 +48,7 @@ JDK.
Make sure you are getting the correct version. As of JDK 10, the source is no
longer split into separate repositories so you only need to clone one single
repository. At the [OpenJDK Mercurial server](http://hg.openjdk.java.net/) you
can see a list of all available forests. If you want to build an older version,
can see a list of all available repositories. If you want to build an older version,
e.g. JDK 8, it is recommended that you get the `jdk8u` forest, which contains
incremental updates, instead of the `jdk8` forest, which was frozen at JDK 8 GA.
@@ -75,8 +75,8 @@ on where and how to check out the source code.
network share for the source code, see below for suggestions on how to keep
the build artifacts on a local disk.
* On Windows, extra care must be taken to make sure the [Cygwin](#cygwin)
environment is consistent. It is recommended that you follow this
* On Windows, if using [Cygwin](#cygwin), extra care must be taken to make sure
the environment is consistent. It is recommended that you follow this
procedure:
* Create the directory that is going to contain the top directory of the
@@ -120,7 +120,16 @@ 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.
### Building on arm/aarch64
### Building on aarch64
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.
If you do not have access to sufficiently powerful hardware, it is also
possible to use [cross-compiling](#cross-compiling).
### Building on 32-bit arm
This is not recommended. Instead, see the section on [Cross-compiling](
#cross-compiling).
@@ -165,10 +174,10 @@ On Windows, it is important that you pay attention to the instructions in the
Windows is the only non-POSIX OS supported by the JDK, and as such, requires
some extra care. A POSIX support layer is required to build on Windows.
Currently, the only supported such layer is Cygwin. (Msys is no longer
supported due to a too old bash; msys2 and the new Windows Subsystem for Linux
(WSL) would likely be possible to support in a future version but that would
require effort to implement.)
Currently, the only supported such layers are Cygwin and Windows Subsystem for
Linux (WSL). (Msys is no longer supported due to a too old bash; msys2 would
likely be possible to support in a future version but that would require effort
to implement.)
Internally in the build system, all paths are represented as Unix-style paths,
e.g. `/cygdrive/c/hg/jdk9/Makefile` rather than `C:\hg\jdk9\Makefile`. This
@@ -179,7 +188,7 @@ on [Fixpath](#fixpath).
#### Cygwin
A functioning [Cygwin](http://www.cygwin.com/) environment is thus required for
A functioning [Cygwin](http://www.cygwin.com/) environment is required for
building the JDK on Windows. If you have a 64-bit OS, we strongly recommend
using the 64-bit version of Cygwin.
@@ -189,7 +198,7 @@ that whenever you add or update a package in Cygwin, you might (inadvertently)
update tools that are used by the JDK build process, and that can cause
unexpected build problems.
The JDK requires GNU Make 4.0 or greater on Windows. This is usually not a
The JDK requires GNU Make 4.0 or greater in Cygwin. This is usually not a
problem, since Cygwin currently only distributes GNU Make at a version above
4.0.
@@ -212,6 +221,30 @@ please check the Cygwin FAQ on the ["BLODA" list](
https://cygwin.com/faq/faq.html#faq.using.bloda) and the section on [fork()
failures](https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures).
#### Windows Subsystem for Linux (WSL)
Windows 10 1809 or newer is supported due to a dependency on the wslpath utility
and support for environment variable sharing through WSLENV. Version 1803 can
work but intermittent build failures have been observed.
It's possible to build both Windows and Linux binaries from WSL. To build
Windows binaries, you must use a Windows boot JDK (located in a
Windows-accessible directory). To build Linux binaries, you must use a Linux
boot JDK. The default behavior is to build for Windows. To build for Linux, pass
`--build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu` to
`configure`.
If building Windows binaries, the source code must be located in a Windows-
accessible directory. This is because Windows executables (such as Visual Studio
and the boot JDK) must be able to access the source code. Also, the drive where
the source is stored must be mounted as case-insensitive by changing either
/etc/fstab or /etc/wsl.conf in WSL. Individual directories may be corrected
using the fsutil tool in case the source was cloned before changing the mount
options.
Note that while it's possible to build on WSL, testing is still not fully
supported.
### Solaris
See `make/devkit/solaris11.1-package-list.txt` for a list of recommended
@@ -262,9 +295,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
@@ -386,11 +419,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
@@ -479,15 +511,15 @@ Certain [X11](http://www.x.org/) libraries and include files are required on
Linux and Solaris.
* To install on an apt-based Linux, try running `sudo apt-get install
libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev`.
libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev`.
* To install on an rpm-based Linux, try running `sudo yum install
libXtst-devel libXt-devel libXrender-devel libXi-devel`.
libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel`.
* To install on Solaris, try running `pkg install x11/header/x11-protocols
x11/library/libice x11/library/libpthread-stubs x11/library/libsm
x11/library/libx11 x11/library/libxau x11/library/libxcb
x11/library/libxdmcp x11/library/libxevie x11/library/libxext
x11/library/libxrender x11/library/libxscrnsaver x11/library/libxtst
x11/library/toolkit/libxt`.
x11/library/libxrender x11/library/libxrandr x11/library/libxscrnsaver
x11/library/libxtst x11/library/toolkit/libxt`.
Use `--with-x=<path>` if `configure` does not properly locate your X11 files.
@@ -653,6 +685,14 @@ features, use `bash configure --help=short` instead.)
platform, instead of doing a full cross-compile. (This is known as a
*reduced* build.)
On Linux, BSD and AIX, it is possible to override where Java by default
searches for runtime/JNI libraries. This can be useful in situations where
there is a special shared directory for system JNI libraries. This setting
can in turn be overriden at runtime by setting the `java.library.path` property.
* `--with-jni-libpath=<path>` - Use the specified path as a default
when searching for runtime libraries.
#### Configure Arguments for Native Compilation
* `--with-devkit=<path>` - Use this devkit for compilers, tools and resources
@@ -875,6 +915,64 @@ If all you want to do is to compile a 32-bit version, for the same OS, on a
full-blown cross-compilation. (While this surely is possible, it's a lot more
work and will take much longer to build.)
### Cross compiling the easy way with OpenJDK devkits
The OpenJDK build system provides out-of-the box support for creating and using
so called devkits. A `devkit` is basically a collection of a cross-compiling
toolchain and a sysroot environment which can easily be used together with the
`--with-devkit` configure option to cross compile the OpenJDK. On Linux/x86_64,
the following command:
```
bash configure --with-devkit=<devkit-path> --openjdk-target=ppc64-linux-gnu && make
```
will configure and build OpenJDK for Linux/ppc64 assuming that `<devkit-path>`
points to a Linux/x86_64 to Linux/ppc64 devkit.
Devkits can be created from the `make/devkit` directory by executing:
```
make [ TARGETS="<TARGET_TRIPLET>+" ] [ BASE_OS=<OS> ] [ BASE_OS_VERSION=<VER> ]
```
where `TARGETS` contains one or more `TARGET_TRIPLET`s of the form
described in [section 3.4 of the GNU Autobook](
https://sourceware.org/autobook/autobook/autobook_17.html). If no
targets are given, a native toolchain for the current platform will be
created. Currently, at least the following targets are known to work:
Supported devkit targets
-------------------------
x86_64-linux-gnu
aarch64-linux-gnu
arm-linux-gnueabihf
ppc64-linux-gnu
ppc64le-linux-gnu
s390x-linux-gnu
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or
"Fedora" (if not specified "OEL6" will be the default). If the base OS
is "Fedora" the corresponding Fedora release can be specified with the
help of the `BASE_OS_VERSION` option (with "27" as default version).
If the build is successful, the new devkits can be found in the
`build/devkit/result` subdirectory:
```
cd make/devkit
make TARGETS="ppc64le-linux-gnu aarch64-linux-gnu" BASE_OS=Fedora BASE_OS_VERSION=21
ls -1 ../../build/devkit/result/
x86_64-linux-gnu-to-aarch64-linux-gnu
x86_64-linux-gnu-to-ppc64le-linux-gnu
```
Notice that devkits are not only useful for targeting different build
platforms. Because they contain the full build dependencies for a
system (i.e. compiler and root file system), they can easily be used
to build well-known, reliable and reproducible build environments. You
can for example create and use a devkit with GCC 7.3 and a Fedora 12
sysroot environment (with glibc 2.11) on Ubuntu 14.04 (which doesn't
have GCC 7.3 by default) to produce OpenJDK binaries which will run on
all Linux systems with runtime libraries newer than the ones from
Fedora 12 (e.g. Ubuntu 16.04, SLES 11 or RHEL 6).
### Boot JDK and Build JDK
When cross-compiling, make sure you use a boot JDK that runs on the *build*
@@ -987,6 +1085,7 @@ Note that X11 is needed even if you only want to build a headless JDK.
* libice-dev
* libxrender
* libxrender-dev
* libxrandr-dev
* libsm-dev
* libxt-dev
* libx11
@@ -1018,6 +1117,51 @@ Note that X11 is needed even if you only want to build a headless JDK.
* If the X11 libraries are not properly detected by `configure`, you can
point them out by `--with-x`.
### Creating And Using Sysroots With qemu-deboostrap
Fortunately, you can create sysroots for foreign architectures with tools
provided by your OS. On Debian/Ubuntu systems, one could use `qemu-deboostrap` to
create the *target* system chroot, which would have the native libraries and headers
specific to that *target* system. After that, we can use the cross-compiler on the *build*
system, pointing into chroot to get the build dependencies right. This allows building
for foreign architectures with native compilation speed.
For example, cross-compiling to AArch64 from x86_64 could be done like this:
* Install cross-compiler on the *build* system:
```
apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
```
* Create chroot on the *build* system, configuring it for *target* system:
```
sudo qemu-debootstrap --arch=arm64 --verbose \
--include=fakeroot,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng12-dev \
--resolve-deps jessie /chroots/arm64 http://httpredir.debian.org/debian/
```
* Configure and build with newly created chroot as sysroot/toolchain-path:
```
CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ sh ./configure --openjdk-target=aarch64-linux-gnu --with-sysroot=/chroots/arm64/ --with-toolchain-path=/chroots/arm64/
make images
ls build/linux-aarch64-normal-server-release/
```
The build does not create new files in that chroot, so it can be reused for multiple builds
without additional cleanup.
Architectures that are known to successfully cross-compile like this are:
Target `CC` `CXX` `--arch=...` `--openjdk-target=...`
------------ ------------------------- --------------------------- ------------- -----------------------
x86 default default i386 i386-linux-gnu
armhf gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf armhf arm-linux-gnueabihf
aarch64 gcc-aarch64-linux-gnu g++-aarch64-linux-gnu arm64 aarch64-linux-gnu
ppc64el gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu ppc64el powerpc64le-linux-gnu
s390x gcc-s390x-linux-gnu g++-s390x-linux-gnu s390x s390x-linux-gnu
Additional architectures might be supported by Debian/Ubuntu Ports.
### Building for ARM/aarch64
A common cross-compilation target is the ARM CPU. When building for ARM, it is
@@ -1026,14 +1170,6 @@ available using `--with-abi-profile`: arm-vfp-sflt, arm-vfp-hflt, arm-sflt,
armv5-vfp-sflt, armv6-vfp-hflt. Note that soft-float ABIs are no longer
properly supported by the JDK.
The JDK contains two different ports for the aarch64 platform, one is the
original aarch64 port from the [AArch64 Port Project](
http://openjdk.java.net/projects/aarch64-port) and one is a 64-bit version of
the Oracle contributed ARM port. When targeting aarch64, by the default the
original aarch64 port is used. To select the Oracle ARM 64 port, use
`--with-cpu-port=arm64`. Also set the corresponding value (`aarch64` or
`arm64`) to --with-abi-profile, to ensure a consistent build.
### Verifying the Build
The build will end up in a directory named like
@@ -1255,17 +1391,15 @@ Incremental rebuilds mean that when you modify part of the product, only the
affected parts get rebuilt. While this works great in most cases, and
significantly speed up the development process, from time to time complex
interdependencies will result in an incorrect build result. This is the most
common cause for unexpected build problems, together with inconsistencies
between the different Mercurial repositories in the forest.
common cause for unexpected build problems.
Here are a suggested list of things to try if you are having unexpected build
problems. Each step requires more time than the one before, so try them in
order. Most issues will be solved at step 1 or 2.
1. Make sure your forest is up-to-date
1. Make sure your repository is up-to-date
Run `bash get_source.sh` to make sure you have the latest version of all
repositories.
Run `hg pull -u` to make sure you have the latest changes.
2. Clean build results
@@ -1290,13 +1424,13 @@ order. Most issues will be solved at step 1 or 2.
make
```
4. Re-clone the Mercurial forest
4. Re-clone the Mercurial repository
Sometimes the Mercurial repositories themselves gets in a state that causes
the product to be un-buildable. In such a case, the simplest solution is
often the "sledgehammer approach": delete the entire forest, and re-clone
it. If you have local changes, save them first to a different location
using `hg export`.
Sometimes the Mercurial repository gets in a state that causes the product
to be un-buildable. In such a case, the simplest solution is often the
"sledgehammer approach": delete the entire repository, and re-clone it.
If you have local changes, save them first to a different location using
`hg export`.
### Specific Build Issues
@@ -1347,7 +1481,7 @@ contact the Adoption Group. See the section on [Contributing to OpenJDK](
## Hints and Suggestions for Advanced Users
### Setting Up a Forest for Pushing Changes (defpath)
### Setting Up a Repository for Pushing Changes (defpath)
To help you prepare a proper push path for a Mercurial repository, there exists
a useful tool known as [defpath](
@@ -1374,11 +1508,6 @@ You can now setup a proper push path using:
hg defpath -d -u <your OpenJDK username>
```
If you also have the `trees` extension installed in Mercurial, you will
automatically get a `tdefpath` command, which is even more useful. By running
`hg tdefpath -du <username>` in the top repository of your forest, all repos
will get setup automatically. This is the recommended usage.
### Bash Completion
The `configure` and `make` commands tries to play nice with bash command-line
@@ -1413,7 +1542,7 @@ Now `configure --en<tab>-dt<tab>` will result in `configure --enable-dtrace`.
### Using Multiple Configurations
You can have multiple configurations for a single source forest. When you
You can have multiple configurations for a single source repository. When you
create a new configuration, run `configure --with-conf-name=<name>` to create a
configuration with the name `<name>`. Alternatively, you can create a directory
under `build` and run `configure` from there, e.g. `mkdir build/<name> && cd
@@ -1428,7 +1557,7 @@ in the configuration directory, e.g. `cd build/<name> && make`.
### Handling Reconfigurations
If you update the forest and part of the configure script has changed, the
If you update the repository and part of the configure script has changed, the
build system will force you to re-run `configure`.
Most of the time, you will be fine by running `configure` again with the same

View File

@@ -1,16 +1,11 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta charset="utf-8">
<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">
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>
<style type="text/css">code{white-space: pre;}</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>
@@ -23,36 +18,43 @@
</header>
<nav id="TOC">
<ul>
<li><a href="#using-the-run-test-framework">Using the run-test framework</a><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="#configuration">Configuration</a></li>
</ul></li>
<li><a href="#test-selection">Test selection</a><ul>
<li><a href="#jtreg">JTReg</a></li>
<li><a href="#gtest">Gtest</a></li>
<li><a href="#microbenchmarks">Microbenchmarks</a></li>
<li><a href="#special-tests">Special tests</a></li>
</ul></li>
<li><a href="#test-results-and-summary">Test results and summary</a></li>
<li><a href="#test-suite-control">Test suite control</a><ul>
<li><a href="#general-keywords-test_opts">General keywords (TEST_OPTS)</a></li>
<li><a href="#jtreg-keywords">JTReg keywords</a></li>
<li><a href="#gtest-keywords">Gtest keywords</a></li>
<li><a href="#microbenchmark-keywords">Microbenchmark keywords</a></li>
</ul></li>
</ul>
</nav>
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
<h2 id="using-make-test-the-run-test-framework">Using &quot;make test&quot; (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 “run-test” uses the jdk-image as the tested product. There is also an alternate target “exploded-run-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.</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>Some example command-lines:</p>
<pre><code>$ make run-test-tier1
$ make run-test-jdk_lang JTREG=&quot;JOBS=8&quot;
$ make run-test TEST=jdk_lang
$ make run-test-only TEST=&quot;gtest:LogTagSet gtest:LogTagSetDescriptions&quot; GTEST=&quot;REPEAT=-1&quot;
$ make run-test TEST=&quot;hotspot:hotspot_gc&quot; JTREG=&quot;JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug&quot;
$ make run-test TEST=&quot;jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java&quot;
$ make exploded-run-test TEST=tier2</code></pre>
<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;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>
<h3 id="configuration">Configuration</h3>
<p>To be able to run JTReg tests, <code>configure</code> needs to know where to find the JTReg test framework. If it is not picked up automatically by configure, 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. (An alternative is to set the <code>JT_HOME</code> environment variable to point to the JTReg home before running <code>configure</code>.)</p>
<p>To be able to run JTReg tests, <code>configure</code> needs to know where to find the JTReg test framework. If it is not picked up automatically by configure, 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. (An alternative is to set the <code>JT_HOME</code> environment variable to point to the JTReg home before running <code>configure</code>.)</p>
<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 run-test 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, run-test-only 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 run-test-tier1</code> is equivalent to <code>make run-test TEST=&quot;tier1&quot;</code>, but the latter is more tab-completion friendly. For more complex test runs, the <code>run-test TEST=&quot;x&quot;</code> solution needs to be used.</p>
<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>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>
@@ -63,7 +65,17 @@ $ make exploded-run-test TEST=tier2</code></pre>
<h3 id="gtest">Gtest</h3>
<p>Since the Hotspot Gtest suite is so quick, the default is to run all tests. This is specified by just <code>gtest</code>, or as a fully qualified test descriptor <code>gtest:all</code>.</p>
<p>If you want, you can single out an individual test or a group of tests, for instance <code>gtest:LogDecorations</code> or <code>gtest:LogDecorations.level_test_vm</code>. This can be particularly useful if you want to run a shaky test repeatedly.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
<p>For Gtest, there is a separate test suite for each JVM variant. The JVM variant is defined by adding <code>/&lt;variant&gt;</code> to the test descriptor, e.g. <code>gtest:Log/client</code>. If you specify no variant, gtest will run once for each JVM variant present (e.g. server, client). So if you only have the server JVM present, then <code>gtest:all</code> will be equivalent to <code>gtest:all/server</code>.</p>
<h3 id="microbenchmarks">Microbenchmarks</h3>
<p>Which microbenchmarks to run is selected using a regular expression following the <code>micro:</code> test descriptor, e.g., <code>micro:java.lang.reflect</code>. This delegates the test selection to JMH, meaning package name, class name and even benchmark method names can be used to select tests.</p>
<p>Using special characters like <code>|</code> in the regular expression is possible, but needs to be escaped multiple times: <code>micro:ArrayCopy\\\\\|reflect</code>.</p>
<h3 id="special-tests">Special tests</h3>
<p>A handful of odd tests that are not covered by any other testing framework are accessible using the <code>special:</code> test descriptor. Currently, this includes <code>failure-handler</code> and <code>make</code>.</p>
<ul>
<li><p>Failure handler testing is run using <code>special:failure-handler</code> or just <code>failure-handler</code> as test descriptor.</p></li>
<li><p>Tests for the build system, including both makefiles and related functionality, is run using <code>special:make</code> or just <code>make</code> as test descriptor. This is equivalent to <code>special:make:all</code>.</p>
<p>A specific make test can be run by supplying it as argument, e.g. <code>special:make:idea</code>. As a special syntax, this can also be expressed as <code>make-idea</code>, which allows for command lines as <code>make test-make-idea</code>.</p></li>
</ul>
<h2 id="test-results-and-summary">Test results and summary</h2>
<p>At the end of the test run, a summary of all tests run will be presented. This will have a consistent look, regardless of what test suites were used. This is a sample summary:</p>
<pre><code>==============================
@@ -77,20 +89,38 @@ Test summary
TEST FAILURE</code></pre>
<p>Tests where the number of TOTAL tests does not equal the number of PASSed tests will be considered a test failure. These are marked with the <code>&gt;&gt; ... &lt;&lt;</code> marker for easy identification.</p>
<p>The classification of non-passed tests differs a bit between test suites. In the summary, ERROR is used as a catch-all for tests that neither passed nor are classified as failed by the framework. This might indicate test framework error, timeout or other problems.</p>
<p>In case of test failures, <code>make run-test</code> will exit with a non-zero exit value.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<p>In case of test failures, <code>make test</code> will exit with a non-zero exit value.</p>
<p>All tests have their result stored in <code>build/$BUILD/test-results/$TEST_ID</code>, where TEST_ID is a path-safe conversion from the fully qualified test descriptor, e.g. for <code>jtreg:jdk/test:tier1</code> the TEST_ID is <code>jtreg_jdk_test_tier1</code>. This path is also printed in the log at the end of the test run.</p>
<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>(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>As far as possible, the names of the keywords have been standardized between test suites.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<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>
<p>There are also some keywords that applies globally to the test runner system, not to any specific test suites. These are also available as TEST_OPTS keywords.</p>
<h4 id="jobs">JOBS</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="timeout_factor">TIMEOUT_FACTOR</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="java_options">JAVA_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="aot_modules">AOT_MODULES</h4>
<p>Applies to JTReg and GTest.</p>
<h4 id="jcov">JCOV</h4>
<p>This keywords applies globally to the test runner system. If set to <code>true</code>, it enables JCov coverage reporting for all tests run. To be useful, the JDK under test must be run with a JDK built with JCov instrumentation (<code>configure --with-jcov=&lt;path to directory containing lib/jcov.jar&gt;</code>, <code>make jcov-image</code>).</p>
<p>The simplest way to run tests with JCov coverage report is to use the special target <code>jcov-test</code> instead of <code>test</code>, e.g. <code>make jcov-test TEST=jdk_lang</code>. This will make sure the JCov image is built, and that JCov reporting is enabled.</p>
<p>The JCov report is stored in <code>build/$BUILD/test-results/jcov-output</code>.</p>
<p>Please note that running with JCov reporting can be very memory intensive.</p>
<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>
<h4 id="timeout">TIMEOUT</h4>
<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>
<h4 id="test_mode">TEST_MODE</h4>
@@ -109,13 +139,21 @@ TEST FAILURE</code></pre>
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
<p>Limit memory consumption for JTReg test framework and VM under test. Set to 0 to disable the limits.</p>
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
<h4 id="keywords">KEYWORDS</h4>
<p>JTReg kewords sent to JTReg using <code>-k</code>. Please be careful in making sure that spaces and special characters (like <code>!</code>) are properly quoted. To avoid some issues, the special value <code>%20</code> can be used instead of space.</p>
<h4 id="extra_problem_lists">EXTRA_PROBLEM_LISTS</h4>
<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="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>
<h4 id="java_options">JAVA_OPTIONS</h4>
<h4 id="java_options-1">JAVA_OPTIONS</h4>
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
<h4 id="vm_options">VM_OPTIONS</h4>
<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>
<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>
@@ -123,5 +161,24 @@ TEST FAILURE</code></pre>
<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>
<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>
<h4 id="fork">FORK</h4>
<p>Override the number of benchmark forks to spawn. Same as specifying <code>-f &lt;num&gt;</code>.</p>
<h4 id="iter">ITER</h4>
<p>Number of measurement iterations per fork. Same as specifying <code>-i &lt;num&gt;</code>.</p>
<h4 id="time">TIME</h4>
<p>Amount of time to spend in each measurement iteration, in seconds. Same as specifying <code>-r &lt;num&gt;</code></p>
<h4 id="warmup_iter">WARMUP_ITER</h4>
<p>Number of warmup iterations to run before the measurement phase in each fork. Same as specifying <code>-wi &lt;num&gt;</code>.</p>
<h4 id="warmup_time">WARMUP_TIME</h4>
<p>Amount of time to spend in each warmup iteration. Same as specifying <code>-w &lt;num&gt;</code>.</p>
<h4 id="results_format">RESULTS_FORMAT</h4>
<p>Specify to have the test run save a log of the values. Accepts the same values as <code>-rff</code>, i.e., <code>text</code>, <code>csv</code>, <code>scsv</code>, <code>json</code>, or <code>latex</code>.</p>
<h4 id="vm_options-2">VM_OPTIONS</h4>
<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>
</body>
</html>

View File

@@ -1,26 +1,33 @@
% Testing the JDK
## Using the run-test framework
## Using "make test" (the run-test framework)
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.
The main target "run-test" uses the jdk-image as the tested product. There is
also an alternate target "exploded-run-test" that uses the exploded image
The main target `test` uses the jdk-image as the tested product. There is
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
`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`.
Some example command-lines:
$ make run-test-tier1
$ make run-test-jdk_lang JTREG="JOBS=8"
$ make run-test TEST=jdk_lang
$ make run-test-only TEST="gtest:LogTagSet gtest:LogTagSetDescriptions" GTEST="REPEAT=-1"
$ make run-test TEST="hotspot:hotspot_gc" JTREG="JOBS=1;TIMEOUT=8;VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"
$ make run-test TEST="jtreg:test/hotspot:hotspot_gc test/hotspot/jtreg/native_sanity/JniVersion.java"
$ make exploded-run-test TEST=tier2
$ make test-tier1
$ 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="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
### Configuration
@@ -31,18 +38,24 @@ Note that this option should point to the JTReg home, i.e. the top directory,
containing `lib/jtreg.jar` etc. (An alternative is to set the `JT_HOME`
environment variable to point to the JTReg home before running `configure`.)
To be able to run microbenchmarks, `configure` needs to know where to find
the JMH dependency. Use `--with-jmh=<path to JMH jars>` to point to a directory
containing the core JMH and transitive dependencies. The recommended dependencies
can be retrieved by running `sh make/devkit/createJMHBundle.sh`, after which
`--with-jmh=build/jmh/jars` should work.
## Test selection
All functionality is available using the run-test make target. In this use
case, the test or tests to be executed is controlled using the `TEST` variable.
To speed up subsequent test runs with no source code changes, run-test-only can
be used instead, which do not depend on the source and test image build.
All functionality is available using the `test` make target. In this use case,
the test or tests to be executed is controlled using the `TEST` variable. To
speed up subsequent test runs with no source code changes, `test-only` can be
used instead, which do not depend on the source and test image build.
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 `make run-test-tier1` is equivalent to `make run-test
present). This means that `make test-tier1` is equivalent to `make test
TEST="tier1"`, but the latter is more tab-completion friendly. For more complex
test runs, the `run-test TEST="x"` solution needs to be used.
test runs, the `test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
@@ -98,6 +111,33 @@ is defined by adding `/<variant>` to the test descriptor, e.g.
variant present (e.g. server, client). So if you only have the server JVM
present, then `gtest:all` will be equivalent to `gtest:all/server`.
### Microbenchmarks
Which microbenchmarks to run is selected using a regular expression
following the `micro:` test descriptor, e.g., `micro:java.lang.reflect`. This
delegates the test selection to JMH, meaning package name, class name and even
benchmark method names can be used to select tests.
Using special characters like `|` in the regular expression is possible, but
needs to be escaped multiple times: `micro:ArrayCopy\\\\\|reflect`.
### Special tests
A handful of odd tests that are not covered by any other testing framework are
accessible using the `special:` test descriptor. Currently, this includes
`failure-handler` and `make`.
* Failure handler testing is run using `special:failure-handler` or just
`failure-handler` as test descriptor.
* Tests for the build system, including both makefiles and related
functionality, is run using `special:make` or just `make` as test
descriptor. This is equivalent to `special:make:all`.
A specific make test can be run by supplying it as argument, e.g.
`special:make:idea`. As a special syntax, this can also be expressed as
`make-idea`, which allows for command lines as `make test-make-idea`.
## Test results and summary
At the end of the test run, a summary of all tests run will be presented. This
@@ -123,7 +163,7 @@ the summary, ERROR is used as a catch-all for tests that neither passed nor are
classified as failed by the framework. This might indicate test framework
error, timeout or other problems.
In case of test failures, `make run-test` will exit with a non-zero exit value.
In case of test failures, `make test` will exit with a non-zero exit value.
All tests have their result stored in `build/$BUILD/test-results/$TEST_ID`,
where TEST_ID is a path-safe conversion from the fully qualified test
@@ -162,16 +202,61 @@ proper quoting of command line arguments through.)
As far as possible, the names of the keywords have been standardized between
test suites.
### General keywords (TEST_OPTS)
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.
There are also some keywords that applies globally to the test runner system,
not to any specific test suites. These are also available as TEST_OPTS keywords.
#### JOBS
Currently only applies to JTReg.
#### TIMEOUT_FACTOR
Currently only applies to JTReg.
#### VM_OPTIONS
Applies to JTReg, GTest and Micro.
#### JAVA_OPTIONS
Applies to JTReg, GTest and Micro.
#### AOT_MODULES
Applies to JTReg and GTest.
#### JCOV
This keywords applies globally to the test runner system. If set to `true`, it
enables JCov coverage reporting for all tests run. To be useful, the JDK under
test must be run with a JDK built with JCov instrumentation (`configure
--with-jcov=<path to directory containing lib/jcov.jar>`, `make jcov-image`).
The simplest way to run tests with JCov coverage report is to use the special
target `jcov-test` instead of `test`, e.g. `make jcov-test TEST=jdk_lang`. This
will make sure the JCov image is built, and that JCov reporting is enabled.
The JCov report is stored in `build/$BUILD/test-results/jcov-output`.
Please note that running with JCov reporting can be very memory intensive.
### JTReg keywords
#### JOBS
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
#### TIMEOUT_FACTOR
The timeout factor (`-timeoutFactor`).
Defaults to 4.
@@ -205,6 +290,24 @@ to disable the limits.
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).
#### KEYWORDS
JTReg kewords sent to JTReg using `-k`. Please be careful in making sure that
spaces and special characters (like `!`) are properly quoted. To avoid some
issues, the special value `%20` can be used instead of space.
#### EXTRA_PROBLEM_LISTS
Use additional problem lists file or files, in addition to the default
ProblemList.txt located at the JTReg test roots.
If multiple file names are specified, they should be separated by space (or, to
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.
#### OPTIONS
Additional options to the JTReg test framework.
@@ -216,6 +319,12 @@ Additional Java options to JTReg (`-javaoption`).
#### VM_OPTIONS
Additional VM options to JTReg (`-vmoption`).
#### AOT_MODULES
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`).
### Gtest keywords
#### REPEAT
@@ -230,6 +339,41 @@ Additional options to the Gtest test framework.
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
#### AOT_MODULES
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`).
### Microbenchmark keywords
#### FORK
Override the number of benchmark forks to spawn. Same as specifying `-f <num>`.
#### ITER
Number of measurement iterations per fork. Same as specifying `-i <num>`.
#### TIME
Amount of time to spend in each measurement iteration, in seconds. Same as
specifying `-r <num>`
#### WARMUP_ITER
Number of warmup iterations to run before the measurement phase in each fork.
Same as specifying `-wi <num>`.
#### WARMUP_TIME
Amount of time to spend in each warmup iteration. Same as specifying `-w <num>`.
#### RESULTS_FORMAT
Specify to have the test run save a log of the values. Accepts the same values
as `-rff`, i.e., `text`, `csv`, `scsv`, `json`, or `latex`.
#### VM_OPTIONS
Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
#### OPTIONS
Additional arguments to send to JMH.
---
# Override some definitions in the global css file that are not optimal for
# this document.

View File

@@ -1,9 +0,0 @@
FROM centos:7
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel
# Install Java 11
RUN wget --no-check-certificate -q --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1_linux-x64_bin.tar.gz" \
-O - | tar xz -C /
ENV JAVA_HOME /jdk-11.0.1
ENV PATH $JAVA_HOME/bin:$PATH

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel>
<module name="java-gradle.main" target="11" />
<module name="java-gradle.test" target="11" />
</bytecodeTargetLevel>
</component>
</project>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="/usr/share/gradle" />
<option name="gradleJvm" value="11" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
<option name="useAutoImport" value="true" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>
</project>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-image:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/9c975152864050c6dbb7226ca1100694f0aa099d/common-image-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/e6fb35a9825421ec5a634af328e22546992d536d/common-image-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-io:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/e00b1c744993864d3c8dc698ba7d356122019398/common-io-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/dbb242585fdfd353dc4c2c0e8b3d8b0383dffbb2/common-io-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/ffbc5e05208c5c9cb43052438294c3ec5546aecf/common-lang-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/b695db345614a2b9344fd43a44d9ce722df4b39/common-lang-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/8def41c756831dde3c23f2d525e5667cfbfa1847/imageio-core-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/abcb2beaf21364467afe0e33824dce5730bef0c3/imageio-core-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/b8a31725bde0dc6f4e6b01711784f5ca0a2275f3/imageio-metadata-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/6fc3b223c81afbd4b829e2c924c096aab3ed0e9e/imageio-metadata-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/9bea1214eae7d287dc0c685fb6be75102318d080/imageio-tiff-3.3.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/cae5b3540dc01889dc9560db86f5f61bdc253107/imageio-tiff-3.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: junit:junit:4.12">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: net.java.dev.jna:jna:4.4.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/cb208278274bf12ebdb56c61bd7407e6f774d65a/jna-4.4.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/9d45d3dc35711eef7267d8b4fc2c0dc482ef9fd2/jna-4.4.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.apache.commons:commons-lang3:3.0">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/8873bd0bb5cb9ee37f1b04578eb7e26fcdd44cb0/commons-lang3-3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/d48f964b56a931ec2712ce5d411a40d114a69753/commons-lang3-3.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,11 +0,0 @@
<component name="libraryTable">
<library name="Gradle: org.hamcrest:hamcrest-library:1.3">
<CLASSES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/4785a3c21320980282f9f33d0d1264a69040538f/hamcrest-library-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/47a7ee46628ab7133129cd7cef1e92657bc275e/hamcrest-library-1.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
</project>

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.iml" />
<module fileurl="file://$PROJECT_DIR$/java-gradle.iml" filepath="$PROJECT_DIR$/java-gradle.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.main.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.main.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.test.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.test.iml" />
</modules>
</component>
</project>

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="java-gradle:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
<output url="file://$MODULE_DIR$/../../out/production/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$/../../src/main" />
<content url="file://$MODULE_DIR$/../../../../../src">
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.instrument/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.logging/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management.rmi/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.naming/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.rmi/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.scripting/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.se/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.jgss/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.sasl/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.smartcardio/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql.rowset/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.xml.crypto/share/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/macosx/classes" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/macosx/classes" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="java-gradle:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
<output-test url="file://$MODULE_DIR$/../../out/test/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$/../../src/test" />
<content url="file://$MODULE_DIR$/../../../../../test">
<sourceFolder url="file://$MODULE_DIR$/../../../../../test/jdk/jbu" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="java-gradle.main" />
<orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-library:1.3" level="project" />
<orderEntry type="library" name="Gradle: net.java.dev.jna:jna:4.4.0" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: org.apache.commons:commons-lang3:3.0" level="project" />
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-image:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-io:3.3.2" level="project" />
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2" level="project" />
</component>
<component name="TestModuleProperties" production-module="java-gradle.main" />
</module>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

View File

@@ -10,11 +10,11 @@ def test_jvm = {
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
} else {
if (OperatingSystem.current().isMacOsX()) {
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.3.jdk/Contents/Home/bin/java').absolutePath
file('../../../build/macosx-x86_64-server-release/images/jdk-bundle/jdk-13.jdk/Contents/Home/bin/java').absolutePath
} else if (OperatingSystem.current().isLinux()) {
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
file('../../../build/linux-x86_64-server-release/images/jdk/bin/java').absolutePath
} else {
file('../../../build/windows-x86_64-normal-server-release/images/jdk/bin/java.exe').absolutePath
file('../../../build/windows-x86_64-server-release/images/j2sdk-image/bin/java.exe').absolutePath
}
}
}
@@ -87,7 +87,7 @@ test {
outputs.upToDateWhen { false }
executable = test_jvm()
// Enable async/dtrace profiler
// Enable async/dtrace profiler
jvmArgs "-XX:+PreserveFramePointer"
// Enable native J2D logging (only in debug build)
// Can be turned on for J2D by adding "#define DEBUG 1" into jdk/src/share/native/sun/java2d/Trace.h
@@ -103,30 +103,24 @@ if (OperatingSystem.current().isWindows()) {
if (cyg_make_cmd.exists()) make_cmd = cyg_make_cmd.absolutePath
}
def test_run = false
task make_images {
doLast {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
}
task make_clean {
doLast {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
task make_images << {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
task run_test {
doLast {
test_run = true
}
task make_clean << {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine {println it}
assert proc.waitFor() == 0
}
task run_test << {
test_run = true
}
tasks.cleanTest.dependsOn tasks.run_test

View File

@@ -1,6 +0,0 @@
#Thu Dec 06 20:31:44 MSK 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip

View File

@@ -1,172 +0,0 @@
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"

View File

@@ -6,63 +6,87 @@ include(../java-common.cmake)
include_directories(
../../../src/java.base/share/native/include
../../../src/java.base/share/native/libjava
../../../src/java.desktop/share/native/common
../../../src/java.desktop/share/native/common/awt/debug
../../../src/java.desktop/share/native/common/font
../../../src/java.desktop/share/native/common/java2d/opengl
../../../src/java.desktop/share/native/common/java2d/opengl/J2D_GL
../../../src/java.desktop/share/native/include
../../../src/java.desktop/share/native/libawt/awt/image
../../../src/java.desktop/share/native/libawt/awt/image/cvutils
../../../src/java.desktop/share/native/libawt/awt/medialib
../../../src/java.desktop/share/native/libawt/java2d
../../../src/java.desktop/share/native/libawt/java2d/loops
../../../src/java.desktop/share/native/libawt/java2d/pipe
../../../src/java.desktop/share/native/libfontmanager
../../../src/java.desktop/share/native/libfontmanager/harfbuzz
../../../src/java.desktop/share/native
../../../src/java.desktop/share/native/libjsound
../../../src/java.desktop/share/native/libmlib_image
../../../src/java.desktop/share/native/libfreetype
../../../src/java.desktop/share/native/libfreetype/include
../../../src/java.desktop/share/native/libfreetype/include/freetype
../../../src/java.desktop/share/native/libfreetype/include/freetype/config
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services
../../../src/java.desktop/share/native/libfreetype/src/autofit
../../../src/java.desktop/share/native/libfreetype/src/base
../../../src/java.desktop/share/native/libfreetype/src/cff
../../../src/java.desktop/share/native/libfreetype/src/cid
../../../src/java.desktop/share/native/libfreetype/src/psaux
../../../src/java.desktop/share/native/libfreetype/src/pshinter
../../../src/java.desktop/share/native/libfreetype/src/psnames
../../../src/java.desktop/share/native/libfreetype/src/raster
../../../src/java.desktop/share/native/libfreetype/src
../../../src/java.desktop/share/native/libfreetype/src/type1
../../../src/java.desktop/share/native/libfreetype/src/sfnt
../../../src/java.desktop/share/native/libfreetype/src/smooth
../../../src/java.desktop/share/native/libfreetype/src/cff
../../../src/java.desktop/share/native/libfreetype/src/psaux
../../../src/java.desktop/share/native/libfreetype/src/cid
../../../src/java.desktop/share/native/libfreetype/src/autofit
../../../src/java.desktop/share/native/libfreetype/src/pshinter
../../../src/java.desktop/share/native/libfreetype/src/truetype
../../../src/java.desktop/share/native/libfreetype/src/type1
../../../src/java.desktop/share/native/libfreetype/src/raster
../../../src/java.desktop/share/native/libfreetype/src/psnames
../../../src/java.desktop/share/native/libfreetype/src/base
../../../src/java.desktop/share/native/include
../../../src/java.desktop/share/native/common
../../../src/java.desktop/share/native/common/java2d
../../../src/java.desktop/share/native/common/java2d/opengl
../../../src/java.desktop/share/native/common/java2d/opengl/J2D_GL
../../../src/java.desktop/share/native/common/awt
../../../src/java.desktop/share/native/common/awt/medialib
../../../src/java.desktop/share/native/common/awt/debug
../../../src/java.desktop/share/native/common/awt/utility
../../../src/java.desktop/share/native/common/font
../../../src/java.desktop/share/native/libawt
../../../src/java.desktop/share/native/libawt/java2d
../../../src/java.desktop/share/native/libawt/java2d/pipe
../../../src/java.desktop/share/native/libawt/java2d/loops
../../../src/java.desktop/share/native/libawt/awt
../../../src/java.desktop/share/native/libawt/awt/image
../../../src/java.desktop/share/native/libawt/awt/image/cvutils
../../../src/java.desktop/share/native/libawt/awt/image/gif
../../../src/java.desktop/share/native/libawt/awt/medialib
../../../src/java.desktop/share/native/libjavajpeg
../../../src/java.desktop/share/native/libjsound
../../../src/java.desktop/share/native/libfontmanager
../../../src/java.desktop/share/native/libfontmanager/harfbuzz
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn
../../../src/java.desktop/share/native/liblcms
../../../src/java.desktop/share/native/libmlib_image
../../../src/java.desktop/share/native/libsplashscreen
../../../src/java.desktop/share/native/libsplashscreen/giflib
../../../src/java.desktop/share/native/libsplashscreen/libpng
)
../../../src/java.desktop/share/native/libsplashscreen/giflib)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
include_directories(
../../../src/hotspot/os/posix/include
../../../src/java.base/unix/native/include
../../../src/java.base/unix/native/libjava
../../../src/java.desktop/unix/native/common/awt
../../../src/java.desktop/unix/native/common/awt/medialib
../../../src/java.desktop/unix/native/common/awt/systemscale
../../../src/java.desktop/unix/native/common/awt/utility
../../../src/java.desktop/unix/native/common/font
../../../src/java.desktop/unix/native
../../../src/java.desktop/unix/native/libawt_headless
../../../src/java.desktop/unix/native/libawt_headless/awt
../../../src/java.desktop/unix/native/libmlib_image
../../../src/java.desktop/unix/native/include
../../../src/java.desktop/unix/native/libjawt
../../../src/java.desktop/unix/native/common
../../../src/java.desktop/unix/native/common/java2d
../../../src/java.desktop/unix/native/common/java2d/x11
../../../src/java.desktop/unix/native/common/java2d/opengl
../../../src/java.desktop/unix/native/common/java2d/opengl/J2D_GL
../../../src/java.desktop/unix/native/common
../../../src/java.desktop/unix/native/include
../../../src/java.desktop/unix/native/common/awt
../../../src/java.desktop/unix/native/common/awt/systemscale
../../../src/java.desktop/unix/native/common/awt/medialib
../../../src/java.desktop/unix/native/common/awt/utility
../../../src/java.desktop/unix/native/common/font
../../../src/java.desktop/unix/native/libawt
../../../src/java.desktop/unix/native/libawt/java2d
../../../src/java.desktop/unix/native/libawt/java2d/loops
../../../src/java.desktop/unix/native/libmlib_image
../../../src/java.desktop/unix/native/libawt/awt
../../../src/java.desktop/unix/native/libawt_xawt
../../../src/java.desktop/unix/native/libawt_xawt/java2d
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11
../../../src/java.desktop/unix/native/libawt_xawt/awt
../../../src/java.desktop/unix/native/libawt_xawt/xawt
../../../src/java.desktop/unix/native/libfontmanager
../../../src/java.desktop/unix/native/libsplashscreen)
endif()
@@ -71,7 +95,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
find_library(JAVA_NATIVE_FOUNDATION JavaNativeFoundation)
include_directories(
../../../src/java.desktop/macosx/native/libosxapp
../../../build//macosx-x86_64-normal-server-release//support/headers/java.desktop
../../../build/macosx-x86_64-server-release/support/headers/java.desktop
)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
@@ -83,16 +107,22 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN")
../../../src/hotspot/os/windows/include
../../../src/java.base/windows/native/include
../../../src/java.base/windows/native/libjava
../../../src/java.desktop/windows/native/
../../../src/java.desktop/windows/native/libjsound
../../../src/java.desktop/windows/native/include
../../../src/java.desktop/windows/native/libjawt
../../../src/java.desktop/windows/native/common
../../../src/java.desktop/windows/native/common/awt
../../../src/java.desktop/windows/native/common/awt/systemscale
../../../src/java.desktop/windows/native/common/awt/utility
../../../src/java.desktop/windows/native/include
../../../src/java.desktop/windows/native/libawt
../../../src/java.desktop/windows/native/libawt/java2d
../../../src/java.desktop/windows/native/libawt/java2d/d3d
../../../src/java.desktop/windows/native/libawt/java2d/windows
../../../src/java.desktop/windows/native/libawt/java2d/opengl
../../../src/java.desktop/windows/native/libawt/java2d/opengl/J2D_GL
../../../src/java.desktop/windows/native/libawt/java2d/windows
../../../src/java.desktop/windows/native/libawt/java2d/d3d
../../../src/java.desktop/windows/native/libawt/windows
../../../src/java.desktop/windows/native/libjsound
../../../src/java.desktop/windows/native/libfontmanager
../../../src/java.desktop/windows/native/libsplashscreen)
endif()
@@ -773,10 +803,8 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h
../../../src/java.desktop/share/native/libfontmanager/glyphblitting.h
../../../src/java.desktop/share/native/libfontmanager/hb-jdk.h
../../../src/java.desktop/share/native/libfontmanager/fontconfig.h
../../../src/java.desktop/share/native/libfontmanager/freetypeScaler.c
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.h
../../../src/java.desktop/share/native/libfontmanager/ColorGlyphSurfaceData.c
../../../src/java.desktop/share/native/libfontmanager/sunFont.c
../../../src/java.desktop/share/native/libfontmanager/fontscaler.h
../../../src/java.desktop/share/native/liblcms/cmsps2.c
@@ -843,9 +871,6 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libsplashscreen/java_awt_SplashScreen.c
../../../src/java.desktop/share/native/libsplashscreen/splashscreen_gfx_impl.c
../../../src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c
../../../src/java.desktop/share/native/include/jawt.h
../../../src/jdk.jdwp.agent/share/native/include/jdwpTransport.h
../../../src/hotspot/share/include/jmm.h
../../../src/java.base/share/native/include/jni.h
@@ -854,7 +879,6 @@ set(SOURCE_FILES
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(SOURCE_FILES
${SOURCE_FILES}
../../../src/java.desktop/macosx/native/include/jawt_md.h
../../../src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_MidiOut.c
../../../src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Utils.cpp
@@ -865,9 +889,41 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
../../../src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_PCM.cpp
../../../src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_MidiUtils.c
../../../src/java.desktop/macosx/native/include/jawt_md.h
../../../src/java.desktop/macosx/native/libosx/Dispatch.m
../../../src/java.desktop/macosx/native/libosx/CFileManager.m
../../../src/java.desktop/macosx/native/libjawt/jawt.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLBufImgOps.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLContext.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLPaints.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLVertexCache.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLMaskFill.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLTextRenderer.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLBlitLoops.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLSurfaceData.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLFuncs.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLMaskBlit.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLVertexCache.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLLayer.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLPaints.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLContext.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLBufImgOps.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLSurfaceDataBase.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLBlitLoops.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLTextRenderer.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLMaskFill.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLMaskBlit.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLFuncs.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLSurfaceData.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLUtils.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLUtils.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLTexturePool.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLTexturePool.m
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLSurfaceData.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/J2D_GL/cglext.h
../../../src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLGraphicsConfig.h
@@ -911,7 +967,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CGraphicsConfig.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CDesktopPeer.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/PrintModel.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CTrayIcon.m
@@ -927,6 +982,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CMenuBar.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/QuartzSurfaceData.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/common.h
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CMenu.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/ImageSurfaceData.m
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CDragSource.h
@@ -976,7 +1032,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
../../../src/java.desktop/macosx/native/libosxapp/QueuingApplicationDelegate.h
../../../src/java.desktop/macosx/native/libosxapp/PropertiesUtilities.h
../../../src/java.desktop/macosx/native/libosxapp/AWT_debug.h
../../../src/java.desktop/macosx/native/libsplashscreen/libpng/zlibwrapper/zlib.h
../../../src/java.desktop/macosx/native/libsplashscreen/splashscreen_config.h
../../../src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m
../../../src/java.desktop/macosx/native/libosxui/JRSUIController.m
@@ -1152,7 +1207,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRBackendNative.c
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRSurfaceData.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/randr.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_DrawingSurface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c
@@ -1167,8 +1221,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_util.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h
@@ -1176,13 +1228,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/HPkeysym.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/canvas.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_AWTEvent.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.h
../../../src/java.desktop/unix/native/libawt_xawt/awt/sun_awt_X11_GtkFileDialogPeer.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
@@ -1217,7 +1267,6 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN")
../../../src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_Ports.c
../../../src/java.desktop/windows/native/include/jawt_md.h
../../../src/java.desktop/windows/native/libjawt/jawt.cpp
../../../src/java.desktop/windows/native/common/awt_makecube.cpp
../../../src/java.desktop/windows/native/common/awt/systemscale/systemScale.h
../../../src/java.desktop/windows/native/common/awt/systemscale/systemScale.cpp
../../../src/java.desktop/windows/native/common/awt/utility/rect.h
@@ -1424,7 +1473,6 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN")
../../../src/java.desktop/windows/native/libawt/windows/awt_Window.h
../../../src/java.desktop/windows/native/libawt/windows/awt_Checkbox.cpp
../../../src/java.desktop/windows/native/libawt/windows/awt_Palette.cpp
../../../src/java.desktop/windows/native/libfontmanager/lcdglyphDW.cpp
../../../src/java.desktop/windows/native/libfontmanager/fontpath.c
../../../src/java.desktop/windows/native/libfontmanager/lcdglyph.c
../../../src/java.desktop/windows/native/libsplashscreen/splashscreen_config.h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<content url="file://$MODULE_DIR$/../../../test/java/awt/Graphics2D">
<sourceFolder url="file://$MODULE_DIR$/../../../test/java/awt/Graphics2D" isTestSource="false" />
</content>
<content url="file://$MODULE_DIR$/../../../test/sun/java2d">
<sourceFolder url="file://$MODULE_DIR$/../../../test/sun/java2d" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="inheritedJdk" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar" recursive="false" />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/lib/junit.jar" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$APPLICATION_HOME_DIR$/lib/junit.jar" recursive="false" />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JUnit4">
<CLASSES>
<root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar!/" />
<root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# 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
@@ -42,7 +42,7 @@ MODULES_SYMBOLS_FILES := $(foreach module, $(EXPORTED_SYMBOLS_MODULES), \
$(GLOBAL_SYMBOLS_FILE): $(MODULES_SYMBOLS_FILES)
$(call LogInfo, Generating global exported.symbols file)
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(CAT) $^ > $@
TARGETS += $(GLOBAL_SYMBOLS_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -35,7 +35,7 @@ DOCS_TARGETS :=
# On Windows tar frequently complains that "file changed as we read it" for
# some random source files. This seems to be cause by anti virus scanners and
# is most likely safe to ignore. When it happens, tar returns '1'.
ifeq ($(OPENJDK_BUILD_OS), windows)
ifeq ($(call isBuildOs, windows), true)
TAR_IGNORE_EXIT_VALUE := || test "$$$$?" = "1"
endif
@@ -70,6 +70,7 @@ define SetupBundleFileBody
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
$$(call MakeTargetDir)
# If any of the files contain a space in the file name, CacheFind
# will have replaced it with ?. Tar does not accept that so need to
# switch it back.
@@ -79,7 +80,6 @@ define SetupBundleFileBody
$$(CAT) $$($1_$$d_LIST_FILE) | $$(TR) '?' ' ' > $$($1_$$d_LIST_FILE).tmp \
&& $(MV) $$($1_$$d_LIST_FILE).tmp $$($1_$$d_LIST_FILE) $$(NEWLINE) \
)
$$(call MakeDir, $$(@D))
ifneq ($$($1_SPECIAL_INCLUDES), )
$$(foreach i, $$($1_SPECIAL_INCLUDES), \
$$(foreach d, $$($1_BASE_DIRS), \
@@ -144,7 +144,7 @@ endef
# On Macosx, we bundle up the macosx specific images which already have the
# correct base directories.
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
ifeq ($(call isTargetOs, macosx)+$(DEBUG_LEVEL), true+release)
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
JDK_BUNDLE_SUBDIR :=
@@ -167,7 +167,7 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
# Create special filter rules when dealing with unzipped .dSYM directories on
# macosx
ifeq ($(OPENJDK_TARGET_OS), 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))))
@@ -262,6 +262,21 @@ endif
################################################################################
ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), )
JCOV_BUNDLE_FILES := $(call CacheFind, $(JCOV_IMAGE_DIR))
$(eval $(call SetupBundleFile, BUILD_JCOV_BUNDLE, \
BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \
FILES := $(JCOV_BUNDLE_FILES), \
BASE_DIRS := $(JCOV_IMAGE_DIR), \
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
))
JCOV_TARGETS += $(BUILD_JCOV_BUNDLE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
@@ -270,5 +285,6 @@ $(eval $(call IncludeCustomExtension, Bundles.gmk))
product-bundles: $(PRODUCT_TARGETS)
test-bundles: $(TEST_TARGETS)
docs-bundles: $(DOCS_TARGETS)
jcov-bundles: $(JCOV_TARGETS)
.PHONY: all default product-bundles test-bundles docs-bundles
.PHONY: all default product-bundles test-bundles docs-bundles jcov-bundles

60
make/CompileCommands.gmk Normal file
View File

@@ -0,0 +1,60 @@
#
# Copyright (c) 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
# When FIXPATH is set, let it process the file to make sure all paths are usable
# by system native tools. The FIXPATH tool assumes arguments preceeded by an @
# character points to a text file containing further arguments (similar to a
# linker). It replaces any such arguments with a different temporary filename,
# whose contents has been processed to make any paths native. To obtain a
# properly processed compile_commands.json, FIXPATH is then made to invoke an
# AWK script with the unprocessed json file as the only argument, prepended with
# an @ character. The AWK script simply copies the contents of this processed
# file.
#
# The sed command encloses the fragments inside brackets and removes the final
# trailing comma.
$(OUTPUTDIR)/compile_commands.json: $(wildcard $(MAKESUPPORT_OUTPUTDIR)/compile-commands/*.json)
$(call LogWarn, Updating compile_commands.json)
$(RM) $@
$(FIND) $(MAKESUPPORT_OUTPUTDIR)/compile-commands/ -name \*.json | \
$(SORT) | $(XARGS) $(CAT) >> $@.tmp
$(if $(FIXPATH),$(FIXPATH) $(AWK) 'BEGIN { \
tmpfile = substr(ARGV[2],2); \
cmd = "$(CP) " "\047" tmpfile "\047" " $@.tmp"; \
system(cmd); \
}' -- @$@.tmp)
$(SED) -e '1s/^/[\$(NEWLINE)/' -e '$(DOLLAR)s/,\s\{0,\}$(DOLLAR)/\$(NEWLINE)]/' $@.tmp > $@
$(RM) $@.tmp
TARGETS += $(OUTPUTDIR)/compile_commands.json
all: $(TARGETS)
.PHONY: all

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -234,7 +234,7 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
$(call install-file)
$(CHMOD) -f ug+w $@
ifeq ($(OPENJDK_TARGET_OS), solaris)
ifeq ($(call isTargetOs, solaris), true)
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))

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,7 +38,7 @@ $(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_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference,-accessibility '-Xdoclint/package:java.*,javax.*' -XDstringConcat=inline
java.base_COPY += .icu .dat .spp content-types.properties hijrah-config-islamic-umalqura.properties
java.base_CLEAN += intrinsic.properties
@@ -51,21 +51,18 @@ java.base_EXCLUDES += java/lang/doc-files
# data files and shouldn't go in the product
java.base_EXCLUDE_FILES += sun/text/resources/BreakIteratorRules.java
ifneq ($(OPENJDK_TARGET_OS), solaris)
ifeq ($(call isTargetOs, solaris), false)
java.base_EXCLUDE_FILES += \
SolarisLoginModule.java \
SolarisSystem.java \
#
endif
ifeq ($(filter $(OPENJDK_TARGET_OS), solaris macosx aix), )
#
# only solaris, macosx and aix
#
ifeq ($(call isTargetOs, solaris macosx aix), false)
java.base_EXCLUDE_FILES += sun/nio/fs/PollingWatchService.java
endif
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
java.base_EXCLUDE_FILES += \
sun/nio/ch/SimpleAsynchronousFileChannelImpl.java \
#
@@ -82,8 +79,8 @@ java.datatransfer_COPY += flavormap.properties
################################################################################
java.desktop_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference \
'-Xdoclint/package:java.*,javax.*' -Xlint:exports -Xlint:-serial \
java.desktop_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference,-accessibility \
'-Xdoclint/package:java.*,javax.*' -Xlint:exports \
--doclint-format html4
java.desktop_COPY += .gif .png .wav .txt .xml .css .pf
java.desktop_CLEAN += iio-plugin.properties cursors.properties
@@ -124,7 +121,7 @@ java.desktop_EXCLUDE_FILES += \
.template \
#
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
# exclude all X11 on Mac.
java.desktop_EXCLUDES += \
sun/awt/X11 \
@@ -186,7 +183,7 @@ else
sun/awt/X11/XwcTextItem.java
endif
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
java.desktop_EXCLUDES += com/sun/java/swing/plaf/gtk
endif
@@ -194,8 +191,7 @@ ifdef BUILD_HEADLESS_ONLY
java.desktop_EXCLUDES += sun/applet
endif
# Used on windows and macosx
ifeq ($(filter $(OPENJDK_TARGET_OS), windows macosx), )
ifeq ($(call isTargetOs, windows macosx), false)
java.desktop_EXCLUDE_FILES += sun/awt/AWTCharset.java
endif
@@ -224,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.*'
################################################################################
@@ -253,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)
@@ -267,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
################################################################################
@@ -283,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.*'
################################################################################
@@ -321,7 +317,7 @@ jdk.jshell_COPY += .jsh .properties
################################################################################
jdk.internal.le_COPY += .properties
jdk.internal.le_COPY += .properties .caps .txt
################################################################################
@@ -374,11 +370,11 @@ SCTP_IMPL_CLASSES = \
$(TOPDIR)/src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SendFailed.java \
$(TOPDIR)/src/jdk.sctp/unix/classes/sun/nio/ch/sctp/Shutdown.java
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
jdk.sctp_EXCLUDE_FILES += $(SCTP_IMPL_CLASSES)
endif
ifeq ($(OPENJDK_TARGET_OS),aix)
ifeq ($(call isTargetOs, aix), true)
jdk.sctp_EXCLUDE_FILES += $(SCTP_IMPL_CLASSES)
endif
@@ -450,25 +446,22 @@ jdk.internal.vm.compiler_ADD_JAVAC_FLAGS += -parameters -XDstringConcat=inline \
jdk.internal.vm.compiler_EXCLUDES += \
jdk.internal.vm.compiler.collections.test \
org.graalvm.compiler.processor \
org.graalvm.compiler.core.match.processor \
org.graalvm.compiler.nodeinfo.processor \
org.graalvm.compiler.options.processor \
org.graalvm.compiler.serviceprovider.processor \
org.graalvm.compiler.replacements.processor \
org.graalvm.compiler.replacements.jdk9.test \
jdk.tools.jaotc.test \
org.graalvm.compiler.api.directives.test \
org.graalvm.compiler.api.test \
org.graalvm.compiler.asm.aarch64.test \
org.graalvm.compiler.asm.amd64.test \
org.graalvm.compiler.asm.sparc.test \
org.graalvm.compiler.asm.test \
org.graalvm.compiler.core.aarch64.test \
org.graalvm.compiler.core.amd64.test \
org.graalvm.compiler.core.sparc.test \
org.graalvm.compiler.core.jdk9.test \
org.graalvm.compiler.core.match.processor \
org.graalvm.compiler.core.test \
org.graalvm.compiler.debug.test \
org.graalvm.compiler.graph.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 \
@@ -477,10 +470,17 @@ jdk.internal.vm.compiler_EXCLUDES += \
org.graalvm.compiler.lir.test \
org.graalvm.compiler.loop.test \
org.graalvm.compiler.microbenchmarks \
org.graalvm.compiler.nodeinfo.processor \
org.graalvm.compiler.nodes.test \
org.graalvm.compiler.options.processor \
org.graalvm.compiler.options.test \
org.graalvm.compiler.phases.common.test \
org.graalvm.compiler.processor \
org.graalvm.compiler.replacements.jdk12.test \
org.graalvm.compiler.replacements.jdk9.test \
org.graalvm.compiler.replacements.processor \
org.graalvm.compiler.replacements.test \
org.graalvm.compiler.serviceprovider.processor \
org.graalvm.compiler.test \
org.graalvm.compiler.virtual.bench \
org.graalvm.micro.benchmarks \
@@ -511,6 +511,10 @@ jdk.aot_ADD_JAVAC_FLAGS += -parameters -XDstringConcat=inline \
--add-exports jdk.internal.vm.ci/jdk.vm.ci.sparc=jdk.internal.vm.compiler,jdk.aot \
#
jdk.aot_EXCLUDES += \
jdk.tools.jaotc.test
#
################################################################################
sun.charsets_COPY += .dat
@@ -535,8 +539,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
################################################################################
@@ -642,13 +651,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 CacheFind, $(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) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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

View File

@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include SetupJavaCompilers.gmk
include TextFileProcessing.gmk
################################################################################
@@ -46,6 +47,7 @@ $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
SETUP := GENERATE_OLDBYTECODE, \
SRC := $(BUILD_TOOLS_SRC_DIRS), \
EXCLUDES := \
build/tools/classlist \
build/tools/deps \
build/tools/docs \
build/tools/jigsaw \
@@ -86,4 +88,56 @@ TARGETS += $(COMPILE_DEPEND) $(DEPEND_SERVICE_PROVIDER)
################################################################################
# To be able to call the javascript filter when generating man pages using
# pandoc, we need to create this executable wrapper script.
ifeq ($(ENABLE_PANDOC), true)
# PANDOC_TROFF_MANPAGE_FILTER is duplicated for export in ToolsJdk.gmk.
PANDOC_TROFF_MANPAGE_FILTER := \
$(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-troff-manpage-filter
PANDOC_TROFF_MANPAGE_FILTER_SETUP := \
$(BUILDTOOLS_OUTPUTDIR)/manpages/_pandoc_troff_manpage_filter_setup.marker
# Create a usable instance of the wrapper script that calls the pandoc filter
# (which is written in javascript).
$(eval $(call SetupTextFileProcessing, CREATE_PANDOC_TROFF_MANPAGE_FILTER, \
SOURCE_FILES := $(TOPDIR)/make/scripts/pandoc-troff-manpage-filter.sh.template, \
OUTPUT_FILE := $(PANDOC_TROFF_MANPAGE_FILTER), \
REPLACEMENTS := \
@@BOOT_JDK@@ => $(BOOT_JDK) ; \
@@TOPDIR@@ => $(TOPDIR) ; \
@@JJS_FLAGS@@ => $(addprefix -J, $(JAVA_FLAGS_SMALL)), \
))
# Created script must be made executable
$(PANDOC_TROFF_MANPAGE_FILTER_SETUP): $(CREATE_PANDOC_TROFF_MANPAGE_FILTER)
$(CHMOD) a+rx $(PANDOC_TROFF_MANPAGE_FILTER)
$(TOUCH) $@
TARGETS += $(PANDOC_TROFF_MANPAGE_FILTER_SETUP)
# PANDOC_HTML_MANPAGE_FILTER is duplicated for export in ToolsJdk.gmk.
PANDOC_HTML_MANPAGE_FILTER := \
$(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpage-filter
PANDOC_HTML_MANPAGE_FILTER_SETUP := \
$(BUILDTOOLS_OUTPUTDIR)/manpages/_pandoc_html_manpage_filter_setup.marker
# Create a usable instance of the wrapper script that calls the pandoc filter
# (which is written in javascript).
$(eval $(call SetupTextFileProcessing, CREATE_PANDOC_HTML_MANPAGE_FILTER, \
SOURCE_FILES := $(TOPDIR)/make/scripts/pandoc-html-manpage-filter.sh.template, \
OUTPUT_FILE := $(PANDOC_HTML_MANPAGE_FILTER), \
REPLACEMENTS := \
@@BOOT_JDK@@ => $(BOOT_JDK) ; \
@@TOPDIR@@ => $(TOPDIR) ; \
@@JJS_FLAGS@@ => $(addprefix -J, $(JAVA_FLAGS_SMALL)), \
))
# Created script must be made executable
$(PANDOC_HTML_MANPAGE_FILTER_SETUP): $(CREATE_PANDOC_HTML_MANPAGE_FILTER)
$(CHMOD) a+rx $(PANDOC_HTML_MANPAGE_FILTER)
$(TOUCH) $@
TARGETS += $(PANDOC_HTML_MANPAGE_FILTER_SETUP)
endif
all: $(TARGETS)

View File

@@ -38,7 +38,7 @@ CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))
$(eval $(call FillCacheFind, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR)))
ifneq ($(LIBS_DIR), )
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_BIN, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
# 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
@@ -33,7 +33,7 @@ include MakeBase.gmk
### CLDRConverter needs the JRE time zone names from the java.base source.
define cldrconverter_copytznames
$(MKDIR) -p '$(@D)'
$(call MakeTargetDir)
$(RM) '$@'
$(SED) -e "s/package sun.util.resources/package build.tools.cldrconverter/" \
-e "s/extends TimeZoneNamesBundle//" \
@@ -46,7 +46,7 @@ $(eval $(call SetupCopyFiles,COPY_INTERIM_CLDRCONVERTER, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes/build/tools/cldrconverter, \
FILES := TimeZoneNames.java, \
MACRO := cldrconverter_copytznames))
##########################################################################################
all: $(COPY_INTERIM_CLDRCONVERTER)

56
make/Coverage.gmk Normal file
View File

@@ -0,0 +1,56 @@
#
# Copyright (c) 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.
include $(SPEC)
include MakeBase.gmk
################################################################################
JCOV_INPUT_IMAGE_DIR :=
ifneq ($(JCOV_INPUT_JDK), )
JCOV_INPUT_IMAGE_DIR := $(JCOV_INPUT_JDK)
else
JCOV_INPUT_IMAGE_DIR := $(JDK_IMAGE_DIR)
endif
#moving instrumented jdk image in and out of jcov_temp because of CODETOOLS-7902299
JCOV_TEMP := $(SUPPORT_OUTPUTDIR)/jcov_temp
$(JCOV_IMAGE_DIR)/release: $(JCOV_INPUT_IMAGE_DIR)/release
$(call LogWarn, Creating instrumented jdk image with JCov)
$(call MakeDir, $(JCOV_TEMP) $(IMAGES_OUTPUTDIR))
$(RM) -r $(JCOV_IMAGE_DIR) $(JCOV_TEMP)/*
$(CP) -r $(JCOV_INPUT_IMAGE_DIR) $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
$(JAVA) -Xmx3g -jar $(JCOV_HOME)/lib/jcov.jar JREInstr \
-t $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)/template.xml \
-rt $(JCOV_HOME)/lib/jcov_network_saver.jar \
-exclude 'java.lang.Object' \
-exclude 'jdk.internal.org.objectweb.**' \
-exclude jdk.test.Main -exclude '**\$Proxy*' \
$(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
$(MV) $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR) $(JCOV_IMAGE_DIR)
$(RMDIR) $(JCOV_TEMP)
jcov-image: $(JCOV_IMAGE_DIR)/release

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# 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
@@ -41,7 +41,7 @@ COPY_CLASSES_TARGET := $(BUILDJDK_OUTPUTDIR)/jdk/modules/java.base/_the.buildjdk
$(COPY_CLASSES_TARGET): $(call CacheFind, $(wildcard \
$(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
$(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(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), \

View File

@@ -1,4 +1,4 @@
# 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
@@ -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))))
@@ -118,7 +120,7 @@ ifeq ($(MODULE), java.base)
endif
endif
else # not java.base
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
# Only java.base needs to include the MSVC*_DLLs. Make sure no other module
# tries to include them (typically imported ones).
ifneq ($(MSVCR_DLL), )
@@ -152,26 +154,27 @@ endif
# 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,12 @@ 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 $(TOPDIR)/make/ToolsJdk.gmk
include $(TOPDIR)/make/ModuleTools.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
@@ -61,11 +62,11 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
$(SUPPORT_OUTPUTDIR)/rmic/* $(TOPDIR)/src/*/share/doc/stub)
# URLs
JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase$(VERSION_NUMBER)&amp;id=homepage
BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/
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
LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java$(VERSION_NUMBER)speclicense.html
REDISTRIBUTION_URL := http://www.oracle.com/technetwork/java/redist-137594.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
# In order to get a specific ordering it's necessary to specify the total
# ordering of tags as the tags are otherwise ordered in order of definition.
@@ -168,14 +169,6 @@ JAVADOC_TOP := \
font-family: DejaVu Sans, Arial, Helvetica, sans-serif; \
font-weight: normal;">$(DRAFT_TEXT)</div>
JDK_INDEX_CONTENT := \
<!DOCTYPE html> \
<html lang="en"> \
<head> \
<meta http-equiv="refresh" content="0;url=api/index.html"> \
</head> \
</html>
################################################################################
# JDK javadoc titles/text snippets
@@ -203,10 +196,13 @@ define setup_gengraph_dot_to_png
# For each module needing a graph, create a png 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_png_$1_$2, \
INFO := Running dot for module graphs for $2, \
DEPS := $$(gengraphs_$1_TARGET), \
OUTPUT_FILE := $$($1_$2_PNG_TARGET), \
SUPPORT_DIR := $$($1_GENGRAPHS_DIR), \
COMMAND := $$(DOT) -Tpng -o $$($1_$2_PNG_TARGET) $$($1_$2_DOT_SRC), \
))
$1_MODULEGRAPH_TARGETS += $$($1_$2_PNG_TARGET)
endef
@@ -228,7 +224,7 @@ define create_overview_file
<blockquote><dl> \
#
$1_OVERVIEW_TEXT += $$(foreach g, $$($1_GROUPS), \
<dt style="margin-top: 8px;"><a href="\#$$g">$$($$g_GROUP_NAME)</a></dt> \
<dt style="margin-top: 8px;">$$($$g_GROUP_NAME)</dt> \
<dd style="margin-top: 8px;">$$($$g_GROUP_DESCRIPTION)</dd> \
)
$1_OVERVIEW_TEXT += \
@@ -332,7 +328,7 @@ define SetupApiDocsGenerationBody
$1_JAVADOC_CMD := $$(JAVA) -Djava.awt.headless=true $$($1_JAVA_ARGS) \
$$(NEW_JAVADOC)
else
$1_OPTIONS += $$(addprefix -J, $$($1_JAVA_ARGS))
$1_OPTIONS += $$(addprefix -J, $$($1_JAVA_ARGS))
endif
$1_VARDEPS := $$($1_JAVA_ARGS) $$($1_OPTIONS) $$(MODULES_SOURCE_PATH) \
@@ -344,18 +340,18 @@ define SetupApiDocsGenerationBody
$1_SOURCE_DEPS := $$(call CacheFind, $$(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
@@ -375,19 +371,18 @@ 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
# 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)) \
)
@@ -466,7 +461,7 @@ $(eval $(call SetupApiDocsGeneration, JAVASE_API, \
# Setup generation of the reference Java SE API documentation (javadoc + modulegraph)
# The reference javadoc is just the same as javase, but using the BootJDK javadoc
# and a stable set of javadoc options. Typically it is used for generating
# and a stable set of javadoc options. Typically it is used for generating
# diffs between the reference javadoc and a javadoc bundle of a specific build
# generated in the same way.
@@ -485,14 +480,7 @@ $(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
################################################################################
JDK_INDEX_HTML := $(DOCS_OUTPUTDIR)/index.html
$(JDK_INDEX_HTML):
$(ECHO) '$(JDK_INDEX_CONTENT)' > $@
JDK_INDEX_TARGETS += $(JDK_INDEX_HTML)
# Copy the global resources
# Copy the global resources, including the top-level redirect index.html
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
@@ -532,9 +520,9 @@ $(foreach m, $(ALL_MODULES), \
) \
)
ifeq ($(ENABLE_FULL_DOCS), true)
ifeq ($(ENABLE_PANDOC), true)
# For all markdown files in $module/share/specs directories, convert them to
# html.
# html, if we have pandoc (otherwise we'll just skip this).
GLOBAL_SPECS_DEFAULT_CSS_FILE := $(DOCS_OUTPUTDIR)/resources/jdk-default.css
@@ -542,7 +530,7 @@ ifeq ($(ENABLE_FULL_DOCS), true)
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
$(foreach d, $(SPECS_$m), \
$(if $(filter %.md, $(call CacheFind, $d)), \
$(eval $m_$d_NAME := CONVERT_MARKDOWN_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $m_$d_NAME := SPECS_TO_HTML_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \
@@ -553,6 +541,40 @@ ifeq ($(ENABLE_FULL_DOCS), true)
) \
) \
)
# For all markdown files in $module/share/man directories, convert them to
# html.
# Create dynamic man pages from markdown using pandoc. We need
# PANDOC_HTML_MANPAGE_FILTER, a wrapper around
# PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT. This is created by buildtools-jdk.
# We should also depend on the source javascript filter
PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT := \
$(TOPDIR)/make/scripts/pandoc-html-manpage-filter.js
$(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), \
SRC := $d, \
FILES := $(filter %.md, $(call CacheFind, $d)), \
DEST := $(DOCS_OUTPUTDIR)/specs/man, \
FILTER := $(PANDOC_HTML_MANPAGE_FILTER), \
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
REPLACEMENTS := @@VERSION_SHORT@@ => $(VERSION_SHORT), \
EXTRA_DEPS := $(PANDOC_HTML_MANPAGE_FILTER) \
$(PANDOC_HTML_MANPAGE_FILTER_JAVASCRIPT), \
)) \
$(eval JDK_SPECS_TARGETS += $($($m_$d_NAME))) \
) \
) \
)
# The html generated from markdown also needs the css file
JDK_SPECS_TARGETS += $(COPY_GLOBAL_RESOURCES)
endif
# Special treatment for generated documentation

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 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,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)
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)
$(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR)
$(TOUCH) $@
$(eval $(call SetupExecute, optimize_image, \
INFO := 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

@@ -31,15 +31,17 @@ default: all
include $(SPEC)
include MakeBase.gmk
include JarArchive.gmk
include SetupJavaCompilers.gmk
################################################################################
# Create a jar with our generator class. Using a jar is intentional since it
# will load more classes
$(eval $(call SetupJarArchive, CLASSLIST_JAR, \
SRCS := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes, \
$(eval $(call SetupJavaCompilation, CLASSLIST_JAR, \
SETUP := GENERATE_JDKBYTECODE, \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/classlist, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/classlist_classes, \
JAR := $(SUPPORT_OUTPUTDIR)/classlist.jar, \
))
@@ -57,6 +59,8 @@ ifeq ($(EXTERNAL_BUILDJDK), true)
INTERIM_IMAGE_DIR := $(BUILD_JDK)
endif
# Save the stderr output of the command and print it along with stdout in case
# something goes wrong.
$(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXE_SUFFIX) $(CLASSLIST_JAR)
$(call MakeDir, $(LINK_OPT_DIR))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
@@ -65,7 +69,14 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXE_SUFFIX) $(CLASSLIST_JAR)
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
$(LOG_DEBUG) 2>&1 > $(JLI_TRACE_FILE)
2> $(LINK_OPT_DIR)/stderr > $(JLI_TRACE_FILE) \
|| ( \
exitcode=$$? ; \
$(ECHO) "ERROR: Failed to generate link optimization data." \
"This is likely a problem with the newly built JVM/JDK." ; \
$(CAT) $(LINK_OPT_DIR)/stderr $(JLI_TRACE_FILE) ; \
exit $$exitcode \
)
$(GREP) -v HelloClasslist $@.raw > $@
# The jli trace is created by the same recipe as classlist. By declaring these

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -35,18 +35,18 @@ SPEC_DOTFILES_DIR := $(GENGRAPHS_DIR)/spec-dotfiles
TOOLS_MODULE_SRCDIR := $(TOPDIR)/make/jdk/src/classes/build/tools/jigsaw
$(GENGRAPHS_DIR)/jdk.dot: $(BUILD_JIGSAW_TOOLS)
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(TOOL_GENGRAPHS) --output $(GENGRAPHS_DIR)
$(SPEC_DOTFILES_DIR)/java.se.dot: $(BUILD_JIGSAW_TOOLS)
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(TOOL_GENGRAPHS) --spec --output $(SPEC_DOTFILES_DIR)
$(GENGRAPHS_DIR)/technology-summary.html: $(TOOLS_MODULE_SRCDIR)/technology-summary.html
$(install-file)
$(GENGRAPHS_DIR)/module-summary.html: $(BUILD_JIGSAW_TOOLS) $(GENGRAPHS_DIR)/technology-summary.html
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(TOOL_MODULESUMMARY) -o $@ --module-path $(IMAGES_OUTPUTDIR)/jmods
all: $(GENGRAPHS_DIR)/jdk.dot $(GENGRAPHS_DIR)/module-summary.html $(SPEC_DOTFILES_DIR)/java.se.dot

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
# 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
@@ -79,7 +79,7 @@ ifneq ($(MOD_FILES), )
$(BUILD_TOOLS_JDK) \
$(MOD_FILES) \
$(call DependOnVariable, ALL_MODULES)
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(RM) $@ $@.tmp
$(TOOL_GENMODULEINFOSOURCE) -o $@.tmp \
--source-file $< \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -55,10 +55,10 @@ help:
$(info $(_) make install # Install the generated images locally)
$(info $(_) make reconfigure # Rerun configure with the same arguments as last time)
$(info $(_) make help # Give some help on using make)
$(info $(_) make test # Run tests, default is all tests (see TEST below))
$(info $(_) make run-test-<test> # Run test, e.g. run-test-tier1)
$(info $(_) make run-test TEST=<t> # Run test(s) given by TEST specification)
$(info $(_) make exploded-run-test TEST=<t> # Run test(s) on the exploded image instead of)
$(info $(_) make check # Run basic testing (currently tier1))
$(info $(_) make test-<test> # Run test, e.g. test-tier1)
$(info $(_) make test TEST=<t> # Run test(s) given by TEST specification)
$(info $(_) make exploded-test TEST=<t> # Run test(s) on the exploded image instead of)
$(info $(_) # the full jdk image)
$(info )
$(info Targets for cleaning)
@@ -99,10 +99,13 @@ help:
$(info $(_) TEST_JOBS=<n> # Run <n> parallel test jobs)
$(info $(_) CONF_CHECK=<method> # What to do if spec file is out of date)
$(info $(_) # method is 'auto', 'ignore' or 'fail' (default))
$(info $(_) make test TEST=<test> # Only run the given test or tests, e.g.)
$(info $(_) # make test TEST="jdk_lang jdk_net")
$(info $(_) JTREG="OPT1=x;OPT2=y" # Control the JTREG test harness for run-test)
$(info $(_) GTEST="OPT1=x;OPT2=y" # Control the GTEST test harness for run-test)
$(info $(_) TEST="test1 ..." # Use the given test descriptor(s) for testing, e.g.)
$(info $(_) # make test TEST="jdk_lang gtest:all")
$(info $(_) JTREG="OPT1=x;OPT2=y" # Control the JTREG test harness)
$(info $(_) GTEST="OPT1=x;OPT2=y" # Control the GTEST test harness)
$(info $(_) MICRO="OPT1=x;OPT2=y" # Control the MICRO test harness)
$(info $(_) TEST_OPTS="OPT1=x;..." # Generic control of all test harnesses)
$(info $(_) TEST_VM_OPTS="ARG ..." # Same as setting TEST_OPTS to VM_OPTIONS="ARG ...")
$(info )
$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
$(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
@@ -119,7 +122,7 @@ print-configurations:
run-test-prebuilt:
@( cd $(topdir) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
run-test-prebuilt TEST="$(TEST)" )
run-test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
ALL_GLOBAL_TARGETS := help print-configurations run-test-prebuilt

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,16 +27,16 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
TOOL_TARGETS :=
JDK_TARGETS :=
JRE_TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Images-pre.gmk))
############################################################################
################################################################################
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
@@ -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 := bin/java$(EXE_SUFFIX)
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=
ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
@@ -88,151 +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)
$(ECHO) 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) \
)
$(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)
$(ECHO) 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) \
)
$(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 := $(JDK_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), \
))
################################################################################
# /man dir
#
# All variables in this section are assigned with simple =, without :, to enable
# more selective overriding from the custom version of this file.
#
# Avoid evaluating this whole section on windows for speed and stability
ifneq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(BUILD_MANPAGES), true)
JRE_MAN_PAGES += \
java.1 \
jjs.1 \
keytool.1 \
orbd.1 \
pack200.1 \
rmid.1 \
rmiregistry.1 \
servertool.1 \
unpack200.1
JLINK_JRE_TARGETS := $(jlink_jre)
JDK_MAN_PAGES += \
$(JRE_MAN_PAGES) \
idlj.1 \
jar.1 \
jarsigner.1 \
javac.1 \
javadoc.1 \
javap.1 \
jconsole.1 \
jcmd.1 \
jdb.1 \
jdeps.1 \
jinfo.1 \
jmap.1 \
jps.1 \
jrunscript.1 \
jstack.1 \
jstat.1 \
jstatd.1 \
rmic.1 \
serialver.1
ifeq ($(BUILD_CDS_ARCHIVE), true)
ifeq ($(OPENJDK_TARGET_OS), windows)
CDS_ARCHIVE := bin/server/classes.jsa
else
CDS_ARCHIVE := lib/server/classes.jsa
endif
# This variable is potentially overridden in the closed makefile.
MAN_SRC_BASEDIR ?= $(TOPDIR)/src
$(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), \
))
ifeq ($(OPENJDK_TARGET_OS), linux)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/linux/doc
MAN1_SUBDIR = man
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/solaris/doc
MAN1_SUBDIR = sun/man/man1
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/bsd/doc
MAN1_SUBDIR = man
endif
JDK_TARGETS += $(gen_cds_archive_jdk)
$(JRE_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(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), \
))
$(JDK_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
ifeq ($(OPENJDK_TARGET_OS), solaris)
$(JRE_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Converting $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
$(JDK_IMAGE_DIR)/man/ja/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/ja/%
$(call LogInfo, Converting $(patsubst $(OUTPUTDIR)/%,%,$@))
$(install-file)
endif
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
$(JRE_IMAGE_DIR)/man/ja:
$(call LogInfo, Creating $(patsubst $(OUTPUTDIR)/%,%,$@))
$(CD) $(@D) && $(RM) ja && $(LN) -s ja_JP.UTF-8 ja
$(JDK_IMAGE_DIR)/man/ja:
$(call LogInfo, Creating $(patsubst $(OUTPUTDIR)/%,%,$@))
$(CD) $(@D) && $(RM) ja && $(LN) -s ja_JP.UTF-8 ja
endif
ifeq ($(OPENJDK_TARGET_OS), solaris)
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JRE_MAN_PAGES))
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.PCK/man1/, $(JDK_MAN_PAGES))
endif
ifneq ($(findstring $(OPENJDK_TARGET_OS), linux macosx), )
JRE_MAN_PAGE_LIST = $(addprefix $(JRE_IMAGE_DIR)/man/man1/, $(JRE_MAN_PAGES)) \
$(addprefix $(JRE_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JRE_MAN_PAGES)) \
$(JRE_IMAGE_DIR)/man/ja
JDK_MAN_PAGE_LIST = $(addprefix $(JDK_IMAGE_DIR)/man/man1/, $(JDK_MAN_PAGES)) \
$(addprefix $(JDK_IMAGE_DIR)/man/ja_JP.UTF-8/man1/, $(JDK_MAN_PAGES)) \
$(JDK_IMAGE_DIR)/man/ja
endif
JRE_TARGETS += $(JRE_MAN_PAGE_LIST)
JDK_TARGETS += $(JDK_MAN_PAGE_LIST)
endif # BUILD_MANPAGES
endif # Windows
JDK_TARGETS += $(gen_cds_archive_jdk)
endif
################################################################################
# src.zip
@@ -255,7 +162,7 @@ ifneq ($(filter jdk, $(MAKECMDGOALS)), )
)
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
DEMO_FILES := $(call not-containing, .dSYM, $(DEMO_FILES))
else
DEMO_FILES := $(filter-out %.debuginfo %.pdb %.map, $(DEMO_FILES))
@@ -303,7 +210,7 @@ ALL_JDK_MODULES := $(JDK_MODULES)
ALL_JRE_MODULES := $(sort $(JRE_MODULES), $(foreach m, $(JRE_MODULES), \
$(call FindTransitiveDepsForModule, $m)))
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
LIBS_TARGET_SUBDIR := bin
else
LIBS_TARGET_SUBDIR := lib
@@ -322,7 +229,7 @@ else
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
$(eval $(call FillCacheFind, \
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs))
FindDebuginfoFiles = \
@@ -355,11 +262,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

@@ -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
@@ -240,6 +240,11 @@ else # HAS_SPEC=true
override BUILD_LOG_PIPE :=
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 :=
endif
ifeq ($(OUTPUT_SYNC_SUPPORTED), true)
OUTPUT_SYNC_FLAG := -O$(OUTPUT_SYNC)
endif
@@ -272,7 +277,7 @@ else # HAS_SPEC=true
else
$(ECHO) "Re-running configure using default settings"
endif
( cd $(OUTPUTDIR) && PATH="$(ORIGINAL_PATH)" \
( cd $(OUTPUTDIR) && PATH="$(ORIGINAL_PATH)" AUTOCONF="$(AUTOCONF)" \
CUSTOM_ROOT="$(CUSTOM_ROOT)" \
CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
$(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )

View File

@@ -50,7 +50,7 @@ ifeq ($(HAS_SPEC),)
# Make control variables, handled by Init.gmk
INIT_CONTROL_VARIABLES += LOG CONF CONF_NAME SPEC JOBS TEST_JOBS CONF_CHECK \
COMPARE_BUILD JTREG GTEST TEST_OPTS TEST_VM_OPTS
COMPARE_BUILD JTREG GTEST MICRO TEST_OPTS TEST_VM_OPTS
# All known make control variables
MAKE_CONTROL_VARIABLES := $(INIT_CONTROL_VARIABLES) TEST JDK_FILTER
@@ -264,9 +264,13 @@ 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 -f $$(topdir)/make/Main.gmk \
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R --no-print-directory \
-f $$(topdir)/make/Main.gmk \
-I $$(topdir)/make/common SPEC=$(strip $2) NO_RECIPES=true \
$$(MAKE_LOG_VARS) \
create-main-targets-include )
@@ -479,7 +483,7 @@ else # $(HAS_SPEC)=true
$(TOUCH) $(SJAVAC_SERVER_DIR)/server.port.stop; true
endef
ifeq ($(OPENJDK_BUILD_OS), windows)
ifeq ($(call isBuildOs, windows), true)
# On windows we need to synchronize with the javac server to be able to
# move or remove the build output directory. Since we have no proper
# synchronization process, wait for a while and hope it helps. This is only

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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

View File

@@ -1,107 +0,0 @@
#
# Copyright (c) 2012, 2016, 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 file contains targets and utilities needed by JPRT.
# Cygpath is only defined when running on Cygwin
ifneq ($(CYGPATH), )
# If we get JPRT_ARCHIVE_*BUNDLE externally, make sure they have /cygdrive
# style paths
ifdef JPRT_ARCHIVE_BUNDLE
override JPRT_ARCHIVE_BUNDLE := $(shell $(CYGPATH) -u $(JPRT_ARCHIVE_BUNDLE))
endif
ifdef JPRT_ARCHIVE_TEST_BUNDLE
override JPRT_ARCHIVE_TEST_BUNDLE := \
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_TEST_BUNDLE))
endif
ifdef JPRT_ARCHIVE_SYMBOLS_BUNDLE
override JPRT_ARCHIVE_SYMBOLS_BUNDLE := \
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_SYMBOLS_BUNDLE))
endif
endif
# When running in JPRT these will be provided. Need defaults so that this makefile
# is valid anyway.
ifndef JPRT_ARCHIVE_BUNDLE
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/jdk-image.zip
endif
ifndef JPRT_ARCHIVE_TEST_BUNDLE
JPRT_ARCHIVE_TEST_BUNDLE=/tmp/jprt_bundles/test-image.zip
endif
ifndef JPRT_ARCHIVE_SYMBOLS_BUNDLE
JPRT_ARCHIVE_SYMBOLS_BUNDLE=/tmp/jprt_bundles/symbols-image.zip
endif
ifeq ($(SKIP_BOOT_CYCLE), false)
jprt_bundle: bootcycle-images
endif
################################################################################
# JPRT specific bundling targets
JPRT_TARGET ?= $(DEFAULT_MAKE_TARGET)
ifeq ($(JPRT_TARGET), $(DEFAULT_MAKE_TARGET))
jprt_bundle: $(DEFAULT_MAKE_TARGET) $(JPRT_ARCHIVE_BUNDLE) \
$(JPRT_ARCHIVE_TEST_BUNDLE)
SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
# This target must be called in the context of a SPEC file
$(JPRT_ARCHIVE_BUNDLE): product-images
$(call MakeDir, $(@D))
$(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
$(JPRT_ARCHIVE_TEST_BUNDLE): test-image
$(call MakeDir, $(@D))
$(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
##############################################################################
# Optional symbols bundle
ifeq ($(GCOV_ENABLED), true)
jprt_bundle: $(JPRT_ARCHIVE_SYMBOLS_BUNDLE)
$(JPRT_ARCHIVE_SYMBOLS_BUNDLE): product-images
$(call MakeDir, $(@D))
$(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
endif
##############################################################################
else
# Just fake the main bundle to satisfy JPRT
jprt_bundle: $(JPRT_TARGET)
@$(call TargetEnter)
$(MKDIR) -p $(OUTPUTDIR)/bundles
$(CD) $(TOPDIR) && $(TAR) cf - README | $(GZIP) > \
$(JPRT_ARCHIVE_BUNDLE)
@$(call TargetExit)
endif
ALL_TARGETS += jprt_bundle
################################################################################
$(eval $(call IncludeCustomExtension, Jprt.gmk))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -30,7 +30,7 @@ include TextFileProcessing.gmk
default: bundles
# Only macosx has bundles defined.
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
bundles: jre-bundle jdk-bundle
@@ -63,15 +63,15 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
$(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(RM) $@
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(LN) -s ../Home/lib/libjli.dylib $@
$(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
$(MKDIR) -p $(@D)
$(call MakeTargetDir)
$(RM) $@
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(LN) -s ../Home/lib/libjli.dylib $@
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \

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
@@ -262,6 +262,31 @@ hotspot-ide-project:
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project
################################################################################
# Generate libs and launcher targets for creating compile_commands.json fragments
define DeclareCompileCommandsRecipe
$1-compile-commands:
$$(call LogInfo, Generating compile_commands.json fragments for $1)
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk $1-only \
GENERATE_COMPILE_COMMANDS_ONLY=true)
COMPILE_COMMANDS_TARGETS_$2 += $1-compile-commands
endef
$(foreach t, $(HOTSPOT_VARIANT_LIBS_TARGETS), \
$(eval $(call DeclareCompileCommandsRecipe,$t,HOTSPOT)) \
)
$(foreach t, $(LIBS_TARGETS) $(LAUNCHER_TARGETS), \
$(eval $(call DeclareCompileCommandsRecipe,$t,JDK)) \
)
compile-commands compile-commands-hotspot:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileCommands.gmk)
ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
ALL_TARGETS += compile-commands compile-commands-hotspot
################################################################################
# Build demos targets
@@ -346,10 +371,15 @@ release-file:
exploded-image-optimize:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ExplodedImageOptimize.gmk)
ifeq ($(JCOV_ENABLED), true)
jcov-image:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Coverage.gmk jcov-image)
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 \
release-file exploded-image-optimize
release-file exploded-image-optimize jcov-image
################################################################################
# Docs targets
@@ -426,7 +456,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
@@ -448,24 +478,27 @@ ALL_TARGETS += $(INTERIM_JMOD_TARGETS) interim-image generate-link-opt-data
#
define DeclareRunTestRecipe
run-test-$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test TEST="$1")
test-$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk \
TEST="$1")
exploded-run-test-$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test \
exploded-test-$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk \
TEST="$1" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR))
endef
# ALL_NAMED_TESTS is defined in FindTests.gmk
$(foreach t, $(ALL_NAMED_TESTS), $(eval $(call DeclareRunTestRecipe,$t)))
ALL_TEST_TARGETS := $(addprefix run-test-, $(ALL_NAMED_TESTS))
ALL_EXPLODED_TEST_TARGETS := $(addprefix exploded-run-test-, $(ALL_NAMED_TESTS))
ALL_TEST_TARGETS := $(addprefix test-, $(ALL_NAMED_TESTS))
# We only support the "exploded-test-gtest" shortcut
ALL_EXPLODED_TESTS := gtest
ALL_EXPLODED_TEST_TARGETS := $(addprefix exploded-test-, $(ALL_EXPLODED_TESTS))
ALL_TARGETS += $(ALL_TEST_TARGETS) $(ALL_EXPLODED_TEST_TARGETS)
################################################################################
# Build tests
# Build tests and microbenchmarks
#
prepare-test-image:
@@ -495,13 +528,6 @@ test-image-hotspot-jtreg-graal:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregGraalUnit.gmk \
test-image-hotspot-jtreg-graal)
run-test:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test TEST="$(TEST)")
exploded-run-test:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test \
TEST="$(TEST)" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR))
ifeq ($(BUILD_GTEST), true)
test-image-hotspot-gtest:
+($(CD) $(TOPDIR)/make/hotspot/test && $(MAKE) $(MAKE_ARGS) -f GtestImage.gmk)
@@ -516,51 +542,38 @@ ifeq ($(BUILD_FAILURE_HANDLER), true)
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
-f BuildFailureHandler.gmk build)
# Runs the tests for the failure handler jtreg extension
test-failure-handler:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
-f BuildFailureHandler.gmk test)
# Copies the failure handler jtreg extension into the test image
test-image-failure-handler:
+($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
-f BuildFailureHandler.gmk images)
endif
build-microbenchmark:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f test/BuildMicrobenchmark.gmk)
ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
test-failure-handler test-image-failure-handler test-image-hotspot-gtest \
test-image-hotspot-jtreg-graal build-test-hotspot-jtreg-graal \
run-test exploded-run-test
build-microbenchmark
################################################################################
# Run tests
# Run tests specified by $(TEST), or the default test set.
test:
$(call RunTests, $(TEST), $(JDK_IMAGE_DIR))
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk \
TEST="$(TEST)")
test-hotspot-jtreg:
$(call RunTests, "hotspot_all", $(JDK_IMAGE_DIR))
exploded-test:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk \
TEST="$(TEST)" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR))
test-hotspot-jtreg-native:
$(call RunTests, "hotspot_native_sanity", $(JDK_IMAGE_DIR))
jcov-test:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk \
TEST="$(TEST)" TEST_OPTS_JCOV=true)
test-hotspot-internal:
$(call RunTests, "hotspot_internal", $(JDK_OUTPUTDIR))
test-hotspot-gtest:
$(call RunTests, "hotspot_gtest", $(JDK_OUTPUTDIR))
test-jdk-jtreg-native:
$(call RunTests, "jdk_native_sanity", $(JDK_IMAGE_DIR))
test-make:
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make
ALL_TARGETS += test exploded-test jcov-test
################################################################################
# Bundles
@@ -574,7 +587,12 @@ test-bundles:
docs-bundles:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
ALL_TARGETS += product-bundles test-bundles docs-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
################################################################################
# Install targets
@@ -630,6 +648,7 @@ 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) \
)
@@ -691,16 +710,17 @@ else
# copied and processed.
java.desktop-gensrc-src: java.base-gensrc java.base-copy
# The annotation processing for jdk.internal.vm.ci and jdk.internal.vm.compiler
# needs classes from the current JDK.
jdk.internal.vm.ci-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.ci))
# The annotation processing for jdk.internal.vm.compiler
# and jdk.internal.vm.compiler.management needs classes from the current JDK.
jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler))
jdk.internal.vm.compiler.management-gensrc-src: $(addsuffix -java, \
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler.management))
# For jdk.internal.vm.compiler, the gensrc step is generating a module-info.java.extra
# For these modules, the gensrc step is generating a module-info.java.extra
# file to be processed by the gensrc-moduleinfo target.
jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-src
jdk.internal.vm.compiler.management-gensrc-moduleinfo: jdk.internal.vm.compiler.management-gensrc-src
jdk.jdeps-gendata: java rmic
@@ -735,6 +755,22 @@ else
$(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS)))
$(foreach m, $(INTERIM_IMAGE_MODULES), $(eval $m-interim-jmod: $($(m)_JMOD_DEPS)))
# Setup the minimal set of generated native source dependencies for hotspot
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v-libs-compile-commands: hotspot-$v-gensrc) \
$(foreach m, $(filter java.desktop jdk.hotspot.agent, $(GENSRC_MODULES)), \
$(eval hotspot-$v-libs-compile-commands: $m-gensrc)) \
)
# For the full JDK compile commands, create all possible generated sources
$(foreach m, $(GENSRC_MODULES), $(eval $m-libs-compile-commands: $m-gensrc))
$(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs-compile-commands: $m-java))
$(COMPILE_COMMANDS_TARGETS_HOTSPOT): clean-compile-commands
$(COMPILE_COMMANDS_TARGETS_JDK): clean-compile-commands
compile-commands-hotspot: $(COMPILE_COMMANDS_TARGETS_HOTSPOT)
compile-commands: $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
# 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
@@ -775,6 +811,8 @@ else
jrtfs-jar: interim-langtools
build-microbenchmark: interim-langtools exploded-image
ifeq ($(ENABLE_GENERATE_CLASSLIST), true)
ifeq ($(CREATE_BUILDJDK), true)
# If creating a buildjdk, the interim image needs to be based on that.
@@ -800,6 +838,10 @@ else
mac-jdk-bundle: jdk-image
mac-legacy-jre-bundle: legacy-jre-image
ifeq ($(JCOV_INPUT_JDK), )
jcov-image: jdk-image
endif
# The optimize target can run as soon as the modules dir has been completely
# populated (java, copy and gendata targets) and the basic libs and launchers
# have been built.
@@ -827,17 +869,21 @@ else
docs-jdk-specs: $(JVM_DOCS_TARGETS) jdk.jdi-gensrc \
docs-jdk-index
docs-jdk-index: exploded-image buildtools-modules
docs-zip: docs-jdk
# Tests
test: jdk-image test-image
run-test: jdk-image test-image
exploded-run-test: exploded-image test-image
exploded-test: exploded-image test-image
jcov-test: jcov-image test-image
test-make: clean-test-make compile-commands
test-make-compile-commands: compile-commands
# Declare dependency for all generated test targets
$(foreach t, $(ALL_TEST_TARGETS), $(eval $t: jdk-image test-image))
$(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 \
@@ -847,14 +893,10 @@ else
interim-image: $(INTERIM_JMOD_TARGETS)
test-make: clean-test-make
build-test-lib: exploded-image-optimize
build-test-failure-handler: interim-langtools
test-failure-handler: build-test-failure-handler
test-image-failure-handler: build-test-failure-handler
build-test-hotspot-jtreg-native: buildtools-jdk \
@@ -872,12 +914,6 @@ else
test-image-hotspot-gtest: hotspot
test-hotspot-internal: exploded-image
test-hotspot-jtreg: jdk-image test-image
test-hotspot-gtest: exploded-image test-image-hotspot-gtest
install: product-images
product-bundles: product-images
@@ -886,6 +922,8 @@ else
docs-bundles: docs-image
jcov-bundles: jcov-image
generate-summary: jmods buildtools-modules
update-x11wrappers: java.base-copy buildtools-jdk
@@ -996,7 +1034,7 @@ ifneq ($(CREATE_BUILDJDK), true)
endif
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
ifeq ($(call isTargetOs, macosx), true)
product-images: mac-jdk-bundle
endif
@@ -1015,6 +1053,10 @@ test-image: prepare-test-image \
test-image-jdk-jtreg-native test-image-failure-handler \
test-image-demos-jdk $(JVM_TEST_IMAGE_TARGETS)
ifneq ($(JMH_CORE_JAR), )
test-image: build-microbenchmark
endif
################################################################################
# all-images builds all our deliverables as images.
@@ -1046,6 +1088,28 @@ all: all-images
ALL_TARGETS += default jdk images docs bundles all
# Aliases used for running tests.
# Let "run-test" be an alias for "test"
$(foreach t, $(ALL_NAMED_TESTS), $(eval run-test-$t: test-$t))
RUN_TEST_TARGETS := $(addprefix run-test-, $(ALL_NAMED_TESTS))
run-test: test
exploded-run-test: exploded-test
# "make check" is a common idiom for running basic testing
check: test-tier1
# Keep some old names as aliases
test-hotspot-jtreg: test-hotspot_all
test-hotspot-jtreg-native: test-hotspot_native_sanity
test-hotspot-gtest: exploded-test-gtest
test-jdk-jtreg-native: test-jdk_native_sanity
ALL_TARGETS += $(RUN_TEST_TARGETS) run-test exploded-run-test check \
test-hotspot-jtreg test-hotspot-jtreg-native test-hotspot-gtest \
test-jdk-jtreg-native
################################################################################
################################################################################
#
@@ -1056,7 +1120,8 @@ ALL_TARGETS += default jdk images docs bundles all
# 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))
@@ -1071,12 +1136,15 @@ CLEAN_MODULE_PHASE_TARGETS := $(addprefix clean-, $(foreach m, $(ALL_MODULES), \
# Remove everything, except the output from configure.
clean: $(CLEAN_DIR_TARGETS)
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log*)
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log* compile_commands.json)
$(ECHO) Cleaned all build artifacts.
clean-docs:
$(call CleanDocs)
clean-compile-commands:
$(call CleanMakeSupportDir,compile-commands)
$(CLEAN_DIR_TARGETS):
$(call CleanDir,$(patsubst clean-%, %, $@))
@@ -1103,11 +1171,15 @@ 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
($(CD) $(OUTPUTDIR) && \
$(RM) -r *spec.gmk $(CONFIGURESUPPORT_OUTPUTDIR) Makefile compare.sh ide)
$(RM) -r *spec.gmk $(CONFIGURESUPPORT_OUTPUTDIR) Makefile compare.sh ide \
configure.log* build.log*)
$(if $(filter $(CONF_NAME),$(notdir $(OUTPUTDIR))), \
if test "x`$(LS) $(OUTPUTDIR)`" != x; then \
$(ECHO) "Warning: Not removing non-empty configuration directory for '$(CONF_NAME)'" ; \
@@ -1118,9 +1190,9 @@ dist-clean: clean
)
$(ECHO) Cleaned everything, you will have to re-run configure.
ALL_TARGETS += clean clean-docs dist-clean $(CLEAN_DIR_TARGETS) $(CLEAN_SUPPORT_DIR_TARGETS) \
$(CLEAN_TEST_TARGETS) $(CLEAN_PHASE_TARGETS) $(CLEAN_MODULE_TARGETS) \
$(CLEAN_MODULE_PHASE_TARGETS)
ALL_TARGETS += clean clean-docs clean-compile-commands dist-clean $(CLEAN_DIR_TARGETS) \
$(CLEAN_SUPPORT_DIR_TARGETS) $(CLEAN_TEST_TARGETS) $(CLEAN_PHASE_TARGETS) \
$(CLEAN_MODULE_TARGETS) $(CLEAN_MODULE_PHASE_TARGETS)
################################################################################
# Declare *-only targets for each normal target
@@ -1130,11 +1202,6 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
################################################################################
# Include JPRT targets
include $(TOPDIR)/make/Jprt.gmk
################################################################################
# The following targets are intentionally not added to ALL_TARGETS since they
# are internal only, to support Init.gmk.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -30,17 +30,6 @@
ifndef _MAINSUPPORT_GMK
_MAINSUPPORT_GMK := 1
# Run the tests specified by $1, with PRODUCT_HOME specified by $2
# JT_JAVA is picked up by the jtreg launcher and used to run Jtreg itself.
define RunTests
($(CD) $(TOPDIR)/test && $(MAKE) $(MAKE_ARGS) -j1 -k MAKEFLAGS= \
JT_HOME=$(JT_HOME) PRODUCT_HOME=$(strip $2) \
TEST_IMAGE_DIR=$(TEST_IMAGE_DIR) \
ALT_OUTPUTDIR=$(OUTPUTDIR) TEST_JOBS=$(TEST_JOBS) \
JT_JAVA=$(BOOT_JDK) JIB_JAR=$(JIB_JAR) \
JOBS=$(JOBS) $1) || true
endef
define CleanDocs
@$(PRINTF) "Cleaning docs ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@@ -65,6 +54,13 @@ define CleanSupportDir
@$(PRINTF) " done\n"
endef
define CleanMakeSupportDir
@$(PRINTF) "Cleaning $(strip $1) make support artifacts ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/$(strip $1)
@$(PRINTF) " done\n"
endef
define CleanTest
@$(PRINTF) "Cleaning test $(strip $1) ..."
@$(PRINTF) "\n" $(LOG_DEBUG)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -42,7 +42,7 @@ TARGETS :=
include $(MAKEFILE_PREFIX)-$(MODULE).gmk
# Setup copy rules from the modules directories to the jdk image directory.
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_BIN, \
@@ -93,6 +93,12 @@ $(eval $(call SetupCopyFiles, COPY_CMDS, \
FILES := $(filter $(SUPPORT_OUTPUTDIR)/modules_cmds/$(MODULE)/%, $(TARGETS)), \
))
$(eval $(call SetupCopyFiles, COPY_MAN, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_man/$(MODULE), \
DEST := $(JDK_OUTPUTDIR)/man, \
FILES := $(filter $(SUPPORT_OUTPUTDIR)/modules_man/$(MODULE)/%, $(TARGETS)), \
))
$(eval $(call SetupCopyFiles, COPY_CONF, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_conf/$(MODULE), \
DEST := $(JDK_OUTPUTDIR)/conf, \
@@ -100,5 +106,9 @@ $(eval $(call SetupCopyFiles, COPY_CONF, \
$(TARGETS)), \
))
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
all: $(filter $(MAKESUPPORT_OUTPUTDIR)/compile-commands/%, $(TARGETS))
else
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_MAN) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2017, 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
@@ -32,31 +32,6 @@ include FindTests.gmk
# We will always run multiple tests serially
.NOTPARALLEL:
################################################################################
# Setup global test running parameters
################################################################################
# Each factor variable comes in 3 variants. The first one is reserved for users
# to use on command line. The other two are for predifined configurations in JDL
# and for machine specific configurations respectively.
TEST_JOBS_FACTOR ?= 1
TEST_JOBS_FACTOR_JDL ?= 1
TEST_JOBS_FACTOR_MACHINE ?= 1
ifeq ($(TEST_JOBS), 0)
# Concurrency based on min(cores / 2, 12) * TEST_JOBS_FACTOR
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / 2; \
if (c > 12) c = 12; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
}')
endif
################################################################################
# Parse global control variables
################################################################################
@@ -70,8 +45,8 @@ ifneq ($(TEST_VM_OPTS), )
endif
$(eval $(call ParseKeywordVariable, TEST_OPTS, \
KEYWORDS := JOBS TIMEOUT, \
STRING_KEYWORDS := VM_OPTIONS, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR JCOV, \
STRING_KEYWORDS := VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
))
# Helper function to propagate TEST_OPTS values.
@@ -86,14 +61,18 @@ define SetTestOpt
endef
# Setup _NT_SYMBOL_PATH on Windows
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
ifndef _NT_SYMBOL_PATH
# Can't use PathList here as it adds quotes around the value.
_NT_SYMBOL_PATH := \
$(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p)))
$(subst $(SPACE),;,$(strip \
$(foreach p, $(sort $(dir $(wildcard \
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), \
$(call FixPath, $p) \
) \
))
export _NT_SYMBOL_PATH
$(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH))
$(call LogDebug, Rewriting _NT_SYMBOL_PATH to $(_NT_SYMBOL_PATH))
endif
endif
@@ -102,6 +81,9 @@ endif
$(eval $(call IncludeCustomExtension, RunTests.gmk))
################################################################################
# This is the JDK that we will test
JDK_UNDER_TEST := $(JDK_IMAGE_DIR)
TEST_RESULTS_DIR := $(OUTPUTDIR)/test-results
TEST_SUPPORT_DIR := $(OUTPUTDIR)/test-support
TEST_SUMMARY := $(TEST_RESULTS_DIR)/test-summary.txt
@@ -125,8 +107,156 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
-timeoutHandlerTimeout:0
endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, $(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTEST_LAUNCHER_DIRS)))
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
$(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/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
JCOV_RESULT_FILE := $(JCOV_OUTPUT_DIR)/result.xml
JCOV_REPORT := $(JCOV_OUTPUT_DIR)/report
JCOV_MEM_OPTIONS := -Xms64m -Xmx4g
# Replace our normal test JDK with the JCov image.
JDK_UNDER_TEST := $(JCOV_IMAGE_DIR)
COV_ENVIRONMENT += JAVA_TOOL_OPTIONS="$(JCOV_MEM_OPTIONS)" \
_JAVA_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.
################################################################################
# Note, this could not be done during JDK build time.
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# MODULE The module to generate a library for
# BIN Output directory in which to put the library
# VM_OPTIONS List of JVM arguments to use when creating library
# OPTIONS_VAR Name of variable to put AOT java options in
# PREREQS_VAR Name of variable to put all AOT prerequisite rule targets in
# for test rules to depend on
#
SetupAotModule = $(NamedParamsMacroTemplate)
define SetupAotModuleBody
$1_AOT_LIB := $$($1_BIN)/$$(call SHARED_LIBRARY,$$($1_MODULE))
$1_AOT_CCLIST := $$(wildcard $$(TOPDIR)/test/hotspot/jtreg/compiler/aot/scripts/$$($1_MODULE)-list.txt)
# Create jaotc flags.
# VM flags which don't affect AOT code generation are filtered out:
# -Xcomp, -XX:+-TieredCompilation
$1_JAOTC_OPTS := \
-J-Xmx4g --info \
$$(addprefix -J, $$(filter-out -Xcomp %TieredCompilation, $$($1_VM_OPTIONS))) \
$$(addprefix --compile-commands$(SPACE), $$($1_AOT_CCLIST)) \
--linker-path $$(LD_JAOTC) \
#
ifneq ($$(filter -ea, $$($1_VM_OPTIONS)), )
$1_JAOTC_OPTS += --compile-with-assertions
endif
$$($1_AOT_LIB): $$(JDK_UNDER_TEST)/release \
$$(call DependOnVariable, $1_JAOTC_OPTS) \
$$(call DependOnVariable, JDK_UNDER_TEST)
$$(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, \
$$(FIXPATH) $$(JDK_UNDER_TEST)/bin/java \
$$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions \
-XX:+PrintAOT -XX:+UseAOTStrictLoading \
-XX:AOTLibrary=$$@ -version \
> $$@.verify-aot \
)
$1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB)
$1_AOT_TARGETS += $$($1_AOT_LIB)
endef
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# MODULES The modules to generate a library for
# VM_OPTIONS List of JVM arguments to use when creating libraries
#
# After calling this, the following variables are defined
# $1_AOT_OPTIONS List of all java options needed to use the AOT libraries
# $1_AOT_TARGETS List of all targets that the test rule will need to depend on
#
SetupAot = $(NamedParamsMacroTemplate)
define SetupAotBody
$$(info Running with AOTd libraries for $$($1_MODULES))
# Put aot libraries in a separate directory so they are not deleted between
# test runs and may be reused between make invocations.
$$(foreach m, $$($1_MODULES), \
$$(eval $$(call SetupAotModule, $1_$$m, \
MODULE := $$m, \
BIN := $$(TEST_SUPPORT_DIR)/aot/$1, \
VM_OPTIONS := $$($1_VM_OPTIONS), \
)) \
$$(eval $1_AOT_OPTIONS += $$($1_$$m_AOT_OPTIONS)) \
$$(eval $1_AOT_TARGETS += $$($1_$$m_AOT_TARGETS)) \
)
endef
################################################################################
# Setup global test running parameters
################################################################################
# Each factor variable comes in 3 variants. The first one is reserved for users
# to use on command line. The other two are for predifined configurations in JDL
# and for machine specific configurations respectively.
TEST_JOBS_FACTOR ?= 1
TEST_JOBS_FACTOR_JDL ?= 1
TEST_JOBS_FACTOR_MACHINE ?= 1
ifeq ($(TEST_JOBS), 0)
CORES_DIVIDER := 2
ifeq ($(call isTargetCpuArch, sparc), true)
# For smaller SPARC machines we see reasonable scaling of throughput up to
# cpus/4 without affecting test reliability. On the bigger machines, cpus/4
# causes intermittent timeouts.
ifeq ($(shell $(EXPR) $(NUM_CORES) \> 16), 1)
CORES_DIVIDER := 5
else
CORES_DIVIDER := 4
endif
endif
MEMORY_DIVIDER := 2048
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / $(CORES_DIVIDER); \
m = $(MEMORY_SIZE) / $(MEMORY_DIVIDER); \
if (c > m) c = m; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
}')
endif
################################################################################
# Parse control variables
@@ -135,17 +265,22 @@ GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTE
ifneq ($(TEST_OPTS), )
# Inform the user
$(info Running tests using TEST_OPTS control variable '$(TEST_OPTS)')
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT,JTREG))
endif
### Jtreg
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
$(eval $(call SetTestOpt,JAVA_OPTIONS,JTREG))
$(eval $(call SetTestOpt,AOT_MODULES,JTREG))
$(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
KEYWORDS := JOBS TIMEOUT TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR TEST_MODE ASSERT VERBOSE RETAIN \
MAX_MEM, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS AOT_MODULES, \
))
ifneq ($(JTREG), )
@@ -153,9 +288,15 @@ ifneq ($(JTREG), )
$(info Running tests using JTREG control variable '$(JTREG)')
endif
### Gtest
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
$(eval $(call SetTestOpt,JAVA_OPTIONS,GTEST))
$(eval $(call SetTestOpt,AOT_MODULES,GTEST))
$(eval $(call ParseKeywordVariable, GTEST, \
KEYWORDS := REPEAT, \
STRING_KEYWORDS := OPTIONS VM_OPTIONS, \
SINGLE_KEYWORDS := REPEAT, \
STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
))
ifneq ($(GTEST), )
@@ -163,6 +304,22 @@ ifneq ($(GTEST), )
$(info Running tests using GTEST control variable '$(GTEST)')
endif
### Microbenchmarks
$(eval $(call SetTestOpt,VM_OPTIONS,MICRO))
$(eval $(call SetTestOpt,JAVA_OPTIONS,MICRO))
$(eval $(call ParseKeywordVariable, MICRO, \
SINGLE_KEYWORDS := ITER FORK TIME WARMUP_ITER WARMUP_TIME, \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS RESULTS_FORMAT TEST_JDK \
BENCHMARKS_JAR, \
))
ifneq ($(MICRO), )
# Inform the user
$(info Running tests using MICRO control variable '$(MICRO)')
endif
################################################################################
# Component-specific Jtreg settings
@@ -219,6 +376,24 @@ define ParseGtestTestSelection
)
endef
# Helper function to determine if a test specification is a microbenchmark test
#
# It is a microbenchmark test if it is either "micro", or "micro:" followed by
# an optional test filter string.
define ParseMicroTestSelection
$(if $(filter micro%, $1), \
$(if $(filter micro, $1), \
micro:all \
, \
$(if $(filter micro:, $1), \
micro:all \
, \
$1 \
) \
) \
)
endef
# Helper function that removes the TOPDIR part
CleanupJtregPath = \
$(strip $(patsubst %/, %, $(subst $(JTREG_TOPDIR)/,, $1)))
@@ -293,16 +468,32 @@ endef
# Helper function to determine if a test specification is a special test
#
# It is a special test if it is "special:" followed by a test name.
# It is a special test if it is "special:" followed by a test name,
# if it is "make:" or "make-" followed by a make test, or any of the special
# test names as a single word.
define ParseSpecialTestSelection
$(if $(filter special:%, $1), \
$1 \
) \
$(if $(filter make%, $1), \
$(if $(filter make:%, $1), \
special:$(strip $1) \
) \
$(if $(filter make-%, $1), \
special:$(patsubst make-%,make:%, $1) \
) \
$(if $(filter make, $1), \
special:make:all \
)
) \
$(if $(filter failure-handler, $1), \
special:$(strip $1) \
)
endef
ifeq ($(TEST), )
$(info No test selection given in TEST!)
$(info Please use e.g. 'run-test TEST=tier1' or 'run-test-tier1')
$(info Please use e.g. 'make test TEST=tier1' or 'make test-tier1')
$(info See doc/testing.[md|html] for help)
$(error Cannot continue)
endif
@@ -315,6 +506,9 @@ $(foreach test, $(TEST), \
$(if $(strip $(PARSED_TESTS)), , \
$(eval PARSED_TESTS += $(call ParseGtestTestSelection, $(test))) \
) \
$(if $(strip $(PARSED_TESTS)), , \
$(eval PARSED_TESTS += $(call ParseMicroTestSelection, $(test))) \
) \
$(if $(strip $(PARSED_TESTS)), , \
$(eval PARSED_TESTS += $(call ParseJtregTestSelection, $(test))) \
) \
@@ -384,15 +578,23 @@ define SetupRunGtestTestBody
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
endif
run-test-$1:
ifneq ($$(GTEST_AOT_MODULES), )
$$(eval $$(call SetupAot, $1, \
MODULES := $$(GTEST_AOT_MODULES), \
VM_OPTIONS := $$(GTEST_VM_OPTIONS) $$(GTEST_JAVA_OPTIONS), \
))
endif
run-test-$1: pre-run-test $$($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)/gtest, \
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
-jdk $(JDK_UNDER_TEST) $$($1_GTEST_FILTER) \
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
$$(GTEST_JAVA_OPTIONS) $$($1_AOT_OPTIONS) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
@@ -425,7 +627,122 @@ define SetupRunGtestTestBody
$1: run-test-$1 parse-test-$1
TARGETS += $1
TARGETS += $1 run-test-$1 parse-test-$1
TEST_TARGETS += parse-test-$1
endef
################################################################################
### Rules for Microbenchmarks
# Helper function for SetupRunMicroTest. Set a MICRO_* variable from, in order:
# 1) Specified by user on command line
# 2) Generic default
#
# Note: No spaces are allowed around the arguments.
# Arg $1 The test ID (i.e. $1 in SetupRunMicroTest)
# Arg $2 Base variable, e.g. MICRO_TEST_JDK
# Arg $3 The default value (optional)
define SetMicroValue
ifneq ($$($2), )
$1_$2 := $$($2)
else
ifneq ($3, )
$1_$2 := $3
endif
endif
endef
SetupRunMicroTest = $(NamedParamsMacroTemplate)
define SetupRunMicroTestBody
$1_TEST_RESULTS_DIR := $$(TEST_RESULTS_DIR)/$1
$1_TEST_SUPPORT_DIR := $$(TEST_SUPPORT_DIR)/$1
$1_EXITCODE := $$($1_TEST_RESULTS_DIR)/exitcode.txt
$1_TEST_NAME := $$(strip $$(patsubst micro:%, %, $$($1_TEST)))
$$(eval $$(call SetMicroValue,$1,MICRO_BENCHMARKS_JAR,$$(TEST_IMAGE_DIR)/micro/benchmarks.jar))
$$(eval $$(call SetMicroValue,$1,MICRO_TEST_JDK,$$(JDK_UNDER_TEST)))
$$(eval $$(call SetMicroValue,$1,MICRO_JAVA_OPTIONS))
# 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), )
$1_MICRO_BASIC_OPTIONS += -rf $$(MICRO_RESULTS_FORMAT)
$1_MICRO_BASIC_OPTIONS += -rff $$($1_TEST_RESULTS_DIR)/jmh-result.$(MICRO_RESULTS_FORMAT)
endif
ifneq ($$(MICRO_VM_OPTIONS)$$(MICRO_JAVA_OPTIONS), )
$1_MICRO_VM_OPTIONS := -jvmArgs $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
endif
ifneq ($$(MICRO_ITER), )
$1_MICRO_ITER := -i $$(MICRO_ITER)
endif
ifneq ($$(MICRO_FORK), )
$1_MICRO_FORK := -f $$(MICRO_FORK)
endif
ifneq ($$(MICRO_TIME), )
$1_MICRO_TIME := -r $$(MICRO_TIME)
endif
ifneq ($$(MICRO_WARMUP_ITER), )
$1_MICRO_WARMUP_ITER := -wi $$(MICRO_WARMUP_ITER)
endif
ifneq ($$(MICRO_WARMUP_TIME), )
$1_MICRO_WARMUP_TIME := -w $$(MICRO_WARMUP_TIME)
endif
run-test-$1: pre-run-test
$$(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, \
$$(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) \
$$($1_TEST_NAME) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/micro.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
)
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/micro.txt
parse-test-$1: run-test-$1
$$(call LogWarn, Finished running test '$$($1_TEST)')
$$(call LogWarn, Test report is stored in $$(strip \
$$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))))
$$(if $$(wildcard $$($1_EXITCODE)), \
$$(eval $1_EXIT_CODE := $$(shell $$(CAT) $$($1_EXITCODE))) \
$$(if $$(filter 0, $$($1_EXIT_CODE)), \
$$(eval $1_PASSED := 1) \
$$(eval $1_ERROR := 0) \
, \
$$(eval $1_PASSED := 0) \
$$(eval $1_ERROR := 1) \
) \
$$(eval $1_FAILED := 0) \
$$(eval $1_TOTAL := $$(shell \
$$(EXPR) $$($1_PASSED) + $$($1_ERROR))) \
, \
$$(eval $1_PASSED := 0) \
$$(eval $1_FAILED := 0) \
$$(eval $1_ERROR := 1) \
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1
TARGETS += $1 run-test-$1 parse-test-$1
TEST_TARGETS += parse-test-$1
endef
################################################################################
@@ -463,12 +780,11 @@ define SetupRunJtregTestBody
$1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST)))
$1_COMPONENT := \
$1_TEST_ROOT := \
$$(strip $$(foreach root, $$(JTREG_TESTROOTS), \
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), \
$$(lastword $$(subst /, $$(SPACE), $$(root))) \
) \
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), $$(root)) \
))
$1_COMPONENT := $$(lastword $$(subst /, $$(SPACE), $$($1_TEST_ROOT)))
# This will work only as long as just hotspot has the additional "jtreg" directory
ifeq ($$($1_COMPONENT), jtreg)
$1_COMPONENT := hotspot
@@ -491,6 +807,9 @@ define SetupRunJtregTestBody
$$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS))
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST))
# Only the problem list for the current test root should be used.
$1_JTREG_PROBLEM_LIST := $$(filter $$($1_TEST_ROOT)%, $$($1_JTREG_PROBLEM_LIST))
ifneq ($(TEST_JOBS), 0)
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
else
@@ -501,7 +820,12 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
JTREG_TIMEOUT ?= 4
# SPARC is in general slower per core so need to scale up timeouts a bit.
ifeq ($(call isTargetCpuArch, sparc), true)
JTREG_TIMEOUT_FACTOR ?= 8
else
JTREG_TIMEOUT_FACTOR ?= 4
endif
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
@@ -512,10 +836,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE)
$1_JTREG_BASIC_OPTIONS += -automatic -keywords:\!ignore -ignore:quiet
$1_JTREG_BASIC_OPTIONS += -automatic -ignore:quiet
# Make it possible to specify the JIB_DATA_DIR for tests using the
# JIB Artifact resolver
@@ -524,7 +848,7 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JDK8_HOME=$$(BOOT_JDK)
# If running on Windows, propagate the _NT_SYMBOL_PATH to enable
# symbol lookup in hserr files
ifeq ($$(OPENJDK_TARGET_OS), windows)
ifeq ($$(call isTargetOs, windows), true)
$1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH
endif
@@ -545,8 +869,16 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
endif
ifneq ($$(JIB_JAR), )
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
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 \
$$(JTREG_EXTRA_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
))
endif
ifneq ($$(JIB_HOME), )
$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
@@ -555,23 +887,47 @@ define SetupRunJtregTestBody
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
endif
ifneq ($$(JTREG_KEYWORDS), )
# The keywords string may contain problematic characters and may be quoted
# already when it arrives here. Remove any existing quotes and replace them
# with one set of single quotes.
$1_JTREG_KEYWORDS := \
$$(strip $$(subst $$(SQUOTE),,$$(subst $$(DQUOTE),,$$(JTREG_KEYWORDS))))
ifneq ($$($1_JTREG_KEYWORDS), )
$1_JTREG_BASIC_OPTIONS += -k:'$$($1_JTREG_KEYWORDS)'
endif
endif
ifneq ($$(JTREG_AOT_MODULES), )
$$(eval $$(call SetupAot, $1, \
MODULES := $$(JTREG_AOT_MODULES), \
VM_OPTIONS := $$(JTREG_VM_OPTIONS) $$(JTREG_JAVA_OPTIONS), \
))
endif
ifneq ($$($1_AOT_OPTIONS), )
$1_JTREG_BASIC_OPTIONS += -vmoptions:"$$($1_AOT_OPTIONS)"
endif
clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
run-test-$1: clean-workdir-$1
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, \
$$(COV_ENVIRONMENT) \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_IMAGE_DIR) \
-testjdk:$$(JDK_UNDER_TEST) \
-dir:$$(JTREG_TOPDIR) \
-reportDir:$$($1_TEST_RESULTS_DIR) \
-workDir:$$($1_TEST_SUPPORT_DIR) \
$$(JTREG_OPTIONS) \
$$(JTREG_FAILURE_HANDLER_OPTIONS) \
$$(JTREG_COV_OPTIONS) \
$$($1_TEST_NAME) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
@@ -605,9 +961,11 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1
$1: run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TEST_TARGETS += parse-test-$1
TARGETS += $1
endef
################################################################################
@@ -629,14 +987,14 @@ define SetupRunSpecialTestBody
$1_TEST_ARGS :=
endif
ifeq ($$($1_TEST_NAME), hotspot-internal)
$1_TEST_COMMAND_LINE := \
$$(JDK_IMAGE_DIR)/bin/java -XX:+ExecuteInternalVMTests \
-XX:+ShowMessageBoxOnError -version
else ifeq ($$($1_TEST_NAME), failure-handler)
$1_TEST_COMMAND_LINE := \
($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f \
BuildFailureHandler.gmk test)
ifeq ($$($1_TEST_NAME), failure-handler)
ifeq ($(BUILD_FAILURE_HANDLER), true)
$1_TEST_COMMAND_LINE := \
($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f \
BuildFailureHandler.gmk test)
else
$$(error Cannot test failure handler if it is not built)
endif
else ifeq ($$($1_TEST_NAME), make)
$1_TEST_COMMAND_LINE := \
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f \
@@ -645,7 +1003,7 @@ define SetupRunSpecialTestBody
$$(error Invalid special test specification: $$($1_TEST_NAME))
endif
run-test-$1:
run-test-$1: pre-run-test
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
@@ -671,7 +1029,9 @@ define SetupRunSpecialTestBody
$1: run-test-$1 parse-test-$1
TARGETS += $1
TARGETS += $1 run-test-$1 parse-test-$1
TEST_TARGETS += parse-test-$1
endef
################################################################################
@@ -682,6 +1042,9 @@ endef
UseGtestTestHandler = \
$(if $(filter gtest:%, $1), true)
UseMicroTestHandler = \
$(if $(filter micro:%, $1), true)
UseJtregTestHandler = \
$(if $(filter jtreg:%, $1), true)
@@ -703,6 +1066,11 @@ $(foreach test, $(TESTS_TO_RUN), \
TEST := $(test), \
)) \
) \
$(if $(call UseMicroTestHandler, $(test)), \
$(eval $(call SetupRunMicroTest, $(TEST_ID), \
TEST := $(test), \
)) \
) \
$(if $(call UseJtregTestHandler, $(test)), \
$(eval $(call SetupRunJtregTest, $(TEST_ID), \
TEST := $(test), \
@@ -725,12 +1093,36 @@ endif
# The main target for RunTests.gmk
################################################################################
# The SetupRun*Test functions have populated TARGETS.
#
# Provide hooks for adding functionality before and after all tests are run.
#
$(call LogInfo, RunTest setup starting)
# This target depends on all actual test having been run (TEST_TARGETS has beeen
# populated by the SetupRun*Test functions). If you need to provide a teardown
# hook, you must let it depend on this target.
run-all-tests: $(TEST_TARGETS)
$(call LogInfo, RunTest teardown starting)
# This is an abstract target that will be run before any actual tests. Add your
# target as a dependency to thisif you need "setup" type functionality executed
# before all tests.
pre-run-test:
$(call LogInfo, RunTest setup done)
# This is an abstract target that will be run after all actual tests, but before
# the test summary. If you need "teardown" type functionality, add your target
# as a dependency on this, and let the teardown target depend on run-all-tests.
post-run-test: run-all-tests
$(call LogInfo, RunTest teardown done)
#
# Create and print a table of the result of all tests run
#
TEST_FAILURE := false
run-test: $(TARGETS)
# Create and print a table of the result of all tests run
run-test-report: post-run-test
$(RM) $(TEST_SUMMARY).old 2> /dev/null
$(MV) $(TEST_SUMMARY) $(TEST_SUMMARY).old 2> /dev/null || true
$(RM) $(TEST_LAST_IDS).old 2> /dev/null
@@ -774,8 +1166,54 @@ run-test: $(TARGETS)
$(CAT) $(TEST_SUMMARY)
$(ECHO)
# The main run-test target
run-test: run-test-report
TARGETS += run-all-tests pre-run-test post-run-test run-test-report run-test
################################################################################
# Setup JCov
################################################################################
ifeq ($(TEST_OPTS_JCOV), true)
jcov-do-start-grabber:
$(call MakeDir, $(JCOV_OUTPUT_DIR))
if $(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -status 1>/dev/null 2>&1 ; then \
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -stop -stoptimeout 3600 ; \
fi
$(JAVA) -Xmx4g -jar $(JCOV_HOME)/lib/jcov.jar Grabber -v -t \
$(JCOV_IMAGE_DIR)/template.xml -o $(JCOV_RESULT_FILE) \
1>$(JCOV_GRABBER_LOG) 2>&1 &
jcov-start-grabber: jcov-do-start-grabber
$(call LogWarn, Starting JCov Grabber...)
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -t 600 -wait
jcov-stop-grabber:
$(call LogWarn, Stopping JCov Grabber...)
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -stop -stoptimeout 3600
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 \
-o $(JCOV_REPORT) $(JCOV_RESULT_FILE)
TARGETS += jcov-do-start-grabber jcov-start-grabber jcov-stop-grabber \
jcov-gen-report
# Hook this into the framework at appropriate places
pre-run-test: jcov-start-grabber
post-run-test: jcov-gen-report
jcov-gen-report: run-all-tests
endif
################################################################################
all: run-test
.PHONY: default all run-test $(TARGETS)
.PHONY: default all $(TARGETS)

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
@@ -49,10 +49,11 @@ TOPDIR := $(strip $(patsubst %/make/, %, $(dir $(makefile_path))))
# given.
# Note: No spaces are allowed around the arguments.
#
# $1: The name of the argument
# $1: The name of the variable
# $2: The default value, if any, or OPTIONAL (do not provide a default but
# do not exit if it is missing)
# $3: If NO_CHECK, disable checking for target file/directory existence
# If MKDIR, create the default directory
define SetupVariable
ifeq ($$($1), )
ifeq ($2, )
@@ -75,10 +76,17 @@ define SetupVariable
endif
# If $1 has a value (is not optional), and $3 is not set (to NO_CHECK),
# and if wildcard is empty, then complain that the file is missing.
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1)) $3), )
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
$$(info '$$($1)')
$$(error Cannot continue.)
ifeq ($3, MKDIR)
ifneq ($$(findstring $$(LOG), info debug trace), )
$$(info Creating directory for $1)
endif
$$(shell mkdir -p $$($1))
else ifneq ($3, NO_CHECK)
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1))), )
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
$$(info '$$($1)')
$$(error Cannot continue.)
endif
endif
endef
@@ -87,12 +95,12 @@ endef
# $1: The output file name
# $2..$N: The lines to output to the file
define CreateNewSpec
$(if $(strip $(26)), \
$(if $(strip $(33)), \
$(error Internal makefile error: \
Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
) \
$(shell $(RM) $1) \
$(foreach i, $(call sequence, 2, 25), \
$(foreach i, $(call sequence, 2, 32), \
$(if $(strip $($i)), \
$(call AppendFile, $(strip $($i)), $1) \
) \
@@ -106,14 +114,14 @@ endef
# Verify that user has given correct additional input.
# These variables are absolutely necessary
$(eval $(call SetupVariable,OUTPUTDIR))
$(eval $(call SetupVariable,OUTPUTDIR,$(TOPDIR)/build/run-test-prebuilt,MKDIR))
$(eval $(call SetupVariable,BOOT_JDK))
$(eval $(call SetupVariable,JT_HOME))
# These can have default values based on the ones above
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -202,8 +210,8 @@ endif
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), )
$$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
$$(error Cannot continue.)
$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
$(error Cannot continue.)
endif
FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c
PATH_SEP:=;
@@ -212,17 +220,67 @@ else
PATH_SEP:=:
endif
# Check number of cores
# Check number of cores and memory in MB
ifeq ($(OPENJDK_TARGET_OS), linux)
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
MEMORY_SIZE := $(shell \
$(EXPR) `$(CAT) /proc/meminfo | $(GREP) MemTotal | $(AWK) '{print $$2}'` / 1024 \
)
else ifeq ($(OPENJDK_TARGET_OS), macosx)
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
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 LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
MEMORY_SIZE := $(shell \
/usr/sbin/prtconf 2> /dev/null | $(GREP) "^Memory [Ss]ize" | $(AWK) '{print $$3}' \
)
else ifeq ($(OPENJDK_TARGET_OS), windows)
NUM_CORES := $(NUMBER_OF_PROCESSORS)
NUM_CORES := $(NUMBER_OF_PROCESSORS)
MEMORY_SIZE := $(shell \
$(EXPR) `wmic computersystem get totalphysicalmemory -value \
| $(GREP) = | $(SED) 's/\\r//g' \
| $(CUT) -d "=" -f 2-` / 1024 / 1024 \
)
endif
ifeq ($(NUM_CORES), )
$(warn Could not find number of CPUs, assuming 1)
NUM_CORES := 1
endif
ifeq ($(MEMORY_SIZE), )
$(warn Could not find memory size, assuming 1024 MB)
MEMORY_SIZE := 1024
endif
# Setup LD for AOT support
ifneq ($(DEVKIT_HOME), )
ifeq ($(OPENJDK_TARGET_OS), windows)
LD_JAOTC := $(DEVKIT_HOME)/VC/bin/x64/link.exe
LIBRARY_PREFIX :=
SHARED_LIBRARY_SUFFIX := .dll
else ifeq ($(OPENJDK_TARGET_OS), linux)
LD_JAOTC := $(DEVKIT_HOME)/bin/ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .so
else ifeq ($(OPENJDK_TARGET_OS), macosx)
LD_JAOTC := $(DEVKIT_HOME)/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .dylib
else ifeq ($(OPENJDK_TARGET_OS), solaris)
# Prefer system linker for AOT on Solaris.
LD_JAOTC := ld
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .so
endif
else
NUM_CORES := 1
LD := ld
endif
ifneq ($(wildcard $(JDK_IMAGE_DIR)/template.xml), )
TEST_OPTS_JCOV := true
JCOV_IMAGE_DIR := $(JDK_IMAGE_DIR)
else
TEST_OPTS_JCOV := false
JCOV_IMAGE_DIR :=
endif
################################################################################
@@ -245,6 +303,7 @@ $(call CreateNewSpec, $(NEW_SPEC), \
BOOT_JDK := $(BOOT_JDK), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \
TEST_IMAGE_DIR := $(TEST_IMAGE_DIR), \
SYMBOLS_IMAGE_DIR := $(SYMBOLS_IMAGE_DIR), \
MAKE := $(MAKE), \
@@ -260,7 +319,12 @@ $(call CreateNewSpec, $(NEW_SPEC), \
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
NUM_CORES := $(NUM_CORES), \
MEMORY_SIZE := $(MEMORY_SIZE), \
LD_JAOTC := $(LD_JAOTC), \
LIBRARY_PREFIX := $(LIBRARY_PREFIX), \
SHARED_LIBRARY_SUFFIX := $(SHARED_LIBRARY_SUFFIX), \
include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
TEST_OPTS_JCOV := $(TEST_OPTS_JCOV), \
$(CUSTOM_NEW_SPEC_LINE), \
)
@@ -276,9 +340,6 @@ run-test-prebuilt:
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
TEST="$(TEST)"
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
all: run-test-prebuilt

View File

@@ -124,7 +124,7 @@ JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD)
JARSIGNER := $(FIXPATH) $(JARSIGNER_CMD)
BUILD_JAVA := $(JAVA)
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
################################################################################
# Some common tools. Assume most common name and no path.
AWK := awk
@@ -172,3 +172,21 @@ UNZIP := unzip
EXPR := expr
FILE := file
HG := hg
# On Solaris gnu versions of some tools are required.
ifeq ($(OPENJDK_BUILD_OS), solaris)
AWK := gawk
GREP := ggrep
EGREP := ggrep -E
FGREP := grep -F
SED := gsed
TAR := gtar
endif
ifeq ($(OPENJDK_BUILD_OS), windows)
CYGPATH := cygpath
endif
################################################################################
# Simple macros from spec.gmk.in
SHARED_LIBRARY=$(LIBRARY_PREFIX)$1$(SHARED_LIBRARY_SUFFIX)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,33 +23,43 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
$(eval $(call IncludeCustomExtension, SourceRevision.gmk))
$(eval $(call IncludeCustomExtension, SourceRevision-pre.gmk))
################################################################################
# Keep track of what source revision is used to create the build, by creating
# a tracker file in the output directory. This tracker file is included in the
# image, and can be used to recreate the source revision used.
# source image, and can be used to recreate the source revision used.
#
# We're either building directly from a mercurial forest, and if so, use the
# current revision from mercurial. Otherwise, we are building from a source
# bundle. As a part of creating this source bundle, the current mercurial
# revisions of all repos will be stored in a file in the top dir, which is then
# used when creating the tracker file.
# We're either building directly from an SCM repository, and if so, use the
# current revision from that SCM. Otherwise, we are building from a source
# bundle. As a part of creating this source bundle, the current SCM revisions of
# all repos will be stored in a file in the top dir, which is then used when
# creating the tracker file.
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
# Are we using mercurial?
USE_SCM := false
ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
USE_SCM := true
SCM_DIR := .hg
ID_COMMAND := $(PRINTF) "hg:%s" "$$($(HG) id -i)"
else ifneq ($(and $(GIT), $(wildcard $(TOPDIR)/.git)), )
USE_SCM := true
SCM_DIR := .git
ID_COMMAND := $(PRINTF) "git:%s%s\n" \
"$$(git log -n1 --format=%H | cut -c1-12)" \
"$$(if test -n "$$(git status --porcelain)"; then printf '+'; fi)"
endif
ifeq ($(USE_SCM), true)
# Verify that the entire forest is consistent
$(foreach repo, $(call FindAllReposRel), \
$(if $(wildcard $(TOPDIR)/$(repo)/.hg),, \
$(error Inconsistent revision control: $(repo) is missing .hg directory)) \
$(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)),, \
$(error Inconsistent revision control: $(repo) is missing $(SCM_DIR) directory)) \
)
# Replace "." with "_top" and "/" with "-"
@@ -58,7 +68,9 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
################################################################################
# SetupGetRevisionForRepo defines a make rule for creating a file containing
# the name of the repository and the output of "hg id" for that repository.
# the name of the repository and the output of the scm command for that
# repository.
#
# Argument 1 is the relative path to the repository from the top dir.
#
SetupGetRevisionForRepo = $(NamedParamsMacroTemplate)
@@ -68,7 +80,7 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC
$$(call MakeDir, $$(@D))
$$(ECHO) $$(strip $1):`$$(HG) id -i --repository $$($1_REPO_PATH)` > $$@
$$(ECHO) $$(strip $1):`$$(CD) $$($1_REPO_PATH) && $$(ID_COMMAND)` > $$@
REPO_REVISIONS += $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME)
endef
@@ -94,40 +106,58 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
$(eval $(call CreateSourceRevisionFile, $(STORED_SOURCE_REVISION)))
store-source-revision: $(STORED_SOURCE_REVISION)
scm-store-source-revision: $(STORED_SOURCE_REVISION)
$(eval $(call CreateSourceRevisionFile, $(SOURCE_REVISION_TRACKER)))
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
scm-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
STORE_SOURCE_REVISION_TARGET := scm-store-source-revision
CREATE_SOURCE_REVISION_TRACKER_TARGET := scm-create-source-revision-tracker
.PHONY: scm-store-source-revision scm-create-source-revision-tracker
else
# Not using HG
# Not using any SCM
ifneq ($(wildcard $(STORED_SOURCE_REVISION)), )
# We have a stored source revision (.src-rev)
store-source-revision:
$(call LogInfo, No mercurial configuration present$(COMMA) not updating .src-rev)
src-store-source-revision:
$(call LogInfo, No SCM configuration present$(COMMA) not updating .src-rev)
$(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION)
$(install-file)
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
src-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
else
# We don't have a stored source revision. Can't do anything, really.
store-source-revision:
$(call LogWarn, Error: No mercurial configuration present$(COMMA) cannot create .src-rev)
src-store-source-revision:
$(call LogWarn, Error: No SCM configuration present$(COMMA) cannot create .src-rev)
exit 2
create-source-revision-tracker:
$(call LogWarn, Warning: No mercurial configuration present and no .src-rev)
src-create-source-revision-tracker:
$(call LogWarn, Warning: No SCM configuration present and no .src-rev)
endif
STORE_SOURCE_REVISION_TARGET := src-store-source-revision
CREATE_SOURCE_REVISION_TRACKER_TARGET := src-create-source-revision-tracker
.PHONY: src-store-source-revision src-create-source-revision-tracker
endif
all: store-source-revision create-source-revision-tracker
################################################################################
$(eval $(call IncludeCustomExtension, SourceRevision-post.gmk))
################################################################################
store-source-revision: $(STORE_SOURCE_REVISION_TARGET)
create-source-revision-tracker: $(CREATE_SOURCE_REVISION_TRACKER_TARGET)
FRC: # Force target
.PHONY: all store-source-revision create-source-revision-tracker
.PHONY: store-source-revision create-source-revision-tracker

View File

@@ -30,7 +30,7 @@ include MakeBase.gmk
############################################################################
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
FIXPATH_COPY := $(TEST_IMAGE_DIR)/bin/fixpath.exe
$(FIXPATH_COPY): $(firstword $(FIXPATH))

View File

@@ -47,9 +47,6 @@ TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_cla
TOOL_COMPILEPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.compileproperties.CompileProperties
TOOL_JARREORDER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.jarreorder.JarReorder
TOOL_GENERATECHARACTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecharacter.GenerateCharacter
@@ -67,9 +64,6 @@ TOOL_GENERATEBREAKITERATORDATA = $(JAVA_SMALL) \
TOOL_GENERATECURRENCYDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecurrencydata.GenerateCurrencyData
TOOL_HASHER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.hasher.Hasher
TOOL_TZDB = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.tzdb.TzdbZoneRulesCompiler
@@ -109,10 +103,6 @@ TOOL_CLDRCONVERTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes
TOOL_GENERATELSREQUIVMAPS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatelsrequivmaps.EquivMapsGenerator
TOOL_GENMODULESXML = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
-cp $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes) \
build.tools.module.GenJdepsModulesXml
TOOL_GENMODULEINFOSOURCE = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
-cp $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes) \
build.tools.module.GenModuleInfoSource
@@ -126,4 +116,11 @@ TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_clas
##########################################################################################
# Executable javascript filter for man page generation using pandoc.
PANDOC_TROFF_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-troff-manpage-filter
PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpage-filter
##########################################################################################
endif # _TOOLS_GMK

View File

@@ -34,7 +34,7 @@ include ProcessMarkdown.gmk
#
################################################################################
ifeq ($(PANDOC), )
ifeq ($(ENABLE_PANDOC), false)
$(info No pandoc executable was detected by configure)
$(error Cannot continue)
endif

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

@@ -70,7 +70,7 @@ TARGETS += $(IMAGES_OUTPUTDIR)/sec-bin.zip
#
# Windows specific binary security packages.
#
ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(call isTargetOs, windows), true)
# sec-windows-bin.zip is used by builds where the corresponding sources are not available
$(eval $(call SetupZipArchive,BUILD_SEC_WINDOWS_BIN_ZIP, \
SRC := $(JDK_OUTPUTDIR), \
@@ -80,7 +80,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
TARGETS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip
# JGSS files contain the native Kerberos library
ifeq ($(OPENJDK_TARGET_CPU), x86_64)
ifeq ($(call isTargetCpu, x86_64), true)
JGSS_ZIP_NAME = jgss-windows-x64-bin.zip
else
JGSS_ZIP_NAME = jgss-windows-i586-bin.zip

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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

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
@@ -168,7 +168,7 @@ AC_DEFUN([ADD_JVM_ARG_IF_OK],
[
$ECHO "Check if jvm arg is ok: $1" >&AS_MESSAGE_LOG_FD
$ECHO "Command: $3 $1 -version" >&AS_MESSAGE_LOG_FD
OUTPUT=`$3 $1 -version 2>&1`
OUTPUT=`$3 $1 $USER_BOOT_JDK_OPTIONS -version 2>&1`
FOUND_WARN=`$ECHO "$OUTPUT" | $GREP -i warn`
FOUND_VERSION=`$ECHO $OUTPUT | $GREP " version \""`
if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then
@@ -223,6 +223,8 @@ AC_DEFUN([BASIC_FIXUP_PATH],
BASIC_FIXUP_PATH_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_PATH_MSYS($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
BASIC_FIXUP_PATH_WSL($1)
else
# We're on a unix platform. Hooray! :)
path="[$]$1"
@@ -270,6 +272,8 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE],
BASIC_FIXUP_EXECUTABLE_CYGWIN($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
BASIC_FIXUP_EXECUTABLE_MSYS($1)
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
BASIC_FIXUP_EXECUTABLE_WSL($1)
else
# We're on a unix platform. Hooray! :)
# First separate the path from the arguments. This will split at the first
@@ -402,6 +406,8 @@ AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
AC_SUBST(CONFIGURE_COMMAND_LINE)
# AUTOCONF might be set in the environment by the user. Preserve for "make reconfigure".
AC_SUBST(AUTOCONF)
# Save the path variable before it gets changed
ORIGINAL_PATH="$PATH"
AC_SUBST(ORIGINAL_PATH)
@@ -569,7 +575,8 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
BASIC_REQUIRE_PROGS(GZIP, pigz gzip)
BASIC_REQUIRE_PROGS(LN, ln)
BASIC_REQUIRE_PROGS(LS, ls)
BASIC_REQUIRE_PROGS(MKDIR, mkdir)
# gmkdir is known to be safe for concurrent invocations with -p flag.
BASIC_REQUIRE_PROGS(MKDIR, [gmkdir mkdir])
BASIC_REQUIRE_PROGS(MKTEMP, mktemp)
BASIC_REQUIRE_PROGS(MV, mv)
BASIC_REQUIRE_PROGS(NAWK, [nawk gawk awk])
@@ -606,10 +613,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
# These are not required on all platforms
BASIC_PATH_PROGS(CYGPATH, cygpath)
BASIC_PATH_PROGS(WSLPATH, wslpath)
BASIC_PATH_PROGS(DF, df)
BASIC_PATH_PROGS(CPIO, [cpio bsdcpio])
BASIC_PATH_PROGS(NICE, nice)
BASIC_PATH_PROGS(PANDOC, pandoc)
BASIC_PATH_PROGS(LSB_RELEASE, lsb_release)
BASIC_PATH_PROGS(CMD, [cmd.exe /mnt/c/Windows/System32/cmd.exe])
])
###############################################################################
@@ -630,11 +640,14 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
PATH_SEP=";"
EXE_SUFFIX=".exe"
BASIC_CHECK_PATHS_WINDOWS
else
PATH_SEP=":"
EXE_SUFFIX=""
fi
AC_SUBST(PATH_SEP)
AC_SUBST(EXE_SUFFIX)
# We get the top-level directory from the supporting wrappers.
AC_MSG_CHECKING([for top-level directory])
@@ -862,7 +875,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# Create a default ./build/target-variant-debuglevel output root.
if test "x${CONF_NAME}" = x; then
AC_MSG_RESULT([in default location])
CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JDK_VARIANT}-${JVM_VARIANTS_WITH_AND}-${DEBUG_LEVEL}"
CONF_NAME="${OPENJDK_TARGET_OS}-${OPENJDK_TARGET_CPU}-${JVM_VARIANTS_WITH_AND}-${DEBUG_LEVEL}"
else
AC_MSG_RESULT([in build directory with custom name])
fi
@@ -979,6 +992,8 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
MAKE_EXPECTED_ENV='cygwin'
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
MAKE_EXPECTED_ENV='msys'
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
MAKE_EXPECTED_ENV='x86_64-.*-linux-gnu'
else
AC_MSG_ERROR([Unknown Windows environment])
fi
@@ -1170,6 +1185,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.
@@ -1190,6 +1206,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
BASIC_PATH_PROGS(READELF, [greadelf readelf])
BASIC_PATH_PROGS(DOT, dot)
BASIC_PATH_PROGS(HG, hg)
BASIC_PATH_PROGS(GIT, git)
BASIC_PATH_PROGS(STAT, stat)
BASIC_PATH_PROGS(TIME, time)
BASIC_PATH_PROGS(FLOCK, flock)
@@ -1265,7 +1282,18 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
if $DF $DF_LOCAL_ONLY_OPTION $1 > /dev/null 2>&1; then
$2
else
$3
# In WSL, local Windows drives are considered remote by df, but we are
# required to build into a directory accessible from windows, so consider
# them local here.
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
if $DF $1 | $GREP -q "^[[A-Z]]:"; then
$2
else
$3
fi
else
$3
fi
fi
fi
])
@@ -1342,6 +1370,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

@@ -32,6 +32,13 @@ AC_DEFUN([BASIC_WINDOWS_REWRITE_AS_UNIX_PATH],
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
$1="$unix_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
# wslpath does not check the input, only call if an actual windows path was
# given.
if $ECHO "$windows_path" | $GREP -q ["^[a-zA-Z]:[\\\\/]"]; then
unix_path=`$WSLPATH -u "$windows_path"`
$1="$unix_path"
fi
fi
])
@@ -44,6 +51,9 @@ AC_DEFUN([BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH],
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
windows_path=`cmd //c echo $unix_path`
$1="$windows_path"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
windows_path=`$WSLPATH -m "$unix_path"`
$1="$windows_path"
fi
])
@@ -100,6 +110,31 @@ AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_MSYS],
fi
])
# Helper function which possibly converts a path using DOS-style short mode.
# If so, the updated path is stored in $new_path.
# $1: The path to check
AC_DEFUN([BASIC_MAKE_WINDOWS_SPACE_SAFE_WSL],
[
input_path="$1"
# Check if we need to convert this using DOS-style short mode. If the path
# contains just simple characters, use it. Otherwise (spaces, weird characters),
# take no chances and rewrite it.
# Note: m4 eats our [], so we need to use @<:@ and @:>@ instead.
has_forbidden_chars=`$ECHO "$input_path" | $GREP [[^-_/:a-zA-Z0-9\\.]]`
if test "x$has_forbidden_chars" != x; then
# Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \)
TOPDIR_windows="$TOPDIR"
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([TOPDIR_windows])
# First convert to Windows path to make input valid for cmd
BASIC_WINDOWS_REWRITE_AS_WINDOWS_MIXED_PATH([input_path])
new_path=`$CMD /c $TOPDIR_windows/make/scripts/windowsShortName.bat "$input_path" \
| $SED -e 's|\r||g' \
| $TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
# Rewrite back to unix style
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([new_path])
fi
])
# FIXME: The BASIC_FIXUP_*_CYGWIN/MSYS is most likely too convoluted
# and could probably be heavily simplified. However, all changes in this
# area tend to need lot of testing in different scenarios, and in lack of
@@ -157,6 +192,23 @@ AC_DEFUN([BASIC_FIXUP_PATH_MSYS],
all_fixpath_prefixes=("${all_fixpath_prefixes@<:@@@:>@}" "${new_path:0:10}")
])
AC_DEFUN([BASIC_FIXUP_PATH_WSL],
[
# Input might be given as Windows format, start by converting to
# unix format.
new_path="[$]$1"
BASIC_WINDOWS_REWRITE_AS_UNIX_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])
if test "x$path" != "x$new_path"; then
$1="$new_path"
AC_MSG_NOTICE([Rewriting $1 to "$new_path"])
fi
])
AC_DEFUN([BASIC_FIXUP_EXECUTABLE_CYGWIN],
[
# First separate the path from the arguments. This will split at the first
@@ -305,6 +357,79 @@ AC_DEFUN([BASIC_FIXUP_EXECUTABLE_MSYS],
fi
])
AC_DEFUN([BASIC_FIXUP_EXECUTABLE_WSL],
[
# First separate the path from the arguments. This will split at the first
# space.
complete="[$]$1"
path="${complete%% *}"
tmp="$complete EOL"
arguments="${tmp#* }"
# Input might be given as Windows format, start by converting to
# unix format.
new_path="$path"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([new_path])
# Now try to locate executable using which
new_path_bak="$new_path"
new_path=`$WHICH "$new_path" 2> /dev/null`
# bat and cmd files are not considered executable in WSL
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path="$new_path_back"
fi
if test "x$new_path" = x; then
# Oops. Which didn't find the executable.
# The splitting of arguments from the executable at a space might have been incorrect,
# since paths with space are more likely in Windows. Give it another try with the whole
# argument.
path="$complete"
arguments="EOL"
new_path="$path"
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH([new_path])
new_path_bak="$new_path"
new_path=`$WHICH "$new_path" 2> /dev/null`
# bat and cmd files are not considered executable in WSL
if test "x$new_path" = x \
&& test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
&& test "x`$LS \"$path\" 2>/dev/null`" != x; then
new_path="$new_path_bak"
fi
if test "x$new_path" = x; then
# It's still not found. Now this is an unrecoverable error.
AC_MSG_NOTICE([The path of $1, which resolves as "$complete", is not found.])
has_space=`$ECHO "$complete" | $GREP " "`
if test "x$has_space" != x; then
AC_MSG_NOTICE([You might be mixing spaces in the path and extra arguments, which is not allowed.])
fi
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
fi
# In WSL, suffixes must be present for Windows executables
if test ! -f "$new_path"; then
# Try adding .exe or .cmd
if test -f "${new_path}.exe"; then
input_to_shortpath="${new_path}.exe"
elif test -f "${new_path}.cmd"; then
input_to_shortpath="${new_path}.cmd"
else
AC_MSG_NOTICE([The path of $1, which resolves as "$new_path", is invalid.])
AC_MSG_NOTICE([Neither "$new_path" nor "$new_path.exe/cmd" can be found])
AC_MSG_ERROR([Cannot locate the the path of $1])
fi
else
input_to_shortpath="$new_path"
fi
# Call helper function which possibly converts this using DOS-style short mode.
# If so, the updated path is stored in $new_path.
new_path="$input_to_shortpath"
BASIC_MAKE_WINDOWS_SPACE_SAFE_WSL([$input_to_shortpath])
])
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
[
@@ -353,8 +478,28 @@ AC_DEFUN([BASIC_CHECK_PATHS_WINDOWS],
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(MSYS_ROOT_PATH)
AC_MSG_RESULT([$MSYS_ROOT_PATH])
WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH"
elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
AC_MSG_CHECKING([Windows version])
# m4 replaces [ and ] so we use @<:@ and @:>@ instead
WINDOWS_VERSION=`$CMD /c ver.exe | $EGREP -o '(@<:@0-9@:>@+\.)+@<:@0-9@:>@+'`
AC_MSG_RESULT([$WINDOWS_VERSION])
AC_MSG_CHECKING([WSL kernel version])
WSL_KERNEL_VERSION=`$UNAME -v`
AC_MSG_RESULT([$WSL_KERNEL_VERSION])
AC_MSG_CHECKING([WSL kernel release])
WSL_KERNEL_RELEASE=`$UNAME -r`
AC_MSG_RESULT([$WSL_KERNEL_RELEASE])
AC_MSG_CHECKING([WSL distribution])
WSL_DISTRIBUTION=`$LSB_RELEASE -d | sed 's/Description:\t//'`
AC_MSG_RESULT([$WSL_DISTRIBUTION])
WINDOWS_ENV_VENDOR='WSL'
WINDOWS_ENV_VERSION="$WSL_DISTRIBUTION $WSL_KERNEL_VERSION $WSL_KERNEL_RELEASE (on Windows build $WINDOWS_VERSION)"
else
AC_MSG_ERROR([Unknown Windows environment. Neither cygwin nor msys was detected.])
AC_MSG_ERROR([Unknown Windows environment. Neither cygwin, msys, nor wsl was detected.])
fi
# Test if windows or unix (cygwin/msys) find is first in path.
@@ -395,6 +540,8 @@ AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
| tr ' ' '\n' | $GREP '^/./' | $SORT | $UNIQ`
fixpath_argument_list=`echo $all_unique_prefixes | tr ' ' '@'`
FIXPATH="$FIXPATH_BIN -m$fixpath_argument_list"
elif test "x$OPENJDK_BUILD_OS_ENV" = xwindows.wsl; then
FIXPATH="$FIXPATH_BIN -w"
fi
FIXPATH_SRC_W="$FIXPATH_SRC"
FIXPATH_BIN_W="$FIXPATH_BIN"
@@ -412,6 +559,17 @@ AC_DEFUN_ONCE([BASIC_COMPILE_FIXPATH],
AC_MSG_ERROR([Could not create $FIXPATH_BIN])
fi
AC_MSG_RESULT([yes])
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
OLD_WSLENV="$WSLENV"
WSLENV=`$ECHO $WSLENV | $SED 's/PATH\/l://'`
BASIC_APPEND_TO_PATH(WSLENV, "FIXPATH_PATH")
export WSLENV
export FIXPATH_PATH=$VS_PATH_WINDOWS
AC_MSG_NOTICE([FIXPATH_PATH is $FIXPATH_PATH])
AC_MSG_NOTICE([Rewriting WSLENV from $OLD_WSLENV to $WSLENV])
fi
AC_MSG_CHECKING([if fixpath.exe works])
cd $FIXPATH_DIR
$FIXPATH $CC $FIXPATH_SRC -Fe$FIXPATH_DIR/fixpath2.exe \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -63,18 +63,29 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
# If previous step claimed to have found a JDK, check it to see if it seems to be valid.
if test "x$BOOT_JDK_FOUND" = xmaybe; then
# Do we have a bin/java?
if test ! -x "$BOOT_JDK/bin/java"; then
if test ! -x "$BOOT_JDK/bin/java$EXE_SUFFIX"; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK did not contain bin/java; ignoring])
BOOT_JDK_FOUND=no
else
# Do we have a bin/javac?
if test ! -x "$BOOT_JDK/bin/javac"; then
if test ! -x "$BOOT_JDK/bin/javac$EXE_SUFFIX"; then
AC_MSG_NOTICE([Potential Boot JDK found at $BOOT_JDK did not contain bin/javac; ignoring])
AC_MSG_NOTICE([(This might be an JRE instead of an JDK)])
BOOT_JDK_FOUND=no
else
# Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $HEAD -n 1`
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java$EXE_SUFFIX" $USER_BOOT_JDK_OPTIONS -version 2>&1 | $HEAD -n 1`
if [ [[ "$BOOT_JDK_VERSION" =~ "Picked up" ]] ]; then
AC_MSG_NOTICE([You have _JAVA_OPTIONS or JAVA_TOOL_OPTIONS set. This can mess up the build. Please use --with-boot-jdk-jvmargs instead.])
AC_MSG_NOTICE([Java reports: "$BOOT_JDK_VERSION".])
AC_MSG_ERROR([Cannot continue])
fi
if [ [[ "$BOOT_JDK_VERSION" =~ "Unrecognized option" ]] ]; then
AC_MSG_NOTICE([The specified --with-boot-jdk-jvmargs is invalid for the tested java])
AC_MSG_NOTICE([Error message: "$BOOT_JDK_VERSION".])
AC_MSG_NOTICE([Please fix arguments, or point to an explicit boot JDK which accept these arguments])
AC_MSG_ERROR([Cannot continue])
fi
# Extra M4 quote needed to protect [] in grep expression.
[FOUND_CORRECT_VERSION=`$ECHO $BOOT_JDK_VERSION \
@@ -90,7 +101,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK],
AC_MSG_CHECKING([for Boot JDK])
AC_MSG_RESULT([$BOOT_JDK])
AC_MSG_CHECKING([Boot JDK version])
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $TR '\n\r' ' '`
BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java$EXE_SUFFIX" $USER_BOOT_JDK_OPTIONS -version 2>&1 | $TR '\n\r' ' '`
AC_MSG_RESULT([$BOOT_JDK_VERSION])
fi # end check jdk version
fi # end check javac
@@ -283,6 +294,11 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_ARG_WITH(boot-jdk, [AS_HELP_STRING([--with-boot-jdk],
[path to Boot JDK (used to bootstrap build) @<:@probed@:>@])])
AC_ARG_WITH(boot-jdk-jvmargs, [AS_HELP_STRING([--with-boot-jdk-jvmargs],
[specify additional arguments to be passed to Boot JDK tools @<:@none@:>@])])
USER_BOOT_JDK_OPTIONS="$with_boot_jdk_jvmargs"
# We look for the Boot JDK through various means, going from more certain to
# more of a guess-work. After each test, BOOT_JDK_FOUND is set to "yes" if
# we detected something (if so, the path to the jdk is in BOOT_JDK). But we
@@ -319,11 +335,11 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_SUBST(BOOT_JDK)
# Setup tools from the Boot JDK.
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVA, java)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAC, javac)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVADOC, javadoc)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAR, jar)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JARSIGNER, jarsigner)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVA, java$EXE_SUFFIX)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVAC, javac$EXE_SUFFIX)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAVADOC, javadoc$EXE_SUFFIX)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JAR, jar$EXE_SUFFIX)
BOOTJDK_CHECK_TOOL_IN_BOOTJDK(JARSIGNER, jarsigner$EXE_SUFFIX)
# Finally, set some other options...
@@ -372,10 +388,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
# Specify jvm options for anything that is run with the Boot JDK.
# Not all JVM:s accept the same arguments on the command line.
#
AC_ARG_WITH(boot-jdk-jvmargs, [AS_HELP_STRING([--with-boot-jdk-jvmargs],
[specify JVM arguments to be passed to all java invocations of boot JDK, overriding the default values,
e.g --with-boot-jdk-jvmargs="-Xmx8G -enableassertions"])])
AC_MSG_CHECKING([flags for boot jdk java command] )
# Force en-US environment
@@ -389,8 +401,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
ADD_JVM_ARG_IF_OK([-Xshare:auto],boot_jdk_jvmargs,[$JAVA])
fi
# Apply user provided options.
ADD_JVM_ARG_IF_OK([$with_boot_jdk_jvmargs],boot_jdk_jvmargs,[$JAVA])
# Finally append user provided options to allow them to override.
ADD_JVM_ARG_IF_OK([$USER_BOOT_JDK_OPTIONS],boot_jdk_jvmargs,[$JAVA])
AC_MSG_RESULT([$boot_jdk_jvmargs])

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -60,6 +60,15 @@ if test $? = 0; then
esac
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
if test $? = 0; then
OUT="x86_64-pc-wsl"
fi
fi
# Test and fix architecture string on AIX
# On AIX 'config.guess' returns 'powerpc' as architecture but 'powerpc' is
# implicitely handled as 32-bit architecture in 'platform.m4' so we check

View File

@@ -29,7 +29,13 @@
DIR=`dirname $0`
# First, filter out everything that doesn't begin with "aarch64-"
# Allow wsl
if echo $* | grep x86_64-pc-wsl >/dev/null ; then
echo $*
exit
fi
# Filter out everything that doesn't begin with "aarch64-"
if ! echo $* | grep '^aarch64-' >/dev/null ; then
. $DIR/autoconf-config.sub "$@"
# autoconf-config.sub exits, so we never reach here, but just in

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, 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
@@ -42,8 +42,11 @@ AC_DEFUN([BPERF_CHECK_CORES],
NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
FOUND_CORES=yes
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'`
FOUND_CORES=yes
NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
if test -n "$NUM_LCPU"; then
NUM_CORES=$NUM_LCPU
FOUND_CORES=yes
fi
elif test -n "$NUMBER_OF_PROCESSORS"; then
# On windows, look in the env
NUM_CORES=$NUMBER_OF_PROCESSORS

View File

@@ -75,6 +75,8 @@ JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
FDLIBM_CFLAGS := @OPENJDK_BUILD_FDLIBM_CFLAGS@
# The compiler for the build platform is likely not warning compatible with the official
# compiler.
WARNINGS_AS_ERRORS := false

View File

@@ -31,6 +31,7 @@
export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
export OPENJDK_BUILD_OS_ENV="@OPENJDK_BUILD_OS_ENV@"
export OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
export OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
export DEBUG_LEVEL="@DEBUG_LEVEL@"
@@ -73,18 +74,26 @@ export TOPDIR="@TOPDIR@"
export OUTPUTDIR="@OUTPUTDIR@"
if [ "@COMPILE_TYPE@" != "cross" ]; then
export JAVAP="@FIXPATH@ $OUTPUTDIR/jdk/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ $OUTPUTDIR/jdk/bin/jimage"
export JAVAP="@FIXPATH@ $OUTPUTDIR/jdk/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ $OUTPUTDIR/jdk/bin/jimage"
export JMOD="@FIXPATH@ $OUTPUTDIR/jdk/bin/jmod"
elif [ "@CREATE_BUILDJDK@" = "true" ]; then
export JAVAP="@FIXPATH@ $OUTPUTDIR/buildjdk/jdk/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ $OUTPUTDIR/buildjdk/jdk/bin/jimage"
export JAVAP="@FIXPATH@ $OUTPUTDIR/buildjdk/jdk/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ $OUTPUTDIR/buildjdk/jdk/bin/jimage"
export JMOD="@FIXPATH@ $OUTPUTDIR/buildjdk/jdk/bin/jmod"
else
export JAVAP="@FIXPATH@ @BUILD_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ @BUILD_JDK@/bin/jimage"
export JAVAP="@FIXPATH@ @BUILD_JDK@/bin/javap @JAVA_TOOL_FLAGS_SMALL@"
export JIMAGE="@FIXPATH@ @BUILD_JDK@/bin/jimage"
export JMOD="@FIXPATH@ @BUILD_JDK@/bin/jmod"
fi
if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
export PATH="@VS_PATH@"
if [ "$OPENJDK_BUILD_OS_ENV" = "windows.wsl" ]; then
export FIXPATH_PATH="@VS_PATH_WINDOWS@"
export WSLENV="$WSLENV:FIXPATH_PATH:DEBUG_FIXPATH"
else
export PATH="@VS_PATH@"
fi
fi
# Now locate the main script and run it.

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
@@ -78,9 +78,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"
@@ -122,14 +125,18 @@ generate_configure_script() {
if test "x$CUSTOM_CONFIG_DIR" != x; then
# Generate configure script with custom hooks compiled in.
custom_patcher='sed -e "s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([$custom_hook])|"'
custom_script_dir_include="-I$CUSTOM_CONFIG_DIR"
else
custom_patcher='cat'
custom_script_dir_include=""
fi
mkdir -p $build_support_dir
# Call autoconf but replace the "magic" variable in configure.ac if requested.
cat $conf_script_dir/configure.ac | eval $custom_patcher | \
${AUTOCONF} -W all -I$conf_script_dir - > $generated_script
${AUTOCONF} -W all $custom_script_dir_include -I$conf_script_dir - \
> $generated_script
rm -rf autom4te.cache
# Sanity check

View File

@@ -91,7 +91,6 @@ BASIC_SETUP_PATHS
JDKOPT_SETUP_OPEN_OR_CUSTOM
# These are needed to be able to create a configuration name (and thus the output directory)
JDKOPT_SETUP_JDK_VARIANT
JDKOPT_SETUP_DEBUG_LEVEL
HOTSPOT_SETUP_JVM_VARIANTS
@@ -181,6 +180,9 @@ TOOLCHAIN_MISC_CHECKS
# Setup the JTReg Regression Test Harness.
TOOLCHAIN_SETUP_JTREG
# Setup the Java Microbenchmark Harness (JMH)
LIB_TESTS_SETUP_JMH
# Setup Jib dependency tool
TOOLCHAIN_SETUP_JIB
@@ -234,6 +236,7 @@ JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER
JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS
JDKOPT_ENABLE_DISABLE_MANPAGES
JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE
###############################################################################
#

View File

@@ -121,7 +121,11 @@ 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"
if test "x$XLC_USES_CLANG" = xtrue; then
CFLAGS_DEBUG_SYMBOLS="-g1"
else
CFLAGS_DEBUG_SYMBOLS="-g"
fi
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
CFLAGS_DEBUG_SYMBOLS="-Z7 -d2Zi+"
fi
@@ -161,14 +165,36 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
microsoft)
DISABLE_WARNING_PREFIX="-wd"
CFLAGS_WARNINGS_ARE_ERRORS="-WX"
WARNINGS_ENABLE_ALL="-W3"
DISABLED_WARNINGS="4800"
;;
solstudio)
DISABLE_WARNING_PREFIX="-erroff="
CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
CFLAGS_WARNINGS_ARE_ERRORS="-errwarn=%all"
WARNINGS_ENABLE_ALL_CFLAGS="-v"
WARNINGS_ENABLE_ALL_CXXFLAGS="+w"
DISABLED_WARNINGS_C=""
DISABLED_WARNINGS_CXX=""
;;
gcc)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
# Additional warnings that are not activated by -Wall and -Wextra
WARNINGS_ENABLE_ADDITIONAL="-Wpointer-arith -Wsign-compare \
-Wunused-function -Wundef -Wunused-value -Wreturn-type \
-Wtrampolines"
WARNINGS_ENABLE_ADDITIONAL_CXX="-Woverloaded-virtual -Wreorder"
WARNINGS_ENABLE_ALL_CFLAGS="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
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
@@ -183,18 +209,40 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
CXX="$CXX_OLD"
CFLAGS="$CFLAGS_OLD"
;;
clang)
DISABLE_WARNING_PREFIX="-Wno-"
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
# Additional warnings that are not activated by -Wall and -Wextra
WARNINGS_ENABLE_ADDITIONAL="-Wpointer-arith -Wsign-compare -Wreorder \
-Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"
WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
DISABLED_WARNINGS="unused-parameter unused"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# missing-method-return-type triggers in JavaNativeFoundation framework
DISABLED_WARNINGS="$DISABLED_WARNINGS missing-method-return-type"
fi
;;
xlc)
DISABLE_WARNING_PREFIX="-qsuppress="
CFLAGS_WARNINGS_ARE_ERRORS="-qhalt=w"
# Possibly a better subset than "all" is "lan:trx:ret:zea:cmp:ret"
WARNINGS_ENABLE_ALL="-qinfo=all -qformat=all"
DISABLED_WARNINGS=""
;;
esac
AC_SUBST(DISABLE_WARNING_PREFIX)
AC_SUBST(BUILD_CC_DISABLE_WARNING_PREFIX)
AC_SUBST(CFLAGS_WARNINGS_ARE_ERRORS)
AC_SUBST(DISABLED_WARNINGS)
AC_SUBST(DISABLED_WARNINGS_C)
AC_SUBST(DISABLED_WARNINGS_CXX)
])
AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
@@ -371,32 +419,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
# Check that the compiler supports -ffp-contract=off flag
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
# otherwise.
# These flags are required for GCC-based builds of
# fdlibm with optimization without losing precision.
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_TRUE: [FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_FALSE: [FDLIBM_CFLAGS=""])
fi
AC_SUBST(FDLIBM_CFLAGS)
# Tests are only ever compiled for TARGET
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
CXXFLAGS_TESTLIB="$CXXFLAGS_JDKLIB"
CFLAGS_TESTEXE="$CFLAGS_JDKEXE"
CXXFLAGS_TESTEXE="$CXXFLAGS_JDKEXE"
AC_SUBST(CFLAGS_TESTLIB)
AC_SUBST(CFLAGS_TESTEXE)
AC_SUBST(CXXFLAGS_TESTLIB)
AC_SUBST(CXXFLAGS_TESTEXE)
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_], [BUILD_])
])
################################################################################
@@ -496,15 +519,9 @@ 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"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX (but since this gives *worse* performance, use no-strict-aliasing everywhere!)
CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CXXSTD_CXXFLAG -Werror],
IF_FALSE: [CXXSTD_CXXFLAG=""])
TOOLCHAIN_CFLAGS_JDK_CXXONLY="$CXXSTD_CXXFLAG"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM $CXXSTD_CXXFLAG"
ADLC_CXXFLAG="$CXXSTD_CXXFLAG"
# technically NOT for CXX (but since this gives *worse* performance, use
# no-strict-aliasing everywhere!)
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# Restrict the debug information created by Clang to avoid
@@ -523,11 +540,14 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
TOOLCHAIN_CFLAGS_JDK="-mt"
TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
TOOLCHAIN_FLAGS="-errtags -errfmt"
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_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
-library=stlport4 -mt -features=no%except"
-library=stlport4 -mt -features=no%except $TOOLCHAIN_FLAGS"
if test "x$DEBUG_LEVEL" = xslowdebug; then
# Previously -g was used instead of -g0 for slowdebug; this is equivalent
# to setting +d.
@@ -535,10 +555,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
TOOLCHAIN_CFLAGS_JDK="-qchars=signed -qfullpath -qsaveopt" # add on both CFLAGS
# 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"
-qlanglvl=noredefmac -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-"
@@ -546,37 +567,24 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# CFLAGS WARNINGS STUFF
# Set JVM_CFLAGS warning handling
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
# COMMON to gcc and clang
WARNING_CFLAGS_JVM="-Wpointer-arith -Wsign-compare -Wunused-function"
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
# Non-zero builds have stricter warnings
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wundef -Wformat=2"
fi
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
WARNING_CFLAGS_JDK="-Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2"
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wunused-value -Woverloaded-virtual"
WARNING_CFLAGS_JDK_CONLY="$WARNINGS_ENABLE_ALL_CFLAGS"
WARNING_CFLAGS_JDK_CXXONLY="$WARNINGS_ENABLE_ALL_CXXFLAGS"
WARNING_CFLAGS_JVM="$WARNINGS_ENABLE_ALL_CXXFLAGS"
if ! HOTSPOT_CHECK_JVM_VARIANT(zero); then
# Non-zero builds have stricter warnings
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wreturn-type"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wno-deprecated"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
WARNING_CFLAGS_JVM="$WARNING_CFLAGS_JVM -Wno-sometimes-uninitialized"
WARNING_CFLAGS_JDK="-Wall -Wextra -Wno-unused -Wno-unused-parameter -Wformat=2"
fi
WARNING_CFLAGS="$WARNINGS_ENABLE_ALL"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
WARNING_CFLAGS_JDK_CONLY="-errshort=tags"
WARNING_CFLAGS_JDK_CXXONLY="+w"
WARNING_CFLAGS_JDK="-errtags=yes -errfmt"
WARNING_CFLAGS_JDK_CONLY="$WARNINGS_ENABLE_ALL_CFLAGS"
WARNING_CFLAGS_JDK_CXXONLY="$WARNINGS_ENABLE_ALL_CXXFLAGS"
WARNING_CFLAGS_JVM="$WARNINGS_ENABLE_ALL_CXXFLAGS"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
WARNING_CFLAGS="-W3"
WARNING_CFLAGS_JDK="-wd4800"
WARNING_CFLAGS_JVM="-wd4800"
WARNING_CFLAGS="$WARNINGS_ENABLE_ALL"
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
WARNING_CFLAGS="" # currently left empty
fi
# Set some additional per-OS defines.
@@ -646,15 +654,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
fi
fi
# EXPORT
AC_SUBST(ADLC_CXXFLAG)
])
################################################################################
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
# conditionals against.
# $2 - Optional prefix for each variable defined.
# $3 - Optional prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
[
#### CPU DEFINES, these should (in theory) be independent on toolchain
@@ -724,10 +730,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# -Wno-psabi to get rid of annoying "note: the mangling of 'va_list' has changed in GCC 4.4"
$1_CFLAGS_CPU="-fsigned-char -Wno-psabi $ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS -DJDK_ARCH_ABI_PROP_NAME='\"\$(JDK_ARCH_ABI_PROP_NAME)\"'"
$1_CFLAGS_CPU_JVM="-DARM"
elif test "x$FLAGS_CPU" = xaarch64; then
if test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
$1_CFLAGS_CPU_JVM="-fsigned-char -DARM"
fi
elif test "x$FLAGS_CPU_ARCH" = xppc; then
$1_CFLAGS_CPU_JVM="-minsert-sched-nops=regroup_exact -mno-multiple -mno-string"
if test "x$FLAGS_CPU" = xppc64; then
@@ -748,6 +750,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
$1_CXXSTD_CXXFLAG="-std=gnu++98"
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${$1_CXXSTD_CXXFLAG} -Werror],
PREFIX: $3, IF_FALSE: [$1_CXXSTD_CXXFLAG=""])
$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY="${$1_CXXSTD_CXXFLAG}"
$1_TOOLCHAIN_CFLAGS_JVM="${$1_TOOLCHAIN_CFLAGS_JVM} ${$1_CXXSTD_CXXFLAG}"
$2ADLC_CXXFLAG="${$1_CXXSTD_CXXFLAG}"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$FLAGS_OS" = xlinux; then
# ppc test not really needed for clang
@@ -784,14 +793,15 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CHECK_COMPILER_VERSION(VERSION: 6, PREFIX: $2, IF_AT_LEAST: FLAGS_SETUP_GCC6_COMPILER_FLAGS($1))
FLAGS_SETUP_GCC6_COMPILER_FLAGS($1, $3)
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
fi
# EXPORT to API
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM $TOOLCHAIN_CFLAGS_JVM \
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"
@@ -805,7 +815,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}"
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY $TOOLCHAIN_CFLAGS_JDK_CXXONLY \
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY \
$TOOLCHAIN_CFLAGS_JDK_CXXONLY \
${$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY} \
$WARNING_CFLAGS_JDK_CXXONLY ${$2EXTRA_CXXFLAGS}"
$1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
@@ -823,11 +835,28 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
AC_SUBST($2CFLAGS_JDKEXE)
AC_SUBST($2CXXFLAGS_JDKLIB)
AC_SUBST($2CXXFLAGS_JDKEXE)
AC_SUBST($2ADLC_CXXFLAG)
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
# Check that the compiler supports -ffp-contract=off flag
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
# otherwise.
# These flags are required for GCC-based builds of
# fdlibm with optimization without losing precision.
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
PREFIX: $3,
IF_TRUE: [$2FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_FALSE: [$2FDLIBM_CFLAGS=""])
fi
AC_SUBST($2FDLIBM_CFLAGS)
])
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
# Arguments:
# $1 - Prefix for each variable defined.
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
@@ -835,14 +864,11 @@ AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
dnl IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
dnl IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
AC_MSG_NOTICE([GCC >= 6 detected; adding ${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} and ${NO_LIFETIME_DSE_CFLAG}])
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
])

View File

@@ -51,9 +51,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS],
FLAGS_SETUP_LDFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
LDFLAGS_TESTLIB="$LDFLAGS_JDKLIB"
LDFLAGS_TESTEXE="$LDFLAGS_JDKEXE ${TARGET_LDFLAGS_JDK_LIBPATH}"
AC_SUBST(LDFLAGS_TESTLIB)
LDFLAGS_TESTEXE="${TARGET_LDFLAGS_JDK_LIBPATH}"
AC_SUBST(LDFLAGS_TESTEXE)
])
@@ -74,10 +72,8 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Add -z defs, to forbid undefined symbols in object files.
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro"
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1 -Wl,-z,relro"
BASIC_LDFLAGS_JDK_LIB_ONLY="-Wl,-z,noexecstack"
LIBJSIG_NOEXECSTACK_LDFLAGS="-Wl,-z,noexecstack"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
@@ -103,6 +99,12 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
fi
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
if test -n "$HAS_NOEXECSTACK"; then
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,noexecstack"
fi
fi
# Setup OS-dependent LDFLAGS
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
@@ -137,6 +139,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
fi
fi
# Setup warning flags
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
LDFLAGS_WARNINGS_ARE_ERRORS="-Wl,-z,fatal-warnings"
else
LDFLAGS_WARNINGS_ARE_ERRORS=""
fi
AC_SUBST(LDFLAGS_WARNINGS_ARE_ERRORS)
# Setup LDFLAGS for linking executables
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
@@ -163,10 +173,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
elif test "x$OPENJDK_$1_CPU" = xarm; then
$1_CPU_LDFLAGS_JVM_ONLY="${$1_CPU_LDFLAGS_JVM_ONLY} -fsigned-char"
$1_CPU_LDFLAGS="$ARM_ARCH_TYPE_FLAGS $ARM_FLOAT_TYPE_FLAGS"
elif test "x$FLAGS_CPU" = xaarch64; then
if test "x$HOTSPOT_TARGET_CPU_PORT" = xarm64; then
$1_CPU_LDFLAGS_JVM_ONLY="${$1_CPU_LDFLAGS_JVM_ONLY} -fsigned-char"
fi
fi
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then

View File

@@ -31,9 +31,7 @@
AC_DEFUN([FLAGS_SETUP_ARFLAGS],
[
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
ARFLAGS="-r -mmacosx-version-min=$MACOSX_VERSION_MIN"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
if test "x$OPENJDK_TARGET_OS" = xaix; then
ARFLAGS="-X64"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
# lib.exe is used as AR to create static libraries.
@@ -121,6 +119,12 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
# Misuse EXTRA_CFLAGS to mimic old behavior
$2JVM_ASFLAGS="$JVM_BASIC_ASFLAGS ${$2EXTRA_CFLAGS}"
if test "x$1" = "xTARGET" && \
test "x$TOOLCHAIN_TYPE" = xgcc && \
test "x$OPENJDK_TARGET_CPU" = xarm; then
$2JVM_ASFLAGS="${$2JVM_ASFLAGS} $ARM_ARCH_TYPE_ASFLAGS $ARM_FLOAT_TYPE_ASFLAGS"
fi
AC_SUBST($2JVM_ASFLAGS)
])

View File

@@ -34,7 +34,7 @@ m4_include([flags-other.m4])
AC_DEFUN([FLAGS_SETUP_ABI_PROFILE],
[
AC_ARG_WITH(abi-profile, [AS_HELP_STRING([--with-abi-profile],
[specify ABI profile for ARM builds (arm-vfp-sflt,arm-vfp-hflt,arm-sflt, armv5-vfp-sflt,armv6-vfp-hflt,arm64,aarch64) @<:@toolchain dependent@:>@ ])])
[specify ABI profile for ARM builds (arm-vfp-sflt,arm-vfp-hflt,arm-sflt, armv5-vfp-sflt,armv6-vfp-hflt,aarch64) @<:@toolchain dependent@:>@ ])])
if test "x$with_abi_profile" != x; then
if test "x$OPENJDK_TARGET_CPU" != xarm && \
@@ -46,45 +46,59 @@ AC_DEFUN([FLAGS_SETUP_ABI_PROFILE],
AC_MSG_CHECKING([for ABI profle])
AC_MSG_RESULT([$OPENJDK_TARGET_ABI_PROFILE])
# --- Arm-sflt CFLAGS and ASFLAGS ---
# Armv5te is required for assembler, because pld insn used in arm32 hotspot is only in v5E and above.
# However, there is also a GCC bug which generates unaligned strd/ldrd instructions on armv5te:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445, and it was fixed only quite recently.
# The resulting compromise is to enable v5TE for assembler and let GCC generate code for v5T.
if test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-vfp-sflt; then
ARM_FLOAT_TYPE=vfp-sflt
ARM_ARCH_TYPE_FLAGS='-march=armv7-a -mthumb'
ARM_ARCH_TYPE_ASFLAGS='-march=armv7-a -mthumb'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-vfp-hflt; then
ARM_FLOAT_TYPE=vfp-hflt
ARM_ARCH_TYPE_FLAGS='-march=armv7-a -mthumb'
ARM_ARCH_TYPE_ASFLAGS='-march=armv7-a -mthumb'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm-sflt; then
ARM_FLOAT_TYPE=sflt
ARM_ARCH_TYPE_FLAGS='-march=armv5t -marm'
ARM_ARCH_TYPE_ASFLAGS='-march=armv5te'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarmv5-vfp-sflt; then
ARM_FLOAT_TYPE=vfp-sflt
ARM_ARCH_TYPE_FLAGS='-march=armv5t -marm'
ARM_ARCH_TYPE_ASFLAGS='-march=armv5te'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarmv6-vfp-hflt; then
ARM_FLOAT_TYPE=vfp-hflt
ARM_ARCH_TYPE_FLAGS='-march=armv6 -marm'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xarm64; then
# No special flags, just need to trigger setting JDK_ARCH_ABI_PROP_NAME
ARM_FLOAT_TYPE=
ARM_ARCH_TYPE_FLAGS=
ARM_ARCH_TYPE_ASFLAGS='-march=armv6'
elif test "x$OPENJDK_TARGET_ABI_PROFILE" = xaarch64; then
# No special flags, just need to trigger setting JDK_ARCH_ABI_PROP_NAME
ARM_FLOAT_TYPE=
ARM_ARCH_TYPE_FLAGS=
ARM_ARCH_TYPE_ASFLAGS=
else
AC_MSG_ERROR([Invalid ABI profile: "$OPENJDK_TARGET_ABI_PROFILE"])
fi
if test "x$ARM_FLOAT_TYPE" = xvfp-sflt; then
ARM_FLOAT_TYPE_FLAGS='-mfloat-abi=softfp -mfpu=vfp -DFLOAT_ARCH=-vfp-sflt'
ARM_FLOAT_TYPE_ASFLAGS="-mfloat-abi=softfp -mfpu=vfp"
elif test "x$ARM_FLOAT_TYPE" = xvfp-hflt; then
ARM_FLOAT_TYPE_FLAGS='-mfloat-abi=hard -mfpu=vfp -DFLOAT_ARCH=-vfp-hflt'
ARM_FLOAT_TYPE_ASFLAGS="-mfloat-abi=hard -mfpu=vfp"
elif test "x$ARM_FLOAT_TYPE" = xsflt; then
ARM_FLOAT_TYPE_FLAGS='-msoft-float -mfpu=vfp'
ARM_FLOAT_TYPE_ASFLAGS="-mfloat-abi=soft -mfpu=vfp"
fi
AC_MSG_CHECKING([for $ARM_FLOAT_TYPE floating point flags])
AC_MSG_RESULT([$ARM_FLOAT_TYPE_FLAGS])
AC_MSG_CHECKING([for $ARM_FLOAT_TYPE floating point flags for assembler])
AC_MSG_RESULT([$ARM_FLOAT_TYPE_ASFLAGS])
AC_MSG_CHECKING([for arch type flags])
AC_MSG_RESULT([$ARM_ARCH_TYPE_FLAGS])
AC_MSG_CHECKING([for arch type flags for assembler])
AC_MSG_RESULT([$ARM_ARCH_TYPE_ASFLAGS])
# Now set JDK_ARCH_ABI_PROP_NAME. This is equivalent to the last part of the
# autoconf target triplet.
@@ -241,7 +255,8 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
elif test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86 ||
if test "x$OPENJDK_TARGET_CPU_ARCH" = xx86 &&
test "x$OPENJDK_TARGET_CPU" != xx32 ||
test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc ||
test "x$OPENJDK_TARGET_CPU_ARCH" = xppc; then
MACHINE_FLAG="-m${OPENJDK_TARGET_CPU_BITS}"
@@ -335,8 +350,12 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
CC_OUT_OPTION='-o$(SPACE)'
# When linking, how to specify the output
LD_OUT_OPTION='-o$(SPACE)'
# When archiving, how to specify the to be create static archive for object files.
AR_OUT_OPTION='rcs$(SPACE)'
# When archiving, how to specify the destination static archive.
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
AR_OUT_OPTION='-r -cs$(SPACE)'
else
AR_OUT_OPTION='-rcs$(SPACE)'
fi
fi
AC_SUBST(CC_OUT_OPTION)
AC_SUBST(LD_OUT_OPTION)
@@ -402,17 +421,20 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
# ------------------------------------------------------------
# Check that the C compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
AC_MSG_CHECKING([if the C compiler supports "ARG_ARGUMENT"])
AC_MSG_CHECKING([if ARG_PREFIX[CC] supports "ARG_ARGUMENT"])
supports=yes
saved_cflags="$CFLAGS"
saved_cc="$CC"
CFLAGS="$CFLAGS ARG_ARGUMENT"
CC="$ARG_PREFIX[CC]"
AC_LANG_PUSH([C])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C])
CC="$saved_cc"
CFLAGS="$saved_cflags"
AC_MSG_RESULT([$supports])
@@ -430,17 +452,20 @@ BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
# ------------------------------------------------------------
# Check that the C++ compiler supports an argument
BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
AC_MSG_CHECKING([if the C++ compiler supports "ARG_ARGUMENT"])
AC_MSG_CHECKING([if ARG_PREFIX[CXX] supports "ARG_ARGUMENT"])
supports=yes
saved_cxxflags="$CXXFLAGS"
saved_cxx="$CXX"
CXXFLAGS="$CXXFLAG ARG_ARGUMENT"
CXX="$ARG_PREFIX[CXX]"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
[supports=no])
AC_LANG_POP([C++])
CXX="$saved_cxx"
CXXFLAGS="$saved_cxxflags"
AC_MSG_RESULT([$supports])
@@ -458,18 +483,22 @@ BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
# ------------------------------------------------------------
# Check that the C and C++ compilers support an argument
BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
[
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"])
IF_TRUE: [C_COMP_SUPPORTS="yes"],
IF_FALSE: [C_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"])
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
PREFIX: [ARG_PREFIX])
AC_MSG_CHECKING([if both compilers support "ARG_ARGUMENT"])
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
supports=no
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then
supports=yes;
fi
AC_MSG_RESULT([$supports])
if test "x$supports" = "xyes" ; 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
@@ -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],
@@ -54,6 +54,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
@@ -102,7 +104,7 @@ apt_help() {
ffi)
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
x11)
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev" ;;
ccache)
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
dtrace)
@@ -110,6 +112,25 @@ 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)
@@ -125,7 +146,7 @@ yum_help() {
freetype)
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
x11)
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel" ;;
ccache)
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
esac

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