Commit Graph

12757 Commits

Author SHA1 Message Date
Lana Steuck
69f59c6c16 Added tag jdk-9+153 for changeset 57498dec29b2 2017-01-19 22:31:07 +00:00
George Triantafillou
f0f0950183 8152206: Simplify jvmstat modules
Reviewed-by: alanb, mchung, hseigel
2017-01-19 10:56:32 -05:00
Claes Redestad
984dc33474 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
Rickard Bäckman
53e9b56d9e Merge 2017-01-19 11:10:33 +01:00
Thomas Stuefe
3c619c2451 8172964: [aix] AIX VM should not handle SIGDANGER
Reviewed-by: simonis, clanger
2017-01-19 10:30:37 +01:00
Andreas Woess
2259b96a70 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00
Vladimir Kozlov
6c4b9fed92 8173019: Backout JDK-8172990 changes
Reviewed-by: dlong
2017-01-18 19:37:52 -08:00
David Holmes
417f6a4ac8 8172261: [JVMTI] Specification for early VM start event needs to lower expectations in relation class loading
Reviewed-by: dcubed, sspitsyn, alanb
2017-01-18 19:54:18 -05:00
Vladimir Kozlov
4dd3138c5d 8173794: [REDO] [AOT] Missing GC scan of _metaspace_got array containing Klass*
Added back _metaspace_got array scan.

Reviewed-by: dlong
2017-01-18 14:36:54 -08:00
Igor Veresov
2b8e240088 8173673: Fix comparison input types in GraalHotSpotVMConfigNode.inlineContiguousAllocationSupported()
Make sure GraalHotSpotVMConfigNode has correct stamp

Reviewed-by: kvn, never, gdub
2017-02-06 14:20:33 -08:00
Doug Simon
a19bf59313 Merge 2017-02-06 21:12:41 +00:00
Jamsheed Mohammed C M
e05df4e05f 8170455: C2: Access to [].clone from interfaces fails
Passed holder klass to LR for proper resolution.

Reviewed-by: vlivanov
2017-02-06 09:56:48 -08:00
Doug Simon
47960ed2aa 8173912: [JVMCI] fix memory overhead of JVMCI
Reviewed-by: kvn
2017-02-06 10:45:11 +01:00
Oleg Pliss
a7f34a3295 8173119: compiler/jvmci/events/JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Check for invalid JVMCI flag combination at startup.

Reviewed-by: kvn, thartmann
2017-02-06 08:32:08 +01:00
Jamsheed Mohammed C M
6f2cad0c0c 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Disabled mdo trap count update on deopt, and made +UseRTMLocking to exit.

Reviewed-by: kvn
2017-02-03 19:26:35 -08:00
Matthias Baesken
104239fe8f 8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
Reviewed-by: kvn, clanger
2017-02-03 12:26:10 +01:00
Michail Chernov
ae8b5bcb1d Merge 2017-02-03 13:00:37 +00:00
Michail Chernov
00f485cdfa 8170737: Not enough old space utilisation
Reviewed-by: dfazunen, tschatzl
2017-02-03 15:45:57 +03:00
Rahul Raghavan
a44e07e4b3 8144484: assert(no_dead_loop) failed: dead loop detected
Bailout early without splitting Phi through memory merges if TOP inputs present for Phi Nodes

Reviewed-by: thartmann, kvn
2017-02-03 00:46:58 -08:00
Tobias Hartmann
b9e2a53841 8173699: Crash during deoptimization with "assert(result == __null || result->is_oop()) failed: must be oop"
Ignore return_oop() when dispatching an exception and only try to retrieve the oop when performing re-allocation during a normal deoptimization (if exec_mode == Unpack_deopt).

Reviewed-by: kvn, vlivanov
2017-02-03 08:17:35 +01:00
Vladimir Kozlov
3d5e2ddf61 8172990: [AOT] Missing GC scan of _metaspace_got array containing Klass*
Added back _metaspace_got array scan.

Reviewed-by: dlong
2017-01-18 14:36:54 -08:00
Coleen Phillimore
362fbe12e8 8144518: ClassVerboseTest crashes on Windows
Simplify Bytecode_tableswitch code so windows doesn't generate bad code for it.

Reviewed-by: ctornqvi, dholmes
2017-01-18 10:30:56 -05:00
Tobias Hartmann
1590fcdd81 Merge 2017-01-18 08:30:02 +00:00
Tobias Hartmann
a6092584f9 8172884: TraceOptoPipelining and TraceOptoOutput are broken
Compiler Control code needs not set the default values for the directive according to the flag value.

