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
19626 changed files with 708003 additions and 1008252 deletions

11
.gitignore vendored
View File

@@ -1,14 +1,3 @@
JTwork
JTreport
*.class
.idea/workspace.xml
.idea/misc.xml
.idea/modules.xml
.idea/shelf/
JetBrainsRuntime.iml
build/
# Project exclude paths
/jb/project/java-gradle/.gradle/
/build/
/dist/
/.idea/

147
.hgtags
View File

@@ -490,111 +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
b3f7a4c524f2e37a8068ca797859df86d9865aad jdk-11.0.4+1
3b9194001c2eebea3109777c2b308cd784a5dcc7 jdk-11.0.4+2
3b6fc7cd594608b7125eb0b75bdc05132e7b5f39 jdk-11.0.4+3
e442b78d7687744475676724bd27b1d52f096d38 jdk-11.0.4+4
371ce104ac19a12012dfe3749240b0309bfc86ee jdk-11.0.4+5
9ab8738bf30663e01924f40e04d6d04751271b77 jdk-11.0.4+6
640251cdca0577fd8aa4a51ddb7c71c3b874033c jdk-11.0.4+7
ce601e800f56af59edfda40e19a92a8d3121a1cd jdk-11.0.4+8
26958299a5f8012736b99782c835ec685e18dd43 jdk-11.0.4+9
3f5829d9d7629ba3893456e20731949a570cc277 jdk-11.0.4+10
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4+11
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4-ga
3ba9c532128b1feccf59ab8ce812b1fce2b6f681 jdk-11.0.5+1
b249a2a2034e3392c647c61d401a41ac7237d635 jdk-11.0.5+2
d84dae4fba034adc749e3f28fc444b3d95b8f670 jdk-11.0.5+3
315e873712092d48fbfa23885bdf2c6fd654c1ab jdk-11.0.5+4
d43c5ab1a337b94fffee1cab871543da06f8113c jdk-11.0.5+5
deaef57bf366fdab908b97a9760d0fa6e273abcd jdk-11.0.5+6
046604d257d7bc698ee213d70af09793f5008ff1 jdk-11.0.5+7
2c29e9b3a2856350d55a188635c36c5b23c1c9e3 jdk-11.0.5+8
ee7128cf507a670ae84841b202a7a06711608359 jdk-11.0.5+9
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5+10
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5-ga
6eb89e59a06a2f83f7fe0399da4bf4ca638d46f3 jdk-11.0.6+1
8d3e0c2c009815cae59ad3c9bf9e4b1f090efc8b jdk-11.0.6+2
f8b2e95a1d41585a757729ed28ce35d43aba1b3f jdk-11.0.6+3
577a1fc440666e3c0724e07f6a8d736b2c7905cf jdk-11.0.6+4
bfce7426e091127450a70b7d07941c0f9e02d347 jdk-11.0.6+5
aa260c24480a2bd7d21ad1c863e6fe9a3973011e jdk-11.0.6+6
42500af9232ed5b2990ff618a1e92ef6ccc0b9af jdk-11.0.6+7
0c54fb645a7388cb7e3d587b4df75a2edd7826e2 jdk-11.0.6+8
1859de77ee6cd7e10ac0b9e71027d9f974a6e481 jdk-11.0.6+9
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6+10
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6-ga
8cdfd6139b1efc9064b10f24a82848b1bb4a0550 jdk-11.0.7+1
15cc1c8a63718c394e9cd1f35d735bb74a850084 jdk-11.0.7+2
f2d8162261ae3c1e50eb0667b3c9669caa67c652 jdk-11.0.7+3
d3d1f7f67de13fd5c227424b9ddc514c0ca32aff jdk-11.0.7+4
f03574cfc0d728ca7b5146ca22c707717f9f899f jdk-11.0.7+5
17d2e0c27889a00a3df7de9bcea0e8caf0d1771a jdk-11.0.7+6
f56b853d452bd339e3f4360cf4be42cc90f9284c jdk-11.0.7+7
3c570d183ab2afc0b204a8e980be69e7fbe761ef jdk-11.0.7+8
7201cd0c64776aa574d252b03a4c92b25d0a7d7f jdk-11.0.7+9
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7+10
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7-ga
2eb415c82056bdc308d23ee6761f422de46dc5e5 jdk-11.0.8+1
88eaa453331e9aeca979d58509538ebb74831ce4 jdk-11.0.8+2
2c0c9cfe2a4e1340f7db106e2220dbd0d5b86092 jdk-11.0.8+3
aa6c93b4f1acf4166d74d0252b35c53ad71d8540 jdk-11.0.8+4
8df1a601187c0b4cb9e525075bd7b85ee3d72595 jdk-11.0.8+5
e42c6d1a1993c720a4643140190bb1ba6f1bbf9f jdk-11.0.8+6
46d4984bb3c6dd1b0f5135505b77921d23c69841 jdk-11.0.8+7
40b646e9d8fbb2d70992b61e4f4b08ca5652c907 jdk-11.0.8+8
59f8565ee5e224697a9e09ee2c557836733bc579 jdk-11.0.8+9
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8+10
0b0d55cb09b29360ab254edeef32a3b386e9713e jdk-11.0.8-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>

20
.idea/vcs.xml generated
View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IssueNavigationConfiguration">
<option name="links">
<list>
<IssueNavigationLink>
<option name="issueRegexp" value="[A-Z]+\-\d+" />
<option name="linkRegexp" value="http://youtrack.jetbrains.com/issue/$0" />
</IssueNavigationLink>
<IssueNavigationLink>
<option name="issueRegexp" value="(\d+)\:" />
<option name="linkRegexp" value="https://bugs.openjdk.java.net/browse/JDK-$1" />
</IssueNavigationLink>
</list>
</option>
</component>
<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,94 +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 |
|-------------|-------------|-------------|
|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-windows-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-windows-x64/_latestVersion)|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-osx-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-osx-x64/_latestVersion)|[ ![Download](https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk11-linux-x64/images/download.svg) ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-linux-x64/_latestVersion)|
# 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
[OpenJDK build docs](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html)
Tip for all platforms: run ./configure and check output.
Usually, it has meaningful advice how to solve your problem.
## 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 libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev
$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
$ make images
```
## Windows
Install:
* [Cygwin x64](http://www.cygwin.com/)
Required packages: autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip.
**Install them while installing cygwin**.
* Visual Studio compiler toolset [Download](https://visualstudio.microsoft.com/downloads/)
Visual Studio 2015 has support by default.
**Install with desktop development kit, it includes Windows SDK and compilers**.
* [Java 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
If you have problems while configuring [read java tips on cygwin](http://horstmann.com/articles/cygwin-tips.html)
From command line
```
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
```
First command will set env vars, the second will run cygwin shell with proper environment.
In cygwin shell
```
cd JetBrainsRuntime
bash configure --enable-option-checking=fatal --with-toolchain-version=2015 --with-boot-jdk="/cygdrive/c/Program Files/Java/jdk-11.0.5" --disable-warnings-as-errors
make images
```
## OSX
install Xcode console tools, autoconf (via homebrew)
run
```
sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors
make images
```
## 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

0
configure vendored Executable file → Normal file
View File

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>
@@ -277,7 +293,7 @@
</tr>
<tr class="even">
<td style="text-align: left;">Windows</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.9.16</td>
<td style="text-align: left;">Microsoft Visual Studio 2017 update 15.5.5</td>
</tr>
</tbody>
</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>
@@ -369,10 +384,10 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>On Linux you can also get a JDK from the Linux distribution. On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-&lt;VERSION&gt;-jdk</code> is typically enough to install a JDK &lt;VERSION&gt;. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-&lt;VERSION&gt;-openjdk-devel</code>.</p>
<h2 id="external-library-requirements">External Library Requirements</h2>
<p>Different platforms require different external libraries. In general, libraries are not optional - that is, they are either required or not used.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files and library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-&lt;LIB&gt;=&lt;path&gt;</code> or <code>--with-&lt;LIB&gt;-include=&lt;path to include&gt; --with-&lt;LIB&gt;-lib=&lt;path to lib&gt;</code>. The first variant is more concise, but require the include files an library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
<p>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
<h3 id="freetype">FreeType</h3>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDK's own copy.</p>
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDKs own copy.</p>
<ul>
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
@@ -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>
@@ -433,7 +448,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
<p>To build the JDK, you need a &quot;configuration&quot;, which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
<pre><code>bash configure [options]</code></pre>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem.</p>
<p>Some command line examples:</p>
<ul>
@@ -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
@@ -293,7 +326,7 @@ issues.
Linux gcc 7.3.0
macOS Apple Xcode 9.4 (using clang 9.1.0)
Solaris Oracle Solaris Studio 12.4 (with compiler version 5.13)
Windows Microsoft Visual Studio 2017 update 15.9.16
Windows Microsoft Visual Studio 2017 update 15.5.5
### gcc
@@ -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
@@ -436,8 +468,8 @@ If a required library is not detected by `configure`, you need to provide the
path to it. There are two forms of the `configure` arguments to point to an
external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise,
but require the include files and library files to reside in a default
hierarchy under this directory. In most cases, it works fine.
but require the include files an library files to reside in a default hierarchy
under this directory. In most cases, it works fine.
As a fallback, the second version allows you to point to the include directory
and the lib directory separately.
@@ -447,7 +479,7 @@ and the lib directory separately.
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
on any platform. The exception is on Unix-based platforms when configuring such
that the build artifacts will reference a system installed library,
rather than bundling the JDK's own copy.
rather than bundling the JDKs own copy.
* To install on an apt-based Linux, try running `sudo apt-get install
libfreetype6-dev`.
@@ -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.
@@ -586,8 +618,8 @@ bash configure [options]
This will create an output directory containing the configuration and setup an
area for the build result. This directory typically looks like
`build/linux-x64-server-release`, but the actual name depends on your specific
configuration. (It can also be set directly, see [Using Multiple
`build/linux-x64-normal-server-release`, but the actual name depends on your
specific configuration. (It can also be set directly, see [Using Multiple
Configurations](#using-multiple-configurations)). This directory is referred to
as `$BUILD` in this documentation.
@@ -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,54 +0,0 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>IDE support in the JDK</title>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">IDE support in the JDK</h1>
</header>
<nav id="TOC">
<ul>
<li><a href="#introduction">Introduction</a><ul>
<li><a href="#ide-support-for-native-code">IDE support for native code</a></li>
<li><a href="#ide-support-for-java-code">IDE support for Java code</a></li>
</ul></li>
</ul>
</nav>
<h2 id="introduction">Introduction</h2>
<p>When you are familiar with building and testing the JDK, you may want to configure an IDE to work with the source code. The instructions differ a bit depending on whether you are interested in working with the native (C/C++) or the Java code.</p>
<h3 id="ide-support-for-native-code">IDE support for native code</h3>
<p>There are a few ways to generate IDE configuration for the native sources, depending on which IDE to use.</p>
<h4 id="visual-studio-code">Visual Studio Code</h4>
<p>The make system can generate a <a href="https://code.visualstudio.com">Visual Studio Code</a> workspace that has C/C++ source indexing configured correctly, as well as launcher targets for tests and the Java launcher. After configuring, a workspace for the configuration can be generated using:</p>
<pre class="shell"><code>make vscode-project</code></pre>
<p>This creates a file called <code>jdk.code-workspace</code> in the build output folder. The full location will be printed after the workspace has been generated. To use it, choose <code>File -&gt; Open Workspace...</code> in Visual Studio Code.</p>
<h5 id="alternative-indexers">Alternative indexers</h5>
<p>The main <code>vscode-project</code> target configures the default C++ support in Visual Studio Code. There are also other source indexers that can be installed, that may provide additional features. It's currently possible to generate configuration for two such indexers, <a href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can be configured by appending the name of the indexer to the make target, such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
<h4 id="visual-studio">Visual Studio</h4>
<p>This section is a work in progress.</p>
<pre class="shell"><code>make ide-project</code></pre>
<h4 id="compilation-database">Compilation Database</h4>
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
<pre class="shell"><code>make compile-commands</code></pre>
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
<p>This section is a work in progress.</p>
</body>
</html>

View File

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

View File

@@ -1,63 +1,60 @@
<!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>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<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>
<![endif]-->
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
</head>
<body>
<header id="title-block-header">
<header>
<h1 class="title">Testing the JDK</h1>
</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>
</ul></li>
<li><a href="#notes-for-specific-tests">Notes for Specific Tests</a><ul>
<li><a href="#docker-tests">Docker Tests</a></li>
<li><a href="#client-ui-tests">Client UI Tests</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>
@@ -68,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>==============================
@@ -82,17 +89,17 @@ 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="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 dont want to care which test suite specific control variable to use, then you can use the general TEST_OPTS control variable.</p>
<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>
@@ -104,10 +111,15 @@ TEST FAILURE</code></pre>
<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>
<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>
@@ -151,21 +163,22 @@ TEST FAILURE</code></pre>
<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>
<h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
<h3 id="docker-tests">Docker Tests</h3>
<p>Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:</p>
<pre><code>$ make run-test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot;</code></pre>
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
<pre><code>$ make run-test TEST=&quot;jtreg:test/hotspot/jtreg/containers/docker&quot; JTREG=&quot;JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest&quot;</code></pre>
<h3 id="client-ui-tests">Client UI Tests</h3>
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
<h4 id="macos">MacOS</h4>
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect “Turn keyboard access on or off” option which is responsible for <code>CTRL + F1</code> combination.</p>
<h4 id="linux">Linux</h4>
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
<h4 id="windows">Windows</h4>
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; File Explorer; in the right-side pane look for “Turn off Windows key hotkeys” and double click on it; enable or disable hotkeys.</p>
<p>Note: restart is required to make the settings take effect.</p>
<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
@@ -191,14 +231,30 @@ Applies to JTReg, GTest and Micro.
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_FACTOR
The timeout factor (`-timeoutFactor`).
@@ -289,49 +345,34 @@ 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`).
## Notes for Specific Tests
### Microbenchmark keywords
### Docker Tests
#### FORK
Override the number of benchmark forks to spawn. Same as specifying `-f <num>`.
Docker tests with default parameters may fail on systems with glibc versions not
compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86).
For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:
#### ITER
Number of measurement iterations per fork. Same as specifying `-i <num>`.
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker"
#### TIME
Amount of time to spend in each measurement iteration, in seconds. Same as
specifying `-r <num>`
To run these tests correctly, additional parameters for the correct docker image are
required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
#### WARMUP_ITER
Number of warmup iterations to run before the measurement phase in each fork.
Same as specifying `-wi <num>`.
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
#### WARMUP_TIME
Amount of time to spend in each warmup iteration. Same as specifying `-w <num>`.
### Client UI Tests
#### 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`.
Some Client UI tests use key sequences which may be reserved by the operating
system. Usually that causes the test failure. So it is highly recommended to disable
system key shortcuts prior testing. The steps to access and disable system key shortcuts
for various platforms are provided below.
#### VM_OPTIONS
Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
#### MacOS
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
select or deselect desired shortcut.
For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails
on MacOS because it uses `CTRL + F1` key sequence to show or hide tooltip message
but the key combination is reserved by the operating system. To run the test correctly
the default global key shortcut should be disabled using the steps described above, and then deselect
"Turn keyboard access on or off" option which is responsible for `CTRL + F1` combination.
#### Linux
Open the Activities overview and start typing Settings; Choose Settings, click Devices,
then click Keyboard; set or override desired shortcut.
#### Windows
Type `gpedit` in the Search and then click Edit group policy; navigate to
User Configuration -> Administrative Templates -> Windows Components -> File Explorer;
in the right-side pane look for "Turn off Windows key hotkeys" and double click on it;
enable or disable hotkeys.
Note: restart is required to make the settings take effect.
#### OPTIONS
Additional arguments to send to JMH.
---
# Override some definitions in the global css file that are not optimal for

View File

@@ -1,13 +0,0 @@
# jetbrains/runtime:jbr11dev8env
FROM centos:7
RUN yum -y install centos-release-scl
RUN yum -y install devtoolset-8
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool 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 libXrandr-devel libXi-devel git
# Install Java 11
RUN wget https://bintray.com/jetbrains/intellij-jbr/download_file?file_path=jbrsdk-11_0_3-linux-x64-b360.2.tar.gz \
-O - | tar xz -C /
ENV JAVA_HOME /jbrsdk
ENV PATH $JAVA_HOME/bin:/opt/rh/devtoolset-8/root/usr/bin:$PATH
RUN mkdir .git
RUN git config user.email "builduser@jetbrains.com"
RUN git config user.name "builduser"

View File

@@ -1,7 +0,0 @@
FROM i386/ubuntu:xenial
RUN linux32 apt-get update && apt-get install -y --no-install-recommends apt-utils
COPY jbrsdk-11.0.5-b1 /jbrsdk-11.0.5-b1
RUN linux32 apt-get -y install file build-essential zip unzip curl libx11-dev libxext-dev \
libxrender-dev libxrandr-dev libxtst-dev libxt-dev libcups2-dev libasound2-data \
libpng12-0 libasound2 libfreetype6 libfontconfig1-dev libasound2-dev autoconf

View File

