Commit Graph

12605 Commits

Author SHA1 Message Date
Tom Rodriguez
3f2d357f28 8173584: Add unit test for 8173309
Reviewed-by: kvn
2017-01-30 10:30:24 -08:00
Jini George
f02b7dfba7 8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
Create a new heapdump segment and truncate huge arrays if required, to avoid overflow of the 32 bit value representing the size.

Reviewed-by: dholmes, dsamersoff
2017-01-30 13:48:14 +05:30
Dmitrij Pochepko
f798c318f8 Merge 2017-01-27 21:39:12 +01:00
Andrew Haley
51e977ec79 Merge 2017-01-27 18:22:09 +00:00
Dmitrij Pochepko
54f50066eb 8173399: Jittester: sources should be aligned with latest product state
Reviewed-by: kvn
2017-01-27 18:44:15 +03:00
Andrew Dinn
2b577bb1f6 8173474: AArch64: fix reported -Xss minimum
Reviewed-by: aph
2017-01-27 07:56:13 -05:00
Thomas Schatzl
6fb4d7356b 8173229: Wrong assert whether all remembered set entries have been iterated over in presence of coarsenings
Remove asserts as they are almost useless.

Reviewed-by: mgerdin, ehelin
2017-01-27 13:12:53 +01:00
Andrew Haley
30b20a3edb 8173472: AArch64: C1 comparisons with null only use 32-bit instructions
Reviewed-by: roland
2017-01-27 09:50:15 +00:00
Lana Steuck
cb853efc86 Merge 2017-01-26 21:20:44 +00:00
Lana Steuck
59b7a754dc Added tag jdk-9+154 for changeset d34bd6a4b938 2017-01-26 19:22:37 +00:00
Calvin Cheung
3520dcfe62 8173163: searching for a versioned entry in a multi-release jar in hotspot is inconsistent with java code
Use the highest versioned entry if the specified version is higher than the current jdk version

Reviewed-by: iklam, sspitsyn, jiangli
2017-01-26 10:17:06 -08:00
Andrew Dinn
540ec375c3 8173339: AArch64: Fix minimum stack size computations
Reviewed-by: aph
2017-01-26 11:47:39 -05:00
Doug Simon
8c46b8e160 8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
Reviewed-by: kvn
2017-01-26 05:53:14 -08:00
Yang Zhang
9eb2a991de 8172881: AArch64: assertion failure: the int pressure is incorrect
Change the dst register type of get_and_setI/L/N/P from any register to non-special register.

Reviewed-by: aph
2017-01-22 16:33:54 +08:00
Rickard Bäckman
50d7d4fa1e Merge 2017-01-26 08:35:17 +01:00
Gilles Duboscq
42f4fbc243 8167519: [AOT] Failed compilation: java.math.MutableBigInteger.divide3n2n
Reviewed-by: never, davleopo
2017-01-24 13:40:46 +01:00
Tom Rodriguez
e56234d68b 8173309: jvmtiDeferredLocalVariableSet may update the wrong frame
Reviewed-by: kvn
2017-01-25 19:18:43 -08:00
Roland Westrelin
9b352ebabe 8173147: [ctw] fails during compilation of sun.security.krb5.internal.crypto.RsaMd5DesCksumType::calculateKeyedChecksum with " graph should be schedulable"
Loads generated at uncommon trap from eliminated arraycopy have incorrect memory state

Reviewed-by: thartmann
2017-01-24 09:40:05 +01:00
Tobias Hartmann
a84b66b517 8172850: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
Regression test and additional asserts. The problem is fixed by 8087341.

Reviewed-by: kvn
2017-01-25 07:05:38 +01:00
Tobias Hartmann
0917fde85d 8173195: [BACKOUT] 8087341: C2 doesn't optimize redundant memory operations with G1
Backing out 8087341 due to 8172850. Will be re-implemented with 8173196.

Reviewed-by: kvn
2017-01-25 07:03:26 +01:00
Jamsheed Mohammed C M
ac41b68c15 8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
Corrected available compilation levels for client builds.

Reviewed-by: kvn
2017-01-24 20:47:24 -08:00
Vladimir Kozlov
94db4c91c3 8173158: [AOT] fix typo in jaotc --help output
Reviewed-by: rbackman
2017-01-24 17:19:01 -08:00
Tom Rodriguez
56be1a28df 8171173: EXCEPTION_ACCESS_VIOLATION running VirtualObjectDebugInfoTest.java
Reviewed-by: kvn
2017-01-24 08:51:07 +00:00
Jesper Wilhelmsson
9d799dc14f Merge 2017-01-24 00:30:28 +01:00
Doug Simon
4684856924 Merge 2017-01-23 23:01:32 +00:00
Igor Veresov
5cac50c1a4 8173054: [AOT] Avoid zero-shift for compressed oops
AOT compiler should be pessimistic about heap size

Reviewed-by: kvn
2017-01-23 23:49:16 +03:00
Zoltan Majo
f3fcb0ec76 8172844: Assert fails in deoptimization due to original PC at the end of code section
Change assert to accept end of code section as well.

Reviewed-by: rbackman, kvn, dlong
2017-01-23 09:53:27 +01:00
Jamsheed Mohammed C M
165af4bdae 8173037: V [jvm.dll+0x2343fc] GraphBuilder::args_list_for_profiling+0x8c
Disabled WB Compilaton at unsupported levels.

Reviewed-by: kvn
2017-01-22 22:18:49 -08:00
Doug Simon
1cd0ad5c34 8172733: [JVMCI] add ResolvedJavaMethod.hasNeverInlineDirective
Reviewed-by: kvn
2017-01-22 21:40:59 +01:00
Vladimir Kozlov
a81872e33e 8173135: compiler/aot/fingerprint/SelfChangedCDS.java fails with: Unrecognized VM option 'UnlockCommercialFeatures'
Move aot/fingerprint tests to closed since they use commercial feature.

Reviewed-by: iveresov
2017-01-21 15:08:53 -08:00
Harold Seigel
c199f4eac2 8171971: Fix timing bug in JVM management of package export lists
Reduce the number of fields that maintain export state and use Module_lock to access these fields

Reviewed-by: acorn, sspitsyn, lfoltan
2017-01-20 16:09:56 -05:00
Lana Steuck
7f9acb7ba4 Merge 2017-01-20 18:26:43 +00:00
Jamsheed Mohammed C M
5796b2e174 8173038: [TESTBUG] compiler/loopopts/UseCountedLoopSafepointsTest.java fails with TESTBUG: Not server mode
Remove wrong extra check that got added as part of JDK-8166002 emulated client on win32.

Reviewed-by: kvn
2017-01-19 21:52:51 -08:00
Daniel D. Daugherty
3452ceaa66 8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message
Restore lost line from JDK-8061999.

Reviewed-by: hseigel, mchung, dholmes
2017-01-19 18:16:20 -08:00
David Holmes
35fa509305 8172972: Add gc/g1/logging/TestG1LoggingFailure.java to the ProblemList
Reviewed-by: kbarrett
2017-01-19 18:52:16 -05:00
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