Reviewed-by: neliasso, redestad
2017-01-18 08:54:29 +01:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Markus Grönlund
f02cb33818 Merge 2017-01-17 17:00:22 +01:00
Markus Grönlund
2bc33c2996 8171960: Event-based tracing needs separate flag representation for Method
Reviewed-by: hseigel, gtriantafill, dholmes
2017-01-17 16:18:03 +01:00
Rachel Protacio
384f6dd2b5 Merge 2017-01-17 15:27:22 +01:00
Tobias Hartmann
09dee71ddd 8172731: runtime/Thread/TooSmallStackSize.java fails on solaris-x64 with product build
The C2 compiler threads require a large stack with the Solaris Studio C++ compiler version 5.13 and product VM build.

Reviewed-by: sspitsyn, dcubed, goetz, dholmes
2017-01-17 08:53:42 +01:00
Rachel Protacio
3cfbc5a630 8170827: Correct errant "java.base" string to macro
Used JAVA_BASE_NAME instead of "java.base" string in one location

Reviewed-by: coleenp, jiangli
2017-01-13 16:49:34 -05:00
Alexander Harlap
cc5730af70 8140588: Internal Error: gc/g1/ptrQueue.hpp:126 assert(_index == _sz) failed: invariant: queues are empty when activated
Re-check queue active state before updating

Reviewed-by: pliden, kbarrett, mdoerr
2017-01-13 12:27:54 -05:00
Jesper Wilhelmsson
fcf86ca480 Merge 2017-01-16 16:18:04 +01:00
Jesper Wilhelmsson
13d1827982 Merge 2017-01-13 18:26:34 +01:00
Harold Seigel
c95329970d 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 07:19:03 -05:00
Lana Steuck
aea4929010 Added tag jdk-9+152 for changeset 84da697836d6 2017-01-12 23:41:16 +00:00
Rachel Protacio
235f29814a Merge 2017-01-12 19:34:29 +00:00
Rachel Protacio
f0136f8b69 8170821: Ensure access checks result in consistent answers
Added jtreg test to verify consistent access check results even when access is added between checks

Reviewed-by: hseigel, lfoltan
2017-01-12 14:04:08 -05:00
Andrew Haley
6037c36e67 8172721: Fix for 8172144 breaks AArch64 build
Reviewed-by: dsamersoff
2017-01-12 16:27:40 +00:00
Dmitry Fazunenko
a10dc731d4 Merge 2017-01-12 10:31:00 +00:00
Dmitry Fazunenko
3ccbc26ee9 8169643: [TESTBUG] GCBasher test fails with G1, CMS and Serial
Reviewed-by: tschatzl, iignatyev, mchernov
2017-01-12 09:53:01 +03:00
Andrew Haley
b9f711fc74 8172144: AArch64: Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: fparain
2017-01-11 15:09:58 +00:00
Igor Ignatyev
8ab1255ff1 8172557: quarantine ctw/JarDirTest
Reviewed-by: ctornqvi
2017-01-11 17:43:36 +03:00
Robbin Ehn
b1c82624b9 8079441: Intermittent failures on Windows with "Unexpected exit from test [exit code: 1080890248]" (0x406d1388)
Do not raise (windows thread name) exception 0x406d1388 when no debugger is attached.

Reviewed-by: iklam, stuefe
2017-01-11 12:47:16 +01:00
Zoltan Majo
421bf2f22d 8168926: C2: Bytecode escape analyzer crashes due to stack overflow
Whether current call site needs an appendix is determined only based on the target method and the current bytecode instruction.

Reviewed-by: kvn, thartmann
2017-01-11 09:40:42 +01:00
Igor Veresov
9678c9d8fa Merge 2017-01-10 18:48:08 +00:00
Igor Veresov
5b9a2a728b 8172310: [AOT] Fix unverified entry point
Fix AOT code for the unverified entry point

Reviewed-by: kvn
2017-01-10 21:39:20 +03:00
Dmitrij Pochepko
dbec733773 8166374: compiler/loopopts/UseCountedLoopSafepointsTest.java fails with "Safepoint not found"
Reviewed-by: thartmann
2017-01-10 20:45:04 +03:00
David Leopoldseder
26a978276c 8166125: [JVMCI] Missing JVMCI flag default values
Reviewed-by: twisti, kvn
2017-01-09 19:36:47 +00:00
Jesper Wilhelmsson
f175ea37aa Merge 2017-01-09 15:10:25 +01:00
Erik Joelsson
5ddcceeba4 8172037: Change log message of SetupCopyFiles
Reviewed-by: tbell
2017-01-09 11:55:59 +01:00
Lana Steuck
fd16b65665 Added tag jdk-9+151 for changeset 56ae078e5b98 2017-01-05 17:51:10 +00:00
Rickard Bäckman
9b81c0637e 8169588: [AOT] jaotc --classpath option is confusing
Reviewed-by: kvn, dlong
2017-01-05 08:37:10 +01:00
Kirill Zhaldybin
3dfc3e19ff 8172098: A lot of gtests uses TEST instead of TEST_VM
Reviewed-by: iignatyev
2016-12-28 19:13:34 +03:00
Ioi Lam
482d791b2c 8170959: unloading archived shared class caused crash
Reviewed-by: coleenp, sspitsyn, mockner
2017-01-08 10:39:42 -08:00
Tobias Hartmann
5b1d170deb 8171435: "assert(is_single_cpu() && !is_virtual()) failed: type check" with -XX:+PatchALot on SPARC
Fixed several issues with PatchALot or unaligned accesses on SPARC.

