7874 Commits

Author SHA1 Message Date
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
Doug Simon
1cd0ad5c34 8172733: [JVMCI] add ResolvedJavaMethod.hasNeverInlineDirective
Reviewed-by: kvn
2017-01-22 21:40:59 +01: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
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
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
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
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
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
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
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
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
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
David Leopoldseder
26a978276c 8166125: [JVMCI] Missing JVMCI flag default values
Reviewed-by: twisti, kvn
2017-01-09 19:36:47 +00:00
Ioi Lam
482d791b2c 8170959: unloading archived shared class caused crash
Reviewed-by: coleenp, sspitsyn, mockner
2017-01-08 10:39:42 -08: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
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
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
Jesper Wilhelmsson
bfd05658c9 Merge 2016-12-27 22:34:07 +01:00
Jesper Wilhelmsson
4ce0eb8df9 Merge 2016-12-22 22:07:36 +01: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
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
Jesper Wilhelmsson
4106c6bc9b Merge 2016-12-19 00:49:34 +01:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00
Jesper Wilhelmsson
3bfd349b45 Merge 2016-12-20 22:53:45 +01: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
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
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
Goetz Lindenmaier
12aa0a8788 8170655: [posix] Fix minimum stack size computations
Reviewed-by: dcubed, coleenp
2016-12-19 15:48:57 -08:00
Jesper Wilhelmsson
a6fc4ec215 Merge 2016-12-18 15:37:50 +01: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
Ioi Lam
37f332b8ee 8171809: Remove unused CDS code from JDK 9
Reviewed-by: jiangli, ccheung, mseledtsov
2016-12-15 19:26:41 -08: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
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