7984 Commits

Author SHA1 Message Date
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
Serguei Spitsyn
88e7d65782 7034834: JVMTI xml file referring to old JDK version
Update the JVMTI spec with the version auto-change

Reviewed-by: coleenp, dholmes, dsamersoff, dcubed
2016-12-07 15:10:18 -08:00
Markus Grönlund
cfb71b7b05 8170847: Refactor trace/traceStream.hpp
Reviewed-by: coleenp, lfoltan
2016-12-07 23:38:37 +01:00
Shrinivas Joshi
985cf43c19 8158012: Use SW prefetch instructions instead of BIS for allocation prefetches on SPARC Core S4
Reviewed-by: kvn
2016-12-07 09:29:28 -08:00
Severin Gehwolf
f6acd61df6 8170767: Zero fastdebug build triggers assertion
Add missing interpreter entries for java_lang_math_fmaD/F.

Reviewed-by: coleenp
2016-12-07 13:37:37 +01:00
Boris Molodenkov
d82ff831ba 8166132: Convert TestGlobalDefinitions_test to GTest
Reviewed-by: iignatyev
2016-12-06 16:42:42 +03:00
Markus Grönlund
6a685f1d63 8170672: Event-based tracing to support classloader instances
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Kirill Zhaldybin
8bf0437430 8170468: Convert ParallelCompact_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-03 12:48:22 +03:00
Volker Simonis
7092ff6b91 8170548: VM may crash at startup because StdoutLog/StderrLog logging stream can be badly aligned
Reviewed-by: stuefe, mlarsson, clanger, dholmes
2016-12-01 11:30:22 +01:00
Kirill Zhaldybin
8d6d1e4cda 8170490: Convert TestBufferingOopClosure_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Rachel Protacio
9c6128c943 8169734: Update uses of string "java.base" to macro
Replaced instances of "java.base" string with JAVA_BASE_NAME macro

Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Rachel Protacio
83ff43e737 8168850: Mark module entries that have been specified by --patch-module
Adds a boolean to ModuleEntry to specify whether the module has been patched using the command line --patch-module

Reviewed-by: jiangli, lfoltan, dholmes
2016-12-05 11:45:20 -05:00
Gunter Haug
78e6980e1a 8170409: CMS: Crash in CardTableModRefBSForCTRS::process_chunk_boundaries
Reviewed-by: simonis, tschatzl, mgerdin, dlong
2016-12-02 11:07:27 +01:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Vladimir Kozlov
f56abb5fc2 Merge 2016-11-30 20:40:41 +00:00
Roland Westrelin
96be8c0cc8 8170470: superword may miss reductions
Reviewed-by: kvn
2016-11-30 12:07:17 -08:00
Erik Helin
cc87ed96f5 8170388: Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses
Reviewed-by: tschatzl, jprovino
2016-11-28 14:57:12 +01:00
Vladimir Kozlov
020f7ed9da 8170416: CompilerControl: VectorizeDebug option type is incorrect
VectorizeDebug C2 option flag should be uintx instead of bool.

Reviewed-by: thartmann
2016-11-29 12:40:46 -08:00
Stefan Karlsson
0925fecaf5 8170395: Metaspace initialization queries the wrong chunk freelist
Reviewed-by: mgerdin, pliden, stuefe
2016-11-29 19:25:36 +01:00
Kirill Zhaldybin
f2dcdc6fb5 8166156: Convert test_semaphore to GTest
Reviewed-by: kbarrett, tschatzl, stefank
2016-11-28 18:54:30 +03:00
Tobias Hartmann
8ab0960c11 Merge 2016-11-29 08:48:14 +01:00
Tobias Hartmann
5e29b0af21 8168996: C2 crash at postaloc.cpp:140 : assert(false) failed: unexpected yanked node
Prevent MemBarAcquire from keeping a LoadNNode alive by adding it to the worklist if it is the only user of a DecodeNNode.

Reviewed-by: kvn
2016-11-29 08:16:15 +01:00
David Buck
caf8bb3f8b 8170431: non-ASCII characters in source code comments (jimage.hpp)
Reviewed-by: dholmes
2016-11-29 06:20:56 +00:00
Ioi Lam
7624f76c84 8169867: Method::restore_unshareable_info does not invoke Method::link_method
Reviewed-by: jiangli, kvn, thartmann
2016-11-27 19:58:30 -08:00
Stefan Karlsson
4aaf8f63ba 8170358: [REDO] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Jesper Wilhelmsson
11802f94e8 8170355: [BACKOUT] 8k class metaspace chunks misallocated from 4k chunk freelist
Reviewed-by: ehelin, stefank
2016-11-25 15:58:24 +01:00
Leonid Mesnik
9a28eb0745 8166898: G1SATBCardTableLoggingModRefBS::invalidate() incorrect with whole_heap == true
Reviewed-by: tschatzl, kbarrett
2016-11-24 16:48:22 +03:00
Thomas Schatzl
06bd79afed 8057003: Large reference arrays cause extremely long synchronization times
Slice large object arrays into parts so that the synchronization of marking threads with an STW pause request does not take long.

Reviewed-by: ehelin, pliden
2016-11-24 11:27:57 +01:00
Thomas Schatzl
54daad1dc3 Merge 2016-11-24 09:33:54 +00:00