Reviewed-by: kvn
2017-01-06 10:55:30 +01:00
Jesper Wilhelmsson
702886dc04 Merge 2016-12-27 22:00:30 +01:00
Jesper Wilhelmsson
4ce0eb8df9 Merge 2016-12-22 22:07:36 +01:00
Lana Steuck
b16fd1b307 Merge 2016-12-22 18:48:28 +00:00
Lana Steuck
30e198532c Added tag jdk-9+150 for changeset 29142a56c193 2016-12-22 08:26:01 +00:00
Mandy Chung
0f8a6409a6 8171897: Remove third party readme files left from JDK-8169925
Reviewed-by: erikj
2016-12-21 22:41:18 -08:00
Vladimir Kozlov
168244b3dc Merge 2016-12-21 17:27:25 +00:00
Vladimir Kozlov
b773c48a60 8171807: 8170761 fix should be applied to ARM code after 8168503
Reviewed-by: roland
2016-12-21 08:15:10 -08:00
Kirill Zhaldybin
4e860e58a3 8170936: Logging: LogFileOutput.invalid_file_test crashes when executed twice
Reviewed-by: iignatyev, stuefe
2016-12-21 11:51:57 +03:00
Kirill Zhaldybin
c2a96c7fca 8171517: test_logMessageTest.cpp has "ac_heapanied" instead of "accompanied" inside copyright notice
Reviewed-by: sspitsyn, jprovino
2016-12-21 11:51:57 +03:00
Dean Long
6142b330f0 8169938: [AOT] SIGSEGV at ~BufferBlob::vtable chunks
Set "return_oop" on AOT scopes

Reviewed-by: kvn, never
2016-12-20 20:38:14 -08:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
David Holmes
b72bbb7b30 8171815: [TESTBUG] Update expected failure message in runtime/modules/IgnoreModulePropertiesTest.java
Reviewed-by: mr
2016-12-20 20:42:15 -05:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01:00
David Holmes
d0c42d268b Merge 2016-12-20 21:45:13 +00:00
Ed Nevill
2bde3c7c3e 8171537: aarch64: compiler/c1/Test6849574.java generates guarantee failure in C1
Reviewed-by: aph
2016-12-20 15:49:30 -05:00
Calvin Cheung
026a05429c 8171011: convert some CDS dump time warning and error messages to informational messages which will be printed with -XX:+PrintSharedSpaces
Print informational message if a module related options is used during dumping except for the -m option

Reviewed-by: iklam, jiangli, mseledtsov
2016-12-20 11:50:40 -08:00
Dmitrij Pochepko
973b6f24d0 8170886: compiler/ciReplay/TestSAServer.java intermittently throws NumberFormatException
Reviewed-by: thartmann
2016-12-20 17:35:20 +03:00
Martin Doerr
27139d7529 8171398: s390x: Make interpreter's math entries consistent with C1 and C2 and support FMA
Reviewed-by: lucy, goetz
2016-12-20 14:55:18 +01:00
Dmitry Samersoff
b06fa0ea3a Merge 2016-12-20 13:02:16 +00:00
Dmitry Samersoff
c105d10fb0 8165496: assert(_exception_caught == false) failed: _exception_caught is out of phase
Two separate flags, exception_detected and exception_caught, replaced with one.

Reviewed-by: sspitsyn, coleenp, dholmes
2016-12-20 15:40:01 +03:00
Dmitry Samersoff
8adc334dc2 Merge 2016-12-20 12:16:41 +00:00
Dmitry Samersoff
17a5dbaee6 Merge 2016-12-20 11:32:47 +00:00
Dmitry Samersoff
40d84ade8a Merge 2016-12-20 11:19:36 +00:00
Dmitry Samersoff
c5e65622d8 8150563: LoadAgentDcmdTest.java can't find libinstrument.so
Test changed to reflect changes for 8066474 Remove the lib/$ARCH directory from Linux and Solaris images

