7962 Commits

Author SHA1 Message Date
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
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
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
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
Coleen Phillimore
157bfcd7da Merge 2016-12-19 14:12:33 +00: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
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
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
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
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
f09c55c0d8 Merge 2016-12-08 15:49:29 +01:00
Brent Christian
95b2647798 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:36:13 -08:00
Jesper Wilhelmsson
5597cd6698 Merge 2016-12-08 15:49:29 +01:00
Serguei Spitsyn
ad4c4a1b14 Merge 2016-12-07 23:45:31 +00:00