@@ -495,6 +495,7 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp
../../../src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
../../../src/hotspot/cpu/aarch64/vm_version_aarch64.hpp
../../../src/hotspot/cpu/aarch64/cpustate_aarch64.hpp
../../../src/hotspot/cpu/aarch64/immediate_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vmreg_aarch64.cpp
../../../src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp
@@ -519,6 +520,7 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/c1_FrameMap_aarch64.hpp
../../../src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp
../../../src/hotspot/cpu/aarch64/decode_aarch64.hpp
../../../src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp
../../../src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp
../../../src/hotspot/cpu/aarch64/codeBuffer_aarch64.hpp
@@ -527,6 +529,7 @@ set(SOURCE_FILES
../../../src/hotspot/cpu/aarch64/assembler_aarch64.cpp
../../../src/hotspot/cpu/aarch64/register_aarch64.cpp
../../../src/hotspot/cpu/aarch64/vm_version_ext_aarch64.cpp
../../../src/hotspot/cpu/aarch64/aarch64_call.cpp
../../../src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
../../../src/hotspot/cpu/aarch64/bytecodes_aarch64.hpp
../../../src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.hpp
@@ -1172,11 +1175,13 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.cpp
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointBlob.hpp
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp
@@ -1249,6 +1254,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleDescription.hpp
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.hpp
../../../src/hotspot/share/jfr/leakprofiler/leakProfiler.hpp
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp
../../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp
@@ -1264,6 +1270,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/jfr/leakprofiler/utilities/rootType.hpp
../../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOop.hpp
../../../src/hotspot/share/jfr/leakprofiler/startOperation.hpp
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp
../../../src/hotspot/share/jfr/leakprofiler/chains/edge.hpp
@@ -1474,6 +1481,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/basicLock.hpp
../../../src/hotspot/share/runtime/compilationPolicy.cpp
../../../src/hotspot/share/runtime/java.hpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.cpp
../../../src/hotspot/share/runtime/objectMonitor.inline.hpp
../../../src/hotspot/share/runtime/mutexLocker.cpp
../../../src/hotspot/share/runtime/serviceThread.cpp
@@ -1516,6 +1524,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/compilationPolicy.hpp
../../../src/hotspot/share/runtime/basicLock.cpp
../../../src/hotspot/share/runtime/java.cpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.hpp
../../../src/hotspot/share/runtime/perfData.inline.hpp
../../../src/hotspot/share/runtime/statSampler.hpp
../../../src/hotspot/share/runtime/vm_operations.cpp
@@ -1548,6 +1557,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/runtime/handshake.hpp
../../../src/hotspot/share/runtime/thread.inline.hpp
../../../src/hotspot/share/runtime/perfMemory.hpp
../../../src/hotspot/share/runtime/simpleThresholdPolicy.inline.hpp
../../../src/hotspot/share/runtime/javaCalls.cpp
../../../src/hotspot/share/runtime/reflection.cpp
../../../src/hotspot/share/runtime/icache.cpp

View File

@@ -2,7 +2,6 @@
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D_REENTRANT -DVM_LITTLE_ENDIAN -D_LP64 -DTARGET_ARCH_x86 ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DINCLUDE_SUFFIX_CPU=_x86 -DAMD64 -DHOTSPOT_LIB_ARCH='amd64' -DCOMPILER1 -DCOMPILER2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DFT2_BUILD_LIBRARY")
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_gcc")
@@ -17,55 +16,15 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_ALLBSD_SOURCE -DTARGET_OS_FAMILY_bsd")
endif ()
if ("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN") #not sure about TARGET_COMPILER
if ("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN") #not shure about TARGET_COMPILER
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_visCPP -DWIN64 -D_WINDOWS -DTARGET_OS_FAMILY_windows")
endif ()
add_custom_target(configure
COMMAND bash configure --disable-warnings-as-errors
COMMAND bash configure
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../)
add_custom_target(configure_debug
COMMAND bash configure --disable-warnings-as-errors --enable-debug
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(JDK_RELEASE_TARGET "linux-x86_64-normal-server-release")
set(JDK_DEBUG_TARGET "linux-x86_64-normal-server-fastdebug")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(JDK_RELEASE_TARGET "macosx-x86_64-normal-server-release")
set(JDK_DEBUG_TARGET "macosx-x86_64-normal-server-fastdebug")
add_compile_definitions(MACOSX)
endif ()
add_custom_target(build
COMMAND make CONF=${JDK_RELEASE_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_images
COMMAND make images CONF=${JDK_RELEASE_TARGET}
COMMAND make COMPILER_WARNINGS_FATAL=false images
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_debug
COMMAND make CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(build_images_debug
COMMAND make images CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(make_clean
COMMAND make clean CONF=${JDK_RELEASE_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
add_custom_target(make_clean_debug
COMMAND make clean CONF=${JDK_DEBUG_TARGET}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})
DEPENDS ${SOURCE_FILES})

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.4.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

@@ -1,2 +0,0 @@
.idea
cmake-build-*

View File

@@ -6,65 +6,87 @@ include(../java-common.cmake)
include_directories(
../../../src/java.base/share/native/include
../../../src/java.base/share/native/libjava
../../../src/java.base/share/native/libzip/zlib
../../../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/java2d/x11
../../../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()
@@ -73,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")
@@ -85,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()
@@ -194,19 +222,16 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttypes.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftparams.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmm.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftstdlib.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftheader.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftconfig.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftoption.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftmodule.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftcolor.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmodapi.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttrigon.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbbox.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftgzip.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftdriver.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/sfnt.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/internal.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftdrv.h
@@ -221,13 +246,13 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/tttypes.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftvalid.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftobjs.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpic.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fttrace.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftmemory.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fthash.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftgloadr.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpsprop.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftserv.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svprop.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svmm.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svcfftl.h
@@ -277,8 +302,6 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbdf.h
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftrender.h
../../../src/java.desktop/share/native/libfreetype/include/ft2build.h
../../../src/java.desktop/share/native/libfreetype/src
../../../src/java.desktop/share/native/libfreetype/src/type1
../../../src/java.desktop/share/native/libfreetype/src/type1/t1objs.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1load.h
../../../src/java.desktop/share/native/libfreetype/src/type1/t1afm.h
@@ -293,42 +316,40 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/type1/t1driver.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1parse.c
../../../src/java.desktop/share/native/libfreetype/src/type1/t1gload.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmapc.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.c
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sferrors.h
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.h
../../../src/java.desktop/share/native/libfreetype/src/smooth
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.c
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmerrs.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.h
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.c
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.c
../../../src/java.desktop/share/native/libfreetype/src/cff
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.c
@@ -336,10 +357,10 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.h
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c
../../../src/java.desktop/share/native/libfreetype/src/cff/cfferrs.h
../../../src/java.desktop/share/native/libfreetype/src/psaux
../../../src/java.desktop/share/native/libfreetype/src/psaux/psarrst.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/psstack.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.h
@@ -376,7 +397,6 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c
../../../src/java.desktop/share/native/libfreetype/src/psaux/psauxmod.h
../../../src/java.desktop/share/native/libfreetype/src/psaux/psread.h
../../../src/java.desktop/share/native/libfreetype/src/cid
../../../src/java.desktop/share/native/libfreetype/src/cid/cidtoken.h
../../../src/java.desktop/share/native/libfreetype/src/cid/cidriver.c
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.c
@@ -389,12 +409,11 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.h
../../../src/java.desktop/share/native/libfreetype/src/cid/cidobjs.c
../../../src/java.desktop/share/native/libfreetype/src/cid/cidload.h
../../../src/java.desktop/share/native/libfreetype/src/autofit
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.cin
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcover.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwrtsys.h
@@ -407,10 +426,10 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afstyles.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.dat
../../../src/java.desktop/share/native/libfreetype/src/autofit/aferrors.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.c
@@ -420,58 +439,64 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/autofit/aftypes.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.hin
../../../src/java.desktop/share/native/libfreetype/src/autofit/afloader.c
../../../src/java.desktop/share/native/libfreetype/src/autofit/aflatin.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afangles.h
../../../src/java.desktop/share/native/libfreetype/src/autofit/afhints.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshnterr.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.c
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.h
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.c
../../../src/java.desktop/share/native/libfreetype/src/truetype
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/tterrors.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.c
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.h
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c
../../../src/java.desktop/share/native/libfreetype/src/raster
../../../src/java.desktop/share/native/libfreetype/src/raster/ftmisc.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rasterrs.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.c
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.h
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.h
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.h
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.c
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.c
../../../src/java.desktop/share/native/libfreetype/src/psnames
../../../src/java.desktop/share/native/libfreetype/src/psnames/psnamerr.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.c
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/pstables.h
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.h
../../../src/java.desktop/share/native/libfreetype/src/base
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftobjs.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftfntfmt.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftinit.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftapi.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftdbgmem.c
../../../src/java.desktop/share/native/libfreetype/src/base/fthash.c
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftpic.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftbitmap.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftpsprop.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftcid.c
../../../src/java.desktop/share/native/libfreetype/src/base/md5.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftglyph.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftgloadr.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftsystem.c
@@ -485,9 +510,11 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libfreetype/src/base/ftsnames.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftdebug.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftmm.c
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftbase.h
../../../src/java.desktop/share/native/libfreetype/src/base/ftfstype.c
../../../src/java.desktop/share/native/libfreetype/src/base/fttrigon.c
../../../src/java.desktop/share/native/libfreetype/src/base/md5.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftbbox.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftstroke.c
../../../src/java.desktop/share/native/libfreetype/src/base/ftgasp.c
@@ -745,217 +772,39 @@ set(SOURCE_FILES
../../../src/java.desktop/share/native/libjavajpeg/jidctred.c
../../../src/java.desktop/share/native/libjavajpeg/jpegint.h
../../../src/java.desktop/share/native/libjavajpeg/jdpostct.c
../../../src/java.desktop/share/native/libfontmanager
../../../src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
../../../src/java.desktop/share/native/libfontmanager/HBShaper.c
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.c
../../../src/java.desktop/share/native/libfontmanager/harfbuzz
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-fdsc-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-type.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-base-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-head-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-win1256.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-list.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-macroman.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-deprecated.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-version.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-stat-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-ltag-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-cs-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-kern.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-default.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-just-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-colr-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-deprecated.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-kerx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-vorg-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-kern-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-serialize.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gpos-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-avar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-fallback-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-string-array.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-lcar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-hvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsubgpos.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-atomic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-static.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.c
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn_db.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-morx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff2-interp-cs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-thai.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hhea-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-mvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-unicode-ranges.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-warning.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hdmx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gdef-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-glyf-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-sbix-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode-emoji-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-feat-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-object.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-gasp-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-json.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-vector.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar-machine.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-fallback.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-debug.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-iter.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-trak-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff1-interp-cs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hmtx-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-ankr-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-dict-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-common.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cbdt-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cpal-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-utf.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hebrew.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-fvar-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-jstf-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-mutex.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsub-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cmap-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-bsln-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-maxp-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-text.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-array.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hangul.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-null.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set-digest.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-file.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-machinery.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-svg-table.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-dsalgs.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-table.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.hh
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.cc
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-impl.hh
../../../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/hb-jdk-font.cc
../../../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
@@ -1022,21 +871,14 @@ 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
../../../src/java.base/share/native/include/jvmticmlr.h
../../../src/java.base/share/native/libzip/zlib/zutil.c
../../../src/java.base/share/native/libzip/zlib/inflate.c)
../../../src/java.base/share/native/include/jvmticmlr.h)
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
@@ -1047,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
@@ -1108,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
@@ -1157,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
@@ -1330,7 +1204,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../src/java.desktop/unix/native/libawt/awt/awt_Mlib.c
../../../src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c
../../../src/java.desktop/unix/native/libawt/awt/initIDs.c
../../../src/java.desktop/unix/native/libawt_xawt/awt
../../../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/list.c
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_DrawingSurface.c
@@ -1361,7 +1236,14 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
../../../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
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRBackendNative.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Desktop.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.h
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.h
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XWindow.c
../../../src/java.desktop/unix/native/libfontmanager/X11FontScaler.c
../../../src/java.desktop/unix/native/libfontmanager/X11TextRenderer.c
../../../src/java.desktop/unix/native/libsplashscreen/splashscreen_config.h
@@ -1385,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
@@ -1592,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

View File

@@ -1,3 +0,0 @@
VENDOR_NAME="JetBrains s.r.o."
VENDOR_VERSION_STRING="JBR-${JBSDK_VERSION_WITH_DOTS}.${JDK_BUILD_NUMBER}-${build_number}"
[ -z ${bundle_type} ] || VENDOR_VERSION_STRING="${VENDOR_VERSION_STRING}-${bundle_type}"

View File

@@ -1,10 +0,0 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/linux/scripts
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "dcevm" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -1,86 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
sh configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=./modular-sdk \
--with-boot-jdk=amazon-corretto-11.0.5.10.1-linux-aarch64 \
--enable-cds=yes || exit $?
make clean CONF=linux-aarch64-normal-server-release || exit $?
make images CONF=linux-aarch64-normal-server-release test-image || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-aarch64-b${build_number}
BASE_DIR=build/linux-aarch64-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar \
--exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
-C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-aarch64-b$build_number
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.aarch64
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.aarch64 | sed s/" "//g | sed s/,$//g) \
--output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -pcf $JBR.tar -C $BASE_DIR ${JBR_BUNDLE} || exit $?
gzip $JBR.tar || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-aarch64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?

View File

@@ -1,147 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_linux_x64
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=./modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx" | "jcef" | "dcevm" | "nomod")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
"jfx_jcef")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
JBR=$JBR_BASE_NAME-linux-x64-b$build_number
echo Running jlink....
$JSDK/bin/jlink \
--module-path $JSDK/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output $BASE_DIR/$JBR_BUNDLE
if [[ "$bundle_type" == *jcef* ]] || [[ "$bundle_type" == *dcevm* ]]; then
cp -R $BASE_DIR/$JBR_BUNDLE $BASE_DIR/jbr
cp -R ${JCEF_PATH}/* $BASE_DIR/$JBR_BUNDLE/lib || exit $?
fi
grep -v "^JAVA_VERSION" $JSDK/release | grep -v "^MODULES" >> $BASE_DIR/$JBR_BUNDLE/release
echo Creating $JBR.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
tar -pcf $JBR.tar -C $BASE_DIR jbr || exit $?
gzip $JBR.tar || exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=linux-x86_64-normal-server-release
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
;;
"jcef")
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
;;
"dcevm")
git am jb/project/tools/patches/dcevm/*.patch
;;
"nomod")
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
WITH_IMPORT_MODULES=""
;;
esac
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--enable-cds=yes || exit $?
make images CONF=$RELEASE_NAME || exit $?
JSDK=build/$RELEASE_NAME/images/jdk
JBSDK=$JBRSDK_BASE_NAME-linux-x64-b$build_number
echo Fixing permissions
chmod -R a+r $JSDK
BASE_DIR=build/$RELEASE_NAME/images
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
if [[ "$bundle_type" == *jcef* ]] || [[ "$bundle_type" == *dcevm* ]]; then
cp -R ${JCEF_PATH}/* $BASE_DIR/$JBRSDK_BUNDLE/lib || exit $?
fi
if [ "$bundle_type" == "jfx_jcef" ]; then
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
-C $BASE_DIR $JBRSDK_BUNDLE || exit $?
gzip $JBSDK.tar || exit $?
fi
JBR_BUNDLE=jbr_${bundle_type}
create_jbr ${bundle_type}
if [ "$bundle_type" == "jfx_jcef" ]; then
make test-image || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x64-b$build_number
echo Creating $JBSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?
fi

View File

@@ -1,90 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_linux_x64
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=./modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_linux_x64}
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-import-modules=./modular-sdk \
--enable-cds=yes || exit $?
make clean CONF=linux-x86_64-normal-server-fastdebug || exit $?
make images CONF=linux-x86_64-normal-server-fastdebug || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-x64-fastdebug-b${build_number}
BASE_DIR=build/linux-x86_64-normal-server-fastdebug/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
cp -R jcef_linux_x64/* $BASE_DIR/$JBRSDK_BUNDLE/lib || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar \
--exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
-C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-x64-fastdebug-b$build_number
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list | sed s/" "//g | sed s/,$//g) \
--output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
cp -R jcef_linux_x64/* $BASE_DIR/$JBR_BUNDLE/lib || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -czf $JBR.tar -C $BASE_DIR ${JBR_BUNDLE} || exit $?
gzip $JBR.tar || exit $?

View File

@@ -1,82 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
linux32 bash configure \
--disable-warnings-as-errors \
--with-debug-level=release \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=$JDK_BUILD_NUMBER \
--with-version-opt=b${build_number} \
--with-boot-jdk=/jbrsdk-11.0.5-b1 \
--enable-cds=yes || exit $?
make clean CONF=linux-x86-normal-server-release || exit $?
make images CONF=linux-x86-normal-server-release test-image || exit $?
JBSDK=${JBRSDK_BASE_NAME}-linux-x86-b${build_number}
BASE_DIR=build/linux-x86-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
echo Fixing permissions
chmod -R a+r $JSDK
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/release
tar -pcf $JBSDK.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man -C $BASE_DIR ${JBRSDK_BUNDLE} || exit $?
gzip $JBSDK.tar || exit $?
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf $BASE_DIR/$JBR_BUNDLE
JBR=$JBR_BASE_NAME-linux-x86-b$build_number
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
echo Running jlink....
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g | sed s/,$//g) --output ${BASE_DIR}/${JBR_BUNDLE} || exit $?
echo Modifying release info ...
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${BASE_DIR}/${JBR_BUNDLE}/release
echo Creating $JBR.tar.gz ...
tar -pcf $JBR.tar -C $BASE_DIR $JBR_BUNDLE || exit $?
gzip $JBR.tar || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x86-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' --exclude='test/hotspot/gtest' test || exit $?
gzip $JBRSDK_TEST.tar || exit $?

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>

View File

@@ -1,10 +0,0 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/mac/scripts
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "dcevm" || exit $?
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -1,153 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_mac
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=./modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx" | "jcef" | "dcevm" | "nomod")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
"jfx_jcef")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
JRE_CONTENTS=${BASE_DIR}/${JBR_BUNDLE}/Contents
JRE_HOME=${JRE_CONTENTS}/Home
if [ -d "${JRE_CONTENTS}" ]; then
rm -rf ${JRE_CONTENTS}
fi
mkdir -p ${JRE_CONTENTS}
JBR=${JBR_BASE_NAME}-osx-x64-b${build_number}
${BASE_DIR}/$JBRSDK_BUNDLE/Contents/Home/bin/jlink \
--module-path ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JRE_HOME} || exit $?
grep -v "^JAVA_VERSION" ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release | grep -v "^MODULES" >> ${JRE_HOME}/release
cp -R ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/MacOS ${JRE_CONTENTS}
cp ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Info.plist ${JRE_CONTENTS}
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]]; then
rm -rf ${JRE_CONTENTS}/Frameworks || exit $?
cp -a ${JCEF_PATH}/Frameworks ${JRE_CONTENTS} || exit $?
fi
echo Creating ${JBR}.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
COPYFILE_DISABLE=1 tar -pczf ${JBR}.tar.gz --exclude='*.dSYM' --exclude='man' -C ${BASE_DIR} jbr || exit $?
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=macosx-x86_64-normal-server-release
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
;;
"jcef")
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
;;
"dcevm")
git am jb/project/tools/patches/dcevm/*.patch
;;
"nomod")
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
WITH_IMPORT_MODULES=""
;;
esac
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
--enable-cds=yes || exit $?
make clean images CONF=$RELEASE_NAME || exit $?
JSDK=build/$RELEASE_NAME/images/jdk-bundle
JBSDK=${JBRSDK_BASE_NAME}-osx-x64-b${build_number}
BASE_DIR=jre
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR
mkdir $BASE_DIR || exit $?
cp -a $JSDK/jdk-$JBSDK_VERSION_WITH_DOTS.jdk $BASE_DIR/$JBRSDK_BUNDLE || exit $?
if [[ "$bundle_type" == *jcef* ]] || [[ "$bundle_type" == *dcevm* ]]; then
cp -a ${JCEF_PATH}/Frameworks $BASE_DIR/$JBRSDK_BUNDLE/Contents/
fi
if [ "$bundle_type" == "jfx_jcef" ]; then
echo Creating $JBSDK.tar.gz ...
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release
COPYFILE_DISABLE=1 tar -pczf $JBSDK.tar.gz -C $BASE_DIR \
--exclude='._*' --exclude='.DS_Store' --exclude='*~' \
--exclude='Home/demo' --exclude='Home/man' --exclude='Home/sample' \
$JBRSDK_BUNDLE || exit $?
fi
JBR_BUNDLE=jbr_${bundle_type}
create_jbr "${bundle_type}" || exit $?
if [ "$bundle_type" == "jfx_jcef" ]; then
make test-image || exit $?
JBRSDK_TEST=$JBRSDK_BASE_NAME-osx-test-x64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
COPYFILE_DISABLE=1 tar -pczf $JBRSDK_TEST.tar.gz -C build/macosx-x86_64-normal-server-release/images \
--exclude='test/jdk/demos' test || exit $?
fi

View File

@@ -1,99 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_mac
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=./modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_mac}
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
sh configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
--enable-cds=yes || exit $?
make clean CONF=macosx-x86_64-normal-server-fastdebug || exit $?
make images CONF=macosx-x86_64-normal-server-fastdebug || exit $?
JSDK=build/macosx-x86_64-normal-server-fastdebug/images/jdk-bundle
JBSDK=${JBRSDK_BASE_NAME}-osx-x64-fastdebug-b${build_number}
BASE_DIR=jre
JBRSDK_BUNDLE=jbrsdk
rm -rf $BASE_DIR
mkdir $BASE_DIR || exit $?
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
cp -a $JSDK/jdk-$JBSDK_VERSION_WITH_DOTS.jdk $BASE_DIR/$JBRSDK_BUNDLE || exit $?
echo Creating $JBSDK.tar.gz ...
cp -a ${JCEF_PATH}/Frameworks $BASE_DIR/$JBRSDK_BUNDLE/Contents/
sed 's/JBR/JBRSDK/g' ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release > release
mv release ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release
COPYFILE_DISABLE=1 \
tar -pczf ${JBSDK}.tar.gz -C ${BASE_DIR} \
--exclude='._*' --exclude='.DS_Store' --exclude='*~' \
--exclude='Home/demo' --exclude='Home/man' --exclude='Home/sample' \
${JBRSDK_BUNDLE} || exit $?
JBR_BUNDLE=jbr
JRE_CONTENTS=$BASE_DIR/$JBR_BUNDLE/Contents
JRE_HOME=$JRE_CONTENTS/Home
JBR_BASE_NAME=jbr-$JBSDK_VERSION
mkdir -p $JRE_CONTENTS
if [ -d "$JRE_HOME" ]; then
rm -rf $JRE_HOME
fi
JBR=${JBR_BASE_NAME}-osx-x64-fastdebug-b${build_number}
$BASE_DIR/$JBRSDK_BUNDLE/Contents/Home/bin/jlink \
--module-path $BASE_DIR/$JBRSDK_BUNDLE/Contents/Home/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list | sed s/" "//g) --output $JRE_HOME || exit $?
grep -v "^JAVA_VERSION" $BASE_DIR/$JBRSDK_BUNDLE/Contents/Home/release | grep -v "^MODULES" >> $JRE_HOME/release
cp -R $BASE_DIR/$JBRSDK_BUNDLE/Contents/MacOS $JRE_CONTENTS
cp $BASE_DIR/$JBRSDK_BUNDLE/Contents/Info.plist $JRE_CONTENTS
cp -a ${JCEF_PATH}/Frameworks ${JRE_CONTENTS} || exit $?
echo Creating $JBR.tar.gz ...
COPYFILE_DISABLE=1 tar -pczf $JBR.tar.gz --exclude='*.dSYM' --exclude='man' -C $BASE_DIR $JBR_BUNDLE || exit $?

View File

@@ -1,120 +0,0 @@
#!/bin/bash
APP_DIRECTORY=$1
APPL_USER=$2
APPL_PASSWORD=$3
APP_NAME=$4
BUNDLE_ID=$5
FAKE_ROOT="${6:-fake-root}"
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
echo "Usage: $0 AppDirectory Username Password"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
function publish-log() {
id=$1
file=$2
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
}
function altool-upload() {
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
OLD_HOME="$HOME"
export HOME="$FAKE_ROOT/home"
export TMPDIR="$FAKE_ROOT/tmp"
mkdir -p "$HOME"
mkdir -p "$TMPDIR"
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
# Reduce amount of downloads, cache transporter libraries
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
if [[ -f "$shared_itmstransporter" ]]; then
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
fi
# For some reason altool prints everything to stderr, not stdout
set +e
xcrun altool --notarize-app \
--username "$APPL_USER" --password "$APPL_PASSWORD" \
--primary-bundle-id "$BUNDLE_ID" \
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
unset TMPDIR
export HOME="$OLD_HOME"
set -e
}
#immediately exit script with an error if a command fails
set -euo pipefail
file="$APP_NAME.zip"
log "Zipping $file..."
rm -rf "$file"
ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY/Contents" "$file"
log "Notarizing $file..."
rm -rf "altool.init.out" "altool.check.out"
altool-upload "$file"
rm -rf "$file"
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
if [ -z "$notarization_info" ]; then
log "Faile to read RequestUUID from altool.init.out"
exit 10
fi
PATH="$PATH:/usr/local/bin/"
log "Notarization request sent, awaiting response"
spent=0
while true; do
# For some reason altool prints everything to stderr, not stdout
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
log "Current status: $status"
if [ "$status" = "invalid" ]; then
log "Notarization failed"
ec=1
elif [ "$status" = "success" ]; then
log "Notarization succeeded"
ec=0
else
if [ "$status" != "in progress" ]; then
log "Unknown notarization status, waiting more, altool output:"
cat "altool.check.out"
fi
if [[ $spent -gt 60 ]]; then
log "Waiting time out (apx 60 minutes)"
ec=2
break
fi
sleep 60
((spent += 1))
continue
fi
developer_log="developer_log.json"
log "Fetching $developer_log"
# TODO: Replace cut with trim or something better
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
wget "$url" -O "$developer_log" && cat "$developer_log" || true
if [ $ec != 0 ]; then
log "Publishing $developer_log"
publish-log "$notarization_info" "$developer_log"
fi
break
done
cat "altool.check.out"
rm -rf "altool.init.out" "altool.check.out"
exit $ec

View File

@@ -1,94 +0,0 @@
#!/bin/bash
APP_DIRECTORY=$1
JB_CERT=$2
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$JB_CERT" ]]; then
echo "Usage: $0 AppDirectory CertificateID"
exit 1
fi
if [[ ! -d "$APP_DIRECTORY" ]]; then
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
exit 1
fi
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
#immediately exit script with an error if a command fails
set -euo pipefail
# Cleanup files left from previous sign attempt (if any)
find "$APP_DIRECTORY" -name '*.cstemp' -exec rm '{}' \;
log "Signing libraries and executables..."
# -perm +111 searches for executables
for f in \
"Contents/Home/bin" \
"Contents/Home/lib" \
"Contents/Frameworks"; do
if [ -d "$APP_DIRECTORY/$f" ]; then
find "$APP_DIRECTORY/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
-exec codesign --timestamp \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
fi
done
log "Signing libraries in jars in $PWD"
# todo: add set -euo pipefail; into the inner sh -c
# `-e` prevents `grep -q && printf` loginc
# with `-o pipefail` there's no input for 'while' loop
find "$APP_DIRECTORY" -name '*.jar' \
-exec sh -c "set -u; unzip -l \"\$0\" | grep -q -e '\.dylib\$' -e '\.jnilib\$' -e '\.so\$' -e '^jattach\$' && printf \"\$0\0\" " {} \; |
while IFS= read -r -d $'\0' file; do
log "Processing libraries in $file"
rm -rf jarfolder jar.jar
mkdir jarfolder
filename="${file##*/}"
log "Filename: $filename"
cp "$file" jarfolder && (cd jarfolder && jar xf "$filename" && rm "$filename")
find jarfolder \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "jattach" \) \
-exec codesign --timestamp \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
(cd jarfolder; zip -q -r -o ../jar.jar .)
mv jar.jar "$file"
done
rm -rf jarfolder jar.jar
log "Signing other files..."
for f in \
"Contents/MacOS"; do
if [ -d "$APP_DIRECTORY/$f" ]; then
find "$APP_DIRECTORY/$f" \
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
-exec codesign --timestamp \
-v -s "$JB_CERT" --options=runtime \
--entitlements entitlements.xml {} \;
fi
done
#log "Signing executable..."
#codesign --timestamp \
# -v -s "$JB_CERT" --options=runtime \
# --force \
# --entitlements entitlements.xml "$APP_DIRECTORY/Contents/MacOS/idea"
log "Signing whole app..."
codesign --timestamp \
-v -s "$JB_CERT" --options=runtime \
--force \
--entitlements entitlements.xml "$APP_DIRECTORY"
log "Verifying java is not broken"
find "$APP_DIRECTORY" \
-type f -name 'java' -perm +111 -exec {} -version \;

View File

@@ -1,132 +0,0 @@
#!/bin/bash
#immediately exit script with an error if a command fails
set -euo pipefail
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
export COPYFILE_DISABLE=true
INPUT_FILE=$1
EXPLODED=$2.exploded
BACKUP_JMODS=$2.backup
USERNAME=$3
PASSWORD=$4
CODESIGN_STRING=$5
NOTARIZE=$6
BUNDLE_ID=$7
cd "$(dirname "$0")"
function log() {
echo "$(date '+[%H:%M:%S]') $*"
}
log "Deleting $EXPLODED ..."
if test -d "$EXPLODED"; then
find "$EXPLODED" -mindepth 1 -maxdepth 1 -exec chmod -R u+wx '{}' \;
fi
rm -rf "$EXPLODED"
mkdir "$EXPLODED"
rm -rf "$BACKUP_JMODS"
mkdir "$BACKUP_JMODS"
log "Unzipping $INPUT_FILE to $EXPLODED ..."
tar -xzvf "$INPUT_FILE" --directory $EXPLODED
rm "$INPUT_FILE"
BUILD_NAME="$(ls "$EXPLODED")"
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
fi
log "$INPUT_FILE extracted and removed"
APPLICATION_PATH="$EXPLODED/$BUILD_NAME"
find "$APPLICATION_PATH/Contents/Home/bin" \
-maxdepth 1 -type f -name '*.jnilib' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Linking $file"
b="$(basename "$file" .jnilib)"
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
fi
done
find "$APPLICATION_PATH/Contents/" \
-maxdepth 1 -type f -name '*.txt' -print0 |
while IFS= read -r -d $'\0' file; do
if [ -f "$file" ]; then
log "Moving $file"
mv "$file" "$APPLICATION_PATH/Contents/Resources"
fi
done
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
if [[ $non_plist -gt 0 ]]; then
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
exit 1
fi
log "Unlocking keychain..."
# Make sure *.p12 is imported into local KeyChain
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
attempt=1
limit=3
set +e
while [[ $attempt -le $limit ]]; do
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
./sign.sh "$APPLICATION_PATH" "$CODESIGN_STRING"
ec=$?
if [[ $ec -ne 0 ]]; then
((attempt += 1))
if [ $attempt -eq $limit ]; then
set -e
fi
log "Signing failed, wait for 30 sec and try to sign again"
sleep 30
else
log "Signing done"
codesign -v "$APPLICATION_PATH" -vvvvv
log "Check sign done"
((attempt += limit))
fi
done
set -e
if [ "$NOTARIZE" = "yes" ]; then
log "Notarizing..."
# shellcheck disable=SC1090
source "$HOME/.notarize_token"
APP_NAME=$(echo ${INPUT_FILE} | awk -F"." '{ print $1 }')
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
FAKE_ROOT="$(pwd)/fake-root"
mkdir -p "$FAKE_ROOT"
echo "Notarization will use fake root: $FAKE_ROOT"
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME" "$BUNDLE_ID" "$FAKE_ROOT"
rm -rf "$FAKE_ROOT"
set +e
log "Stapling..."
xcrun stapler staple "$APPLICATION_PATH"
else
log "Notarization disabled"
log "Stapling disabled"
fi
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
(
#cd "$EXPLODED"
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
if test -d $BACKUP_JMODS/jmods; then
mv $BACKUP_JMODS/jmods $EXPLODED/$BUILD_NAME/Contents/Home
fi
COPYFILE_DISABLE=1 tar -pczf $INPUT_FILE --exclude='*.dSYM' --exclude='man' -C $EXPLODED $BUILD_NAME
log "Finished zipping"
)
rm -rf "$EXPLODED"
log "Done"

View File

@@ -1,26 +0,0 @@
From a4b2a34a6c9d477ce339bece718abe992cdd5002 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 14 Nov 2018 21:18:22 +0100
Subject: [PATCH 02/50] We need to set classRedefinitionCount on new class, not
old class.
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 83c0952de37..83cf0be090b 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1904,7 +1904,7 @@ void VM_EnhancedRedefineClasses::increment_class_counter(InstanceKlass *ik, TRAP
oop class_mirror = ik->java_mirror();
Klass* class_oop = java_lang_Class::as_Klass(class_mirror);
int new_count = java_lang_Class::classRedefinedCount(class_mirror) + 1;
- java_lang_Class::set_classRedefinedCount(class_mirror, new_count);
+ java_lang_Class::set_classRedefinedCount(ik->new_version()->java_mirror(), new_count);
if (class_oop != _the_class_oop) {
// _the_class_oop count is printed at end of redefine_single_class()
--
2.24.3 (Apple Git-128)

View File

@@ -1,30 +0,0 @@
From e5c0b2d69ab024ec0469f5c105f13f889b598815 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 14 Nov 2018 21:22:01 +0100
Subject: [PATCH 03/50] Fix crashes in MetadataOnStackMark::~MetadataOnSta
MetadataOnStackMark shoukld not remove dcevm stuff. It was added
accidentaly in dcevm9,
and never was part of doit() in previous versions.
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 83cf0be090b..61af07d0f86 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -470,7 +470,9 @@ void VM_EnhancedRedefineClasses::doit() {
// Mark methods seen on stack and everywhere else so old methods are not
// cleaned up if they're on the stack.
- MetadataOnStackMark md_on_stack(true);
+
+ // FIXME: fails in enhanced redefinition
+ // MetadataOnStackMark md_on_stack(true);
HandleMark hm(thread); // make sure any handles created are deleted
// before the stack walk again.
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From 360fbbd15357fb3cb19abc6ffb40320efadce616 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Mon, 3 Dec 2018 19:34:53 +0100
Subject: [PATCH 04/50] Fix problem with nested members
Reported at : https://stackoverflow.com/questions/53370380/hotswapagent-incompatibleclasschangeerror-type-headerpanel1-is-not-a-nest-mem
---
src/hotspot/share/oops/instanceKlass.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 8a262bc3735..9b6ba7e9304 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -178,6 +178,7 @@ bool InstanceKlass::has_nest_member(InstanceKlass* k, TRAPS) const {
}
Klass* k2 = _constants->klass_at(cp_index, CHECK_false);
+ k2 = k2->newest_version();
if (k2 == k) {
log_trace(class, nestmates)("- class is listed as a nest member");
return true;
--
2.24.3 (Apple Git-128)

View File

@@ -1,26 +0,0 @@
From 4e2aef4c3b201e9639acdd39aa9e7ecdc9fb6a86 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Mon, 10 Dec 2018 20:12:07 +0100
Subject: [PATCH 05/50] Use init_mark_raw()
method changed since j8 - it used init_mark()
---
src/hotspot/share/gc/shared/space.inline.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/gc/shared/space.inline.hpp b/src/hotspot/share/gc/shared/space.inline.hpp
index 4394eff00c5..75d7e685edf 100644
--- a/src/hotspot/share/gc/shared/space.inline.hpp
+++ b/src/hotspot/share/gc/shared/space.inline.hpp
@@ -371,7 +371,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
} else {
MarkSweep::update_fields(oop(cur_obj), oop(compaction_top));
}
- oop(compaction_top)->init_mark();
+ oop(compaction_top)->init_mark_raw();
assert(oop(compaction_top)->klass() != NULL, "should have a class");
debug_only(prev_obj = cur_obj);
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From 15194627b2573f109aef2cacc6ebfb600d0a20f0 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Thu, 13 Dec 2018 20:51:09 +0100
Subject: [PATCH 06/50] Fix methodHandles
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 61af07d0f86..1c7595787a1 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -248,7 +248,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
int ref_kind = (flags >> REFERENCE_KIND_SHIFT) & REFERENCE_KIND_MASK;
if (MethodHandles::ref_kind_is_method(ref_kind)) {
Method* m = (Method*) java_lang_invoke_MemberName::vmtarget(obj);
- if (m != NULL && m->method_holder()->new_version() != NULL) {
+ if (m != NULL && m->method_holder()->is_redefining()) {
// Let's try to re-resolve method
InstanceKlass* newest = InstanceKlass::cast(m->method_holder()->newest_version());
Method* new_method = newest->find_method(m->name(), m->signature());
--
2.24.3 (Apple Git-128)

View File

@@ -1,58 +0,0 @@
From 23a83be457df96d519db8de59a49dd65731efcc4 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 15 Dec 2018 18:23:30 +0100
Subject: [PATCH 07/50] Fix field method
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 1c7595787a1..a3b65b273e5 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -264,21 +264,26 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
}
}
} else if (MethodHandles::ref_kind_is_field(ref_kind)) {
- Klass* k = (Klass*) java_lang_invoke_MemberName::vmtarget(obj);
+ oop clazz = java_lang_invoke_MemberName::clazz(obj);
+ if (clazz == NULL) {
+ return false;
+ }
+ Klass* k = java_lang_Class::as_Klass(clazz);
if (k == NULL) {
return false; // Was cleared before, this MemberName is invalid.
}
- if (k != NULL && k->new_version() != NULL) {
+ if (k->is_redefining()) {
// Let's try to re-resolve field
+ InstanceKlass* old = InstanceKlass::cast(k->old_version());
fieldDescriptor fd;
int offset = java_lang_invoke_MemberName::vmindex(obj);
bool is_static = MethodHandles::ref_kind_is_static(ref_kind);
- InstanceKlass* ik = InstanceKlass::cast(k);
- if (ik->find_local_field_from_offset(offset, is_static, &fd)) {
- InstanceKlass* newest = InstanceKlass::cast(k->newest_version());
+ InstanceKlass* ik_old = InstanceKlass::cast(old);
+ if (ik_old->find_local_field_from_offset(offset, is_static, &fd)) {
+ InstanceKlass* ik_new = InstanceKlass::cast(k->newest_version());
fieldDescriptor fd_new;
- if (newest->find_local_field(fd.name(), fd.signature(), &fd_new)) {
+ if (ik_new->find_local_field(fd.name(), fd.signature(), &fd_new)) {
Handle objHandle(Thread::current(), obj); // TODO : review thread
MethodHandles::init_field_MemberName(objHandle, fd_new, MethodHandles::ref_kind_is_setter(ref_kind));
} else {
@@ -288,7 +293,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
// Eventually, we probably want to replace them with something more meaningful,
// like instance throwing NoSuchFieldError or DMH that will resort to dynamic
// field resolution (with possibility of type conversion)
- java_lang_invoke_MemberName::set_method(obj, NULL);
+ java_lang_invoke_MemberName::set_clazz(obj, NULL);
java_lang_invoke_MemberName::set_vmindex(obj, 0);
return false;
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,43 +0,0 @@
From 1fe56253f7e63d69f9a12963316889c5e87111eb Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 15 Dec 2018 20:16:37 +0100
Subject: [PATCH 08/50] Fix nonstatic field handles
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index a3b65b273e5..c64d6bb1bb5 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -337,6 +337,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
if (obj == NULL) {
return;
}
+ bool oop_updated = false;
if (obj->is_instance() && InstanceKlass::cast(obj->klass())->is_mirror_instance_klass()) {
Klass* klass = java_lang_Class::as_Klass(obj);
if (klass != NULL && klass->is_instance_klass()) {
@@ -344,13 +345,17 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
if (klass->new_version() != NULL) {
obj = InstanceKlass::cast(klass->new_version())->java_mirror();
S::oop_store(p, obj);
+ oop_updated = true;
}
}
}
+
// JSR 292 support, uptade java.lang.invoke.MemberName instances
if (java_lang_invoke_MemberName::is_instance(obj)) {
- update_member_name(obj);
+ if (oop_updated) {
+ update_member_name(obj);
+ }
} else if (java_lang_invoke_DirectMethodHandle::is_instance(obj)) {
if (!update_direct_method_handle(obj)) {
// DMH is no longer valid, replace it with null reference.
--
2.24.3 (Apple Git-128)

View File

@@ -1,488 +0,0 @@
From cbe52ffcde1851f2c3527825f37145428aeedc67 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 12 Dec 2018 19:38:28 +0100
Subject: [PATCH 09/50] Support for Concurrent Mark Sweep (CMS) collector
---
.../share/gc/cms/compactibleFreeListSpace.cpp | 139 ++++++++++++------
.../share/gc/cms/compactibleFreeListSpace.hpp | 5 +-
.../gc/cms/concurrentMarkSweepThread.cpp | 10 +-
src/hotspot/share/gc/serial/markSweep.cpp | 2 +-
src/hotspot/share/gc/shared/gcConfig.cpp | 2 +-
src/hotspot/share/gc/shared/space.cpp | 16 +-
src/hotspot/share/gc/shared/space.hpp | 6 +-
src/hotspot/share/gc/shared/space.inline.hpp | 16 +-
.../prims/jvmtiEnhancedRedefineClasses.cpp | 12 +-
src/hotspot/share/runtime/arguments.cpp | 6 +-
10 files changed, 135 insertions(+), 79 deletions(-)
diff --git a/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp b/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
index a93f764f1b9..efaa09473a9 100644
--- a/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
+++ b/src/hotspot/share/gc/cms/compactibleFreeListSpace.cpp
@@ -376,55 +376,58 @@ CompactibleFreeListSpace::CompactibleFreeListSpace(BlockOffsetSharedArray* bs, M
_used_stable = 0;
}
+#define forward_compact_top_DEFN() \
+ assert(this == cp->space, "'this' should be current compaction space."); \
+ size_t compaction_max_size = pointer_delta(end(), compact_top); \
+ assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size), \
+ "virtual adjustObjectSize_v() method is not correct"); \
+ size_t adjusted_size = adjustObjectSize(size); \
+ assert(compaction_max_size >= MinChunkSize || compaction_max_size == 0, \
+ "no small fragments allowed"); \
+ assert(minimum_free_block_size() == MinChunkSize, \
+ "for de-virtualized reference below"); \
+ /* Can't leave a nonzero size, residual fragment smaller than MinChunkSize */ \
+ if (adjusted_size + MinChunkSize > compaction_max_size && \
+ adjusted_size != compaction_max_size) { \
+ do { \
+ /* switch to next compaction space*/ \
+ cp->space->set_compaction_top(compact_top); \
+ cp->space = cp->space->next_compaction_space(); \
+ if (cp->space == NULL) { \
+ cp->gen = CMSHeap::heap()->young_gen(); \
+ assert(cp->gen != NULL, "compaction must succeed"); \
+ cp->space = cp->gen->first_compaction_space(); \
+ assert(cp->space != NULL, "generation must have a first compaction space"); \
+ } \
+ compact_top = cp->space->bottom(); \
+ cp->space->set_compaction_top(compact_top); \
+ /* The correct adjusted_size may not be the same as that for this method */ \
+ /* (i.e., cp->space may no longer be "this" so adjust the size again. */ \
+ /* Use the virtual method which is not used above to save the virtual */ \
+ /* dispatch. */ \
+ adjusted_size = cp->space->adjust_object_size_v(size); \
+ compaction_max_size = pointer_delta(cp->space->end(), compact_top); \
+ assert(cp->space->minimum_free_block_size() == 0, "just checking"); \
+ } while (adjusted_size > compaction_max_size); \
+ }
+
+
HeapWord* CompactibleFreeListSpace::forward_compact_top(size_t size,
CompactPoint* cp, HeapWord* compact_top) {
- ShouldNotReachHere();
- return NULL;
+ forward_compact_top_DEFN()
+ return compact_top;
}
// Like CompactibleSpace forward() but always calls cross_threshold() to
// update the block offset table. Removed initialize_threshold call because
// CFLS does not use a block offset array for contiguous spaces.
HeapWord* CompactibleFreeListSpace::forward(oop q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
- // q is alive
- // First check if we should switch compaction space
- assert(this == cp->space, "'this' should be current compaction space.");
- size_t compaction_max_size = pointer_delta(end(), compact_top);
- assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size),
- "virtual adjustObjectSize_v() method is not correct");
- size_t adjusted_size = adjustObjectSize(size);
- assert(compaction_max_size >= MinChunkSize || compaction_max_size == 0,
- "no small fragments allowed");
- assert(minimum_free_block_size() == MinChunkSize,
- "for de-virtualized reference below");
- // Can't leave a nonzero size, residual fragment smaller than MinChunkSize
- if (adjusted_size + MinChunkSize > compaction_max_size &&
- adjusted_size != compaction_max_size) {
- do {
- // switch to next compaction space
- cp->space->set_compaction_top(compact_top);
- cp->space = cp->space->next_compaction_space();
- if (cp->space == NULL) {
- cp->gen = CMSHeap::heap()->young_gen();
- assert(cp->gen != NULL, "compaction must succeed");
- cp->space = cp->gen->first_compaction_space();
- assert(cp->space != NULL, "generation must have a first compaction space");
- }
- compact_top = cp->space->bottom();
- cp->space->set_compaction_top(compact_top);
- // The correct adjusted_size may not be the same as that for this method
- // (i.e., cp->space may no longer be "this" so adjust the size again.
- // Use the virtual method which is not used above to save the virtual
- // dispatch.
- adjusted_size = cp->space->adjust_object_size_v(size);
- compaction_max_size = pointer_delta(cp->space->end(), compact_top);
- assert(cp->space->minimum_free_block_size() == 0, "just checking");
- } while (adjusted_size > compaction_max_size);
- }
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
+ forward_compact_top_DEFN()
// store the forwarding pointer into the mark word
- if ((HeapWord*)q != compact_top) {
+ // the size of object changed for: new_version() != NULL
+ if (force_forward || (HeapWord*)q != compact_top || q->klass()->new_version() != NULL) {
q->forward_to(oop(compact_top));
assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
} else {
@@ -2196,13 +2199,60 @@ CompactibleFreeListSpace::refillLinearAllocBlock(LinearAllocBlock* blk) {
// Support for compaction
void CompactibleFreeListSpace::prepare_for_compaction(CompactPoint* cp) {
- scan_and_forward(this, cp, false);
- // of the free lists doesn't work after.
+ if (!Universe::is_redefining_gc_run()) {
+ scan_and_forward(this, cp, false);
+ } else {
+ // Redefinition run
+ scan_and_forward(this, cp, true);
+ }
// Prepare_for_compaction() uses the space between live objects
// so that later phase can skip dead space quickly. So verification
// of the free lists doesn't work after.
}
+bool CompactibleFreeListSpace::must_rescue(oop old_obj, oop new_obj) {
+ // Only redefined objects can have the need to be rescued.
+ if (oop(old_obj)->klass()->new_version() == NULL) return false;
+
+ int new_size = adjustObjectSize(old_obj->size_given_klass(oop(old_obj)->klass()->new_version()));
+ int original_size = adjustObjectSize(old_obj->size());
+
+ Generation* tenured_gen = CMSHeap::heap()->old_gen();
+ bool old_in_tenured = tenured_gen->is_in_reserved(old_obj);
+ bool new_in_tenured = tenured_gen->is_in_reserved(new_obj);
+ if (old_in_tenured == new_in_tenured) {
+ // Rescue if object may overlap with a higher memory address.
+ bool overlap = ((HeapWord*)old_obj + original_size < (HeapWord*)new_obj + new_size);
+ if (old_in_tenured) {
+ // Old and new address are in same space, so just compare the address.
+ // Must rescue if object moves towards the top of the space.
+ assert(space_index(old_obj) == space_index(new_obj), "old_obj and new_obj must be in same space");
+ } else {
+ // In the new generation, eden is located before the from space, so a
+ // simple pointer comparison is sufficient.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(new_obj), "new_obj must be in DefNewGeneration");
+ assert(overlap == (space_index(old_obj) < space_index(new_obj)), "slow and fast computation must yield same result");
+ }
+ return overlap;
+
+ } else {
+ assert(space_index(old_obj) != space_index(new_obj), "old_obj and new_obj must be in different spaces");
+ if (new_in_tenured) {
+ // Must never rescue when moving from the new into the old generation.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
+ assert(space_index(old_obj) > space_index(new_obj), "must be");
+ return false;
+
+ } else /* if (tenured_gen->is_in_reserved(old_obj)) */ {
+ // Must always rescue when moving from the old into the new generation.
+ assert(CMSHeap::heap()->young_gen()->is_in_reserved(new_obj), "new_obj must be in DefNewGeneration");
+ assert(space_index(old_obj) < space_index(new_obj), "must be");
+ return true;
+ }
+ }
+}
+
void CompactibleFreeListSpace::adjust_pointers() {
// In other versions of adjust_pointers(), a bail out
// based on the amount of live data in the generation
@@ -2215,7 +2265,12 @@ void CompactibleFreeListSpace::adjust_pointers() {
}
void CompactibleFreeListSpace::compact() {
- scan_and_compact(this, false);
+ if(!Universe::is_redefining_gc_run()) {
+ scan_and_compact(this, false);
+ } else {
+ // Redefinition run
+ scan_and_compact(this, true);
+ }
}
// Fragmentation metric = 1 - [sum of (fbs**2) / (sum of fbs)**2]
diff --git a/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp b/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
index 9fd2ea58320..d29b81f6fca 100644
--- a/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
+++ b/src/hotspot/share/gc/cms/compactibleFreeListSpace.hpp
@@ -201,7 +201,7 @@ class CompactibleFreeListSpace: public CompactibleSpace {
// Support for compacting cms
HeapWord* cross_threshold(HeapWord* start, HeapWord* end);
HeapWord* forward_compact_top(size_t size, CompactPoint* cp, HeapWord* compact_top);
- HeapWord* forward(oop q, size_t size, CompactPoint* cp, HeapWord* compact_top);
+ HeapWord* forward(oop q, size_t size, CompactPoint* cp, HeapWord* compact_top, bool force_forward);
// Initialization helpers.
void initializeIndexedFreeListArray();
@@ -576,6 +576,9 @@ class CompactibleFreeListSpace: public CompactibleSpace {
// Support for compaction.
void prepare_for_compaction(CompactPoint* cp);
+
+ bool must_rescue(oop old_obj, oop new_obj);
+
void adjust_pointers();
void compact();
// Reset the space to reflect the fact that a compaction of the
diff --git a/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp b/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
index 3ada5755875..b6e930922d7 100644
--- a/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
+++ b/src/hotspot/share/gc/cms/concurrentMarkSweepThread.cpp
@@ -78,10 +78,12 @@ void ConcurrentMarkSweepThread::run_service() {
while (!should_terminate()) {
sleepBeforeNextCycle();
if (should_terminate()) break;
- GCIdMark gc_id_mark;
- GCCause::Cause cause = _collector->_full_gc_requested ?
- _collector->_full_gc_cause : GCCause::_cms_concurrent_mark;
- _collector->collect_in_background(cause);
+ if (!Universe::is_redefining_gc_run()) {
+ GCIdMark gc_id_mark;
+ GCCause::Cause cause = _collector->_full_gc_requested ?
+ _collector->_full_gc_cause : GCCause::_cms_concurrent_mark;
+ _collector->collect_in_background(cause);
+ }
}
// Check that the state of any protocol for synchronization
diff --git a/src/hotspot/share/gc/serial/markSweep.cpp b/src/hotspot/share/gc/serial/markSweep.cpp
index d0ff86c8215..b4ed59f020c 100644
--- a/src/hotspot/share/gc/serial/markSweep.cpp
+++ b/src/hotspot/share/gc/serial/markSweep.cpp
@@ -247,7 +247,7 @@ void MarkSweep::copy_rescued_objects_back() {
FREE_RESOURCE_ARRAY(HeapWord, rescued_ptr, size);
- new_obj->init_mark();
+ new_obj->init_mark_raw();
assert(oopDesc::is_oop(new_obj), "must be a valid oop");
}
_rescued_oops->clear();
diff --git a/src/hotspot/share/gc/shared/gcConfig.cpp b/src/hotspot/share/gc/shared/gcConfig.cpp
index 8aac2b39e1e..39364a64cb2 100644
--- a/src/hotspot/share/gc/shared/gcConfig.cpp
+++ b/src/hotspot/share/gc/shared/gcConfig.cpp
@@ -101,7 +101,7 @@ void GCConfig::fail_if_unsupported_gc_is_selected() {
}
void GCConfig::select_gc_ergonomically() {
- if (AllowEnhancedClassRedefinition) {
+ if (AllowEnhancedClassRedefinition && !UseConcMarkSweepGC) {
// Enhanced class redefinition only supports serial GC at the moment
FLAG_SET_ERGO(bool, UseSerialGC, true);
} else if (os::is_server_class_machine()) {
diff --git a/src/hotspot/share/gc/shared/space.cpp b/src/hotspot/share/gc/shared/space.cpp
index 763abc91a39..947dff8ae0c 100644
--- a/src/hotspot/share/gc/shared/space.cpp
+++ b/src/hotspot/share/gc/shared/space.cpp
@@ -388,11 +388,11 @@ HeapWord* CompactibleSpace::forward_compact_top(size_t size, CompactPoint* cp, H
}
HeapWord* CompactibleSpace::forward(oop q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
compact_top = forward_compact_top(size, cp, compact_top);
// store the forwarding pointer into the mark word
- if ((HeapWord*)q != compact_top || (size_t)q->size() != size) {
+ if (force_forward || (HeapWord*)q != compact_top || (size_t)q->size() != size) {
q->forward_to(oop(compact_top));
assert(q->is_gc_marked(), "encoding the pointer should preserve the mark");
} else {
@@ -514,7 +514,7 @@ bool CompactibleSpace::must_rescue(oop old_obj, oop new_obj) {
} else {
assert(space_index(old_obj) != space_index(new_obj), "old_obj and new_obj must be in different spaces");
- if (tenured_gen->is_in_reserved(new_obj)) {
+ if (new_in_tenured) {
// Must never rescue when moving from the new into the old generation.
assert(GenCollectedHeap::heap()->young_gen()->is_in_reserved(old_obj), "old_obj must be in DefNewGeneration");
assert(space_index(old_obj) > space_index(new_obj), "must be");
@@ -858,14 +858,14 @@ void OffsetTableContigSpace::verify() const {
// Compute the forward sizes and leave out objects whose position could
// possibly overlap other objects.
HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
- CompactPoint* cp, HeapWord* compact_top) {
+ CompactPoint* cp, HeapWord* compact_top, bool force_forward) {
size_t forward_size = size;
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL && oop(q)->klass()->new_version()->update_information() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
forward_size = new_size;
}
@@ -879,7 +879,7 @@ HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
return compact_top;
}
- return forward(oop(q), forward_size, cp, compact_top);
+ return forward(oop(q), forward_size, cp, compact_top, force_forward);
}
// Compute the forwarding addresses for the objects that need to be rescued.
@@ -895,11 +895,11 @@ HeapWord* CompactibleSpace::forward_rescued(CompactPoint* cp, HeapWord* compact_
// (DCEVM) There is a new version of the class of q => different size
if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
- assert(size != new_size, "instances without changed size have to be updated prior to GC run");
+ // assert(size != new_size, "instances without changed size have to be updated prior to GC run");
size = new_size;
}
- compact_top = cp->space->forward(oop(q), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(q), size, cp, compact_top, true);
assert(compact_top <= end(), "must not write over end of space!");
}
MarkSweep::_rescued_oops->clear();
diff --git a/src/hotspot/share/gc/shared/space.hpp b/src/hotspot/share/gc/shared/space.hpp
index 8eb5669fb79..901c89d8a30 100644
--- a/src/hotspot/share/gc/shared/space.hpp
+++ b/src/hotspot/share/gc/shared/space.hpp
@@ -421,7 +421,7 @@ public:
virtual void prepare_for_compaction(CompactPoint* cp) = 0;
// MarkSweep support phase3
DEBUG_ONLY(int space_index(oop obj));
- bool must_rescue(oop old_obj, oop new_obj);
+ virtual bool must_rescue(oop old_obj, oop new_obj);
HeapWord* rescue(HeapWord* old_obj);
virtual void adjust_pointers();
// MarkSweep support phase4
@@ -452,11 +452,11 @@ public:
// function of the then-current compaction space, and updates "cp->threshold
// accordingly".
virtual HeapWord* forward(oop q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
// (DCEVM) same as forwad, but can rescue objects. Invoked only during
// redefinition runs
HeapWord* forward_with_rescue(HeapWord* q, size_t size, CompactPoint* cp,
- HeapWord* compact_top);
+ HeapWord* compact_top, bool force_forward);
HeapWord* forward_rescued(CompactPoint* cp, HeapWord* compact_top);
diff --git a/src/hotspot/share/gc/shared/space.inline.hpp b/src/hotspot/share/gc/shared/space.inline.hpp
index 75d7e685edf..26e56ae6f7e 100644
--- a/src/hotspot/share/gc/shared/space.inline.hpp
+++ b/src/hotspot/share/gc/shared/space.inline.hpp
@@ -163,6 +163,8 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
HeapWord* cur_obj = space->bottom();
HeapWord* scan_limit = space->scan_limit();
+ bool force_forward = false;
+
while (cur_obj < scan_limit) {
assert(!space->scanned_block_is_obj(cur_obj) ||
oop(cur_obj)->mark_raw()->is_marked() || oop(cur_obj)->mark_raw()->is_unlocked() ||
@@ -174,14 +176,15 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
size_t size = space->scanned_block_size(cur_obj);
if (redefinition_run) {
- compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top);
+ compact_top = cp->space->forward_with_rescue(cur_obj, size, cp, compact_top, force_forward);
if (first_dead == NULL && oop(cur_obj)->is_gc_marked()) {
/* Was moved (otherwise, forward would reset mark),
set first_dead to here */
first_dead = cur_obj;
+ force_forward = true;
}
} else {
- compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top);
+ compact_top = cp->space->forward(oop(cur_obj), size, cp, compact_top, false);
}
cur_obj += size;
@@ -197,9 +200,9 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
// see if we might want to pretend this object is alive so that
// we don't have to compact quite as often.
- if (cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
+ if (!redefinition_run && cur_obj == compact_top && dead_spacer.insert_deadspace(cur_obj, end)) {
oop obj = oop(cur_obj);
- compact_top = cp->space->forward(obj, obj->size(), cp, compact_top);
+ compact_top = cp->space->forward(obj, obj->size(), cp, compact_top, force_forward);
end_of_live = end;
} else {
// otherwise, it really is a free region.
@@ -351,7 +354,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
HeapWord* compaction_top = (HeapWord*)oop(cur_obj)->forwardee();
if (redefinition_run && space->must_rescue(oop(cur_obj), oop(cur_obj)->forwardee())) {
- space->rescue(cur_obj);
+ space->rescue(cur_obj);
debug_only(Copy::fill_to_words(cur_obj, size, 0));
cur_obj += size;
continue;
@@ -361,8 +364,7 @@ inline void CompactibleSpace::scan_and_compact(SpaceType* space, bool redefiniti
Prefetch::write(compaction_top, copy_interval);
// copy object and reinit its mark
- assert(cur_obj != compaction_top || oop(cur_obj)->klass()->new_version() != NULL,
- "everything in this pass should be moving");
+ assert(redefinition_run || cur_obj != compaction_top, "everything in this pass should be moving");
if (redefinition_run && oop(cur_obj)->klass()->new_version() != NULL) {
Klass* new_version = oop(cur_obj)->klass()->new_version();
if (new_version->update_information() == NULL) {
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index c64d6bb1bb5..9b8678a53fb 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -52,6 +52,7 @@
#include "prims/jvmtiThreadState.inline.hpp"
#include "utilities/events.hpp"
#include "oops/constantPool.inline.hpp"
+#include "gc/cms/cmsHeap.hpp"
Array<Method*>* VM_EnhancedRedefineClasses::_old_methods = NULL;
Array<Method*>* VM_EnhancedRedefineClasses::_new_methods = NULL;
@@ -420,13 +421,11 @@ public:
Klass* new_klass = obj->klass()->new_version();
if (new_klass->update_information() != NULL) {
- int size_diff = obj->size() - obj->size_given_klass(new_klass);
-
- // Either new size is bigger or gap is to small to be filled
- if (size_diff < 0 || (size_diff > 0 && (size_t) size_diff < CollectedHeap::min_fill_size())) {
+ if (obj->size() - obj->size_given_klass(new_klass) != 0) {
// We need an instance update => set back to old klass
_needs_instance_update = true;
} else {
+ // Either new size is bigger or gap is to small to be filled
oop src = obj;
if (new_klass->is_copying_backwards()) {
copy_to_tmp(obj);
@@ -436,11 +435,6 @@ public:
// FIXME: instance updates...
//guarantee(false, "instance updates!");
MarkSweep::update_fields(obj, src, new_klass->update_information());
-
- if (size_diff > 0) {
- HeapWord* dead_space = ((HeapWord *)obj) + obj->size();
- CollectedHeap::fill_with_object(dead_space, size_diff);
- }
}
} else {
obj->set_klass(obj->klass()->new_version());
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index ca57b524593..2ca6dde069d 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -2047,14 +2047,14 @@ bool Arguments::check_gc_consistency() {
if (AllowEnhancedClassRedefinition) {
// Must use serial GC. This limitation applies because the instance size changing GC modifications
// are only built into the mark and compact algorithm.
- if (!UseSerialGC && i >= 1) {
+ if ((!UseSerialGC && !UseConcMarkSweepGC) && i >= 1) {
jio_fprintf(defaultStream::error_stream(),
- "Must use the serial GC with enhanced class redefinition\n");
+ "Must use the serial or concurrent mark sweep GC with enhanced class redefinition.\n");
return false;
}
}
- if (i > 1) {
+ if (i > 2) {
jio_fprintf(defaultStream::error_stream(),
"Conflicting collector combinations in option list; "
"please refer to the release notes for the combinations "
--
2.24.3 (Apple Git-128)

View File

@@ -1,257 +0,0 @@
From 11d10158d77512795b1b8ab8378620b95b67f175 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 29 Dec 2018 13:22:29 +0100
Subject: [PATCH 10/50] Code cleanup
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 125 ++++++------------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 3 -
2 files changed, 40 insertions(+), 88 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 9b8678a53fb..0aa1ac4ff80 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -35,7 +35,7 @@
#include "memory/metaspaceShared.hpp"
#include "memory/resourceArea.hpp"
#include "memory/iterator.inline.hpp"
-#include "gc/serial/markSweep.hpp" // FIXME: other GC?
+#include "gc/serial/markSweep.hpp"
#include "oops/fieldStreams.hpp"
#include "oops/klassVtable.hpp"
#include "oops/oop.inline.hpp"
@@ -485,7 +485,9 @@ void VM_EnhancedRedefineClasses::doit() {
}
// Deoptimize all compiled code that depends on this class (do only once, because it clears whole cache)
- flush_dependent_code(NULL, thread);
+ //if (_max_redefinition_flags > Klass::ModifyClass) {
+ flush_dependent_code(NULL, thread);
+ //}
// JSR-292 support
if (_any_class_has_resolved_methods) {
@@ -593,17 +595,28 @@ void VM_EnhancedRedefineClasses::doit() {
// See jvmtiExport.hpp for detailed explanation.
JvmtiExport::set_has_redefined_a_class();
- // check_class() is optionally called for product bits, but is
- // always called for non-product bits.
#ifdef PRODUCT
if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
#endif
- log_trace(redefine, class, obsolete, metadata)("calling check_class");
- CheckClass check_class(thread);
- ClassLoaderDataGraph::classes_do(&check_class);
+ for (int i=0; i<_affected_klasses->length(); i++) {
+ Klass* the_class = _affected_klasses->at(i);
+ assert(the_class->new_version() != NULL, "Must have been redefined");
+ Klass* new_version = the_class->new_version();
+ assert(new_version->new_version() == NULL, "Must be newest version");
+
+ if (!(new_version->super() == NULL || new_version->super()->new_version() == NULL)) {
+ new_version->print();
+ new_version->super()->print();
+ }
+ assert(new_version->super() == NULL || new_version->super()->new_version() == NULL, "Super class must be newest version");
+ }
+ log_trace(redefine, class, obsolete, metadata)("calling check_class");
+ CheckClass check_class(thread);
+ ClassLoaderDataGraph::classes_do(&check_class);
#ifdef PRODUCT
}
#endif
+
}
/**
@@ -1279,24 +1292,23 @@ void VM_EnhancedRedefineClasses::calculate_instance_update_information(Klass* ne
GrowableArray<int> result = cl.finish();
ik->store_update_information(result);
ik->set_copying_backwards(cl.does_copy_backwards());
-/* TODO logging
- if (RC_TRACE_ENABLED(0x00000001)) {
- RC_TRACE(0x00000001, ("Instance update information for %s:", new_version->name()->as_C_string()));
+ if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
+ log_trace(redefine, class, obsolete, metadata)("Instance update information for %s:", new_version->name()->as_C_string());
if (cl.does_copy_backwards()) {
- RC_TRACE(0x00000001, ("\tDoes copy backwards!"));
+ log_trace(redefine, class, obsolete, metadata)("\tDoes copy backwards!");
}
for (int i=0; i<result.length(); i++) {
int curNum = result.at(i);
if (curNum < 0) {
- RC_TRACE(0x00000001, ("\t%d CLEAN", curNum));
+ log_trace(redefine, class, obsolete, metadata)("\t%d CLEAN", curNum);
} else if (curNum > 0) {
- RC_TRACE(0x00000001, ("\t%d COPY from %d", curNum, result.at(i + 1)));
+ log_trace(redefine, class, obsolete, metadata)("\t%d COPY from %d", curNum, result.at(i + 1));
i++;
} else {
- RC_TRACE(0x00000001, ("\tEND"));
+ log_trace(redefine, class, obsolete, metadata)("\tEND");
}
}
- }*/
+ }
}
/**
@@ -1813,6 +1825,7 @@ void VM_EnhancedRedefineClasses::compute_added_deleted_matching_methods() {
/**
FIXME - swap_annotations is never called, check that annotations work
*/
+// TODO : delete it
void VM_EnhancedRedefineClasses::swap_annotations(InstanceKlass* the_class,
InstanceKlass* new_class) {
// FIXME - probably original implementation only
@@ -1822,7 +1835,6 @@ void VM_EnhancedRedefineClasses::swap_annotations(InstanceKlass* the_class,
new_class->set_annotations(old_annotations);
}
-
// Install the redefinition of a class:
// - house keeping (flushing breakpoints and caches, deoptimizing
// dependent compiled code)
@@ -1853,7 +1865,9 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
// DCEVM Deoptimization is always for whole java world, call only once after all classes are redefined
// Deoptimize all compiled code that depends on this class
- // flush_dependent_code(the_class, THREAD);
+ //if (_max_redefinition_flags <= Klass::ModifyClass) {
+ //flush_dependent_code(the_class, THREAD);
+ //}
_old_methods = the_class->methods();
_new_methods = new_class->methods();
@@ -1928,64 +1942,15 @@ void VM_EnhancedRedefineClasses::increment_class_counter(InstanceKlass *ik, TRAP
}
}
-// FIXME - class check is currently disabled
void VM_EnhancedRedefineClasses::CheckClass::do_klass(Klass* k) {
- return;
- bool no_old_methods = true; // be optimistic
-
- // Both array and instance classes have vtables.
- // a vtable should never contain old or obsolete methods
- ResourceMark rm(_thread);
- if (k->vtable_length() > 0 &&
- !k->vtable().check_no_old_or_obsolete_entries()) {
- if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
- log_trace(redefine, class, obsolete, metadata)
- ("klassVtable::check_no_old_or_obsolete_entries failure -- OLD or OBSOLETE method found -- class: %s",
- k->signature_name());
- k->vtable().dump_vtable();
- }
- no_old_methods = false;
- }
-
- if (k->is_instance_klass()) {
- HandleMark hm(_thread);
- InstanceKlass *ik = InstanceKlass::cast(k);
+ HandleMark hm(_thread);
+ InstanceKlass *ik = (InstanceKlass *) k;
+ assert(ik->new_version() == NULL, "must be latest version in system dictionary");
- // an itable should never contain old or obsolete methods
- if (ik->itable_length() > 0 &&
- !ik->itable().check_no_old_or_obsolete_entries()) {
- if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
- log_trace(redefine, class, obsolete, metadata)
- ("klassItable::check_no_old_or_obsolete_entries failure -- OLD or OBSOLETE method found -- class: %s",
- ik->signature_name());
- ik->itable().dump_itable();
- }
- no_old_methods = false;
- }
-
- // the constant pool cache should never contain non-deleted old or obsolete methods
- if (ik->constants() != NULL &&
- ik->constants()->cache() != NULL &&
- !ik->constants()->cache()->check_no_old_or_obsolete_entries()) {
- if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
- log_trace(redefine, class, obsolete, metadata)
- ("cp-cache::check_no_old_or_obsolete_entries failure -- OLD or OBSOLETE method found -- class: %s",
- ik->signature_name());
- ik->constants()->cache()->dump_cache();
- }
- no_old_methods = false;
- }
- }
-
- // print and fail guarantee if old methods are found.
- if (!no_old_methods) {
- if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
- dump_methods();
- } else {
- log_trace(redefine, class)("Use the '-Xlog:redefine+class*:' option "
- "to see more info about the following guarantee() failure.");
- }
- guarantee(false, "OLD and/or OBSOLETE method(s) found");
+ if (ik->vtable_length() > 0) {
+ ResourceMark rm(_thread);
+ assert(ik->vtable().check_no_old_or_obsolete_entries(), "old method found");
+ ik->vtable().verify(tty, true);
}
}
@@ -2051,15 +2016,6 @@ void VM_EnhancedRedefineClasses::dump_methods() {
}
}
-// TODO - is it called anywhere?
-void VM_EnhancedRedefineClasses::print_on_error(outputStream* st) const {
- VM_Operation::print_on_error(st);
- if (_the_class_oop != NULL) {
- ResourceMark rm;
- st->print_cr(", redefining class %s", _the_class_oop->external_name());
- }
-}
-
/**
Helper class to traverse all loaded classes and figure out if the class is affected by redefinition.
*/
@@ -2093,7 +2049,7 @@ class AffectedKlassClosure : public KlassClosure {
log_trace(redefine, class, load)("found affected class: %s", klass->name()->as_C_string());
klass->set_redefinition_flag(Klass::MarkedAsAffected);
_affected_klasses->append(klass);
- return;
+ return;
}
}
@@ -2125,7 +2081,7 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
// Find classes not directly redefined, but affected by a redefinition (because one of its supertypes is redefined)
AffectedKlassClosure closure(_affected_klasses);
- // TODO: j10 - review chancge from SystemDictionary::classes_do(&closure);
+ // Updated in j10, from original SystemDictionary::classes_do
ClassLoaderDataGraph::dictionary_classes_do(&closure);
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
@@ -2160,7 +2116,6 @@ static bool match_second(void* value, KlassPair elem) {
For each class to be redefined parse the bytecode and figure out the superclass and all interfaces.
First newly introduced classes (_class_defs) are scanned and then affected classed (_affected_klasses).
Affected flag is cleared (clear_redefinition_flag(Klass::MarkedAsAffected))
-
For each dependency create a KlassPair instance. Finnaly, affected classes (_affected_klasses) are sorted according to pairs.
TODO - the class file is potentionally parsed multiple times - introduce a cache?
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index b712d69a193..37e63a1810f 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -195,8 +195,5 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// Modifiable test must be shared between IsModifiableClass query
// and redefine implementation
static bool is_modifiable_class(oop klass_mirror);
-
- // Error printing
- void print_on_error(outputStream* st) const;
};
#endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES2_HPP
--
2.24.3 (Apple Git-128)

View File

@@ -1,118 +0,0 @@
From 1765f4c1b2e8958b458fa17d329be98ad025069c Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 29 Dec 2018 16:05:25 +0100
Subject: [PATCH 11/50] Fix check_class
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 39 +++++++------------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 5 +--
2 files changed, 16 insertions(+), 28 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 0aa1ac4ff80..c08b3e82b2e 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1,4 +1,4 @@
-/*
+ /*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -28,6 +28,7 @@
#include "classfile/metadataOnStackMark.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/verifier.hpp"
+#include "classfile/dictionary.hpp"
#include "interpreter/oopMapCache.hpp"
#include "interpreter/rewriter.hpp"
#include "logging/logStream.hpp"
@@ -611,8 +612,7 @@ void VM_EnhancedRedefineClasses::doit() {
assert(new_version->super() == NULL || new_version->super()->new_version() == NULL, "Super class must be newest version");
}
log_trace(redefine, class, obsolete, metadata)("calling check_class");
- CheckClass check_class(thread);
- ClassLoaderDataGraph::classes_do(&check_class);
+ ClassLoaderData::the_null_class_loader_data()->dictionary()->classes_do(check_class, thread);
#ifdef PRODUCT
}
#endif
@@ -1822,19 +1822,6 @@ void VM_EnhancedRedefineClasses::compute_added_deleted_matching_methods() {
assert(_matching_methods_length + _added_methods_length == _new_methods->length(), "sanity");
}
-/**
- FIXME - swap_annotations is never called, check that annotations work
-*/
-// TODO : delete it
-void VM_EnhancedRedefineClasses::swap_annotations(InstanceKlass* the_class,
- InstanceKlass* new_class) {
- // FIXME - probably original implementation only
- // Swap annotation fields values
- Annotations* old_annotations = the_class->annotations();
- the_class->set_annotations(new_class->annotations());
- new_class->set_annotations(old_annotations);
-}
-
// Install the redefinition of a class:
// - house keeping (flushing breakpoints and caches, deoptimizing
// dependent compiled code)
@@ -1942,15 +1929,17 @@ void VM_EnhancedRedefineClasses::increment_class_counter(InstanceKlass *ik, TRAP
}
}
-void VM_EnhancedRedefineClasses::CheckClass::do_klass(Klass* k) {
- HandleMark hm(_thread);
- InstanceKlass *ik = (InstanceKlass *) k;
- assert(ik->new_version() == NULL, "must be latest version in system dictionary");
+void VM_EnhancedRedefineClasses::check_class(InstanceKlass* ik, TRAPS) {
+ if (ik->is_instance_klass() && ik->old_version() != NULL) {
+ HandleMark hm(THREAD);
+
+ assert(ik->new_version() == NULL, "must be latest version in system dictionary");
- if (ik->vtable_length() > 0) {
- ResourceMark rm(_thread);
- assert(ik->vtable().check_no_old_or_obsolete_entries(), "old method found");
- ik->vtable().verify(tty, true);
+ if (ik->vtable_length() > 0) {
+ ResourceMark rm(THREAD);
+ assert(ik->vtable().check_no_old_or_obsolete_entries(), "old method found");
+ ik->vtable().verify(tty, true);
+ }
}
}
@@ -2017,7 +2006,7 @@ void VM_EnhancedRedefineClasses::dump_methods() {
}
/**
- Helper class to traverse all loaded classes and figure out if the class is affected by redefinition.
+ Helper class to traverse all loaded classes and figure out if the class is affected by redefinition.
*/
class AffectedKlassClosure : public KlassClosure {
private:
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 37e63a1810f..5b3ebc13661 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -144,15 +144,14 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// Install the redefinition of a class
void redefine_single_class(InstanceKlass* new_class_oop, TRAPS);
- void swap_annotations(InstanceKlass* new_class,
- InstanceKlass* scratch_class);
-
// Increment the classRedefinedCount field in the specific InstanceKlass
// and in all direct and indirect subclasses.
void increment_class_counter(InstanceKlass *ik, TRAPS);
void flush_dependent_code(InstanceKlass* k_h, TRAPS);
+ static void check_class(InstanceKlass* k_oop, TRAPS);
+
static void dump_methods();
// Check that there are no old or obsolete methods
--
2.24.3 (Apple Git-128)

View File

@@ -1,24 +0,0 @@
From 0851d437a65dc9ac6d8355b54689d36e77e104b3 Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 29 Dec 2018 17:58:39 +0100
Subject: [PATCH 12/50] Fix force_forward in dead space
---
src/hotspot/share/gc/shared/space.inline.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/hotspot/share/gc/shared/space.inline.hpp b/src/hotspot/share/gc/shared/space.inline.hpp
index 26e56ae6f7e..8c255d6d428 100644
--- a/src/hotspot/share/gc/shared/space.inline.hpp
+++ b/src/hotspot/share/gc/shared/space.inline.hpp
@@ -213,6 +213,7 @@ inline void CompactibleSpace::scan_and_forward(SpaceType* space, CompactPoint* c
// see if this is the first dead region.
if (first_dead == NULL) {
first_dead = cur_obj;
+ force_forward = true;
}
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From 35aba247d8a3e25f5d19403ba5f293bfdaf6539c Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Fri, 1 Mar 2019 18:45:13 +0100
Subject: [PATCH 13/50] Cleanup
---
src/hotspot/share/gc/shared/space.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/gc/shared/space.cpp b/src/hotspot/share/gc/shared/space.cpp
index 947dff8ae0c..56b144b46f1 100644
--- a/src/hotspot/share/gc/shared/space.cpp
+++ b/src/hotspot/share/gc/shared/space.cpp
@@ -862,7 +862,7 @@ HeapWord* CompactibleSpace::forward_with_rescue(HeapWord* q, size_t size,
size_t forward_size = size;
// (DCEVM) There is a new version of the class of q => different size
- if (oop(q)->klass()->new_version() != NULL && oop(q)->klass()->new_version()->update_information() != NULL) {
+ if (oop(q)->klass()->new_version() != NULL) {
size_t new_size = oop(q)->size_given_klass(oop(q)->klass()->new_version());
// assert(size != new_size, "instances without changed size have to be updated prior to GC run");
--
2.24.3 (Apple Git-128)

View File

@@ -1,61 +0,0 @@
From 26a5079eb61a2e23328fbd8ca59ffc2ab6b6193b Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sat, 29 Dec 2018 17:38:27 +0100
Subject: [PATCH 14/50] Add codecache flush optimization, but just flush all
cache.
Redefined class can define a new method that overrides
method in superclass which is already used in codecache for
optimized non-virtual calls, etc...
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index c08b3e82b2e..4ca638548dc 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -486,9 +486,9 @@ void VM_EnhancedRedefineClasses::doit() {
}
// Deoptimize all compiled code that depends on this class (do only once, because it clears whole cache)
- //if (_max_redefinition_flags > Klass::ModifyClass) {
+ // if (_max_redefinition_flags > Klass::ModifyClass) {
flush_dependent_code(NULL, thread);
- //}
+ // }
// JSR-292 support
if (_any_class_has_resolved_methods) {
@@ -1736,8 +1736,14 @@ void VM_EnhancedRedefineClasses::flush_dependent_code(InstanceKlass* k_h, TRAPS)
// All dependencies have been recorded from startup or this is a second or
// subsequent use of RedefineClasses
// FIXME: for now, deoptimize all!
- if (0 && JvmtiExport::all_dependencies_are_recorded()) {
+ if (0 && k_h != NULL && JvmtiExport::all_dependencies_are_recorded()) {
CodeCache::flush_evol_dependents_on(k_h);
+ Klass* superCl = k_h->super();
+ // Deoptimize super classes since redefined class can has a new method override
+ while (superCl != NULL && !superCl->is_redefining()) {
+ CodeCache::flush_evol_dependents_on(InstanceKlass::cast(superCl));
+ superCl = superCl->super();
+ }
} else {
CodeCache::mark_all_nmethods_for_deoptimization();
@@ -1852,9 +1858,9 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
// DCEVM Deoptimization is always for whole java world, call only once after all classes are redefined
// Deoptimize all compiled code that depends on this class
- //if (_max_redefinition_flags <= Klass::ModifyClass) {
- //flush_dependent_code(the_class, THREAD);
- //}
+// if (_max_redefinition_flags <= Klass::ModifyClass) {
+// flush_dependent_code(the_class, THREAD);
+// }
_old_methods = the_class->methods();
_new_methods = new_class->methods();
--
2.24.3 (Apple Git-128)

View File

@@ -1,484 +0,0 @@
From 24a60477aef7098ea23ab50a573332957741ea7b Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Wed, 14 Nov 2018 21:20:08 +0100
Subject: [PATCH 15/50] HotswapAgent integration
It include:
- option to compile DCEVM only version with -DDCEVM_ONLY added
to CFLAGS (bash configure --with-extra-cflags="-DDCEVM_ONLY"), by
default compilation goes with HotswapAgent
Add --add-opens for necessary modules/packages
- java.base/java.lang - for reflection access to Proxy.proxyCache
- java.base/jdk.internal.loader - for access proxyCache class
- java.desktop/java.beans - for reflection access to Introspector
- be quiet if HotswapAgent is not found in lib/, it is compatible with
old DCEVM
- disable hotswapagent for -Xshare:dump
- disable HotswapAgent in jvm tools
---
make/launcher/Launcher-java.rmi.gmk | 2 +
make/launcher/Launcher-java.scripting.gmk | 3 +-
make/launcher/Launcher-java.security.jgss.gmk | 3 +
make/launcher/Launcher-jdk.aot.gmk | 2 +
make/launcher/Launcher-jdk.compiler.gmk | 5 +-
make/launcher/Launcher-jdk.hotspot.agent.gmk | 1 +
make/launcher/Launcher-jdk.jartool.gmk | 2 +
make/launcher/Launcher-jdk.javadoc.gmk | 3 +-
make/launcher/Launcher-jdk.jcmd.gmk | 13 +++-
make/launcher/Launcher-jdk.jconsole.gmk | 3 +-
make/launcher/Launcher-jdk.jdeps.gmk | 3 +
make/launcher/Launcher-jdk.jdi.gmk | 1 +
make/launcher/Launcher-jdk.jlink.gmk | 5 +-
make/launcher/Launcher-jdk.jshell.gmk | 1 +
make/launcher/Launcher-jdk.jstatd.gmk | 1 +
make/launcher/Launcher-jdk.pack.gmk | 1 +
make/launcher/Launcher-jdk.rmic.gmk | 1 +
.../Launcher-jdk.scripting.nashorn.shell.gmk | 3 +-
src/hotspot/share/runtime/arguments.cpp | 59 +++++++++++++++++++
src/hotspot/share/runtime/arguments.hpp | 3 +
src/hotspot/share/runtime/globals.hpp | 12 +++-
21 files changed, 117 insertions(+), 10 deletions(-)
diff --git a/make/launcher/Launcher-java.rmi.gmk b/make/launcher/Launcher-java.rmi.gmk
index a69a90bcc81..07046232275 100644
--- a/make/launcher/Launcher-java.rmi.gmk
+++ b/make/launcher/Launcher-java.rmi.gmk
@@ -27,8 +27,10 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmid, \
MAIN_CLASS := sun.rmi.server.Activation, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, rmiregistry, \
MAIN_CLASS := sun.rmi.registry.RegistryImpl, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-java.scripting.gmk b/make/launcher/Launcher-java.scripting.gmk
index 057d2bf3aca..cf100e20789 100644
--- a/make/launcher/Launcher-java.scripting.gmk
+++ b/make/launcher/Launcher-java.scripting.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jrunscript, \
MAIN_CLASS := com.sun.tools.script.shell.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-java.security.jgss.gmk b/make/launcher/Launcher-java.security.jgss.gmk
index 7411e1a21c4..2b856bfccb4 100644
--- a/make/launcher/Launcher-java.security.jgss.gmk
+++ b/make/launcher/Launcher-java.security.jgss.gmk
@@ -28,13 +28,16 @@ include LauncherCommon.gmk
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupBuildLauncher, kinit, \
MAIN_CLASS := sun.security.krb5.internal.tools.Kinit, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, klist, \
MAIN_CLASS := sun.security.krb5.internal.tools.Klist, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, ktab, \
MAIN_CLASS := sun.security.krb5.internal.tools.Ktab, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
endif
diff --git a/make/launcher/Launcher-jdk.aot.gmk b/make/launcher/Launcher-jdk.aot.gmk
index 10717a5e1c5..2c52c31a555 100644
--- a/make/launcher/Launcher-jdk.aot.gmk
+++ b/make/launcher/Launcher-jdk.aot.gmk
@@ -31,6 +31,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jaotc, \
MAIN_CLASS := jdk.tools.jaotc.Main, \
EXTRA_JAVA_ARGS := -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI \
+ -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
@@ -40,6 +41,7 @@ $(eval $(call SetupBuildLauncher, jaotc, \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
, \
JAVA_ARGS := --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
+ -XX:+DisableHotswapAgent \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=$(call CommaList, jdk.internal.vm.compiler jdk.aot) \
diff --git a/make/launcher/Launcher-jdk.compiler.gmk b/make/launcher/Launcher-jdk.compiler.gmk
index f71c37adf74..744969546de 100644
--- a/make/launcher/Launcher-jdk.compiler.gmk
+++ b/make/launcher/Launcher-jdk.compiler.gmk
@@ -27,12 +27,14 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javac, \
MAIN_CLASS := com.sun.tools.javac.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, serialver, \
MAIN_CLASS := sun.tools.serialver.SerialVer, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
@@ -41,6 +43,7 @@ ifeq ($(ENABLE_SJAVAC), yes)
# into any real images
$(eval $(call SetupBuildLauncher, sjavac, \
MAIN_CLASS := com.sun.tools.sjavac.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
OUTPUT_DIR := $(JDK_OUTPUTDIR)/bin, \
))
diff --git a/make/launcher/Launcher-jdk.hotspot.agent.gmk b/make/launcher/Launcher-jdk.hotspot.agent.gmk
index 76da3600368..9f12b05b172 100644
--- a/make/launcher/Launcher-jdk.hotspot.agent.gmk
+++ b/make/launcher/Launcher-jdk.hotspot.agent.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jhsdb, \
MAIN_CLASS := sun.jvm.hotspot.SALauncher, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
diff --git a/make/launcher/Launcher-jdk.jartool.gmk b/make/launcher/Launcher-jdk.jartool.gmk
index f74e82bfdae..647d82b65b1 100644
--- a/make/launcher/Launcher-jdk.jartool.gmk
+++ b/make/launcher/Launcher-jdk.jartool.gmk
@@ -27,8 +27,10 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jar, \
MAIN_CLASS := sun.tools.jar.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jarsigner, \
MAIN_CLASS := sun.security.tools.jarsigner.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.javadoc.gmk b/make/launcher/Launcher-jdk.javadoc.gmk
index 889028a2b17..c3d2093be04 100644
--- a/make/launcher/Launcher-jdk.javadoc.gmk
+++ b/make/launcher/Launcher-jdk.javadoc.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javadoc, \
MAIN_CLASS := jdk.javadoc.internal.tool.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jcmd.gmk b/make/launcher/Launcher-jdk.jcmd.gmk
index 7117fa78059..761a52d8466 100644
--- a/make/launcher/Launcher-jdk.jcmd.gmk
+++ b/make/launcher/Launcher-jdk.jcmd.gmk
@@ -30,6 +30,7 @@ $(eval $(call SetupBuildLauncher, jinfo, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
-Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
@@ -37,28 +38,36 @@ $(eval $(call SetupBuildLauncher, jmap, \
MAIN_CLASS := sun.tools.jmap.JMap, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jps, \
MAIN_CLASS := sun.tools.jps.Jps, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jstack, \
MAIN_CLASS := sun.tools.jstack.JStack, \
JAVA_ARGS := \
-Dsun.jvm.hotspot.debugger.useProcDebugger \
- -Dsun.jvm.hotspot.debugger.useWindbgDebugger, \
+ -Dsun.jvm.hotspot.debugger.useWindbgDebugger \
+ -XX:+DisableHotswapAgent, \
MACOSX_PRIVILEGED := true, \
))
$(eval $(call SetupBuildLauncher, jstat, \
MAIN_CLASS := sun.tools.jstat.Jstat, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
$(eval $(call SetupBuildLauncher, jcmd, \
MAIN_CLASS := sun.tools.jcmd.JCmd, \
+ JAVA_ARGS := \
+ -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.jconsole.gmk b/make/launcher/Launcher-jdk.jconsole.gmk
index 6205ae63d16..5ca6a0c123b 100644
--- a/make/launcher/Launcher-jdk.jconsole.gmk
+++ b/make/launcher/Launcher-jdk.jconsole.gmk
@@ -28,7 +28,8 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jconsole, \
MAIN_CLASS := sun.tools.jconsole.JConsole, \
JAVA_ARGS := --add-opens java.base/java.io=jdk.jconsole \
- -Djconsole.showOutputViewer, \
+ -Djconsole.showOutputViewer \
+ -XX:+DisableHotswapAgent, \
CFLAGS_windows := -DJAVAW, \
LIBS_windows := user32.lib, \
))
diff --git a/make/launcher/Launcher-jdk.jdeps.gmk b/make/launcher/Launcher-jdk.jdeps.gmk
index 217523c48cc..5448278dae7 100644
--- a/make/launcher/Launcher-jdk.jdeps.gmk
+++ b/make/launcher/Launcher-jdk.jdeps.gmk
@@ -27,15 +27,18 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, javap, \
MAIN_CLASS := com.sun.tools.javap.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeps, \
MAIN_CLASS := com.sun.tools.jdeps.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jdeprscan, \
MAIN_CLASS := com.sun.tools.jdeprscan.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jdi.gmk b/make/launcher/Launcher-jdk.jdi.gmk
index fcce98cf430..27bd448e3ae 100644
--- a/make/launcher/Launcher-jdk.jdi.gmk
+++ b/make/launcher/Launcher-jdk.jdi.gmk
@@ -27,4 +27,5 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jdb, \
MAIN_CLASS := com.sun.tools.example.debug.tty.TTY, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
diff --git a/make/launcher/Launcher-jdk.jlink.gmk b/make/launcher/Launcher-jdk.jlink.gmk
index df2173996d7..9e61edeb2c8 100644
--- a/make/launcher/Launcher-jdk.jlink.gmk
+++ b/make/launcher/Launcher-jdk.jlink.gmk
@@ -27,18 +27,21 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jimage,\
MAIN_CLASS := jdk.tools.jimage.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES, \
))
$(eval $(call SetupBuildLauncher, jlink,\
MAIN_CLASS := jdk.tools.jlink.internal.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
$(eval $(call SetupBuildLauncher, jmod,\
MAIN_CLASS := jdk.tools.jmod.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES \
-DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jshell.gmk b/make/launcher/Launcher-jdk.jshell.gmk
index 349eb88e9eb..7287f8f998a 100644
--- a/make/launcher/Launcher-jdk.jshell.gmk
+++ b/make/launcher/Launcher-jdk.jshell.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jshell, \
MAIN_CLASS := jdk.internal.jshell.tool.JShellToolProvider, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.jstatd.gmk b/make/launcher/Launcher-jdk.jstatd.gmk
index e9286d63094..e1657910c67 100644
--- a/make/launcher/Launcher-jdk.jstatd.gmk
+++ b/make/launcher/Launcher-jdk.jstatd.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jstatd, \
MAIN_CLASS := sun.tools.jstatd.Jstatd, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
# Hook to include the corresponding custom file, if present.
diff --git a/make/launcher/Launcher-jdk.pack.gmk b/make/launcher/Launcher-jdk.pack.gmk
index a93fd2a9017..64bbbb7c949 100644
--- a/make/launcher/Launcher-jdk.pack.gmk
+++ b/make/launcher/Launcher-jdk.pack.gmk
@@ -28,6 +28,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, pack200, \
MAIN_MODULE := java.base, \
MAIN_CLASS := com.sun.java.util.jar.pack.Driver, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
diff --git a/make/launcher/Launcher-jdk.rmic.gmk b/make/launcher/Launcher-jdk.rmic.gmk
index d60c3d9b60b..b8a55900b0e 100644
--- a/make/launcher/Launcher-jdk.rmic.gmk
+++ b/make/launcher/Launcher-jdk.rmic.gmk
@@ -27,5 +27,6 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, rmic, \
MAIN_CLASS := sun.rmi.rmic.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
diff --git a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
index 82311e69fd6..bd39f8595b2 100644
--- a/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
+++ b/make/launcher/Launcher-jdk.scripting.nashorn.shell.gmk
@@ -27,6 +27,7 @@ include LauncherCommon.gmk
$(eval $(call SetupBuildLauncher, jjs, \
MAIN_CLASS := jdk.nashorn.tools.jjs.Main, \
- JAVA_ARGS := --add-modules ALL-DEFAULT, \
+ JAVA_ARGS := --add-modules ALL-DEFAULT \
+ -XX:+DisableHotswapAgent, \
CFLAGS := -DENABLE_ARG_FILES, \
))
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 2ca6dde069d..c75bb5d8f49 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -3937,6 +3937,8 @@ jint Arguments::parse(const JavaVMInitArgs* initial_cmd_args) {
// Set object alignment values.
set_object_alignment();
+ setup_hotswap_agent();
+
#if !INCLUDE_CDS
if (DumpSharedSpaces || RequireSharedSpaces) {
jio_fprintf(defaultStream::error_stream(),
@@ -4270,3 +4272,60 @@ bool Arguments::copy_expand_pid(const char* src, size_t srclen,
*b = '\0';
return (p == src_end); // return false if not all of the source was copied
}
+
+void Arguments::setup_hotswap_agent() {
+
+ if (DumpSharedSpaces)
+ return;
+
+ if (!AllowEnhancedClassRedefinition)
+ return;
+
+ // Set HotswapAgent
+ if (!DisableHotswapAgent) {
+
+ char ext_path_str[JVM_MAXPATHLEN];
+
+ os::jvm_path(ext_path_str, sizeof(ext_path_str));
+ for (int i = 0; i < 3; i++) {
+ char *end = strrchr(ext_path_str, *os::file_separator());
+ if (end != NULL) *end = '\0';
+ }
+ size_t ext_path_length = strlen(ext_path_str);
+ if (ext_path_length >= 3) {
+ if (strcmp(ext_path_str + ext_path_length - 3, "lib") != 0) {
+ if (ext_path_length < JVM_MAXPATHLEN - 4) {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length, "%slib", os::file_separator());
+ ext_path_length += 4;
+ }
+ }
+ }
+ if (ext_path_length < JVM_MAXPATHLEN - 10) {
+ jio_snprintf(ext_path_str + ext_path_length, sizeof(ext_path_str) - ext_path_length,
+ "%shotswap%shotswap-agent.jar", os::file_separator(), os::file_separator());
+ }
+
+ int fd = ::open(ext_path_str, O_RDONLY);
+ if (fd >= 0) {
+ os::close(fd);
+ size_t length = strlen(ext_path_str) + 1;
+ char *options = NEW_C_HEAP_ARRAY(char, length, mtArguments);
+ jio_snprintf(options, length, "%s", ext_path_str);
+ add_init_agent("instrument", ext_path_str, false);
+ jio_fprintf(defaultStream::output_stream(), "Starting HotswapAgent '%s'\n", ext_path_str);
+ }
+// else
+// {
+// jio_fprintf(defaultStream::error_stream(), "HotswapAgent not found on path:'%s'\n", ext_path_str);
+// }
+ }
+
+ // TODO: open it only for org.hotswap.agent module
+ // Use to access java.lang.reflect.Proxy/proxyCache
+ create_numbered_property("jdk.module.addopens", "java.base/java.lang=ALL-UNNAMED", addopens_count++);
+ // Class of field java.lang.reflect.Proxy/proxyCache
+ create_numbered_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
+ // java.beans.Introspector access
+ create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
+
+}
diff --git a/src/hotspot/share/runtime/arguments.hpp b/src/hotspot/share/runtime/arguments.hpp
index 46450cce5c9..3dc5b3d4bae 100644
--- a/src/hotspot/share/runtime/arguments.hpp
+++ b/src/hotspot/share/runtime/arguments.hpp
@@ -506,6 +506,9 @@ class Arguments : AllStatic {
static size_t conservative_max_heap_alignment() { return _conservative_max_heap_alignment; }
+ // Initialize HotswapAgent
+ static void setup_hotswap_agent();
+
// Return the maximum size a heap with compressed oops can take
static size_t max_heap_for_compressed_oops();
diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp
index f3cf08fffb6..5f6c7b8e388 100644
--- a/src/hotspot/share/runtime/globals.hpp
+++ b/src/hotspot/share/runtime/globals.hpp
@@ -32,6 +32,12 @@
#include <float.h> // for DBL_MAX
+#ifdef DCEVM_ONLY
+#define DISABLED_HOTSWAP_AGENT true
+#else
+#define DISABLED_HOTSWAP_AGENT false
+#endif
+
// The larger HeapWordSize for 64bit requires larger heaps
// for the same application running in 64bit. See bug 4967770.
// The minimum alignment to a heap word size is done. Other
@@ -2675,8 +2681,10 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
\
product(bool, AllowEnhancedClassRedefinition, true, \
"Allow enhanced class redefinition beyond swapping method " \
- "bodies")
-
+ "bodies") \
+ \
+ product(bool, DisableHotswapAgent, DISABLED_HOTSWAP_AGENT, \
+ "Disable integrated Hotswap Agent (HotswapVM only)")
#define VM_FLAGS(develop, \
develop_pd, \
product, \
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From dc397b652d9810f6f261070afbb8519f1c2964ee Mon Sep 17 00:00:00 2001
From: skybber <lada.dvorak7@gmail.com>
Date: Sun, 16 Dec 2018 09:55:31 +0100
Subject: [PATCH 16/50] Add dcevm distro name
---
make/autoconf/version-numbers | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/make/autoconf/version-numbers b/make/autoconf/version-numbers
index b5a23138213..5c0a3242c80 100644
--- a/make/autoconf/version-numbers
+++ b/make/autoconf/version-numbers
@@ -43,7 +43,7 @@ PRODUCT_NAME=OpenJDK
PRODUCT_SUFFIX="Runtime Environment"
JDK_RC_PLATFORM_NAME=Platform
COMPANY_NAME=N/A
-HOTSPOT_VM_DISTRO="OpenJDK"
+HOTSPOT_VM_DISTRO="Dynamic Code Evolution"
VENDOR_URL=https://openjdk.java.net/
VENDOR_URL_BUG=https://bugreport.java.com/bugreport/
VENDOR_URL_VM_BUG=https://bugreport.java.com/bugreport/crash.jsp
--
2.24.3 (Apple Git-128)

View File

@@ -1,24 +0,0 @@
From 987645d54a6682f28a733731965d6b377e892974 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 Nov 2019 19:58:27 +0100
Subject: [PATCH 17/50] java.desktop/com.sun.beans=ALL-UNNAMED
---
src/hotspot/share/runtime/arguments.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index c75bb5d8f49..ba6e78d6daa 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -4327,5 +4327,7 @@ void Arguments::setup_hotswap_agent() {
create_numbered_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
+ // java.beans.Introspector access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,113 +0,0 @@
From 60569257636a2d0b31b04ab2638d81f840d75e58 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 Nov 2019 21:07:59 +0100
Subject: [PATCH 18/50] increment_class_counter() using orig dcevm code
Probably it is cause of SISEGV on:
_
VM_EnhancedRedefineClasses::redefine_single_class->java_mirror()
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 39 ++++++-------------
1 file changed, 12 insertions(+), 27 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 4ca638548dc..efb9e806508 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1146,9 +1146,9 @@ int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_
}
-/**
+/**
Searches for the class bytecode of the given class and returns it as a byte array.
-
+
@param the_class definition of a class, either existing class or new_class
@param class_bytes - if the class is redefined, it contains new class definition, otherwise just original class bytecode.
@param class_byte_count - size of class_bytes
@@ -1460,7 +1460,7 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
//
// ik->itable()->adjust_method_entries(the_class, &trace_name_printed);
// }
-
+
constantPoolHandle other_cp = constantPoolHandle(ik->constants());
// Update host klass of anonymous classes (for example, produced by lambdas) to newest version.
@@ -1764,7 +1764,7 @@ void VM_EnhancedRedefineClasses::flush_dependent_code(InstanceKlass* k_h, TRAPS)
/**
Compare _old_methods and _new_methods arrays and store the result into
_matching_old_methods, _matching_new_methods, _added_methods, _deleted_methods
-
+
Setup _old_methods and _new_methods before the call - it should be called for one class only!
*/
void VM_EnhancedRedefineClasses::compute_added_deleted_matching_methods() {
@@ -1898,13 +1898,13 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
ResourceMark rm(THREAD);
// increment the classRedefinedCount field in the_class and in any
// direct and indirect subclasses of the_class
- increment_class_counter(the_class, THREAD);
+ increment_class_counter(new_class, THREAD);
log_info(redefine, class, load)
("redefined name=%s, count=%d (avail_mem=" UINT64_FORMAT "K)",
- the_class->external_name(), java_lang_Class::classRedefinedCount(the_class->java_mirror()), os::available_memory() >> 10);
+ new_class->external_name(), java_lang_Class::classRedefinedCount(new_class->java_mirror()), os::available_memory() >> 10);
Events::log_redefinition(THREAD, "redefined class name=%s, count=%d",
- the_class->external_name(),
- java_lang_Class::classRedefinedCount(the_class->java_mirror()));
+ new_class->external_name(),
+ java_lang_Class::classRedefinedCount(new_class->java_mirror()));
}
_timer_rsc_phase2.stop();
@@ -1914,25 +1914,10 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
// Increment the classRedefinedCount field in the specific InstanceKlass
// and in all direct and indirect subclasses.
void VM_EnhancedRedefineClasses::increment_class_counter(InstanceKlass *ik, TRAPS) {
- oop class_mirror = ik->java_mirror();
+ oop class_mirror = ik->old_version()->java_mirror();
Klass* class_oop = java_lang_Class::as_Klass(class_mirror);
int new_count = java_lang_Class::classRedefinedCount(class_mirror) + 1;
- java_lang_Class::set_classRedefinedCount(ik->new_version()->java_mirror(), new_count);
-
- if (class_oop != _the_class_oop) {
- // _the_class_oop count is printed at end of redefine_single_class()
- log_debug(redefine, class, subclass)("updated count in subclass=%s to %d", ik->external_name(), new_count);
- }
-
- for (Klass *subk = ik->subklass(); subk != NULL;
- subk = subk->next_sibling()) {
- if (subk->is_instance_klass()) {
- // Only update instanceKlasses
- InstanceKlass *subik = InstanceKlass::cast(subk);
- // recursively do subclasses of the current subclass
- increment_class_counter(subik, THREAD);
- }
- }
+ java_lang_Class::set_classRedefinedCount(ik->java_mirror(), new_count);
}
void VM_EnhancedRedefineClasses::check_class(InstanceKlass* ik, TRAPS) {
@@ -2063,7 +2048,7 @@ class AffectedKlassClosure : public KlassClosure {
/**
Find all affected classes by current redefinition (either because of redefine, class hierarchy or interface change).
- Affected classes are stored in _affected_klasses and parent classes always precedes child class.
+ Affected classes are stored in _affected_klasses and parent classes always precedes child class.
*/
jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
for (int i = 0; i < _class_count; i++) {
@@ -2112,7 +2097,7 @@ static bool match_second(void* value, KlassPair elem) {
First newly introduced classes (_class_defs) are scanned and then affected classed (_affected_klasses).
Affected flag is cleared (clear_redefinition_flag(Klass::MarkedAsAffected))
For each dependency create a KlassPair instance. Finnaly, affected classes (_affected_klasses) are sorted according to pairs.
-
+
TODO - the class file is potentionally parsed multiple times - introduce a cache?
*/
jvmtiError VM_EnhancedRedefineClasses::do_topological_class_sorting(TRAPS) {
--
2.24.3 (Apple Git-128)

View File

@@ -1,38 +0,0 @@
From 41d2963b54490601e22cf5309ed73f78566d35ae Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Thu, 21 Nov 2019 19:30:07 +0100
Subject: [PATCH 19/50] Allow 11715ha class initializer calls
---
src/hotspot/share/classfile/vmSymbols.hpp | 1 +
src/hotspot/share/interpreter/linkResolver.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/classfile/vmSymbols.hpp b/src/hotspot/share/classfile/vmSymbols.hpp
index e2bac31b27f..6eeda3b8f68 100644
--- a/src/hotspot/share/classfile/vmSymbols.hpp
+++ b/src/hotspot/share/classfile/vmSymbols.hpp
@@ -340,6 +340,7 @@
/* common method and field names */ \
template(object_initializer_name, "<init>") \
template(class_initializer_name, "<clinit>") \
+ template(ha_class_initializer_name, "$$ha$clinit") \
template(println_name, "println") \
template(printStackTrace_name, "printStackTrace") \
template(main_name, "main") \
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index b9ccdee8cca..cb76d2ef50c 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -1009,7 +1009,7 @@ void LinkResolver::resolve_field(fieldDescriptor& fd,
assert(!m.is_null(), "information about the current method must be available for 'put' bytecodes");
bool is_initialized_static_final_update = (byte == Bytecodes::_putstatic &&
fd.is_static() &&
- !m()->is_static_initializer());
+ !(m()->is_static_initializer() || m()->name() == vmSymbols::ha_class_initializer_name()));
bool is_initialized_instance_final_update = ((byte == Bytecodes::_putfield || byte == Bytecodes::_nofast_putfield) &&
!fd.is_static() &&
!m->is_object_initializer());
--
2.24.3 (Apple Git-128)

View File

@@ -1,24 +0,0 @@
From 09799f079ef1148248ca60c917205003d2a565b3 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 26 Nov 2019 22:13:07 +0100
Subject: [PATCH 20/50] Disable HA in keytool
---
make/launcher/Launcher-java.base.gmk | 1 +
1 file changed, 1 insertion(+)
diff --git a/make/launcher/Launcher-java.base.gmk b/make/launcher/Launcher-java.base.gmk
index 5ee4530004b..88c1a14b2aa 100644
--- a/make/launcher/Launcher-java.base.gmk
+++ b/make/launcher/Launcher-java.base.gmk
@@ -63,6 +63,7 @@ endif
$(eval $(call SetupBuildLauncher, keytool, \
MAIN_CLASS := sun.security.tools.keytool.Main, \
+ JAVA_ARGS := -XX:+DisableHotswapAgent, \
))
################################################################################
--
2.24.3 (Apple Git-128)

View File

@@ -1,24 +0,0 @@
From e1d8f42f428d7d18f09f1a7098f56fdce808c3fe Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Thu, 28 Nov 2019 18:53:11 +0100
Subject: [PATCH 21/50] Open jdk module to access ClassInfo.CACHE
---
src/hotspot/share/runtime/arguments.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index ba6e78d6daa..0081f688120 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -4329,5 +4329,7 @@ void Arguments::setup_hotswap_agent() {
create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
+ // com.sun.beans.introspect.ClassInfo access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.introspect=ALL-UNNAMED", addopens_count++);
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From 8b7323c57ee07c03a02ba951ce6d453ec4cc1a54 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 8 Dec 2019 17:55:01 +0100
Subject: [PATCH 22/50] Open java.base/java.io module
---
src/hotspot/share/runtime/arguments.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 0081f688120..0cdd8c88315 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -4325,6 +4325,8 @@ void Arguments::setup_hotswap_agent() {
create_numbered_property("jdk.module.addopens", "java.base/java.lang=ALL-UNNAMED", addopens_count++);
// Class of field java.lang.reflect.Proxy/proxyCache
create_numbered_property("jdk.module.addopens", "java.base/jdk.internal.loader=ALL-UNNAMED", addopens_count++);
+ // Use to access java.io.Reader, java.io.InputStream, java.io.FileInputStream
+ create_numbered_property("jdk.module.addopens", "java.base/java.io=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
create_numbered_property("jdk.module.addopens", "java.desktop/java.beans=ALL-UNNAMED", addopens_count++);
// java.beans.Introspector access
--
2.24.3 (Apple Git-128)

View File

@@ -1,54 +0,0 @@
From 14c82a29cbf8254f8da626753ea34086d38e71b4 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@mailprofiler.com>
Date: Fri, 6 Mar 2020 09:28:24 +0100
Subject: [PATCH 23/50] Fix fieldDescriptor.inline.hpp
---
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index efb9e806508..a404fd3f016 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -49,6 +49,7 @@
#include "runtime/deoptimization.hpp"
#include "runtime/jniHandles.inline.hpp"
#include "runtime/relocator.hpp"
+#include "runtime/fieldDescriptor.inline.hpp"
#include "utilities/bitMap.inline.hpp"
#include "prims/jvmtiThreadState.inline.hpp"
#include "utilities/events.hpp"
@@ -490,6 +491,11 @@ void VM_EnhancedRedefineClasses::doit() {
flush_dependent_code(NULL, thread);
// }
+ // Adjust constantpool caches for all classes that reference methods of the evolved class.
+ ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
+ ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+
+
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -1890,9 +1896,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
}
*/
- // Adjust constantpool caches for all classes that reference methods of the evolved class.
- ClearCpoolCacheAndUnpatch clear_cpool_cache(THREAD);
- ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
{
ResourceMark rm(THREAD);
@@ -1905,7 +1908,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
Events::log_redefinition(THREAD, "redefined class name=%s, count=%d",
new_class->external_name(),
java_lang_Class::classRedefinedCount(new_class->java_mirror()));
-
}
_timer_rsc_phase2.stop();
} // end redefine_single_class()
--
2.24.3 (Apple Git-128)

View File

@@ -1,38 +0,0 @@
From 5a56f2278c0a79f4a26f369a55f4c1c4dab2621e Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@mailprofiler.com>
Date: Fri, 6 Mar 2020 15:46:51 +0100
Subject: [PATCH 24/50] Fix clear_cpool_cache
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index a404fd3f016..1f5a67f8866 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -491,11 +491,6 @@ void VM_EnhancedRedefineClasses::doit() {
flush_dependent_code(NULL, thread);
// }
- // Adjust constantpool caches for all classes that reference methods of the evolved class.
- ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
- ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
-
-
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -1896,6 +1891,9 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
}
*/
+ // Adjust constantpool caches for all classes that reference methods of the evolved class.
+ ClearCpoolCacheAndUnpatch clear_cpool_cache(THREAD);
+ ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
{
ResourceMark rm(THREAD);
--
2.24.3 (Apple Git-128)

View File

@@ -1,163 +0,0 @@
From c1aafaafaf15780d6bca1312162d551da4f63036 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@mailprofiler.com>
Date: Mon, 9 Mar 2020 09:54:04 +0100
Subject: [PATCH 25/50] Refactor ClearCpoolCacheAndUnpatch
Call it after redefinition of all classes
---
make/common/MakeBase.gmk | 4 +-
.../prims/jvmtiEnhancedRedefineClasses.cpp | 98 ++++---------------
2 files changed, 21 insertions(+), 81 deletions(-)
diff --git a/make/common/MakeBase.gmk b/make/common/MakeBase.gmk
index a040effe83a..c33a7d52ddb 100644
--- a/make/common/MakeBase.gmk
+++ b/make/common/MakeBase.gmk
@@ -1044,7 +1044,9 @@ DependOnVariableHelper = \
$(info NewVariable $1: >$(strip $($1))<) \
$(info OldVariable $1: >$(strip $($1_old))<)) \
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
- $($1_filename))) \
+ $($1_filename)) \
+ $(eval $($1_filename): ) \
+ ) \
$($1_filename) \
)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 1f5a67f8866..24fb76b6de4 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -491,6 +491,11 @@ void VM_EnhancedRedefineClasses::doit() {
flush_dependent_code(NULL, thread);
// }
+ // Adjust constantpool caches for all classes that reference methods of the evolved class.
+ ClearCpoolCacheAndUnpatch clear_cpool_cache(thread);
+ ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+
+
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -1383,86 +1388,23 @@ void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
}
}
-// Unevolving classes may point to methods of the_class directly
+// Unevolving classes may point to old methods directly
// from their constant pool caches, itables, and/or vtables. We
-// use the ClassLoaderDataGraph::classes_do() facility and this helper
-// to fix up these pointers.
-// Adjust cpools and vtables closure
+// use the SystemDictionary::classes_do() facility and this helper
+// to fix up these pointers. Additional field offsets and vtable indices
+// in the constant pool cache entries are fixed.
+//
+// Note: We currently don't support updating the vtable in
+// arrayKlassOops. See Open Issues in jvmtiRedefineClasses.hpp.
void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
- // This is a very busy routine. We don't want too much tracing
- // printed out.
- bool trace_name_printed = false;
- InstanceKlass *the_class = InstanceKlass::cast(_the_class_oop);
-
- // If the class being redefined is java.lang.Object, we need to fix all
- // array class vtables also
- if (k->is_array_klass() && _the_class_oop == SystemDictionary::Object_klass()) {
- k->vtable().adjust_method_entries(the_class, &trace_name_printed);
- } else if (k->is_instance_klass()) {
- HandleMark hm(_thread);
- InstanceKlass *ik = InstanceKlass::cast(k);
+ if (!k->is_instance_klass()) {
+ return;
+ }
- // HotSpot specific optimization! HotSpot does not currently
- // support delegation from the bootstrap class loader to a
- // user-defined class loader. This means that if the bootstrap
- // class loader is the initiating class loader, then it will also
- // be the defining class loader. This also means that classes
- // loaded by the bootstrap class loader cannot refer to classes
- // loaded by a user-defined class loader. Note: a user-defined
- // class loader can delegate to the bootstrap class loader.
- //
- // If the current class being redefined has a user-defined class
- // loader as its defining class loader, then we can skip all
- // classes loaded by the bootstrap class loader.
- bool is_user_defined =
- InstanceKlass::cast(_the_class_oop)->class_loader() != NULL;
- if (is_user_defined && ik->class_loader() == NULL) {
- return;
- }
-
- // Fix the vtable embedded in the_class and subclasses of the_class,
- // if one exists. We discard scratch_class and we don't keep an
- // InstanceKlass around to hold obsolete methods so we don't have
- // any other InstanceKlass embedded vtables to update. The vtable
- // holds the Method*s for virtual (but not final) methods.
- // Default methods, or concrete methods in interfaces are stored
- // in the vtable, so if an interface changes we need to check
- // adjust_method_entries() for every InstanceKlass, which will also
- // adjust the default method vtable indices.
- // We also need to adjust any default method entries that are
- // not yet in the vtable, because the vtable setup is in progress.
- // This must be done after we adjust the default_methods and
- // default_vtable_indices for methods already in the vtable.
- // If redefining Unsafe, walk all the vtables looking for entries.
-// FIXME - code from standard redefine - if needed, it should switch to new_class
-// if (ik->vtable_length() > 0 && (_the_class_oop->is_interface()
-// || _the_class_oop == SystemDictionary::internal_Unsafe_klass()
-// || ik->is_subtype_of(_the_class_oop))) {
-// // ik->vtable() creates a wrapper object; rm cleans it up
-// ResourceMark rm(_thread);
-//
-// ik->vtable()->adjust_method_entries(the_class, &trace_name_printed);
-// ik->adjust_default_methods(the_class, &trace_name_printed);
-// }
-
- // If the current class has an itable and we are either redefining an
- // interface or if the current class is a subclass of the_class, then
- // we potentially have to fix the itable. If we are redefining an
- // interface, then we have to call adjust_method_entries() for
- // every InstanceKlass that has an itable since there isn't a
- // subclass relationship between an interface and an InstanceKlass.
- // If redefining Unsafe, walk all the itables looking for entries.
-// FIXME - code from standard redefine - if needed, it should switch to new_class
-// if (ik->itable_length() > 0 && (_the_class_oop->is_interface()
-// || _the_class_oop == SystemDictionary::internal_Unsafe_klass()
-// || ik->is_subclass_of(_the_class_oop))) {
-// // ik->itable() creates a wrapper object; rm cleans it up
-// ResourceMark rm(_thread);
-//
-// ik->itable()->adjust_method_entries(the_class, &trace_name_printed);
-// }
+ HandleMark hm(_thread);
+ InstanceKlass *ik = InstanceKlass::cast(k);
- constantPoolHandle other_cp = constantPoolHandle(ik->constants());
+ constantPoolHandle other_cp = constantPoolHandle(ik->constants());
// Update host klass of anonymous classes (for example, produced by lambdas) to newest version.
if (ik->is_anonymous() && ik->host_klass()->new_version() != NULL) {
@@ -1491,7 +1433,6 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
if (RewriteBytecodes) {
ik->methods_do(unpatch_bytecode);
}
- }
}
// Clean method data for this class
@@ -1891,9 +1832,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
}
*/
- // Adjust constantpool caches for all classes that reference methods of the evolved class.
- ClearCpoolCacheAndUnpatch clear_cpool_cache(THREAD);
- ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
{
ResourceMark rm(THREAD);
--
2.24.3 (Apple Git-128)

View File

@@ -1,29 +0,0 @@
From d6a3286b9b57df4c09d859e38833f2e3dc1574d9 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <vladimir.dvorak@mailprofiler.com>
Date: Wed, 11 Mar 2020 14:19:34 +0100
Subject: [PATCH 26/50] Fix class cast exception on redefinition of class A,
that is superclass of B that has anonymous class C
---
src/hotspot/share/oops/instanceKlass.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 9b6ba7e9304..8cbd4b8edf2 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -788,7 +788,10 @@ bool InstanceKlass::link_class_impl(bool throw_verifyerror, TRAPS) {
if (!is_linked()) {
if (!is_rewritten()) {
- {
+ // In cases, if class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
+ // then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
+ // on redefinition.
+ if (!newest_version()->is_redefining()) {
bool verify_ok = verify_code(throw_verifyerror, THREAD);
if (!verify_ok) {
return false;
--
2.24.3 (Apple Git-128)

View File

@@ -1,60 +0,0 @@
From a4ab453f532839ea3b09027736bb6e74d288bf1d Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 10 Apr 2020 23:28:07 +0200
Subject: [PATCH 27/50] Update klass reference in Klass.implementor()
If interface X is removed from class Y then old reference to Y could be
stored in X.implementor()
---
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 12 ++++++++++++
.../share/prims/jvmtiEnhancedRedefineClasses.hpp | 11 -----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 24fb76b6de4..f6d2d3a40fe 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1411,6 +1411,18 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
ik->set_host_klass(InstanceKlass::cast(ik->host_klass()->newest_version()));
}
+ // Update implementor if there is only one, in this case implementor() can reference old class
+ if (ik->is_interface()) {
+ Klass* implKlass = ik->implementor();
+ if (implKlass != NULL && implKlass != ik && implKlass->new_version() != NULL) {
+ InstanceKlass* newest_impl = InstanceKlass::cast(implKlass->newest_version());
+ ik->init_implementor();
+ if (newest_impl->implements_interface(ik)) {
+ ik->add_implementor(newest_impl);
+ }
+ }
+ }
+
for (int i = 0; i < other_cp->length(); i++) {
if (other_cp->tag_at(i).is_klass()) {
Klass* klass = other_cp->resolved_klass_at(i);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 5b3ebc13661..2d114635ee5 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -69,17 +69,6 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// RetransformClasses. Indicate which.
JvmtiClassLoadKind _class_load_kind;
- // _index_map_count is just an optimization for knowing if
- // _index_map_p contains any entries.
- int _index_map_count;
- intArray * _index_map_p;
-
- // _operands_index_map_count is just an optimization for knowing if
- // _operands_index_map_p contains any entries.
- int _operands_cur_length;
- int _operands_index_map_count;
- intArray * _operands_index_map_p;
-
GrowableArray<InstanceKlass*>* _new_classes;
jvmtiError _res;
--
2.24.3 (Apple Git-128)

View File

@@ -1,96 +0,0 @@
From 015c9c88e63f2dde4b8b2a09d2832a8c2a3caf25 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 10 Apr 2020 23:30:21 +0200
Subject: [PATCH 28/50] Fix DirectMethodHandle accessors klasses
---
src/hotspot/share/classfile/javaClasses.cpp | 28 +++++++++++++++------
src/hotspot/share/classfile/javaClasses.hpp | 4 +++
2 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/src/hotspot/share/classfile/javaClasses.cpp b/src/hotspot/share/classfile/javaClasses.cpp
index a89443d22ea..ea0588e5388 100644
--- a/src/hotspot/share/classfile/javaClasses.cpp
+++ b/src/hotspot/share/classfile/javaClasses.cpp
@@ -3641,14 +3641,20 @@ void java_lang_invoke_DirectMethodHandle_StaticAccessor::set_static_offset(oop d
dmh->long_field_put(_static_offset_offset, static_offset);
}
+#define DIRECTMETHODHANDLE_STATIC_ACCESSOR_FIELDS_DO(macro) \
+ macro(_static_offset_offset, k, vmSymbols::static_offset_name(), long_signature, false)
void java_lang_invoke_DirectMethodHandle_StaticAccessor::compute_offsets() {
- Klass* klass_oop = SystemDictionary::DirectMethodHandle_StaticAccessor_klass();
- if (klass_oop != NULL) {
- compute_offset(_static_offset_offset, InstanceKlass::cast(klass_oop), vmSymbols::static_offset_name(), vmSymbols::long_signature());
- }
+ InstanceKlass* k = SystemDictionary::DirectMethodHandle_StaticAccessor_klass();
+ DIRECTMETHODHANDLE_STATIC_ACCESSOR_FIELDS_DO(FIELD_COMPUTE_OFFSET);
}
+#if INCLUDE_CDS
+void java_lang_invoke_DirectMethodHandle_StaticAccessor::serialize_offsets(SerializeClosure* f) {
+ DIRECTMETHODHANDLE_STATIC_ACCESSOR_FIELDS_DO(FIELD_SERIALIZE_OFFSET);
+}
+#endif
+
// Support for java_lang_invoke_DirectMethodHandle$Accessor
int java_lang_invoke_DirectMethodHandle_Accessor::_field_offset_offset;
@@ -3663,14 +3669,20 @@ void java_lang_invoke_DirectMethodHandle_Accessor::set_field_offset(oop dmh, int
dmh->int_field_put(_field_offset_offset, field_offset);
}
+#define DIRECTMETHODHANDLE_ACCESSOR_FIELDS_DO(macro) \
+ macro(_field_offset_offset, k, vmSymbols::field_offset_name(), int_signature, false)
void java_lang_invoke_DirectMethodHandle_Accessor::compute_offsets() {
- Klass* klass_oop = SystemDictionary::DirectMethodHandle_Accessor_klass();
- if (klass_oop != NULL) {
- compute_offset(_field_offset_offset, InstanceKlass::cast(klass_oop), vmSymbols::field_offset_name(), vmSymbols::int_signature());
- }
+ InstanceKlass* k = SystemDictionary::DirectMethodHandle_Accessor_klass();
+ DIRECTMETHODHANDLE_ACCESSOR_FIELDS_DO(FIELD_COMPUTE_OFFSET);
}
+#if INCLUDE_CDS
+void java_lang_invoke_DirectMethodHandle_Accessor::serialize_offsets(SerializeClosure* f) {
+ DIRECTMETHODHANDLE_ACCESSOR_FIELDS_DO(FIELD_SERIALIZE_OFFSET);
+}
+#endif
+
// Support for java_lang_invoke_MethodHandle
int java_lang_invoke_MethodHandle::_type_offset;
diff --git a/src/hotspot/share/classfile/javaClasses.hpp b/src/hotspot/share/classfile/javaClasses.hpp
index ceb1670df5d..55f9fa62e2b 100644
--- a/src/hotspot/share/classfile/javaClasses.hpp
+++ b/src/hotspot/share/classfile/javaClasses.hpp
@@ -67,6 +67,8 @@
f(java_lang_invoke_LambdaForm) \
f(java_lang_invoke_MethodType) \
f(java_lang_invoke_CallSite) \
+ f(java_lang_invoke_DirectMethodHandle_StaticAccessor) \
+ f(java_lang_invoke_DirectMethodHandle_Accessor) \
f(java_lang_invoke_MethodHandleNatives_CallSiteContext) \
f(java_security_AccessControlContext) \
f(java_lang_reflect_AccessibleObject) \
@@ -1077,6 +1079,7 @@ class java_lang_invoke_DirectMethodHandle_StaticAccessor: AllStatic {
static bool is_instance(oop obj) {
return obj != NULL && is_subclass(obj->klass());
}
+ static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
};
// Interface to java.lang.invoke.DirectMethodHandle$Accessor objects
@@ -1101,6 +1104,7 @@ class java_lang_invoke_DirectMethodHandle_Accessor: AllStatic {
static bool is_instance(oop obj) {
return obj != NULL && is_subclass(obj->klass());
}
+ static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
};
--
2.24.3 (Apple Git-128)

View File

@@ -1,60 +0,0 @@
From 14005f6176420c16fa1d152c78a3dacd26ecb647 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 11 Apr 2020 12:07:43 +0200
Subject: [PATCH 29/50] cleanup direct method handles code
---
src/hotspot/share/classfile/javaClasses.hpp | 10 ++++------
src/hotspot/share/classfile/javaClasses.inline.hpp | 8 ++++++++
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/hotspot/share/classfile/javaClasses.hpp b/src/hotspot/share/classfile/javaClasses.hpp
index 55f9fa62e2b..da004d1b307 100644
--- a/src/hotspot/share/classfile/javaClasses.hpp
+++ b/src/hotspot/share/classfile/javaClasses.hpp
@@ -1076,9 +1076,8 @@ class java_lang_invoke_DirectMethodHandle_StaticAccessor: AllStatic {
static bool is_subclass(Klass* klass) {
return klass->is_subclass_of(SystemDictionary::DirectMethodHandle_StaticAccessor_klass());
}
- static bool is_instance(oop obj) {
- return obj != NULL && is_subclass(obj->klass());
- }
+ static bool is_instance(oop obj);
+
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
};
@@ -1101,9 +1100,8 @@ class java_lang_invoke_DirectMethodHandle_Accessor: AllStatic {
static bool is_subclass(Klass* klass) {
return klass->is_subclass_of(SystemDictionary::DirectMethodHandle_Accessor_klass());
}
- static bool is_instance(oop obj) {
- return obj != NULL && is_subclass(obj->klass());
- }
+ static bool is_instance(oop obj);
+
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
};
diff --git a/src/hotspot/share/classfile/javaClasses.inline.hpp b/src/hotspot/share/classfile/javaClasses.inline.hpp
index 6c5787f4b70..ba9cffa8c62 100644
--- a/src/hotspot/share/classfile/javaClasses.inline.hpp
+++ b/src/hotspot/share/classfile/javaClasses.inline.hpp
@@ -175,6 +175,14 @@ inline bool java_lang_invoke_DirectMethodHandle::is_instance(oop obj) {
return obj != NULL && is_subclass(obj->klass());
}
+inline bool java_lang_invoke_DirectMethodHandle_StaticAccessor::is_instance(oop obj) {
+ return obj != NULL && is_subclass(obj->klass());
+}
+
+inline bool java_lang_invoke_DirectMethodHandle_Accessor::is_instance(oop obj) {
+ return obj != NULL && is_subclass(obj->klass());
+}
+
inline bool java_lang_Module::is_instance(oop obj) {
return obj != NULL && obj->klass() == SystemDictionary::Module_klass();
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,68 +0,0 @@
From 990ffe4111fe73c3a183f8d35402cbf9e81bd587 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 11 Apr 2020 17:52:13 +0200
Subject: [PATCH 30/50] Add init_implementor_from_redefine, that skips compiler
lock assert
---
src/hotspot/share/oops/instanceKlass.cpp | 10 +++++++++-
src/hotspot/share/oops/instanceKlass.hpp | 1 +
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index 8cbd4b8edf2..c04bdf5abfc 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -789,7 +789,7 @@ bool InstanceKlass::link_class_impl(bool throw_verifyerror, TRAPS) {
if (!is_linked()) {
if (!is_rewritten()) {
// In cases, if class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
- // then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
+ // then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
// on redefinition.
if (!newest_version()->is_redefining()) {
bool verify_ok = verify_code(throw_verifyerror, THREAD);
@@ -1139,6 +1139,14 @@ void InstanceKlass::init_implementor() {
}
}
+void InstanceKlass::init_implementor_from_redefine() {
+ assert(is_interface(), "not interface");
+ Klass** addr = adr_implementor();
+ assert(addr != NULL, "null addr");
+ if (addr != NULL) {
+ *addr = NULL;
+ }
+}
void InstanceKlass::process_interfaces(Thread *thread) {
// link this class into the implementors list of every interface it implements
diff --git a/src/hotspot/share/oops/instanceKlass.hpp b/src/hotspot/share/oops/instanceKlass.hpp
index 2cc98b636f1..e8107a39813 100644
--- a/src/hotspot/share/oops/instanceKlass.hpp
+++ b/src/hotspot/share/oops/instanceKlass.hpp
@@ -1020,6 +1020,7 @@ public:
int nof_implementors() const;
void add_implementor(Klass* k); // k is a new class that implements this interface
void init_implementor(); // initialize
+ void init_implementor_from_redefine(); // initialize
// link this class into the implementors list of every interface it implements
void process_interfaces(Thread *thread);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index f6d2d3a40fe..aac9ba0911f 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1416,7 +1416,7 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
Klass* implKlass = ik->implementor();
if (implKlass != NULL && implKlass != ik && implKlass->new_version() != NULL) {
InstanceKlass* newest_impl = InstanceKlass::cast(implKlass->newest_version());
- ik->init_implementor();
+ ik->init_implementor_from_redefine();
if (newest_impl->implements_interface(ik)) {
ik->add_implementor(newest_impl);
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,73 +0,0 @@
From 9dcddc7c2573c34579161e3ad1240b029dda1e96 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Mon, 13 Apr 2020 20:59:35 +0200
Subject: [PATCH 31/50] not nullable oop_store_not_null() method+handle NULL in
mem_name in dmh
---
.../share/prims/jvmtiEnhancedRedefineClasses.cpp | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index aac9ba0911f..8d861ef43c9 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -225,13 +225,15 @@ void VM_EnhancedRedefineClasses::mark_as_scavengable(nmethod* nm) {
// TODO comment
struct StoreBarrier {
// TODO: j10 review change ::oop_store -> HeapAccess<>::oop_store
- template <class T> static void oop_store(T* p, oop v) { HeapAccess<>::oop_store(p, v); }
+ template <class T> static void oop_store_not_null(T* p, oop v) { HeapAccess<IS_NOT_NULL>::oop_store(p, v); }
+ template <class T> static void oop_store(T* p) { HeapAccess<>::oop_store(p, oop(NULL)); }
};
// TODO comment
struct StoreNoBarrier {
- template <class T> static void oop_store(T* p, oop v) { RawAccess<IS_NOT_NULL>::oop_store(p, v); }
+ template <class T> static void oop_store_not_null(T* p, oop v) { RawAccess<IS_NOT_NULL>::oop_store(p, v); }
+ template <class T> static void oop_store(T* p) { RawAccess<>::oop_store(p, oop(NULL)); }
};
/**
@@ -309,6 +311,9 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
bool update_direct_method_handle(oop obj) {
// Always update member name first.
oop mem_name = java_lang_invoke_DirectMethodHandle::member(obj);
+ if (mem_name == NULL) {
+ return true;
+ }
if (!update_member_name(mem_name)) {
return false;
}
@@ -347,7 +352,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
assert(obj == InstanceKlass::cast(klass)->java_mirror(), "just checking");
if (klass->new_version() != NULL) {
obj = InstanceKlass::cast(klass->new_version())->java_mirror();
- S::oop_store(p, obj);
+ S::oop_store_not_null(p, obj);
oop_updated = true;
}
}
@@ -363,7 +368,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
if (!update_direct_method_handle(obj)) {
// DMH is no longer valid, replace it with null reference.
// See note above. We probably want to replace this with something more meaningful.
- S::oop_store(p, NULL);
+ S::oop_store(p);
}
}
}
@@ -1430,8 +1435,7 @@ void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
// Constant pool entry points to redefined class -- update to the new version
other_cp->klass_at_put(i, klass->newest_version());
}
- klass = other_cp->resolved_klass_at(i);
- assert(klass->new_version() == NULL, "Must be new klass!");
+ assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
}
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,32 +0,0 @@
From 800b44f545c7b99026d203690def30ec4b9ed08e Mon Sep 17 00:00:00 2001
From: Artem Khvastunov <artem.khvastunov@jetbrains.com>
Date: Tue, 14 Apr 2020 19:11:35 +0200
Subject: [PATCH 32/50] add jvmtiEnhancedRedefineClasses.* to CMakeLists.txt
---
jb/project/hotspot-cmake/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jb/project/hotspot-cmake/CMakeLists.txt b/jb/project/hotspot-cmake/CMakeLists.txt
index 8b552c27206..6516e39058f 100644
--- a/jb/project/hotspot-cmake/CMakeLists.txt
+++ b/jb/project/hotspot-cmake/CMakeLists.txt
@@ -1663,6 +1663,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/prims/jvmtiGetLoadedClasses.hpp
../../../src/hotspot/share/prims/jvmtiAgentThread.hpp
../../../src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp
+../../../src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
../../../src/hotspot/share/prims/stackwalk.cpp
../../../src/hotspot/share/prims/privilegedStack.hpp
../../../src/hotspot/share/prims/jvmtiUtil.hpp
@@ -1684,6 +1685,7 @@ set(SOURCE_FILES
../../../src/hotspot/share/prims/stackwalk.hpp
../../../src/hotspot/share/prims/privilegedStack.cpp
../../../src/hotspot/share/prims/jvmtiCodeBlobEvents.hpp
+../../../src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
../../../src/hotspot/share/prims/jvmtiUtil.cpp
../../../src/hotspot/share/prims/jvmtiEnvBase.cpp
../../../src/hotspot/share/prims/methodHandles.cpp
--
2.24.3 (Apple Git-128)

View File

@@ -1,25 +0,0 @@
From e009b4fcc48e9719b5b896f7f3838fbc7c579ba7 Mon Sep 17 00:00:00 2001
From: Artem Khvastunov <artem.khvastunov@jetbrains.com>
Date: Sun, 19 Apr 2020 11:36:12 +0200
Subject: [PATCH 33/50] migrate DCEVM to 11.0.7
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 2d114635ee5..6cabdca9c27 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -30,7 +30,7 @@
#include "memory/resourceArea.hpp"
#include "oops/objArrayKlass.hpp"
#include "oops/objArrayOop.hpp"
-#include "runtime/vm_operations.hpp"
+#include "runtime/vmOperations.hpp"
#include "gc/shared/vmGCOperations.hpp"
#include "../../../java.base/unix/native/include/jni_md.h"
--
2.24.3 (Apple Git-128)

View File

@@ -1,33 +0,0 @@
From 5653e2a5f05a9693f934b0f9c4d9286c01576807 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 8 May 2020 21:07:50 +0200
Subject: [PATCH 34/50] Fix 11.0.7 compilation issues
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 6cabdca9c27..ed44f0e27ce 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -16,6 +16,8 @@
* 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.
@@ -30,7 +32,6 @@
#include "memory/resourceArea.hpp"
#include "oops/objArrayKlass.hpp"
#include "oops/objArrayOop.hpp"
-#include "runtime/vmOperations.hpp"
#include "gc/shared/vmGCOperations.hpp"
#include "../../../java.base/unix/native/include/jni_md.h"
--
2.24.3 (Apple Git-128)

View File

@@ -1,33 +0,0 @@
From 0b9b021f889ec001d579d192f1bd9a7a43f63871 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 9 May 2020 10:08:17 +0200
Subject: [PATCH 35/50] Use INCLUDE_CDS condition on "UseSharedSpaces" block
from master
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 8d861ef43c9..660bf3a2e97 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -467,6 +467,7 @@ public:
void VM_EnhancedRedefineClasses::doit() {
Thread *thread = Thread::current();
+#if INCLUDE_CDS
if (UseSharedSpaces) {
// Sharing is enabled so we remap the shared readonly space to
// shared readwrite, private just in case we need to redefine
@@ -478,6 +479,7 @@ void VM_EnhancedRedefineClasses::doit() {
return;
}
}
+#endif
// Mark methods seen on stack and everywhere else so old methods are not
// cleaned up if they're on the stack.
--
2.24.3 (Apple Git-128)

View File

@@ -1,141 +0,0 @@
From 9f4b84339b55187b742682bd84fdb0e6e121917c Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 16 May 2020 15:11:40 +0200
Subject: [PATCH 36/50] Access com.sun.beans.util - HotswapAgent patch
---
src/hotspot/share/runtime/arguments.cpp | 2 ++
.../sun/beans/introspect/package-info.java | 26 +++++++++++++++++++
.../classes/com/sun/beans/package-info.java | 26 +++++++++++++++++++
.../com/sun/beans/util/package-info.java | 26 +++++++++++++++++++
.../share/classes/module-info.java | 3 +++
5 files changed, 83 insertions(+)
create mode 100644 src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
create mode 100644 src/java.desktop/share/classes/com/sun/beans/package-info.java
create mode 100644 src/java.desktop/share/classes/com/sun/beans/util/package-info.java
diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp
index 0cdd8c88315..72580b384dd 100644
--- a/src/hotspot/share/runtime/arguments.cpp
+++ b/src/hotspot/share/runtime/arguments.cpp
@@ -4333,5 +4333,7 @@ void Arguments::setup_hotswap_agent() {
create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans=ALL-UNNAMED", addopens_count++);
// com.sun.beans.introspect.ClassInfo access
create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.introspect=ALL-UNNAMED", addopens_count++);
+ // com.sun.beans.introspect.util.Cache access
+ create_numbered_property("jdk.module.addopens", "java.desktop/com.sun.beans.util=ALL-UNNAMED", addopens_count++);
}
diff --git a/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java b/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
new file mode 100644
index 00000000000..6636e4dd62a
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/introspect/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, 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.
+ */
+
+package com.sun.beans.introspect;
diff --git a/src/java.desktop/share/classes/com/sun/beans/package-info.java b/src/java.desktop/share/classes/com/sun/beans/package-info.java
new file mode 100644
index 00000000000..5c097eeaa53
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, 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.
+ */
+
+package com.sun.beans;
diff --git a/src/java.desktop/share/classes/com/sun/beans/util/package-info.java b/src/java.desktop/share/classes/com/sun/beans/util/package-info.java
new file mode 100644
index 00000000000..2d5d735ffa8
--- /dev/null
+++ b/src/java.desktop/share/classes/com/sun/beans/util/package-info.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 1998, 2017, 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.
+ */
+
+package com.sun.beans.util;
diff --git a/src/java.desktop/share/classes/module-info.java b/src/java.desktop/share/classes/module-info.java
index f9cf021311f..e61ba7572cf 100644
--- a/src/java.desktop/share/classes/module-info.java
+++ b/src/java.desktop/share/classes/module-info.java
@@ -104,6 +104,9 @@ module java.desktop {
exports javax.swing.text.rtf;
exports javax.swing.tree;
exports javax.swing.undo;
+ exports com.sun.beans;
+ exports com.sun.beans.introspect;
+ exports com.sun.beans.util;
// qualified exports may be inserted at build time
// see make/GensrcModuleInfo.gmk
--
2.24.3 (Apple Git-128)

View File

@@ -1,29 +0,0 @@
From 9a662b1367860920095efe79116ef9a2d53fc2c6 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 17 May 2020 12:19:18 +0200
Subject: [PATCH 37/50] Skip verifier only in AllowEnhancedClassRedefinition
---
src/hotspot/share/oops/instanceKlass.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index c04bdf5abfc..e14aaee21c4 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -788,10 +788,10 @@ bool InstanceKlass::link_class_impl(bool throw_verifyerror, TRAPS) {
if (!is_linked()) {
if (!is_rewritten()) {
- // In cases, if class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
+ // (DCEVM): If class A is being redefined and class B->A (B is extended from A) and B is host class of anonymous class C
// then second redefinition fails with cannot cast klass exception. So we currently turn off bytecode verification
// on redefinition.
- if (!newest_version()->is_redefining()) {
+ if (!AllowEnhancedClassRedefinition || !newest_version()->is_redefining()) {
bool verify_ok = verify_code(throw_verifyerror, THREAD);
if (!verify_ok) {
return false;
--
2.24.3 (Apple Git-128)

View File

@@ -1,98 +0,0 @@
From a58ed678218bfb80af164cfe98cdf4a3ab74a682 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 17 May 2020 18:18:52 +0200
Subject: [PATCH 38/50] Use original code for adjust_method_entries in standard
redefinition
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 2 +-
.../share/prims/resolvedMethodTable.cpp | 46 ++++++++++++++++++-
.../share/prims/resolvedMethodTable.hpp | 1 +
3 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 660bf3a2e97..0ca675e8ee6 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -506,7 +506,7 @@ void VM_EnhancedRedefineClasses::doit() {
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
- ResolvedMethodTable::adjust_method_entries(&trace_name_printed);
+ ResolvedMethodTable::adjust_method_entries_dcevm(&trace_name_printed);
}
ChangePointersOopClosure<StoreNoBarrier> oopClosureNoBarrier;
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index a9057893368..af2ec48c2e1 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -197,8 +197,52 @@ void ResolvedMethodTable::print() {
#endif // PRODUCT
#if INCLUDE_JVMTI
-// It is called at safepoint only for RedefineClasses
+
void ResolvedMethodTable::adjust_method_entries(bool * trace_name_printed) {
+ assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
+ // For each entry in RMT, change to new method
+ for (int i = 0; i < _the_table->table_size(); ++i) {
+ for (ResolvedMethodEntry* entry = _the_table->bucket(i);
+ entry != NULL;
+ entry = entry->next()) {
+
+ oop mem_name = entry->object_no_keepalive();
+ // except ones removed
+ if (mem_name == NULL) {
+ continue;
+ }
+ Method* old_method = (Method*)java_lang_invoke_ResolvedMethodName::vmtarget(mem_name);
+
+ if (old_method->is_old()) {
+
+ Method* new_method;
+ if (old_method->is_deleted()) {
+ new_method = Universe::throw_no_such_method_error();
+ } else {
+ InstanceKlass* holder = old_method->method_holder();
+ new_method = holder->method_with_idnum(old_method->orig_method_idnum());
+ assert(holder == new_method->method_holder(), "call after swapping redefined guts");
+ assert(new_method != NULL, "method_with_idnum() should not be NULL");
+ assert(old_method != new_method, "sanity check");
+ }
+
+ java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, new_method);
+
+ ResourceMark rm;
+ if (!(*trace_name_printed)) {
+ log_info(redefine, class, update)("adjust: name=%s", old_method->method_holder()->external_name());
+ *trace_name_printed = true;
+ }
+ log_debug(redefine, class, update, constantpool)
+ ("ResolvedMethod method update: %s(%s)",
+ new_method->name()->as_C_string(), new_method->signature()->as_C_string());
+ }
+ }
+ }
+}
+
+// (DCEVM) It is called at safepoint only for RedefineClasses
+void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed) {
assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
// For each entry in RMT, change to new method
GrowableArray<oop>* oops_to_add = new GrowableArray<oop>();
diff --git a/src/hotspot/share/prims/resolvedMethodTable.hpp b/src/hotspot/share/prims/resolvedMethodTable.hpp
index 841ae4ae585..543d4ffa485 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.hpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.hpp
@@ -93,6 +93,7 @@ public:
#if INCLUDE_JVMTI
// It is called at safepoint only for RedefineClasses
static void adjust_method_entries(bool * trace_name_printed);
+ static void adjust_method_entries_dcevm(bool * trace_name_printed);
#endif // INCLUDE_JVMTI
// Cleanup cleared entries
--
2.24.3 (Apple Git-128)

View File

@@ -1,54 +0,0 @@
From c1e814f2f7d4f2b37abd667d0bec516474f2a119 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 May 2020 09:41:36 +0200
Subject: [PATCH 39/50] Revert code for !AllowEnhancedClassRedefinition
---
.../share/classfile/classLoaderData.cpp | 23 ++++++++++---------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index 25103fff2c0..f5b877b432b 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1387,12 +1387,13 @@ bool ClassLoaderDataGraph::do_unloading(bool clean_previous_versions) {
// Klassesoto delete.
// FIXME: dcevm - block asserts in MetadataOnStackMark
- /*
- bool walk_all_metadata = clean_previous_versions &&
- JvmtiExport::has_redefined_a_class() &&
- InstanceKlass::has_previous_versions_and_reset();
- MetadataOnStackMark md_on_stack(walk_all_metadata);
- */
+ bool walk_all_metadata = false;
+ if (!AllowEnhancedClassRedefinition) {
+ walk_all_metadata = clean_previous_versions &&
+ JvmtiExport::has_redefined_a_class() &&
+ InstanceKlass::has_previous_versions_and_reset();
+ MetadataOnStackMark md_on_stack(walk_all_metadata);
+ }
// Save previous _unloading pointer for CMS which may add to unloading list before
// purging and we don't want to rewalk the previously unloaded class loader data.
@@ -1402,12 +1403,12 @@ bool ClassLoaderDataGraph::do_unloading(bool clean_previous_versions) {
while (data != NULL) {
if (data->is_alive()) {
// clean metaspace
- /*
- if (walk_all_metadata) {
- data->classes_do(InstanceKlass::purge_previous_versions);
+ if (!AllowEnhancedClassRedefinition) {
+ if (walk_all_metadata) {
+ data->classes_do(InstanceKlass::purge_previous_versions);
+ }
+ data->free_deallocate_list();
}
- data->free_deallocate_list();
- */
prev = data;
data = data->next();
loaders_processed++;
--
2.24.3 (Apple Git-128)

View File

@@ -1,278 +0,0 @@
From 5b36c4798869c5cd4d65f7765a8447b9cf09d76b Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 May 2020 09:29:39 +0200
Subject: [PATCH 40/50] Code cleanup
---
src/hotspot/share/classfile/classFileParser.cpp | 4 +++-
src/hotspot/share/classfile/classFileParser.hpp | 2 +-
src/hotspot/share/classfile/classLoaderData.cpp | 2 ++
src/hotspot/share/classfile/dictionary.cpp | 4 ++++
src/hotspot/share/classfile/dictionary.hpp | 1 +
src/hotspot/share/classfile/loaderConstraints.cpp | 3 ++-
src/hotspot/share/classfile/systemDictionary.cpp | 8 +++++---
src/hotspot/share/interpreter/linkResolver.cpp | 1 +
src/hotspot/share/memory/universe.cpp | 4 ++--
src/hotspot/share/oops/instanceKlass.cpp | 13 ++++++++-----
10 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/src/hotspot/share/classfile/classFileParser.cpp b/src/hotspot/share/classfile/classFileParser.cpp
index ea150df9104..c2cd35da4e6 100644
--- a/src/hotspot/share/classfile/classFileParser.cpp
+++ b/src/hotspot/share/classfile/classFileParser.cpp
@@ -954,6 +954,7 @@ void ClassFileParser::parse_interfaces(const ClassFileStream* const stream,
CHECK);
}
+ // (DCEVM) pick newest
interf = (Klass *) maybe_newest(interf);
if (!interf->is_interface()) {
@@ -3749,6 +3750,7 @@ const InstanceKlass* ClassFileParser::parse_super_class(ConstantPool* const cp,
// However, make sure it is not an array type.
bool is_array = false;
if (cp->tag_at(super_class_index).is_klass()) {
+ // (DCEVM) pick newest
super_klass = InstanceKlass::cast(maybe_newest(cp->resolved_klass_at(super_class_index)));
if (need_verify)
is_array = super_klass->is_array_klass();
@@ -4417,7 +4419,7 @@ void ClassFileParser::set_precomputed_flags(InstanceKlass* ik) {
if (!_has_empty_finalizer) {
if (_has_finalizer ||
(super != NULL && super->has_finalizer())) {
- // FIXME - condition from previous DCEVM version, however after reload new finelize() method is not active
+ // FIXME - (DCEVM) this is condition from previous DCEVM version, however after reload a new finalize() method is not active
if (ik->old_version() == NULL || ik->old_version()->has_finalizer()) {
ik->set_has_finalizer();
}
diff --git a/src/hotspot/share/classfile/classFileParser.hpp b/src/hotspot/share/classfile/classFileParser.hpp
index 3db14b678f3..93ed54d8f70 100644
--- a/src/hotspot/share/classfile/classFileParser.hpp
+++ b/src/hotspot/share/classfile/classFileParser.hpp
@@ -499,7 +499,7 @@ class ClassFileParser {
FieldLayoutInfo* info,
TRAPS);
- // Enhanced class redefinition
+ // (DCEVM) Enhanced class redefinition
inline const Klass* maybe_newest(const Klass* klass) const { return klass != NULL && _pick_newest ? klass->newest_version() : klass; }
public:
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index f5b877b432b..ab2615da0ed 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -1242,6 +1242,7 @@ void ClassLoaderDataGraph::dictionary_classes_do(void f(InstanceKlass*)) {
}
}
+// (DCEVM) - iterate over dict classes
void ClassLoaderDataGraph::dictionary_classes_do(KlassClosure* klass_closure) {
FOR_ALL_DICTIONARY(cld) {
cld->dictionary()->classes_do(klass_closure);
@@ -1257,6 +1258,7 @@ void ClassLoaderDataGraph::dictionary_classes_do(void f(InstanceKlass*, TRAPS),
}
}
+// (DCEVM) rollback redefined classes
void ClassLoaderDataGraph::rollback_redefinition() {
FOR_ALL_DICTIONARY(cld) {
cld->dictionary()->rollback_redefinition();
diff --git a/src/hotspot/share/classfile/dictionary.cpp b/src/hotspot/share/classfile/dictionary.cpp
index 118730f1b83..dda5188c370 100644
--- a/src/hotspot/share/classfile/dictionary.cpp
+++ b/src/hotspot/share/classfile/dictionary.cpp
@@ -245,6 +245,8 @@ void Dictionary::classes_do(void f(InstanceKlass*)) {
}
}
+
+// (DCEVM) iterate over dict entry
void Dictionary::classes_do(KlassClosure* closure) {
for (int index = 0; index < table_size(); index++) {
for (DictionaryEntry* probe = bucket(index);
@@ -342,6 +344,7 @@ DictionaryEntry* Dictionary::get_entry(int index, unsigned int hash,
return NULL;
}
+// (DCEVM) replace old_class by new class in dictionary
bool Dictionary::update_klass(unsigned int hash, Symbol* name, ClassLoaderData* loader_data, InstanceKlass* k, InstanceKlass* old_klass) {
// There are several entries for the same class in the dictionary: One extra entry for each parent classloader of the classloader of the class.
bool found = false;
@@ -356,6 +359,7 @@ bool Dictionary::update_klass(unsigned int hash, Symbol* name, ClassLoaderData*
return found;
}
+// (DCEVM) rollback redefinition
void Dictionary::rollback_redefinition() {
for (int index = 0; index < table_size(); index++) {
for (DictionaryEntry* entry = bucket(index);
diff --git a/src/hotspot/share/classfile/dictionary.hpp b/src/hotspot/share/classfile/dictionary.hpp
index fd4b134d7a7..5eaa741d500 100644
--- a/src/hotspot/share/classfile/dictionary.hpp
+++ b/src/hotspot/share/classfile/dictionary.hpp
@@ -119,6 +119,7 @@ public:
void rollback_redefinition();
+ // (DCEVM) return old class if redefining in AllowEnhancedClassRedefinition, otherwise return "k"
static InstanceKlass* old_if_redefined(InstanceKlass* k) {
return (k != NULL && k->is_redefining()) ? ((InstanceKlass* )k->old_version()) : k;
}
diff --git a/src/hotspot/share/classfile/loaderConstraints.cpp b/src/hotspot/share/classfile/loaderConstraints.cpp
index e4a23e8a27c..bca73b5e0dc 100644
--- a/src/hotspot/share/classfile/loaderConstraints.cpp
+++ b/src/hotspot/share/classfile/loaderConstraints.cpp
@@ -4,7 +4,7 @@
*
* 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.
+ * published by the Free Software Foundation) replace old_class by new class in dictionary.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -87,6 +87,7 @@ LoaderConstraintEntry** LoaderConstraintTable::find_loader_constraint(
return pp;
}
+// (DCEVM) update constraint entries to new classes, called from dcevm redefinition code only
void LoaderConstraintTable::update_after_redefinition() {
for (int index = 0; index < table_size(); index++) {
LoaderConstraintEntry** p = bucket_addr(index);
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index 9dbd6cc9c12..e70865109dd 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -876,7 +876,8 @@ Klass* SystemDictionary::resolve_instance_class_or_null(Symbol* name,
ClassLoaderData* loader_data = k->class_loader_data();
MutexLocker mu(SystemDictionary_lock, THREAD);
Klass* kk = find_class(name, loader_data);
- // FIXME: (kk == k() && !k->is_redefining()) || (k->is_redefining() && kk == k->old_version())
+ // FIXME: (DCEVM)
+ // assert(kk == k() && !k->is_redefining()) || (k->is_redefining() && kk == k->old_version())
assert(kk == k, "should be present in dictionary");
}
#endif
@@ -1083,7 +1084,7 @@ InstanceKlass* SystemDictionary::resolve_from_stream(Symbol* class_name,
InstanceKlass* k = NULL;
#if INCLUDE_CDS
- // FIXME: what to do during redefinition?
+ // FIXME: (DCEVM) what to do during redefinition?
if (!DumpSharedSpaces) {
k = SystemDictionaryShared::lookup_from_stream(class_name,
class_loader,
@@ -1836,7 +1837,7 @@ void SystemDictionary::add_to_hierarchy(InstanceKlass* k, TRAPS) {
CodeCache::flush_dependents_on(k);
}
-// Enhanced class redefinition
+// (DCEVM) - remove from klass hierarchy
void SystemDictionary::remove_from_hierarchy(InstanceKlass* k) {
assert(k != NULL, "just checking");
@@ -1844,6 +1845,7 @@ void SystemDictionary::remove_from_hierarchy(InstanceKlass* k) {
k->remove_from_sibling_list();
}
+// (DCEVM)
void SystemDictionary::update_constraints_after_redefinition() {
constraints()->update_after_redefinition();
}
diff --git a/src/hotspot/share/interpreter/linkResolver.cpp b/src/hotspot/share/interpreter/linkResolver.cpp
index cb76d2ef50c..9dc184d02f5 100644
--- a/src/hotspot/share/interpreter/linkResolver.cpp
+++ b/src/hotspot/share/interpreter/linkResolver.cpp
@@ -1384,6 +1384,7 @@ void LinkResolver::runtime_resolve_virtual_method(CallInfo& result,
assert(resolved_method->can_be_statically_bound(), "cannot override this method");
selected_method = resolved_method;
} else {
+ // TODO: (DCEVM) explain
assert(recv_klass->is_subtype_of(resolved_method->method_holder()), "receiver and resolved method holder are inconsistent");
selected_method = methodHandle(THREAD, recv_klass->method_at_vtable(vtable_index));
}
diff --git a/src/hotspot/share/memory/universe.cpp b/src/hotspot/share/memory/universe.cpp
index 7ecb950b231..d0a6d665aa0 100644
--- a/src/hotspot/share/memory/universe.cpp
+++ b/src/hotspot/share/memory/universe.cpp
@@ -176,7 +176,7 @@ void Universe::basic_type_classes_do(void f(Klass*)) {
f(doubleArrayKlassObj());
}
-// FIXME: This method should iterate all pointers that are not within heap objects.
+// FIXME: (DCEVM) This method should iterate all pointers that are not within heap objects.
void Universe::root_oops_do(OopClosure *oopClosure) {
class AlwaysTrueClosure: public BoolObjectClosure {
@@ -203,7 +203,7 @@ void Universe::root_oops_do(OopClosure *oopClosure) {
CodeBlobToOopClosure blobClosure(oopClosure, CodeBlobToOopClosure::FixRelocations);
CodeCache::blobs_do(&blobClosure);
StringTable::oops_do(oopClosure);
-
+
// (DCEVM) TODO: Check if this is correct?
//CodeCache::scavenge_root_nmethods_oops_do(oopClosure);
//Management::oops_do(oopClosure);
diff --git a/src/hotspot/share/oops/instanceKlass.cpp b/src/hotspot/share/oops/instanceKlass.cpp
index e14aaee21c4..c860371d2fc 100644
--- a/src/hotspot/share/oops/instanceKlass.cpp
+++ b/src/hotspot/share/oops/instanceKlass.cpp
@@ -1139,6 +1139,7 @@ void InstanceKlass::init_implementor() {
}
}
+// (DCEVM) - init_implementor() for dcevm
void InstanceKlass::init_implementor_from_redefine() {
assert(is_interface(), "not interface");
Klass** addr = adr_implementor();
@@ -1209,6 +1210,8 @@ bool InstanceKlass::implements_interface(Klass* k) const {
return false;
}
+
+// (DCEVM)
bool InstanceKlass::implements_interface_any_version(Klass* k) const {
k = k->newest_version();
if (this->newest_version() == k) return true;
@@ -1491,10 +1494,8 @@ void InstanceKlass::methods_do(void f(Method* method)) {
}
}
-/**
- Update information contains mapping of fields from old class to the new class.
- Info is stored on HEAP, you need to call clear_update_information to free the space.
-*/
+// (DCEVM) Update information contains mapping of fields from old class to the new class.
+// Info is stored on HEAP, you need to call clear_update_information to free the space.
void InstanceKlass::store_update_information(GrowableArray<int> &values) {
int *arr = NEW_C_HEAP_ARRAY(int, values.length(), mtClass);
for (int i = 0; i < values.length(); i++) {
@@ -2162,6 +2163,7 @@ void InstanceKlass::add_dependent_nmethod(nmethod* nm) {
dependencies().add_dependent_nmethod(nm);
}
+// DCEVM - update jmethod ids
bool InstanceKlass::update_jmethod_id(Method* method, jmethodID newMethodID) {
size_t idnum = (size_t)method->method_idnum();
jmethodID* jmeths = methods_jmethod_ids_acquire();
@@ -2177,7 +2179,7 @@ bool InstanceKlass::update_jmethod_id(Method* method, jmethodID newMethodID) {
void InstanceKlass::remove_dependent_nmethod(nmethod* nm, bool delete_immediately) {
dependencies().remove_dependent_nmethod(nm, delete_immediately);
- // (DCEVM) Hack as dependencies get wrong version of Klass*
+ // FIXME: (DCEVM) Hack as dependencies get wrong version of Klass*
// if (this->old_version() != NULL) {
// InstanceKlass::cast(this->old_version())->remove_dependent_nmethod(nm, true);
// return;
@@ -3594,6 +3596,7 @@ void InstanceKlass::verify_on(outputStream* st) {
}
guarantee(sib->is_klass(), "should be klass");
+ // TODO: (DCEVM) explain
guarantee(sib->super() == super || super->newest_version() == SystemDictionary::Object_klass(), "siblings should have same superklass");
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,36 +0,0 @@
From 71f35c41b569f72a1674ccd57118c4fe76ba3d68 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 May 2020 10:31:15 +0200
Subject: [PATCH 41/50] Activate cpCache definition asserts for !dcevm
---
src/hotspot/share/oops/cpCache.cpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/hotspot/share/oops/cpCache.cpp b/src/hotspot/share/oops/cpCache.cpp
index 47040d51f0c..4318df227d1 100644
--- a/src/hotspot/share/oops/cpCache.cpp
+++ b/src/hotspot/share/oops/cpCache.cpp
@@ -436,8 +436,7 @@ void ConstantPoolCacheEntry::set_method_handle_common(const constantPoolHandle&
if (has_appendix) {
const int appendix_index = f2_as_index() + _indy_resolved_references_appendix_offset;
assert(appendix_index >= 0 && appendix_index < resolved_references->length(), "oob");
- // FIXME (DCEVM) relaxing for now...
- //assert(resolved_references->obj_at(appendix_index) == NULL, "init just once");
+ assert(AllowEnhancedClassRedefinition || resolved_references->obj_at(appendix_index) == NULL, "init just once");
resolved_references->obj_at_put(appendix_index, appendix());
}
@@ -445,8 +444,7 @@ void ConstantPoolCacheEntry::set_method_handle_common(const constantPoolHandle&
if (has_method_type) {
const int method_type_index = f2_as_index() + _indy_resolved_references_method_type_offset;
assert(method_type_index >= 0 && method_type_index < resolved_references->length(), "oob");
- // FIXME (DCEVM) relaxing for now...
- //assert(resolved_references->obj_at(method_type_index) == NULL, "init just once");
+ assert(AllowEnhancedClassRedefinition || resolved_references->obj_at(method_type_index) == NULL, "init just once");
resolved_references->obj_at_put(method_type_index, method_type());
}
--
2.24.3 (Apple Git-128)

View File

@@ -1,29 +0,0 @@
From 961018a29ddb7eba96aca7fbc385f3c4f29e3a03 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Tue, 19 May 2020 10:54:38 +0200
Subject: [PATCH 42/50] iterate old method version only in dcevm
---
src/hotspot/share/prims/jvmtiImpl.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiImpl.cpp b/src/hotspot/share/prims/jvmtiImpl.cpp
index 2a92ece916e..d2044541d38 100644
--- a/src/hotspot/share/prims/jvmtiImpl.cpp
+++ b/src/hotspot/share/prims/jvmtiImpl.cpp
@@ -294,8 +294,10 @@ void JvmtiBreakpoint::each_method_version_do(method_action meth_act) {
Symbol* m_signature = _method->signature();
// (DCEVM) Go through old versions of method
- for (Method* m = _method->old_version(); m != NULL; m = m->old_version()) {
- (m->*meth_act)(_bci);
+ if (AllowEnhancedClassRedefinition) {
+ for (Method* m = _method->old_version(); m != NULL; m = m->old_version()) {
+ (m->*meth_act)(_bci);
+ }
}
// search previous versions if they exist
--
2.24.3 (Apple Git-128)

View File

@@ -1,258 +0,0 @@
From 2ab70b495c43c4699ad402a714710566400de99d Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 22 May 2020 21:23:01 +0200
Subject: [PATCH 43/50] Support for Lambda class redefinition
---
.../share/classfile/classLoaderData.cpp | 9 +++
.../share/classfile/classLoaderData.hpp | 1 +
.../share/classfile/systemDictionary.cpp | 12 +++-
.../share/classfile/systemDictionary.hpp | 2 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 65 +++++++++++++++++--
.../prims/jvmtiEnhancedRedefineClasses.hpp | 1 +
.../share/prims/resolvedMethodTable.cpp | 4 +-
src/hotspot/share/prims/unsafe.cpp | 1 +
8 files changed, 85 insertions(+), 10 deletions(-)
diff --git a/src/hotspot/share/classfile/classLoaderData.cpp b/src/hotspot/share/classfile/classLoaderData.cpp
index ab2615da0ed..1bc67adf5a7 100644
--- a/src/hotspot/share/classfile/classLoaderData.cpp
+++ b/src/hotspot/share/classfile/classLoaderData.cpp
@@ -663,6 +663,15 @@ Dictionary* ClassLoaderData::create_dictionary() {
return new Dictionary(this, size, resizable);
}
+void ClassLoaderData::exchange_holders(ClassLoaderData* cld) {
+ oop holder_oop = _holder.peek();
+ _holder.replace(cld->_holder.peek());
+ cld->_holder.replace(holder_oop);
+ WeakHandle<vm_class_loader_data> exchange = _holder;
+ _holder = cld->_holder;
+ cld->_holder = exchange;
+}
+
// Tell the GC to keep this klass alive while iterating ClassLoaderDataGraph
oop ClassLoaderData::holder_phantom() const {
// A klass that was previously considered dead can be looked up in the
diff --git a/src/hotspot/share/classfile/classLoaderData.hpp b/src/hotspot/share/classfile/classLoaderData.hpp
index 7e357929971..00a84610b43 100644
--- a/src/hotspot/share/classfile/classLoaderData.hpp
+++ b/src/hotspot/share/classfile/classLoaderData.hpp
@@ -292,6 +292,7 @@ class ClassLoaderData : public CHeapObj<mtClass> {
void accumulate_modified_oops() { if (has_modified_oops()) _accumulated_modified_oops = true; }
void clear_accumulated_modified_oops() { _accumulated_modified_oops = false; }
bool has_accumulated_modified_oops() { return _accumulated_modified_oops; }
+ void exchange_holders(ClassLoaderData* cld);
private:
void unload();
diff --git a/src/hotspot/share/classfile/systemDictionary.cpp b/src/hotspot/share/classfile/systemDictionary.cpp
index e70865109dd..cc9f1fa7831 100644
--- a/src/hotspot/share/classfile/systemDictionary.cpp
+++ b/src/hotspot/share/classfile/systemDictionary.cpp
@@ -971,12 +971,16 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
Handle protection_domain,
ClassFileStream* st,
const InstanceKlass* host_klass,
+ InstanceKlass* old_klass,
GrowableArray<Handle>* cp_patches,
TRAPS) {
EventClassLoad class_load_start_event;
ClassLoaderData* loader_data;
+
+ bool is_redefining = (old_klass != NULL);
+
if (host_klass != NULL) {
// Create a new CLD for anonymous class, that uses the same class loader
// as the host_klass
@@ -1000,8 +1004,12 @@ InstanceKlass* SystemDictionary::parse_stream(Symbol* class_name,
protection_domain,
host_klass,
cp_patches,
- false, // pick_newest
+ is_redefining, // pick_newest
CHECK_NULL);
+ if (is_redefining && k != NULL) {
+ k->set_redefining(true);
+ k->set_old_version(old_klass);
+ }
if (host_klass != NULL && k != NULL) {
// Anonymous classes must update ClassLoaderData holder (was host_klass loader)
@@ -1845,7 +1853,7 @@ void SystemDictionary::remove_from_hierarchy(InstanceKlass* k) {
k->remove_from_sibling_list();
}
-// (DCEVM)
+// (DCEVM)
void SystemDictionary::update_constraints_after_redefinition() {
constraints()->update_after_redefinition();
}
diff --git a/src/hotspot/share/classfile/systemDictionary.hpp b/src/hotspot/share/classfile/systemDictionary.hpp
index 717f34ce9a0..dc111846c12 100644
--- a/src/hotspot/share/classfile/systemDictionary.hpp
+++ b/src/hotspot/share/classfile/systemDictionary.hpp
@@ -301,6 +301,7 @@ public:
protection_domain,
st,
NULL, // host klass
+ NULL, // old class
NULL, // cp_patches
THREAD);
}
@@ -309,6 +310,7 @@ public:
Handle protection_domain,
ClassFileStream* st,
const InstanceKlass* host_klass,
+ InstanceKlass* old_klass,
GrowableArray<Handle>* cp_patches,
TRAPS);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 0ca675e8ee6..08fe42d5c28 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -503,6 +503,8 @@ void VM_EnhancedRedefineClasses::doit() {
ClassLoaderDataGraph::classes_do(&clear_cpool_cache);
+ // SystemDictionary::methods_do(fix_invoke_method);
+
// JSR-292 support
if (_any_class_has_resolved_methods) {
bool trace_name_printed = false;
@@ -774,12 +776,34 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
// load hook event.
state->set_class_being_redefined(the_class, _class_load_kind);
- InstanceKlass* k = SystemDictionary::resolve_from_stream(the_class_sym,
- the_class_loader,
- protection_domain,
- &st,
- the_class,
- THREAD);
+ InstanceKlass* k;
+
+ if (InstanceKlass::cast(the_class)->is_anonymous()) {
+ const InstanceKlass* host_class = the_class->host_klass();
+
+ // Make sure it's the real host class, not another anonymous class.
+ while (host_class != NULL && host_class->is_anonymous()) {
+ host_class = host_class->host_klass();
+ }
+
+ k = SystemDictionary::parse_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ host_class,
+ the_class,
+ NULL,
+ THREAD);
+ k->class_loader_data()->exchange_holders(the_class->class_loader_data());
+ the_class->class_loader_data()->inc_keep_alive();
+ } else {
+ k = SystemDictionary::resolve_from_stream(the_class_sym,
+ the_class_loader,
+ protection_domain,
+ &st,
+ the_class,
+ THREAD);
+ }
// Clear class_being_redefined just to be sure.
state->clear_class_being_redefined();
@@ -1469,6 +1493,30 @@ void VM_EnhancedRedefineClasses::MethodDataCleaner::do_klass(Klass* k) {
}
}
+void VM_EnhancedRedefineClasses::fix_invoke_method(Method* method) {
+
+ constantPoolHandle other_cp = constantPoolHandle(method->constants());
+
+ for (int i = 0; i < other_cp->length(); i++) {
+ if (other_cp->tag_at(i).is_klass()) {
+ Klass* klass = other_cp->resolved_klass_at(i);
+ if (klass->new_version() != NULL) {
+ // Constant pool entry points to redefined class -- update to the new version
+ other_cp->klass_at_put(i, klass->newest_version());
+ }
+ assert(other_cp->resolved_klass_at(i)->new_version() == NULL, "Must be new klass!");
+ }
+ }
+
+ ConstantPoolCache* cp_cache = other_cp->cache();
+ if (cp_cache != NULL) {
+ cp_cache->clear_entries();
+ }
+
+}
+
+
+
void VM_EnhancedRedefineClasses::update_jmethod_ids() {
for (int j = 0; j < _matching_methods_length; ++j) {
Method* old_method = _matching_old_methods[j];
@@ -2018,7 +2066,10 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
// Find classes not directly redefined, but affected by a redefinition (because one of its supertypes is redefined)
AffectedKlassClosure closure(_affected_klasses);
// Updated in j10, from original SystemDictionary::classes_do
- ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
+ ClassLoaderDataGraph::classes_do(&closure);
+ //ClassLoaderDataGraph::dictionary_classes_do(&closure);
+
log_trace(redefine, class, load)("%d classes affected", _affected_klasses->length());
// Sort the affected klasses such that a supertype is always on a smaller array index than its subtype.
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index ed44f0e27ce..7e2afd49650 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -119,6 +119,7 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
void rollback();
static void mark_as_scavengable(nmethod* nm);
static void unpatch_bytecode(Method* method);
+ static void fix_invoke_method(Method* method);
// Figure out which new methods match old methods in name and signature,
// which methods have been added, and which are no longer present
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index af2ec48c2e1..7741328979f 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -200,7 +200,7 @@ void ResolvedMethodTable::print() {
void ResolvedMethodTable::adjust_method_entries(bool * trace_name_printed) {
assert(SafepointSynchronize::is_at_safepoint(), "only called at safepoint");
- // For each entry in RMT, change to new method
+ // For each entry in RMT, change to new methodadjust_method_entries_dcevm
for (int i = 0; i < _the_table->table_size(); ++i) {
for (ResolvedMethodEntry* entry = _the_table->bucket(i);
entry != NULL;
@@ -271,6 +271,8 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+
assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
assert(newer_method != NULL, "method_with_idnum() should not be NULL");
assert(old_method != newer_method, "sanity check");
diff --git a/src/hotspot/share/prims/unsafe.cpp b/src/hotspot/share/prims/unsafe.cpp
index 2f14e01ce0d..d0e0367d8eb 100644
--- a/src/hotspot/share/prims/unsafe.cpp
+++ b/src/hotspot/share/prims/unsafe.cpp
@@ -818,6 +818,7 @@ Unsafe_DefineAnonymousClass_impl(JNIEnv *env,
host_domain,
&st,
InstanceKlass::cast(host_klass),
+ NULL,
cp_patches,
CHECK_NULL);
if (anonk == NULL) {
--
2.24.3 (Apple Git-128)

View File

@@ -1,34 +0,0 @@
From 3f53bb48682b17cfbf4781d4fa47055be88baea0 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Fri, 22 May 2020 21:43:22 +0200
Subject: [PATCH 44/50] Skip GC runs for redefinitions without instance size
change
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 08fe42d5c28..a785a43d352 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -578,14 +578,14 @@ void VM_EnhancedRedefineClasses::doit() {
}
}
-// if (objectClosure.needs_instance_update()) {
+ if (objectClosure.needs_instance_update()) {
// Do a full garbage collection to update the instance sizes accordingly
Universe::set_redefining_gc_run(true);
notify_gc_begin(true);
Universe::heap()->collect_as_vm_thread(GCCause::_heap_inspection);
notify_gc_end();
Universe::set_redefining_gc_run(false);
-// }
+ }
// Unmark Klass*s as "redefining"
for (int i = 0; i < _new_classes->length(); i++) {
--
2.24.3 (Apple Git-128)

View File

@@ -1,135 +0,0 @@
From d0d6602fe3d664cb2322d7066bf46fa7e20d5d4e Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 23 May 2020 10:02:15 +0200
Subject: [PATCH 45/50] Fix "no original bytecode found" error if method with
bkp is missing
Sometimes IDE can deploy class with erroneous method, such method has
no bytecode, but breakpoint position can still exist.
---
src/hotspot/share/interpreter/bytecodes.cpp | 2 +-
.../share/interpreter/interpreterRuntime.cpp | 2 +-
src/hotspot/share/oops/method.cpp | 8 ++++----
src/hotspot/share/oops/method.hpp | 4 ++--
.../prims/jvmtiEnhancedRedefineClasses.cpp | 18 ++++++++++--------
5 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/hotspot/share/interpreter/bytecodes.cpp b/src/hotspot/share/interpreter/bytecodes.cpp
index e377e36b88c..262ecc021b2 100644
--- a/src/hotspot/share/interpreter/bytecodes.cpp
+++ b/src/hotspot/share/interpreter/bytecodes.cpp
@@ -84,7 +84,7 @@ Bytecodes::Code Bytecodes::code_at(Method* method, int bci) {
Bytecodes::Code Bytecodes::non_breakpoint_code_at(const Method* method, address bcp) {
assert(method != NULL, "must have the method for breakpoint conversion");
assert(method->contains(bcp), "must be valid bcp in method");
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
}
int Bytecodes::special_length_at(Bytecodes::Code code, address bcp, address end) {
diff --git a/src/hotspot/share/interpreter/interpreterRuntime.cpp b/src/hotspot/share/interpreter/interpreterRuntime.cpp
index f367e658879..71bbd15a4f5 100644
--- a/src/hotspot/share/interpreter/interpreterRuntime.cpp
+++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp
@@ -834,7 +834,7 @@ IRT_END
// Invokes
IRT_ENTRY(Bytecodes::Code, InterpreterRuntime::get_original_bytecode_at(JavaThread* thread, Method* method, address bcp))
- return method->orig_bytecode_at(method->bci_from(bcp));
+ return method->orig_bytecode_at(method->bci_from(bcp), false);
IRT_END
IRT_ENTRY(void, InterpreterRuntime::set_original_bytecode_at(JavaThread* thread, Method* method, address bcp, Bytecodes::Code new_code))
diff --git a/src/hotspot/share/oops/method.cpp b/src/hotspot/share/oops/method.cpp
index bee69f9cec6..f1e22db70d6 100644
--- a/src/hotspot/share/oops/method.cpp
+++ b/src/hotspot/share/oops/method.cpp
@@ -1747,14 +1747,14 @@ bool CompressedLineNumberReadStream::read_pair() {
#if INCLUDE_JVMTI
-Bytecodes::Code Method::orig_bytecode_at(int bci) const {
+Bytecodes::Code Method::orig_bytecode_at(int bci, bool no_fatal) const {
BreakpointInfo* bp = method_holder()->breakpoints();
for (; bp != NULL; bp = bp->next()) {
if (bp->match(this, bci)) {
return bp->orig_bytecode();
}
}
- {
+ if (!no_fatal) {
ResourceMark rm;
fatal("no original bytecode found in %s at bci %d", name_and_sig_as_C_string(), bci);
}
@@ -1900,7 +1900,7 @@ BreakpointInfo::BreakpointInfo(Method* m, int bci) {
_signature_index = m->signature_index();
_orig_bytecode = (Bytecodes::Code) *m->bcp_from(_bci);
if (_orig_bytecode == Bytecodes::_breakpoint)
- _orig_bytecode = m->orig_bytecode_at(_bci);
+ _orig_bytecode = m->orig_bytecode_at(_bci, false);
_next = NULL;
}
@@ -1909,7 +1909,7 @@ void BreakpointInfo::set(Method* method) {
{
Bytecodes::Code code = (Bytecodes::Code) *method->bcp_from(_bci);
if (code == Bytecodes::_breakpoint)
- code = method->orig_bytecode_at(_bci);
+ code = method->orig_bytecode_at(_bci, false);
assert(orig_bytecode() == code, "original bytecode must be the same");
}
#endif
diff --git a/src/hotspot/share/oops/method.hpp b/src/hotspot/share/oops/method.hpp
index 4533476ff8f..193e1845b23 100644
--- a/src/hotspot/share/oops/method.hpp
+++ b/src/hotspot/share/oops/method.hpp
@@ -230,7 +230,7 @@ class Method : public Metadata {
// JVMTI breakpoints
#if !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const {
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const {
ShouldNotReachHere();
return Bytecodes::_shouldnotreachhere;
}
@@ -239,7 +239,7 @@ class Method : public Metadata {
};
u2 number_of_breakpoints() const {return 0;}
#else // !INCLUDE_JVMTI
- Bytecodes::Code orig_bytecode_at(int bci) const;
+ Bytecodes::Code orig_bytecode_at(int bci, bool no_fatal) const;
void set_orig_bytecode_at(int bci, Bytecodes::Code code);
void set_breakpoint(int bci);
void clear_breakpoint(int bci);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index a785a43d352..2321483dcbd 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -1389,14 +1389,16 @@ void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
if (code == Bytecodes::_breakpoint) {
int bci = method->bci_from(bcp);
- code = method->orig_bytecode_at(bci);
- java_code = Bytecodes::java_code(code);
- if (code != java_code &&
- (java_code == Bytecodes::_getfield ||
- java_code == Bytecodes::_putfield ||
- java_code == Bytecodes::_aload_0)) {
- // Let breakpoint table handling unpatch bytecode
- method->set_orig_bytecode_at(bci, java_code);
+ code = method->orig_bytecode_at(bci, true);
+ if (code != Bytecodes::_shouldnotreachhere) {
+ java_code = Bytecodes::java_code(code);
+ if (code != java_code &&
+ (java_code == Bytecodes::_getfield ||
+ java_code == Bytecodes::_putfield ||
+ java_code == Bytecodes::_aload_0)) {
+ // Let breakpoint table handling unpatch bytecode
+ method->set_orig_bytecode_at(bci, java_code);
+ }
}
} else {
java_code = Bytecodes::java_code(code);
--
2.24.3 (Apple Git-128)

View File

@@ -1,421 +0,0 @@
From 585f1cb56766be837a34114b1ee5c743aa4e6801 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sat, 23 May 2020 10:17:56 +0200
Subject: [PATCH 46/50] Fix comments according hotspot formatting conventions
---
.../prims/jvmtiEnhancedRedefineClasses.cpp | 191 +++++++-----------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 41 ++--
2 files changed, 90 insertions(+), 142 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 2321483dcbd..8d00203fd9a 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -67,21 +67,19 @@ int VM_EnhancedRedefineClasses::_deleted_methods_length = 0;
int VM_EnhancedRedefineClasses::_added_methods_length = 0;
Klass* VM_EnhancedRedefineClasses::_the_class_oop = NULL;
-/**
- * Create new instance of enhanced class redefiner.
- *
- * This class implements VM_GC_Operation - the usual usage should be:
- * VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
- * VMThread::execute(&op);
- * Which
- *
- * @param class_count size of class_defs
- * @param class_defs class definition - either new class or redefined class
- * note that this is not the final array of classes to be redefined
- * we need to scan for all affected classes (e.g. subclasses) and
- * caculcate redefinition for them as well.
- * @param class_load_kind always jvmti_class_load_kind_redefine
- */
+//
+// Create new instance of enhanced class redefiner.
+//
+// This class implements VM_GC_Operation - the usual usage should be:
+// VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
+// VMThread::execute(&op);
+// Which
+// - class_count size of class_defs
+// - class_defs class definition - either new class or redefined class
+// note that this is not the final array of classes to be redefined
+// we need to scan for all affected classes (e.g. subclasses) and
+// caculcate redefinition for them as well.
+// @param class_load_kind always jvmti_class_load_kind_redefine
VM_EnhancedRedefineClasses::VM_EnhancedRedefineClasses(jint class_count, const jvmtiClassDefinition *class_defs, JvmtiClassLoadKind class_load_kind) :
VM_GC_Operation(Universe::heap()->total_collections(), GCCause::_heap_inspection, Universe::heap()->total_full_collections(), true) {
_affected_klasses = NULL;
@@ -97,12 +95,10 @@ static inline InstanceKlass* get_ik(jclass def) {
return InstanceKlass::cast(java_lang_Class::as_Klass(mirror));
}
-/**
- * Start the redefinition:
- * - Load new class definitions - @see load_new_class_versions
- * - Start mark&sweep GC.
- * @return true if success, otherwise all chnages are rollbacked.
- */
+// Start the redefinition:
+// - Load new class definitions - @see load_new_class_versions
+// - Start mark&sweep GC.
+// - true if success, otherwise all chnages are rollbacked.
bool VM_EnhancedRedefineClasses::doit_prologue() {
if (_class_count == 0) {
@@ -175,9 +171,7 @@ bool VM_EnhancedRedefineClasses::doit_prologue() {
return true;
}
-/**
- * Closer for static fields - copy value from old class to the new class.
- */
+// Closer for static fields - copy value from old class to the new class.
class FieldCopier : public FieldClosure {
public:
void do_field(fieldDescriptor* fd) {
@@ -236,9 +230,7 @@ struct StoreNoBarrier {
template <class T> static void oop_store(T* p) { RawAccess<>::oop_store(p, oop(NULL)); }
};
-/**
- Closure to scan all heap objects and update method handles
-*/
+// Closure to scan all heap objects and update method handles
template <class S>
class ChangePointersOopClosure : public BasicOopIterateClosure {
// import java_lang_invoke_MemberName.*
@@ -247,7 +239,6 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
REFERENCE_KIND_MASK = java_lang_invoke_MemberName::MN_REFERENCE_KIND_MASK,
};
-
bool update_member_name(oop obj) {
int flags = java_lang_invoke_MemberName::flags(obj);
int ref_kind = (flags >> REFERENCE_KIND_SHIFT) & REFERENCE_KIND_MASK;
@@ -382,14 +373,12 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
}
};
-/**
- * Closure to scan all objects on heap for objects of changed classes
- * - if the fields are compatible, only update class definition reference
- * - otherwise if the new object size is smaller then old size, reshufle
- * the fields and fill the gap with "dead_space"
- * - otherwise set the _needs_instance_update flag, we need to do full GC
- * and reshuffle object positions durring mark&sweep
- */
+// Closure to scan all objects on heap for objects of changed classes
+// - if the fields are compatible, only update class definition reference
+// - otherwise if the new object size is smaller then old size, reshufle
+// the fields and fill the gap with "dead_space"
+// - otherwise set the _needs_instance_update flag, we need to do full GC
+// and reshuffle object positions durring mark&sweep
class ChangePointersObjectClosure : public ObjectClosure {
private:
@@ -451,19 +440,16 @@ public:
};
-/**
- Main transformation method - runs in VM thread.
-
- - UseSharedSpaces - TODO what does it mean?
- - for each sratch class call redefine_single_class
- - clear code cache (flush_dependent_code)
- - iterate the heap and update object defintions, check it old/new class fields
- are compatible. If new class size is smaller then old, it can be solved directly here.
- - iterate the heap and update method handles to new version
- - Swap marks to have same hashcodes
- - copy static fields
- - notify JVM of the modification
-*/
+// Main transformation method - runs in VM thread.
+// - UseSharedSpaces - TODO what does it mean?
+// - for each sratch class call redefine_single_class
+// - clear code cache (flush_dependent_code)
+// - iterate the heap and update object defintions, check it old/new class fields
+// are compatible. If new class size is smaller then old, it can be solved directly here.
+// - iterate the heap and update method handles to new version
+// - Swap marks to have same hashcodes
+// - copy static fields
+// - notify JVM of the modification
void VM_EnhancedRedefineClasses::doit() {
Thread *thread = Thread::current();
@@ -634,11 +620,9 @@ void VM_EnhancedRedefineClasses::doit() {
}
-/**
- * Cleanup - runs in JVM thread
- * - free used memory
- * - end GC
- */
+// Cleanup - runs in JVM thread
+// - free used memory
+// - end GC
void VM_EnhancedRedefineClasses::doit_epilogue() {
VM_GC_Operation::doit_epilogue();
@@ -670,11 +654,9 @@ void VM_EnhancedRedefineClasses::doit_epilogue() {
}
}
-/**
- * Exclude java primitives and arrays from redefinition
- * @param klass_mirror pointer to the klass
- * @return true if is modifiable
- */
+// Exclude java primitives and arrays from redefinition
+// - klass_mirror pointer to the klass
+// - true if is modifiable
bool VM_EnhancedRedefineClasses::is_modifiable_class(oop klass_mirror) {
// classes for primitives cannot be redefined
if (java_lang_Class::is_primitive(klass_mirror)) {
@@ -693,17 +675,12 @@ bool VM_EnhancedRedefineClasses::is_modifiable_class(oop klass_mirror) {
return true;
}
-/**
- Load and link new classes (either redefined or affected by redefinition - subclass, ...)
-
- - find sorted affected classes
- - resolve new class
- - calculate redefine flags (field change, method change, supertype change, ...)
- - calculate modified fields and mapping to old fields
- - link new classes
-
- The result is sotred in _affected_klasses(old definitions) and _new_classes(new definitions) arrays.
-*/
+// Load and link new classes (either redefined or affected by redefinition - subclass, ...)
+// - find sorted affected classes
+// - resolve new class
+// - calculate redefine flags (field change, method change, supertype change, ...)
+// - calculate modified fields and mapping to old fields
+// - link new classes
jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
_affected_klasses = new (ResourceObj::C_HEAP, mtInternal) GrowableArray<Klass*>(_class_count, true);
@@ -898,9 +875,7 @@ jvmtiError VM_EnhancedRedefineClasses::load_new_class_versions(TRAPS) {
return JVMTI_ERROR_NONE;
}
-/**
- Calculated the difference between new and old class (field change, method change, supertype change, ...).
-*/
+ // Calculated the difference between new and old class (field change, method change, supertype change, ...).
int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_class) {
int result = Klass::NoRedefinition;
log_info(redefine, class, load)("Comparing different class versions of class %s",new_class->name()->as_C_string());
@@ -1183,14 +1158,11 @@ int VM_EnhancedRedefineClasses::calculate_redefinition_flags(InstanceKlass* new_
}
-/**
- Searches for the class bytecode of the given class and returns it as a byte array.
-
- @param the_class definition of a class, either existing class or new_class
- @param class_bytes - if the class is redefined, it contains new class definition, otherwise just original class bytecode.
- @param class_byte_count - size of class_bytes
- @param not_changed - new_class not available or same as current class
-*/
+// Searches for the class bytecode of the given class and returns it as a byte array.
+// - the_class definition of a class, either existing class or new_class
+// - class_bytes - if the class is redefined, it contains new class definition, otherwise just original class bytecode.
+// - class_byte_count - size of class_bytes
+// - not_changed - new_class not available or same as current class
jvmtiError VM_EnhancedRedefineClasses::find_class_bytes(InstanceKlass* the_class, const unsigned char **class_bytes, jint *class_byte_count, jboolean *not_changed) {
*not_changed = false;
@@ -1233,11 +1205,9 @@ jvmtiError VM_EnhancedRedefineClasses::find_class_bytes(InstanceKlass* the_class
return JVMTI_ERROR_NONE;
}
-/**
- Calculate difference between non static fields of old and new class and store the info into new class:
- instanceKlass->store_update_information
- instanceKlass->copy_backwards
-*/
+// Calculate difference between non static fields of old and new class and store the info into new class:
+// instanceKlass->store_update_information
+// instanceKlass->copy_backwards
void VM_EnhancedRedefineClasses::calculate_instance_update_information(Klass* new_version) {
class CalculateFieldUpdates : public FieldClosure {
@@ -1348,9 +1318,7 @@ void VM_EnhancedRedefineClasses::calculate_instance_update_information(Klass* ne
}
}
-/**
- Rollback all changes - clear new classes from the system dictionary, return old classes to directory, free memory.
-*/
+// Rollback all changes - clear new classes from the system dictionary, return old classes to directory, free memory.
void VM_EnhancedRedefineClasses::rollback() {
log_info(redefine, class, load)("Rolling back redefinition, result=%d", _res);
ClassLoaderDataGraph::rollback_redefinition();
@@ -1547,9 +1515,7 @@ void VM_EnhancedRedefineClasses::update_jmethod_ids() {
}
}
-/**
- Set method as obsolete / old / deleted.
-*/
+// Set method as obsolete / old / deleted.
void VM_EnhancedRedefineClasses::check_methods_and_mark_as_obsolete() {
for (int j = 0; j < _matching_methods_length; ++j/*, ++old_index*/) {
Method* old_method = _matching_old_methods[j];
@@ -1771,12 +1737,9 @@ void VM_EnhancedRedefineClasses::flush_dependent_code(InstanceKlass* k_h, TRAPS)
}
}
-/**
- Compare _old_methods and _new_methods arrays and store the result into
- _matching_old_methods, _matching_new_methods, _added_methods, _deleted_methods
-
- Setup _old_methods and _new_methods before the call - it should be called for one class only!
-*/
+// Compare _old_methods and _new_methods arrays and store the result into
+// _matching_old_methods, _matching_new_methods, _added_methods, _deleted_methods
+// Setup _old_methods and _new_methods before the call - it should be called for one class only!
void VM_EnhancedRedefineClasses::compute_added_deleted_matching_methods() {
Method* old_method;
Method* new_method;
@@ -1900,7 +1863,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
}
*/
-
{
ResourceMark rm(THREAD);
// increment the classRedefinedCount field in the_class and in any
@@ -1940,9 +1902,7 @@ void VM_EnhancedRedefineClasses::check_class(InstanceKlass* ik, TRAPS) {
}
}
-/**
- * Logging of all methods (old, new, changed, ...)
- */
+// Logging of all methods (old, new, changed, ...)
void VM_EnhancedRedefineClasses::dump_methods() {
int j;
log_trace(redefine, class, dump)("_old_methods --");
@@ -2002,9 +1962,7 @@ void VM_EnhancedRedefineClasses::dump_methods() {
}
}
-/**
- Helper class to traverse all loaded classes and figure out if the class is affected by redefinition.
-*/
+// Helper class to traverse all loaded classes and figure out if the class is affected by redefinition.
class AffectedKlassClosure : public KlassClosure {
private:
GrowableArray<Klass*>* _affected_klasses;
@@ -2052,10 +2010,8 @@ class AffectedKlassClosure : public KlassClosure {
}
};
-/**
- Find all affected classes by current redefinition (either because of redefine, class hierarchy or interface change).
- Affected classes are stored in _affected_klasses and parent classes always precedes child class.
-*/
+// Find all affected classes by current redefinition (either because of redefine, class hierarchy or interface change).
+// Affected classes are stored in _affected_klasses and parent classes always precedes child class.
jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
for (int i = 0; i < _class_count; i++) {
InstanceKlass* klass_handle = get_ik(_class_defs[i].klass);
@@ -2086,9 +2042,7 @@ jvmtiError VM_EnhancedRedefineClasses::find_sorted_affected_classes(TRAPS) {
return JVMTI_ERROR_NONE;
}
-/**
- Pairs of class dependencies (for topological sort)
-*/
+// Pairs of class dependencies (for topological sort)
struct KlassPair {
const Klass* _left;
const Klass* _right;
@@ -2101,14 +2055,11 @@ static bool match_second(void* value, KlassPair elem) {
return elem._right == value;
}
-/**
- For each class to be redefined parse the bytecode and figure out the superclass and all interfaces.
- First newly introduced classes (_class_defs) are scanned and then affected classed (_affected_klasses).
- Affected flag is cleared (clear_redefinition_flag(Klass::MarkedAsAffected))
- For each dependency create a KlassPair instance. Finnaly, affected classes (_affected_klasses) are sorted according to pairs.
-
- TODO - the class file is potentionally parsed multiple times - introduce a cache?
-*/
+// For each class to be redefined parse the bytecode and figure out the superclass and all interfaces.
+// First newly introduced classes (_class_defs) are scanned and then affected classed (_affected_klasses).
+// Affected flag is cleared (clear_redefinition_flag(Klass::MarkedAsAffected))
+// For each dependency create a KlassPair instance. Finnaly, affected classes (_affected_klasses) are sorted according to pairs.
+// TODO - the class file is potentionally parsed multiple times - introduce a cache?
jvmtiError VM_EnhancedRedefineClasses::do_topological_class_sorting(TRAPS) {
ResourceMark mark(THREAD);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 7e2afd49650..d8a11b51fe9 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -35,17 +35,16 @@
#include "gc/shared/vmGCOperations.hpp"
#include "../../../java.base/unix/native/include/jni_md.h"
-/**
- * Enhanced class redefiner.
- *
- * This class implements VM_GC_Operation - the usual usage should be:
- * VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
- * VMThread::execute(&op);
- * Which in turn runs:
- * - doit_prologue() - calculate all affected classes (add subclasses etc) and load new class versions
- * - doit() - main redefition, adjust existing objects on the heap, clear caches
- * - doit_epilogue() - cleanup
-*/
+//
+// Enhanced class redefiner.
+//
+// This class implements VM_GC_Operation - the usual usage should be:
+// VM_EnhancedRedefineClasses op(class_count, class_definitions, jvmti_class_load_kind_redefine);
+// VMThread::execute(&op);
+// Which in turn runs:
+// - doit_prologue() - calculate all affected classes (add subclasses etc) and load new class versions
+// - doit() - main redefition, adjust existing objects on the heap, clear caches
+// - doit_epilogue() - cleanup
class VM_EnhancedRedefineClasses: public VM_GC_Operation {
private:
// These static fields are needed by ClassLoaderDataGraph::classes_do()
@@ -93,17 +92,15 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// These routines are roughly in call order unless otherwise noted.
- /**
- Load and link new classes (either redefined or affected by redefinition - subclass, ...)
-
- - find sorted affected classes
- - resolve new class
- - calculate redefine flags (field change, method change, supertype change, ...)
- - calculate modified fields and mapping to old fields
- - link new classes
-
- The result is sotred in _affected_klasses(old definitions) and _new_classes(new definitions) arrays.
- */
+ // Load and link new classes (either redefined or affected by redefinition - subclass, ...)
+ //
+ // - find sorted affected classes
+ // - resolve new class
+ // - calculate redefine flags (field change, method change, supertype change, ...)
+ // - calculate modified fields and mapping to old fields
+ // - link new classes
+ //
+ // The result is sotred in _affected_klasses(old definitions) and _new_classes(new definitions) arrays.
jvmtiError load_new_class_versions(TRAPS);
// Searches for all affected classes and performs a sorting such tha
--
2.24.3 (Apple Git-128)

View File

@@ -1,47 +0,0 @@
From 79c80c48da4d52f4616f1c6ef37e838d29be9be1 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 24 May 2020 12:07:09 +0200
Subject: [PATCH 47/50] Review threads, cleanup
---
src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 8d00203fd9a..1fbba406087 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -253,7 +253,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
// Note: we might set NULL at this point, which should force AbstractMethodError at runtime
Thread *thread = Thread::current();
CallInfo info(new_method, newest, thread);
- Handle objHandle(thread, obj); // TODO : review thread
+ Handle objHandle(thread, obj);
MethodHandles::init_method_MemberName(objHandle, info);
} else {
java_lang_invoke_MemberName::set_method(obj, NULL);
@@ -280,7 +280,7 @@ class ChangePointersOopClosure : public BasicOopIterateClosure {
InstanceKlass* ik_new = InstanceKlass::cast(k->newest_version());
fieldDescriptor fd_new;
if (ik_new->find_local_field(fd.name(), fd.signature(), &fd_new)) {
- Handle objHandle(Thread::current(), obj); // TODO : review thread
+ Handle objHandle(Thread::current(), obj);
MethodHandles::init_field_MemberName(objHandle, fd_new, MethodHandles::ref_kind_is_setter(ref_kind));
} else {
// Matching field is not found in new version, not much we can do here.
@@ -441,10 +441,9 @@ public:
// Main transformation method - runs in VM thread.
-// - UseSharedSpaces - TODO what does it mean?
-// - for each sratch class call redefine_single_class
+// - for each scratch class call redefine_single_class
// - clear code cache (flush_dependent_code)
-// - iterate the heap and update object defintions, check it old/new class fields
+// - iterate the heap and update object definitions, check it old/new class fields
// are compatible. If new class size is smaller then old, it can be solved directly here.
// - iterate the heap and update method handles to new version
// - Swap marks to have same hashcodes
--
2.24.3 (Apple Git-128)

View File

@@ -1,57 +0,0 @@
From 8b79e673a3a9d12c97b8b7dd2f4d79c2d4cdd1d6 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 24 May 2020 12:07:42 +0200
Subject: [PATCH 48/50] Replace deleted method with
Universe::throw_no_such_method_error
---
.../share/prims/resolvedMethodTable.cpp | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/hotspot/share/prims/resolvedMethodTable.cpp b/src/hotspot/share/prims/resolvedMethodTable.cpp
index 7741328979f..06581643c3b 100644
--- a/src/hotspot/share/prims/resolvedMethodTable.cpp
+++ b/src/hotspot/share/prims/resolvedMethodTable.cpp
@@ -261,25 +261,25 @@ void ResolvedMethodTable::adjust_method_entries_dcevm(bool * trace_name_printed)
if (old_method->is_old()) {
+ InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
+ Method* newer_method;
+
// Method* new_method;
if (old_method->is_deleted()) {
- // FIXME:(DCEVM) - check if exception can be thrown
- // new_method = Universe::throw_no_such_method_error();
- continue;
- }
-
- InstanceKlass* newer_klass = InstanceKlass::cast(old_method->method_holder()->new_version());
- Method* newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
+ newer_method = Universe::throw_no_such_method_error();
+ } else {
+ newer_method = newer_klass->method_with_idnum(old_method->orig_method_idnum());
- log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
+ log_info(redefine, class, load, exceptions)("Adjusting method: '%s' of new class %s", newer_method->name_and_sig_as_C_string(), newer_klass->name()->as_C_string());
- assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
- assert(newer_method != NULL, "method_with_idnum() should not be NULL");
- assert(old_method != newer_method, "sanity check");
+ assert(newer_klass == newer_method->method_holder(), "call after swapping redefined guts");
+ assert(newer_method != NULL, "method_with_idnum() should not be NULL");
+ assert(old_method != newer_method, "sanity check");
- if (_the_table->lookup(newer_method) != NULL) {
- // old method was already adjusted if new method exists in _the_table
- continue;
+ if (_the_table->lookup(newer_method) != NULL) {
+ // old method was already adjusted if new method exists in _the_table
+ continue;
+ }
}
java_lang_invoke_ResolvedMethodName::set_vmtarget(mem_name, newer_method);
--
2.24.3 (Apple Git-128)

File diff suppressed because it is too large Load Diff

View File

@@ -1,214 +0,0 @@
From 55e30de9a54b2f3bec995a2df42fe14b09d16f06 Mon Sep 17 00:00:00 2001
From: Vladimir Dvorak <lada.dvorak7@gmail.com>
Date: Sun, 21 Jun 2020 13:38:45 +0200
Subject: [PATCH 50/50] G1 Heap parallel iterate method "object_par_iterate" +
dcevm timers
G1 Heap does not have parallel iterate method, that is usefull in dcevm
iterate phase. According performance tests the parallel iteration is up
~25% faster then serial iteration, ratio depends on the size of heap.
Dcevm's timers did not make sense. Now, there are timers fo prologue,
doit, gc itarate and full gc phases. Iterate+fullgc time make up most
the total doit time.
---
src/hotspot/share/gc/g1/g1CollectedHeap.cpp | 20 ++++++++
src/hotspot/share/gc/g1/g1CollectedHeap.hpp | 2 +
.../prims/jvmtiEnhancedRedefineClasses.cpp | 46 +++++++++++++------
.../prims/jvmtiEnhancedRedefineClasses.hpp | 5 +-
4 files changed, 58 insertions(+), 15 deletions(-)
diff --git a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
index dea8d9fdb0e..33664a30519 100644
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.cpp
@@ -2108,6 +2108,21 @@ public:
}
};
+class G1IterateObjectClosureTask : public AbstractGangTask {
+ private:
+ ObjectClosure* _cl;
+ G1CollectedHeap* _g1h;
+ HeapRegionClaimer _hrclaimer;
+ public:
+ G1IterateObjectClosureTask(ObjectClosure* cl, G1CollectedHeap* g1h) : AbstractGangTask("IterateObject Closure"),
+ _cl(cl), _g1h(g1h), _hrclaimer(g1h->workers()->active_workers()) { }
+
+ virtual void work(uint worker_id) {
+ IterateObjectClosureRegionClosure blk(_cl);
+ _g1h->heap_region_par_iterate_from_worker_offset(&blk, &_hrclaimer, worker_id);
+ }
+};
+
void G1CollectedHeap::object_iterate(ObjectClosure* cl) {
IterateObjectClosureRegionClosure blk(cl);
heap_region_iterate(&blk);
@@ -2117,6 +2132,11 @@ void G1CollectedHeap::heap_region_iterate(HeapRegionClosure* cl) const {
_hrm.iterate(cl);
}
+void G1CollectedHeap::object_par_iterate(ObjectClosure* cl) {
+ G1IterateObjectClosureTask iocl_task(cl, this);
+ workers()->run_task(&iocl_task);
+}
+
void G1CollectedHeap::heap_region_par_iterate_from_worker_offset(HeapRegionClosure* cl,
HeapRegionClaimer *hrclaimer,
uint worker_id) const {
diff --git a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp
index 0735eef0da8..05a068bb2e0 100644
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp
@@ -1117,6 +1117,8 @@ public:
// Iteration functions.
+ void object_par_iterate(ObjectClosure* cl);
+
// Iterate over all objects, calling "cl.do_object" on each.
virtual void object_iterate(ObjectClosure* cl);
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
index 32929b3d7a0..5be9bb74305 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.cpp
@@ -54,6 +54,7 @@
#include "utilities/events.hpp"
#include "oops/constantPool.inline.hpp"
#include "gc/cms/cmsHeap.hpp"
+#include "gc/g1/g1CollectedHeap.hpp"
#include "gc/shared/dcevmSharedGC.hpp"
Array<Method*>* VM_EnhancedRedefineClasses::_old_methods = NULL;
@@ -459,6 +460,10 @@ public:
void VM_EnhancedRedefineClasses::doit() {
Thread *thread = Thread::current();
+ if (log_is_enabled(Info, redefine, class, timer)) {
+ _timer_vm_op_doit.start();
+ }
+
#if INCLUDE_CDS
if (UseSharedSpaces) {
// Sharing is enabled so we remap the shared readonly space to
@@ -523,8 +528,22 @@ void VM_EnhancedRedefineClasses::doit() {
}
Universe::heap()->ensure_parsability(false);
- Universe::heap()->object_iterate(&objectClosure);
+ if (UseG1GC) {
+ if (log_is_enabled(Info, redefine, class, timer)) {
+ _timer_heap_iterate.start();
+ }
+ G1CollectedHeap::heap()->object_par_iterate(&objectClosure);
+ _timer_heap_iterate.stop();
+ } else {
+ if (log_is_enabled(Info, redefine, class, timer)) {
+ _timer_heap_iterate.start();
+ }
+ Universe::heap()->object_iterate(&objectClosure);
+ _timer_heap_iterate.stop();
+ }
+
Universe::root_oops_do(&oopClosureNoBarrier);
+
}
log_trace(redefine, class, obsolete, metadata)("After updating instances");
@@ -577,12 +596,19 @@ void VM_EnhancedRedefineClasses::doit() {
if (objectClosure.needs_instance_update()) {
// Do a full garbage collection to update the instance sizes accordingly
+
+ if (log_is_enabled(Info, redefine, class, timer)) {
+ _timer_heap_full_gc.start();
+ }
+
Universe::set_redefining_gc_run(true);
notify_gc_begin(true);
// TODO: check _metadata_GC_clear_soft_refs with ScavengeRootsInCode
Universe::heap()->collect_as_vm_thread(GCCause::_heap_inspection);
notify_gc_end();
Universe::set_redefining_gc_run(false);
+
+ _timer_heap_full_gc.stop();
}
// Unmark Klass*s as "redefining"
@@ -630,6 +656,7 @@ void VM_EnhancedRedefineClasses::doit() {
}
#endif
+ _timer_vm_op_doit.stop();
}
// Cleanup - runs in JVM thread
@@ -653,16 +680,14 @@ void VM_EnhancedRedefineClasses::doit_epilogue() {
if (log_is_enabled(Info, redefine, class, timer)) {
// Used to have separate timers for "doit" and "all", but the timer
// overhead skewed the measurements.
- jlong doit_time = _timer_rsc_phase1.milliseconds() +
- _timer_rsc_phase2.milliseconds();
- jlong all_time = _timer_vm_op_prologue.milliseconds() + doit_time;
+ jlong all_time = _timer_vm_op_prologue.milliseconds() + _timer_vm_op_doit.milliseconds();
log_info(redefine, class, timer)
("vm_op: all=" JLONG_FORMAT " prologue=" JLONG_FORMAT " doit=" JLONG_FORMAT,
- all_time, _timer_vm_op_prologue.milliseconds(), doit_time);
+ all_time, _timer_vm_op_prologue.milliseconds(), _timer_vm_op_doit.milliseconds());
log_info(redefine, class, timer)
- ("redefine_single_class: phase1=" JLONG_FORMAT " phase2=" JLONG_FORMAT,
- _timer_rsc_phase1.milliseconds(), _timer_rsc_phase2.milliseconds());
+ ("doit: heap iterate=" JLONG_FORMAT " fullgc=" JLONG_FORMAT,
+ _timer_heap_iterate.milliseconds(), _timer_heap_full_gc.milliseconds());
}
}
@@ -1411,7 +1436,7 @@ void VM_EnhancedRedefineClasses::unpatch_bytecode(Method* method) {
// arrayKlassOops. See Open Issues in jvmtiRedefineClasses.hpp.
void VM_EnhancedRedefineClasses::ClearCpoolCacheAndUnpatch::do_klass(Klass* k) {
if (!k->is_instance_klass()) {
- return;
+ return;
}
HandleMark hm(_thread);
@@ -1829,10 +1854,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
HandleMark hm(THREAD); // make sure handles from this call are freed
- if (log_is_enabled(Info, redefine, class, timer)) {
- _timer_rsc_phase1.start();
- }
-
InstanceKlass* new_class = new_class_oop;
InstanceKlass* the_class = InstanceKlass::cast(new_class_oop->old_version());
assert(the_class != NULL, "must have old version");
@@ -1887,7 +1908,6 @@ void VM_EnhancedRedefineClasses::redefine_single_class(InstanceKlass* new_class_
new_class->external_name(),
java_lang_Class::classRedefinedCount(new_class->java_mirror()));
}
- _timer_rsc_phase2.stop();
} // end redefine_single_class()
diff --git a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
index 030852b160a..9755944d70b 100644
--- a/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
+++ b/src/hotspot/share/prims/jvmtiEnhancedRedefineClasses.hpp
@@ -86,9 +86,10 @@ class VM_EnhancedRedefineClasses: public VM_GC_Operation {
// Performance measurement support. These timers do not cover all
// the work done for JVM/TI RedefineClasses() but they do cover
// the heavy lifting.
- elapsedTimer _timer_rsc_phase1;
- elapsedTimer _timer_rsc_phase2;
+ elapsedTimer _timer_vm_op_doit;
elapsedTimer _timer_vm_op_prologue;
+ elapsedTimer _timer_heap_iterate;
+ elapsedTimer _timer_heap_full_gc;
// These routines are roughly in call order unless otherwise noted.
--
2.24.3 (Apple Git-128)

View File

@@ -1,33 +0,0 @@
Index: src/java.desktop/share/classes/module-info.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/java.desktop/share/classes/module-info.java (revision 5ae6630e3ebc71beb9f9df63b1b5bc19c9405d1f)
+++ src/java.desktop/share/classes/module-info.java (date 1588168285537)
@@ -109,10 +109,7 @@
// see make/GensrcModuleInfo.gmk
exports sun.awt to
jdk.accessibility,
- jdk.unsupported.desktop,
- jcef;
-
- exports java.awt.peer to jcef;
+ jdk.unsupported.desktop;
exports java.awt.dnd.peer to jdk.unsupported.desktop;
exports sun.awt.dnd to jdk.unsupported.desktop;
Index: modules.list
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules.list (revision 5ae6630e3ebc71beb9f9df63b1b5bc19c9405d1f)
+++ modules.list (date 1588168285505)
@@ -61,5 +61,4 @@
jdk.unsupported,
jdk.xml.dom,
jdk.zipfs,
-jdk.hotspot.agent,
-jcef
+jdk.hotspot.agent

View File

@@ -1,21 +0,0 @@
Index: modules.list
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules.list (revision ab073976c4f85f154ff1421b7ac888eee86b6595)
+++ modules.list (date 1588171510146)
@@ -20,13 +20,6 @@
java.transaction.xa,
java.xml,
java.xml.crypto,
-javafx.base,
-javafx.controls,
-javafx.fxml,
-javafx.graphics,
-javafx.media,
-javafx.swing,
-javafx.web,
jdk.accessibility,
jdk.aot,
jdk.attach,

View File

@@ -1,10 +0,0 @@
#!/bin/bash -x
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
script_dir=jb/project/tools/windows/scripts
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "dcevm" || exit $?
${script_dir}/mkimages_x64.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?

View File

@@ -1,122 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_win_x64
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${WORK_DIR}/modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_win_x64}
source jb/project/tools/common.sh
function create_jbr {
case "$1" in
"${bundle_type}_lw")
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
;;
"jfx" | "jcef" | "jfx_jcef" | "dcevm" | "nomod")
cat modules.list > modules_tmp.list
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
rm -rf ${JBR_BUNDLE}
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
if [[ "${bundle_type}" == *jcef* ]] || [[ "${bundle_type}" == *dcevm* ]]
then
cp -R ${JCEF_PATH}/* ${JBR_BUNDLE}/bin
fi
echo Modifying release info ...
cat ${JSDK}/release | tr -d '\r' | grep -v 'JAVA_VERSION' | grep -v 'MODULES' >> ${JBR_BUNDLE}/release
}
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WORK_DIR=$(pwd)
WITH_DEBUG_LEVEL="--with-debug-level=release"
RELEASE_NAME=windows-x86_64-normal-server-release
git checkout -- modules.list src/java.desktop/share/classes/module-info.java
case "$bundle_type" in
"jfx")
echo "Excluding jcef modules"
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
;;
"jcef")
echo "Excluding jfx modules"
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
;;
"dcevm")
echo "Adding dcevm patches"
git am jb/project/tools/patches/dcevm/*.patch
;;
"nomod")
git apply -p0 < jb/project/tools/patches/exclude_jcef_module.patch
git apply -p0 < jb/project/tools/patches/exclude_jfx_module.patch
WITH_IMPORT_MODULES=""
;;
esac
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-target-bits=64 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-toolchain-version=2015 \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
if [ "$bundle_type" == "jfx_jcef" ]; then
make LOG=info clean images CONF=$RELEASE_NAME test-image || exit 1
else
make LOG=info clean images CONF=$RELEASE_NAME || exit 1
fi
JSDK=build/$RELEASE_NAME/images/jdk
if [[ "$bundle_type" == *jcef* ]]; then
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-b${build_number}
fi
BASE_DIR=build/$RELEASE_NAME/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
cp -R ${JCEF_PATH}/* ${JBRSDK_BUNDLE}/bin
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr_${bundle_type}
create_jbr ${bundle_type}

View File

@@ -1,76 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
# Environment variables:
# MODULAR_SDK_PATH - specifies the path to the directory where imported modules are located.
# By default imported modules should be located in ./modular-sdk
# JCEF_PATH - specifies the path to the directory where JCEF binaries are located.
# By default imported modules should be located in ./jcef_win_x64
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
WITH_IMPORT_MODULES="--with-import-modules=${MODULAR_SDK_PATH:=${WORK_DIR}/modular-sdk}"
JCEF_PATH=${JCEF_PATH:=./jcef_win_x64}
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WORK_DIR=$(pwd)
WITH_DEBUG_LEVEL="--with-debug-level=fastdebug"
RELEASE_NAME=windows-x86_64-normal-server-fastdebug
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--disable-warnings-as-errors \
$WITH_DEBUG_LEVEL \
--with-target-bits=64 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
$WITH_IMPORT_MODULES \
--with-toolchain-version=2015 \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
make LOG=info clean images CONF=$RELEASE_NAME || exit 1
JSDK=build/$RELEASE_NAME/images/jdk
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-b${build_number}
BASE_DIR=build/$RELEASE_NAME/images
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
cp -R ${JCEF_PATH}/* ${JBRSDK_BUNDLE}/bin
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-$JBSDK_VERSION
rm -rf ${JBR_BUNDLE}
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
cp -R ${JCEF_PATH}/* ${JBR_BUNDLE}/bin
echo Modifying release info ...
cat ${JSDK}/release | tr -d '\r' | grep -v 'JAVA_VERSION' | grep -v 'MODULES' >> ${JBR_BUNDLE}/release

View File

@@ -1,65 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
source jb/project/tools/common.sh
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
WORK_DIR=$(pwd)
PATH="/usr/local/bin:/usr/bin:${PATH}"
./configure \
--disable-warnings-as-errors \
--disable-debug-symbols \
--with-target-bits=32 \
--with-vendor-name="${VENDOR_NAME}" \
--with-vendor-version-string="${VENDOR_VERSION_STRING}" \
--with-version-pre= \
--with-version-build=${JDK_BUILD_NUMBER} \
--with-version-opt=b${build_number} \
--with-toolchain-version=2015 \
--with-boot-jdk=${BOOT_JDK} \
--disable-ccache \
--enable-cds=yes || exit 1
make clean CONF=windows-x86-normal-server-release || exit 1
make LOG=info images CONF=windows-x86-normal-server-release test-image || exit 1
JBSDK=${JBRSDK_BASE_NAME}-windows-x86-b${build_number}
BASE_DIR=build/windows-x86-normal-server-release/images
JSDK=${BASE_DIR}/jdk
JBRSDK_BUNDLE=jbrsdk
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
sed 's/JBR/JBRSDK/g' ${JSDK}/release > release
mv release ${JBRSDK_BUNDLE}/release
JBR_BUNDLE=jbr
rm -rf ${JBR_BUNDLE}
grep -v javafx modules.list | grep -v "jdk.internal.vm\|jdk.aot\|jcef" > modules.list.x86
${JSDK}/bin/jlink \
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
--add-modules $(xargs < modules.list.x86 | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
echo Modifying release info ...
#grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${JBR_BUNDLE}/release

View File

@@ -1,74 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
bundle_type=$4
function pack_jbr {
case "$1" in
"${bundle_type}_lw")
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
;;
"jfx" | "jcef" | "dcevm" | "nomod")
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
;;
"jfx_jcef")
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
;;
*)
echo "***ERR*** bundle was not specified" && exit 1
;;
esac
JBR=$JBR_BASE_NAME-windows-x64-b$build_number
echo Creating $JBR.tar.gz ...
rm -rf ${BASE_DIR}/jbr
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR jbr || exit 1
#rm -rf ${BASE_DIR}/${JBR_BUNDLE}
}
RELEASE_NAME=windows-x86_64-normal-server-release
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
JBR_BASE_NAME=jbr-$JBSDK_VERSION
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JBSDK=$JBRSDK_BASE_NAME-windows-x64-b$build_number
BASE_DIR=.
if [ "$bundle_type" == "jfx_jcef" ]; then
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
fi
JBR_BUNDLE=jbr_${bundle_type}
pack_jbr $bundle_type
if [ "$bundle_type" == "jfx_jcef" ]; then
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-x64-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || exit 1
fi

View File

@@ -1,44 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
RELEASE_NAME=windows-x86_64-normal-server-fastdebug
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
JBR_BASE_NAME=jbr-$JBSDK_VERSION
IMAGES_DIR=build/$RELEASE_NAME/images
JSDK=$IMAGES_DIR/jdk
JBSDK=$JBRSDK_BASE_NAME-windows-x64-fastdebug-b$build_number
BASE_DIR=.
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
JBR=$JBR_BASE_NAME-windows-x64-fastdebug-b$build_number
echo Creating $JBR.tar.gz ...
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR jbr || exit 1

View File

@@ -1,45 +0,0 @@
#!/bin/bash -x
# The following parameters must be specified:
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
# build_number - specifies the number of JetBrainsRuntime build
# bundle_type - specifies bundle to bu built; possible values:
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
# jfx - the bundle 1) jbr with javafx only will be created
#
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
#
# $ ./java --version
# openjdk 11.0.6 2020-01-14
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
#
JBSDK_VERSION=$1
JDK_BUILD_NUMBER=$2
build_number=$3
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
JBR_BASE_NAME=jbr-$JBSDK_VERSION
IMAGES_DIR=build/windows-x86-normal-server-release/images
JSDK=$IMAGES_DIR/jdk
JBSDK=$JBRSDK_BASE_NAME-windows-x86-b$build_number
BASE_DIR=.
JBRSDK_BUNDLE=jbrsdk
echo Creating $JBSDK.tar.gz ...
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
JBR_BUNDLE=jbr
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
JBR=$JBR_BASE_NAME-windows-x86-b$build_number
echo Creating $JBR.tar.gz ...
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR ${JBR_BUNDLE} || exit 1
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-x86-b$build_number
echo Creating $JBRSDK_TEST.tar.gz ...
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || exit 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

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