Reviewed-by: sspitsyn
2016-12-20 14:15:02 +03:00
Dmitry Samersoff
25409feeb5 Merge 2016-12-20 10:53:52 +00:00
Jini George
5f477c032d 8159127: hprof heap dumps broken for lambda classdata
Added class dump records for lambda related anonymous classes in the heap dump

Reviewed-by: dsamersoff, sspitsyn
2016-12-20 13:35:40 +03:00
Kirill Zhaldybin
e52f4d1966 Merge 2016-12-20 11:33:25 +01:00
Thomas Stuefe
a9b90b0b4b 8171408: [aix] TOC overflow when linking the gtest libjvm.so
Reviewed-by: dholmes, simonis, erikj
2016-12-20 09:25:03 +01:00
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Erik Joelsson
9a80c66078 8171310: Gtest libjvm.so is always stripped
Reviewed-by: tbell, dholmes, stuefe
2016-12-19 16:26:22 +01:00
Jesper Wilhelmsson
4106c6bc9b Merge 2016-12-19 00:49:34 +01:00
Ed Nevill
99ba5922e4 8171410: aarch64: long multiplyExact shifts by 31 instead of 63
Reviewed-by: aph
2016-12-18 17:26:44 -05:00
Jesper Wilhelmsson
a6fc4ec215 Merge 2016-12-18 15:37:50 +01:00
Thomas Stuefe
eeb6e2f01f 8171225: [aix] Fix gtests compile error on AIX 7.1 with xlC 12
Help xlC understand gtest asserts

Reviewed-by: erikj, dholmes, simonis
2016-12-18 10:57:49 +01:00
Vladimir Kozlov
77a659dbb3 8171276: More problems in compiler/aot/RecompilationTest.java tests
Don't inline any SimpleTestCaseHelper methods during AOT compilation

Reviewed-by: iveresov
2016-12-16 01:46:00 -08:00
Alan Bateman
6b87f1990b Merge 2016-12-16 08:18:00 +00:00
Harold Seigel
94c51468b8 8170987: Module system implementation refresh (12/2016)
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, coleenp, mchung
2016-12-16 05:46:52 +00:00
Gustavo Romero
b9b80751e2 8171266: PPC64: Add support to -XX:RTMSpinLoopCount=0
Reviewed-by: mdoerr, dholmes
2016-12-15 08:56:32 -05:00
Tobias Hartmann
f238905f2b 8172010: [AOT] RecompilationTest.java fails with "expected compilation level after compilation to be no less than 1"
Disabled probabilistic profiling to ensure recompilation of AOT compiled method.

Reviewed-by: kvn, iveresov
2017-01-05 09:25:36 +01:00
Coleen Phillimore
08aa21deb7 8172246: [TESTBUG] runtime/RedefineTests/RedefinePreviousVersions.java 'Class unloading: has_previous_versions = true' missing from stdout/stderr
Add boolean to gate redefinition start

Reviewed-by: sspitsyn, dholmes
2017-01-04 21:13:04 -05:00
Vladimir Kozlov
b58bb4740e 8172054: Aot tests should include Java assertions into AOT compiled code
Reviewed-by: iveresov
2017-01-04 11:44:26 -08:00
Christian Tornqvist
1e918ed98c 8168137: import-hotspot build target not removed from hotspot-ide-project
Reviewed-by: erikj
2017-01-04 10:57:26 -05:00
Vivek Deshpande
631dc21518 8171974: Fix for R10 Register clobbering with usage of ExternalAddress
Reviewed-by: kvn, rbackman
2017-01-03 14:56:51 -08:00
Claes Redestad
450472a24a 8172169: Re-examine String field optionality
Reviewed-by: kvn, thartmann
2017-01-03 21:36:05 +01:00
Martin Doerr
2e0248d2fc 8172199: s390: Use same get_key_start_from_aescrypt_object implementation as PPC64
Reviewed-by: kvn
2017-01-03 17:17:14 +01:00
Goetz Lindenmaier
0d99993d6e 8172049: [s390] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: mdoerr
2016-12-27 16:10:59 +01:00
Martin Doerr
3965a72bb3 8172145: C2: anti dependence missed because store hidden by membar
Reviewed-by: kvn
2017-01-03 11:22:37 +01:00
Marcus Larsson
6688dfcb49 8170857: Typo in -Xlog:help output
Reviewed-by: dholmes
2017-01-03 12:25:19 +01:00
Marcus Larsson
b07b96aa7c 8170855: Example for -Xlog:help do not contain one with multiple tags
Reviewed-by: dholmes
2017-01-03 12:24:52 +01:00
Rickard Bäckman
4559d9da01 8171082: [AOT] AOT'd SystemModules.modules() fails to load when too large
Reviewed-by: kvn, redestad
2017-01-03 08:54:29 +01:00
Rahul Raghavan
0f853d0c94 8156762: test/compiler/ciReplay/TestVMNoCompLevel.java fails with - 'Unexpected exit code for negative case: [-client]: expected 0 to not equal 0'
Corrected CLIENT_VM_AVAILABLE case

Reviewed-by: dpochepk, zmajo
2017-01-02 00:26:40 -08:00
Igor Ignatyev
475d592e3d 8172149: CTW library should call System::exit
Reviewed-by: vlivanov
2016-12-30 20:11:49 +03:00
Jesper Wilhelmsson
bfd05658c9 Merge 2016-12-27 22:34:07 +01:00
Igor Ignatyev
0f4b983549 Merge 2016-12-23 22:28:07 +00:00
Boris Molodenkov
f805a3a054 8170918: Remove shell script from test/compiler/c2/cr7200264/TestIntVect.java
Reviewed-by: kvn
2016-12-21 15:01:01 +03:00
Coleen Phillimore
6a740beabf Merge 2016-12-23 15:09:03 +00:00
George Triantafillou
89bfef80d0 8171318: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java fails latest Jigsaw integration
Reviewed-by: sspitsyn, dholmes
2016-12-22 11:37:49 -05:00
Igor Veresov
2d444d6f19 8168792: [AOT] problems in MethodHandle with aot-compiled java.base
Properly support assertions in AOT

Reviewed-by: kvn
2016-12-22 17:26:02 -08:00
Lutz Schmidt
9b98f88304 8170981: Possible access to char array with negative index
Check arithmetic before trying to access array by index.

Reviewed-by: rprotacio, dholmes, gziemski
2016-12-22 15:01:20 -06:00
Arno Zeller
43b7b1bd77 8171924: Use SIZE_FORMAT to print size_t values
Reviewed-by: dholmes, tschatzl, coleenp, goetz
2016-12-22 16:51:25 +01:00
Dmitry Fazunenko
f82263efb8 8170860: Get rid of the humanReadableByteCount() method in openjdk/hotspot
Reviewed-by: mgerdin, mchernov
2016-12-22 10:17:18 +00:00
Ioi Lam
37f332b8ee 8171809: Remove unused CDS code from JDK 9
Reviewed-by: jiangli, ccheung, mseledtsov
2016-12-15 19:26:41 -08:00
Michail Chernov
8e29aab602 8171045: gc/stress/TestStressG1Humongous.java fails to allocate the heap
Reviewed-by: tschatzl, kzhaldyb
2016-12-23 20:44:48 +03:00
Martin Doerr
c44e860576 8171244: PPC64: Make interpreter's math entries consistent with C1 and C2 and support FMA
Reviewed-by: kvn, goetz
2016-12-15 14:24:04 +01:00
Lana Steuck
223348faf1 Merge 2016-12-14 20:34:29 +00:00
Lana Steuck
0c8c151515 Added tag jdk-9+149 for changeset a91250ba2c70 2016-12-14 20:23:23 +00:00
Serguei Spitsyn
9f7f109492 8171226: simple typo in the JVMTI spec
Replace "bot" with "not"

Reviewed-by: alanb
2016-12-14 02:35:33 -08:00
Martin Doerr
8242125c4f 8170991: PPC64: Bad code for initialization of short arrays
Implement special ClearArray nodes to improve initialization.

Reviewed-by: goetz
2016-12-14 10:28:52 +01:00
Vladimir Kozlov
0a908be59d 8171187: Expected compilation level after compilation to be no less than 1
Prevent inlining of test method into other AOT methods

Reviewed-by: iveresov
2016-12-13 17:58:19 -08:00
Magnus Ihse Bursie
e199c1e613 8171163: Merge d01f2abf2c65 broke test/Makefile
Reviewed-by: erikj, ctornqvi
2016-12-13 16:26:07 +01:00
Boris Molodenkov
d652c70de6 8170464: Remove shell script from compiler/c2/cr7005594/Test7005594.java
Reviewed-by: kvn
2016-12-13 17:45:13 +03:00
Gustavo Romero
927d6255d3 8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options
Reviewed-by: kvn
2016-12-19 18:21:59 -08:00
David Holmes
f13dd16533 Merge 2016-12-20 01:05:39 +00:00
Igor Veresov
f910dde95b Merge 2016-12-19 22:50:28 +00:00
Igor Veresov
7d3c1a6383 8171394: [AOT] failed AOT compilation in compiler/aot/RecompilationTest.java
Fix argument types of tiered callbacks

Reviewed-by: never, kvn
2016-12-19 13:34:21 -08:00
Roland Westrelin
6869835c72 8171092: C1's Math.fma() intrinsic doesn't correctly process its inputs
Fixed 3rd input of FMA intrinsic processing in C1.

Reviewed-by: kvn
2016-12-19 13:09:25 -08:00
Jiangli Zhou
bae7bbd382 8168797: do not load any archived classes from a patched module
Add new runtime shared class visibility check to ensure shared classes from patched module are not loaded at runtime.

Reviewed-by: acorn, ccheung, hseigel, iklam, lfoltan
2016-12-19 13:54:33 -05:00
Jamsheed Mohammed C M
a601028e0f Merge 2016-12-19 15:21:11 +00:00
Jamsheed Mohammed C M
af7e1eac20 8170761: Buffer overrun in sharedRuntime_x86_64.cpp:477
Fixed missing half assert!

Reviewed-by: kvn
2016-12-19 06:25:12 -08:00
Coleen Phillimore
157bfcd7da Merge 2016-12-19 14:12:33 +00:00
Kavitha Natarajan
0b61a28b26 8169177: AArch64: SIGSEGV when "-XX:+ZeroTLAB" is specified along with GC options
Reviewed-by: aph
2016-12-19 02:33:30 -08:00
Zoltan Majo
269508dcf5 8171155: Scanning method file for initialized final field updates can fail for non-existent fields
Check if field exists before possibly marking it as having initialized final updates.

Reviewed-by: stsmirno, vlivanov, coleenp
2016-12-19 08:31:01 +01:00
Serguei Spitsyn
260435f052 Merge 2016-12-19 05:00:24 +00:00
Serguei Spitsyn
4590c71999 8171417: post jigsaw review cleanup in the jtreg jvmti tests
Fix the function throw_exc() in several jvmti tests to return void

Reviewed-by: dsamersoff, hseigel
2016-12-18 20:54:26 -08:00
Serguei Spitsyn
dec261c784 Merge 2016-12-19 04:04:48 +00:00
Serguei Spitsyn
a70c184075 8139566: need proper sync for adding default read edges
Use has_default_read_edges() in the ModuleEntry::can_read to fix race issue

Reviewed-by: hseigel, lfoltan
2016-12-18 19:21:18 -08:00
David Holmes
ca6eb09ef7 8170307: Stack size option -Xss is ignored
Reviewed-by: dcubed, sspitsyn
2016-12-18 22:07:31 -05:00
Derek White
89e7c22fc4 8171129: [aarch64] hs_err logs do not print register mappings
Call print_location for contents of all registers.

Reviewed-by: aph, dholmes
2016-12-14 16:46:50 -05:00
Vladimir Kozlov
c2b261c9f5 8171137: Avoid warning: -Xint is not compatible with AOT (switching AOT off)
Put all AOT warnings under PrintAOT flag.

Reviewed-by: iveresov, dholmes
2016-12-12 21:56:45 -08:00
Vladimir Kozlov
001c67f1fb 8171134: Unexpected output in compiler/aot/SharedUsageTest.java
Switch off compressed oops for few AOT tests.

Reviewed-by: iveresov
2016-12-12 20:48:50 -08:00
Jesper Wilhelmsson
bdfc281a40 Merge 2016-12-13 02:04:23 +01:00
Jesper Wilhelmsson
90c3146c22 Merge 2016-12-13 02:04:23 +01:00
Christine Flood
6fd85f1084 8170888: [linux] Experimental support for cgroup memory limits in container (ie Docker) environments
Set apparent physical memory to cgroup memory limit when UseCGroupMemoryLimitForHeap is true

Reviewed-by: acorn, kbarrett
2016-12-12 15:41:50 -05:00
Roland Westrelin
c9a8dbfa25 8162338: AArch64: Intrinsify fused mac operations
Reviewed-by: kvn
2016-12-12 11:29:51 -08:00
Dmitrij Pochepko
4778661b1f 8171059: [AOT] error in AotCompiler output in some aot tests
Reviewed-by: kvn
2016-12-12 21:18:54 +03:00
Dmitrij Pochepko
55dcedfbc8 8171060: [AOT] aot tests: WARNING: Requested compilation levels are out of current vm capabilities
Reviewed-by: kvn
2016-12-12 21:18:03 +03:00
Kirill Zhaldybin
2fd9f38a31 8171090: Convert VMStruct_test to GTest
Reviewed-by: iignatyev
2016-12-12 16:16:27 +03:00
Kirill Zhaldybin
98bf7d7727 8171848: ObjectMonitor verify() and print() methods are empty
Reviewed-by: dholmes
2016-12-21 12:47:29 +03:00
Harold Seigel
3af1da4533 8176705: Remove static functions in InstanceKlass
Change static functions to instance functions and remove their 'this_k' parameters.

Reviewed-by: dholmes, mgerdin, iklam
2017-03-21 11:25:18 -04:00
Thomas Schatzl
dd84bb9cff 8176881: DerivedPointerTable Update log message in wrong order in regards to Redirty Cards
Reviewed-by: sjohanss, jprovino
2017-03-21 11:21:11 +01:00
Jesper Wilhelmsson
69fd40468a 8177070: Quarantine tests due to JDK-8177069
Reviewed-by: iveresov, iignatyev
2017-03-17 21:15:12 -07:00
Jesper Wilhelmsson
7e8d75378e Merge 2017-03-16 16:40:41 -07:00
David Holmes
cee7beace2 8175817: Clean up Solaris signal code: SIGUSR2, SIGasync, SIGJVM1/2
Reviewed-by: rehn, stuefe, dsamersoff
2017-03-19 16:40:09 -04:00
Serguei Spitsyn
b0757d1025 Merge 2017-03-17 15:26:49 +00:00
Serguei Spitsyn
6aa1dfbcf4 8176831: Dead code: function jmm_GetLoadedClasses is not used in jmm_interface
Remove the dead code

Reviewed-by: dholmes, coleenp
2017-03-17 08:19:05 -07:00
Shafi Ahmad
6ed6fd7a3f 8167425: Redundant code in method PerfLongVariant::sample
Reviewed-by: dholmes, coleenp, sspitsyn
2017-03-14 22:14:33 -07:00
Thomas Stuefe
8838ae7b46 8170933: Cleanup Metaspace Chunk manager: Unify treatment of humongous and non-humongous chunks
Reviewed-by: mgerdin, coleenp
2016-12-14 09:14:16 +01:00
David Holmes
f06a97a1d1 Merge 2017-03-16 09:43:26 +00:00
Thomas Schatzl
6a9ca1701d 8155094: Add logging for long lasting methods found in JDK-8152948
Adds logging for DerivedPointerTable, TLAB preparation and resizing, and new collection set setup work

Reviewed-by: kbarrett, sangheki
2017-03-16 09:05:20 +01:00
Coleen Phillimore
4b9562288f 8155672: Remove instanceKlassHandles and KlassHandles
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.

Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Thomas Schatzl
7bca463789 8168467: Use TaskEntry as task mark queue elements
Change the mark stack to use TaskEntry queue elements to improve type safety instead of casting around raw pointers.

Reviewed-by: kbarrett, sangheki
2017-03-15 11:44:46 +01:00
Coleen Phillimore
35e8433c1c Merge 2017-03-14 14:07:24 -04:00
Thomas Stuefe
35d5d1c53d 8173848: realpath is unsafe
Fix occurrences of realpath in hotspot to use safe POSIX.1-2008 form.

Reviewed-by: dsamersoff, dholmes, clanger
2017-03-13 20:23:11 +01:00
Zoltan Majo
fcb5908230 8159734: Consistency check fails with -XX:-ProfileInterpreter
Re-establish the consistency of profiling information also with -XX:-ProfileInterpreter.

Reviewed-by: kvn
2017-03-13 13:01:47 +01:00
Tobias Hartmann
43a771e998 8176441: assert(false) failed: modified node was not processed by IGVN.transform_old()
The shiftNode needs to be added to the IGVN worklist after being modified.

Reviewed-by: kvn, vlivanov
2017-03-13 12:13:09 +01:00
Ioi Lam
f5777dc9bd 8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Christian Tornqvist
e04f906b93 8175300: Enable artifact resolution for jtreg tests
Reviewed-by: ihse, gtriantafill
2017-03-10 12:58:37 -05:00
Harold Seigel
8a5f33bd16 8172514: Stop checking for duplicate packages in the JVM_DefineModule() package list
Use GrowableArray append() instead of append_if_missing() to stop searching for duplicates

Reviewed-by: redestad, coleenp, dholmes, gtriantafill
2017-03-10 08:04:17 -05:00
Sangheon Kim
ade6d7cd18 8164038: Missing volatile keyword at CardTableRS::write_ref_field_gc_par()
Reviewed-by: tschatzl, kbarrett
2017-03-09 15:00:23 -08:00
Thomas Stuefe
5806258936 8176140: 8176140-Crashes-or-timeouts-during-error-reporting-may-lead-to-infinitely-repeated-error-logs-until-ErrorLogTimeout-is-hit
Reviewed-by: cjplummer, dholmes
2017-03-08 19:25:15 +01:00
Alexander Harlap
6fdf396624 8165674: G1CMMarkStack::out_of_memory possibly redundant
Remove the redundant G1CMMarkStack::_out_of_memory member.

Reviewed-by: kbarrett, tschatzl
2017-03-09 10:48:44 +01:00
Vladimir Kozlov
4afa69ef22 Merge 2017-03-09 01:07:28 +00:00
Lutz Schmidt
0171aad88e 8175369: [ppc] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis, kvn
2017-03-08 17:01:13 -08:00
Sangheon Kim
1e8667e334 8176403: [TESTBUG] gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA is referencing no longer existing group
Changed to use correct test library path

Reviewed-by: dholmes, dcubed
2017-03-08 15:48:41 -08:00
Lutz Schmidt
99a554c5ad 8175368: [s390] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis
2017-03-08 14:55:32 +01:00
Sangheon Kim
a235f9f6ef Merge 2017-03-07 22:58:16 +00:00
Sangheon Kim
75eb6d9735 Merge 2017-03-07 22:35:54 +00:00
Chris Plummer
f91cc0cd42 8175341: "java/util/Arrays/ParallelPrefix.java" Crash Internal Error ...diagnosticCommand.cpp...assert(k != __null) failed: FinalizerHistogram class is not accessible
Allow the dcmd to fail with a pending exception rather than assert

Reviewed-by: sspitsyn, dholmes
2017-03-07 13:35:34 -08:00
Sangheon Kim
d86c76dca9 8023905: Failing to initialize VM with small initial heap when NUMA and large pages are enabled
Exit VM when fails to initialize small initial heap with NUMA and large pages enabled

Reviewed-by: jmasa, sjohanss
2017-03-07 10:25:58 -08:00
Christian Tornqvist
3e707c3671 8176102: Rename hotspot_fast* test groups to hotspot_tier1*
Reviewed-by: dholmes, mseledtsov, gtriantafill
2017-03-07 11:35:45 -05:00
Gunter Haug
e44e774bbe 8175900: Assertion too strict in G1CollectedHeap::new_mutator_alloc_region
Reviewed-by: simonis, tschatzl, kbarrett
2017-02-27 12:57:16 +01:00
Mikhailo Seledtsov
1bcca93f8a 8176163: [TESTBUG] Create hotspot_cds test group
Created a new test group

Reviewed-by: sspitsyn, dholmes, ehelin
2017-03-06 09:24:47 -08:00
Thomas Schatzl
8d405d171c 8071278: Fix the closure mess in G1RemSet::refine_card()
Remove the use of many nested closure in the code to refine a card.

Reviewed-by: kbarrett, sjohanss
2017-03-06 17:03:35 +01:00
Thomas Schatzl
6677810ffa 8175367: Wrong assert for UseCompressedOops in aarch64 Copy::conjoint_oops_atomic implementation
Remove wrong check for UseCompressedOops

Reviewed-by: aph
2017-03-06 15:33:14 +01:00
Kim Barrett
b067fc774d 8175221: Cleanup DirtyCardQueueSet::concatenate_log
Concatenate_log calls flush, flush no longer checks "permanent"

Reviewed-by: tschatzl, shade
2017-03-04 15:56:22 -05:00
Robbin Ehn
2ea73551ba 8176096: Wrong macro checks for INCLUDE_TRACE
Reviewed-by: dholmes, coleenp, mgronlun
2017-03-03 12:02:35 +01:00
Robbin Ehn
b9ba95a6f3 Merge 2017-03-02 14:19:49 +01:00
Robbin Ehn
812444f78a 8136650: Add support for custom jtreg native tests
Reviewed-by: ctornqvi, erikj
2017-03-02 09:51:47 +01:00
Chris Plummer
57f866aaeb 8155980: ARM InterpreterMacroAssembler::get_method_counters() should not be saving caller saved registers
Make get_method_counters() only save registers specified by caller, not all of them

Reviewed-by: dlong, jiangli
2017-03-01 14:59:36 -08:00
Christian Tornqvist
7519b299b3 Merge 2017-03-01 13:47:11 +00:00
Christian Tornqvist
ba1cc2636e Merge 2017-03-01 13:24:34 +00:00
Christian Tornqvist
a09caaa6ff 8176012: Remove unused groups in hotspot/test/TEST.groups
Reviewed-by: iignatyev, gtriantafill
2017-03-01 08:11:29 -05:00
Harold Seigel
5485a03844 8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Remove get_module_by_package_name() etc., and unneeded test.

Reviewed-by: sspitsyn, gtriantafill
2017-03-01 07:59:20 -05:00
Shafi Ahmad
90c3e97cbd 8171194: Exception "Duplicate field name&signature in class file" should report the name and signature of the field
Added code to emit name and signature of duplicate field in java.lang.ClassFormatError exception message

Reviewed-by: dholmes, coleenp
2017-02-28 20:32:06 -08:00