Commit Graph

12543 Commits

Author SHA1 Message Date
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
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
Doug Simon
3ef35612c7 8166417: Integrate Graal-core into JDK for AOT compiler
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Josef Eisl <josef.eisl@jku.at>
Co-authored-by: Christian Wimmer <christian.wimmer@oracle.com>
Co-authored-by: Chris Thalinger <cthalinger@twitter.com>
Co-authored-by: Gilles Duboscq <gilles.m.duboscq@oracle.com>
Co-authored-by: David Leopoldseder <david.d.leopoldseder@oracle.com>
Co-authored-by: Stefan Anzinger <stefan.anzinger@oracle.com>
Co-authored-by: Christian Humer <christian.humer@oracle.com>
Co-authored-by: Michael Berg <michael.c.berg@intel.com>
Co-authored-by: Bernhard Urban <bernhard.urban@jku.at>
Co-authored-by: Miguel Garcia <miguel.m.garcia@oracle.com>
Co-authored-by: Yudi Zheng <yudi.zheng@usi.ch>
Co-authored-by: Christos Kotselidis <christos.kotselidis@oracle.com>
Co-authored-by: Andreas Woess <andreas.woess@jku.at>
Co-authored-by: Stefan Rumzucker <stefan.rumzucker@jku.at>
Co-authored-by: Aleksandar Prokopec <aleksandar.prokopec@oracle.com>
Co-authored-by: Christian Haeubl <haeubl@ssw.jku.at>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Matthias Grimmer <grimmer@ssw.jku.at>
Co-authored-by: Erik Eckstein <erik.eckstein@oracle.com>
Co-authored-by: Josef Haider <josef.haider@jku.at>
Co-authored-by: Manuel Rigger <rigger.manuel@gmail.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@oracle.com>
Co-authored-by: Chris Seaton <chris.seaton@oracle.com>
Co-authored-by: Peter Kessler <peter.b.kessler@oracle.com>
Co-authored-by: Christian Wirth <christian.wirth@oracle.com>
Co-authored-by: Benoit Daloze <benoit.d.daloze@oracle.com>
Reviewed-by: iveresov, kvn, erikj, ihse, mchung
2016-12-11 12:05:57 -08:00
Jesper Wilhelmsson
9e339249a8 8171046: Quarantine TestStressG1Humongous.java until JDK-8171045 is fixed
Reviewed-by: kvn
2016-12-10 03:08:23 +01:00
Lana Steuck
7d94742f2c Merge 2016-12-08 21:21:56 +00:00
Lana Steuck
1a0e72a705 Added tag jdk-9+148 for changeset bb4ec5bdb5d8 2016-12-08 18:03:34 +00: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
Kirill Zhaldybin
bfcbde3e50 8170919: LogStreamTest tests crash if they are run first
Reviewed-by: jwilhelm, mlarsson
2016-12-08 15:56:57 +03: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
Erik Joelsson
a1b09faffe 8141590: Cannot build Zero with devkit
Reviewed-by: ihse
2016-12-07 16:08:23 +01: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
Magnus Ihse Bursie
092bf11b7e 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:57 +01:00
Boris Molodenkov
d82ff831ba 8166132: Convert TestGlobalDefinitions_test to GTest
Reviewed-by: iignatyev
2016-12-06 16:42:42 +03:00
Igor Ignatyev
9d99a698ef 8078450: Implement consistent process for quarantine of tests
Reviewed-by: dfazunen, dholmes, sspitsyn
2016-12-07 14:37:35 +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
Lana Steuck
59651b0831 Merge 2016-12-01 21:40:08 +00:00
Lana Steuck
f3dd277595 Added tag jdk-9+147 for changeset ef1c0c184790 2016-12-01 21:01:52 +00:00
Alan Bateman
5b9e2a32bb 8170599: compiler/** tests using ToolProvider.getSystemClassLoader failing
Reviewed-by: hseigel
2016-12-01 15:54:39 +00:00
Alan Bateman
3c75e80d4b Merge 2016-12-01 11:16:11 +00: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
da0b1b46e0 Merge 2016-12-05 18:00:34 +00:00
Erik Joelsson
6d271f4386 8066474: Remove the lib/ directory from Linux and Solaris images
Reviewed-by: tbell, ihse, kvn
2016-12-05 17:57:43 +01: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
Kirill Zhaldybin
bdf15eb4b2 Merge 2016-11-30 22:44:51 +01:00
Kirill Zhaldybin
91be80f603 Merge 2016-11-30 21:49:57 +01: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
Magnus Ihse Bursie
db254a6acc 8031567: Better model for storing source revision information
Reviewed-by: erikj
2016-11-28 09:20:13 +01:00
Kirill Zhaldybin
c6705841d4 8168341: Gtests on JSon produce an enormous amount of hardly understandable output to stdout
Reviewed-by: iignatyev, ppunegov, kvn
2016-11-25 20:53:36 +03:00
Igor Nunes
793c6e5da7 8170328: PPC64: Use andis instead of lis/and
Reviewed-by: goetz, mdoerr
2016-11-25 11:15:12 -02:00
Vivek Deshpande
947115f16f 8170430: x86 pow() stub from Intel libm is inconsistent with pow() from fdlib
Do not use libm stubs when InlineIntrinsics switched off

Reviewed-by: kvn
2016-11-29 17:41:08 -08: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
ae5c40075f Merge 2016-11-29 19:20:03 +00: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
Jiangli Zhou
f9911247af 8170297: runtime/SharedArchiveFile/LargeSharedSpace.java didn't run out of memory
Split the test cases. Add -XX:+UseCompressedClassPointers -XX:CompressedClassSpaceSize=3G for the 64-bit -XX:SharedMiscCodeSize=1600386047 test case.

Reviewed-by: ccheung, iklam, dholmes
2016-11-29 11:26:25 -05:00
Kirill Zhaldybin
f2dcdc6fb5 8166156: Convert test_semaphore to GTest
Reviewed-by: kbarrett, tschatzl, stefank
2016-11-28 18:54:30 +03:00
Kirill Zhaldybin
9b7be3512e 8169003: LogDecorations.iso8601_utctime_test fails if numeric locale uses "," as separator between integer and fraction part
Reviewed-by: mlarsson, iignatyev
2016-11-25 20:00:51 +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
Igor Ignatyev
f9087dae6d 8170227: use vm.jvmci property in compiler/jvmci tests
Reviewed-by: kvn
2016-11-29 00:25:13 +03:00
Igor Ignatyev
7a6eaf487d 8170226: Implement setting jtreg @requires property vm.jvmci
Reviewed-by: kvn
2016-11-29 00:25:09 +03:00
Lana Steuck
2d23649dcd Merge 2016-11-23 19:15:01 +00:00
Lana Steuck
16734f37d5 Added tag jdk-9+146 for changeset 296b6f1ad81e 2016-11-23 16:16:34 +00: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
Andrew Haley
101d945f21 8170106: AArch64: Multiple JVMCI issues
Reviewed-by: rschatz
2016-11-22 08:46:49 -08:00
Igor Ignatyev
0cf477c848 Merge 2016-11-25 17:56:30 +00: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
Igor Ignatyev
484e62c39f 8170228: register closed @requires property setter
Reviewed-by: vlivanov, dfazunen
2016-11-25 11:59:40 +03:00
Erik Joelsson
94be81892d Merge 2016-11-24 16:07:53 +01:00
Erik Joelsson
63693b7bb6 8170284: Move fine granular hotspot make targets to top level
Reviewed-by: tbell
2016-11-24 15:27:53 +01:00
Leonid Mesnik
e05aabe8ab 8166761: Compiler testing in tier2 should be optimized to finish in 20 minutes
Reviewed-by: ctornqvi, kvn
2016-11-24 16:52:34 +03: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
Thomas Schatzl
557d68a510 8169703: G1 crashes with guarantee(pretouch_gang != NULL) failed: No pretouch gang specified
Allow use of AlwaysPreTouch without passing a WorkGang.

Reviewed-by: kbarrett, dfazunen, ddmitriev
2016-11-24 10:05:47 +01:00
Stefan Karlsson
fe786e80ee 8169931: 8k class metaspace chunks misallocated from 4k chunk freelist​
Reviewed-by: mgerdin, coleenp, ehelin, stuefe
2016-11-23 14:36:32 +01:00
Thomas Stuefe
5eecf3f1e6 8167650: NMT should check for invalid MEMFLAGS
Reviewed-by: dholmes, mockner, cjplummer
2016-11-23 14:33:45 +01:00
Kirill Zhaldybin
9439c78ffa 8168492: Convert CollectedHeap_test to GTest
Reviewed-by: iignatyev, tschatzl
2016-11-23 12:01:57 +03:00
Magnus Ihse Bursie
0915733851 8170184: Remove incorrect comments about generated jvmt.h
Reviewed-by: alanb, erikj
2016-11-22 15:04:19 +01:00
Magnus Ihse Bursie
5ef25cb29e 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Lana Steuck
851c278fa2 Merge 2016-11-21 18:47:57 +00:00
Lana Steuck
9f7acae62e Merge 2016-11-17 22:19:25 +00:00
Lana Steuck
f317eceb57 Added tag jdk-9+145 for changeset 62743782a2cd 2016-11-17 17:50:06 +00:00
Jesper Wilhelmsson
5e2e968e20 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jesper Wilhelmsson
106e220ae2 Merge 2016-11-11 16:44:36 +01:00
Lana Steuck
41b6425f10 Added tag jdk-9+144 for changeset 458b7becdccc 2016-11-11 05:11:52 +00:00
Goetz Lindenmaier
c5a2c4af0e 8169373: Work around linux NPTL stack guard error
Also skip libc guard page for compiler thread, merge similar code on linux platforms, and streamline libc guard page handling on linuxs390, linuxppc, aixppc.

Reviewed-by: dholmes, dcubed, kvn
2016-11-08 16:30:36 +01:00
Lana Steuck
e6ef8a5897 Merge 2016-11-04 17:52:18 +00:00
Lana Steuck
76a0bfd7dd Added tag jdk-9+143 for changeset 621dfac78ca1 2016-11-04 17:24:23 +00:00
Mandy Chung
150d28bb0e 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:02 -07:00
Bob Vandette
2ed31c7b3b 8167501: ARMv7 Linux C2 compiler crashes running jtreg harness on MP systems
Reviewed-by: dcubed
2016-11-03 10:44:17 -04:00
Jini George
4e3c345d78 8164783: SA: jhsdb clhsdb 'printall' often throws "Corrupted constant pool" assertion failure
Do the special handling for invokedynamic bytecodes while printing out the bytecodes in a method

Reviewed-by: dsamersoff, sundar
2016-11-03 11:53:20 +05:30
Erik Joelsson
9229e79238 8063154: Checked in jvmti.h not in sync with generated jvmti.h
Reviewed-by: tbell
2016-11-02 10:43:23 +01:00
Kirill Zhaldybin
db6e54d852 8168493: Convert TestBitMap_test to GTest
Reviewed-by: kbarrett, tschatzl
2016-11-01 16:23:29 +03:00
Jini George
95a418feb0 8169232: SA: TestCpoolForInvokeDynamic.java fails with sun.jvm.hotspot.debugger.DebuggerException: binary search bug: should have found entry 1
Avoid potential data loss by avoiding the long-to-int cast of the return value of minus()

Reviewed-by: dsamersoff, sspitsyn
2016-11-23 12:08:37 +05:30
Kim Barrett
358f09e305 8166811: Missing memory fences between memory allocation and refinement
Refactored to have needed barrier

Reviewed-by: tschatzl, ehelin
2016-11-22 20:50:31 -05:00
Kim Barrett
213906ee83 8166607: G1 needs klass_or_null_acquire
Use acquire where needed, split refinment humongous and non to simplify.

Reviewed-by: tschatzl, ehelin
2016-11-22 20:24:47 -05:00
Vivek Deshpande
1170f8e5c8 8165287: fix compress intrinsics to produce correct results with avx512
Reviewed-by: kvn
2016-11-22 13:59:45 -08:00
Michael Berg
56ed7077a8 8170039: Change UseAVX < 3 on SKX/KNL to not emit evex vector check
Reviewed-by: kvn
2016-11-22 11:34:11 -08:00
Michail Chernov
ba634d1749 8168396: Unexpected OOME in GcCauseTest02 and GcTest02
Reviewed-by: tschatzl, dfazunen
2016-11-22 16:13:13 +03:00
Jiangli Zhou
1b1cffb128 8169870: CDS: "assert(partition_size <= size()) failed: partition failed" on 32 bit JVM
Exit the VM and report error if the second ReservedSpace() call also fails.

Reviewed-by: cjplummer, sspitsyn, iklam
2016-11-21 21:07:45 -05:00
Andrew Haley
753b3cf3e6 8170100: AArch64: Crash in C1-compiled code accessing References
Reviewed-by: roland
2016-11-21 17:38:13 +00:00
Andrew Haley
cbdf3828d8 8170098: AArch64: VM is extremely slow with JVMTI debugging enabled
Reviewed-by: roland
2016-11-21 17:29:17 +00:00
Tobias Hartmann
e52cf63f69 8169941: CodeBlob::is_frame_complete_at() does not honor CodeOffsets::frame_never_safe
CodeBlob::is_frame_complete_at() should always return false if _frame_complete_offset is set to CodeOffsets::frame_never_safe (-1).

Reviewed-by: kvn, dlong
2016-11-21 09:33:06 +01:00
Tobias Hartmann
94e3514d8f 8169711: CDS does not patch entry trampoline if intrinsic method is disabled
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.

Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01:00
Roman Kennke
d1f8287a49 8169901: AArch64: CompareAndExchange intrinsics clobber address register
Reviewed-by: aph
2016-11-18 19:04:48 +00:00
Michail Chernov
71c22433e4 8166719: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl, dfazunen
2016-11-18 18:46:08 +03:00
Rahul Raghavan
49398b11cb 8169529: AArch64: Revert old JDK-8167595 changes after JDK-8159035 fix is pushed
Removed the zero check

Reviewed-by: adinn, aph, thartmann
2016-11-18 03:40:56 -08:00
Rachel Protacio
7246df4cca Merge 2016-11-17 21:59:52 +00:00
Rachel Protacio
3f2be39bb3 8165550: Add class loader names to ClassCastException message
Adds new format of class loader names to VM ClassCastException messages

Reviewed-by: dholmes, mchung, lfoltan
2016-11-17 16:28:45 -05:00
Harold Seigel
ccbb28f6a0 8166304: Skipping access check for classes generated by core reflection
Only allow boot and reflection class loader to load sub-types of jdk.internal.reflect

Reviewed-by: acorn, lfoltan, rehn
2016-11-17 14:23:29 -05:00
Jini George
81f1e7056b 8169638: serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation
Modified the jtreg tests to use @modules

Reviewed-by: dsamersoff, rehn
2016-11-17 15:54:48 +03:00
Michail Chernov
5f5f5e574d 8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
Reviewed-by: dfazunen, tschatzl
2016-11-16 18:57:42 +03:00
Sharath Ballal
7c690441e4 7107013: sun.jvm.hotspot.runtime.Bytes.swapLong conversion to long mishandled
Cast to long to avoid truncation in swapLong()

Reviewed-by: dsamersoff
2016-11-16 14:11:30 +03:00
Kim Barrett
7d9d3aa1a0 8169423: Infinite loop in G1's ConcurrentMarkThread
Also terminate loop if has_aborted flag is set.

Reviewed-by: tschatzl, sjohanss
2016-11-15 19:39:51 -05:00
Harold Seigel
198498171b 8169551: Segfaults in error traces when module version is null
Make sure module->version() is not null before dereferencing it.

Reviewed-by: coleenp, gtriantafill, lfoltan
2016-11-15 08:34:56 -05:00
Michail Chernov
8aadf612a2 Merge 2016-11-15 15:30:03 +03:00
Michail Chernov
cf892bc788 8168934: [TESTBUG] gc/g1/logging/TestG1LoggingFailure.java failed
Reviewed-by: tschatzl, dfazunen
2016-11-15 14:04:39 +03:00
Jiangli Zhou
e6f754f318 Merge 2016-11-14 19:24:14 -05:00
Jiangli Zhou
70abdc1e0e 8168790: CDS: assert(max_delta <= (0x7FFFFFFF)) failed: range check
Change the assert to check the current delta is less than 0x7FFFFFFF.

Reviewed-by: iklam, ddmitriev
2016-11-14 18:03:44 -05:00
Calvin Cheung
facec36cb2 Merge 2016-11-14 19:21:18 +00:00
Calvin Cheung
1c8fc7bca4 8168796: relax vm options checking during CDS dump time
Warning instead of exit for the following vm options specified during CDS dump time: --module-path, --upgrade-module-path, --add-modules

Reviewed-by: hseigel, jiangli, sspitsyn
2016-11-14 10:42:13 -08:00
Yang Zhang
d718f0e61e 8169261: Fix for JDK-8067744 creates build failures with some versions of gcc and/or linux
Reviewed-by: kvn, drwhite
2016-11-14 10:10:10 -08:00
Volker Simonis
82da03621f 8169625: Libjsig build doesn't set flags for ppc64/s390 builds
Reviewed-by: erikj
2016-11-14 11:15:43 +01:00
Jesper Wilhelmsson
d89285aebb 8169597: Quarantine TestCpoolForInvokeDynamic.java until JDK-8169232 is solved
Reviewed-by: egahlin, gtriantafill
2016-11-11 16:52:44 +01:00
Jesper Wilhelmsson
bc72fc2242 Merge 2016-11-11 16:44:36 +01:00
Erik Helin
aebe7f557d Merge 2016-11-11 12:27:22 +01:00
Goetz Lindenmaier
003b7aba48 8169317: [s390] Various minor bug fixes and adaptions
Reviewed-by: mdoerr
2016-11-07 12:37:28 +01:00
Rahul Raghavan
c5b56dab55 8169201: Montgomery multiply intrinsic should use correct name
Corrected stubName to montgomery_multiply for inline_montgomeryMultiply()

Reviewed-by: aph, thartmann, zmajo
2016-11-10 23:26:56 -08:00
Tom Rodriguez
72d04ec80a 8169554: [JVMCI] expose missing StubRoutines for intrinsics
Reviewed-by: kvn
2016-11-10 13:08:02 -08:00
Nils Eliasson
df8bbfafc7 8167656: Unstable MethodHandle inlining causing huge performance variations
Profile calls without a reciever

Reviewed-by: jrose, vlivanov, kvn
2016-11-10 18:08:31 +01:00
Razvan A Lupusoru
c372aca124 8167067: Fix x86 SHA instructions to be non Vex encoded
Reviewed-by: kvn
2016-11-09 10:21:56 -08:00
Erik Helin
d19575bfac 8167679: G1 phase logging is messy
Reviewed-by: sjohanss, tschatzl
2016-11-07 10:38:42 +01:00
Lana Steuck
fd8b04bc7d Merge 2016-10-27 21:22:32 +00:00
Lana Steuck
6d91f16949 Added tag jdk-9+142 for changeset 9d611e487d3e 2016-10-27 16:28:59 +00:00
Harold Seigel
300390f275 8167104: Additional class construction refinements
Reviewed-by: acorn, mschoene, asmotrak
2016-10-26 15:12:53 -04:00
Alejandro Murillo
af03100a51 Merge 2016-10-20 16:53:56 -07:00
Lana Steuck
2e120c8872 Merge 2016-10-20 20:01:43 +00:00
Lana Steuck
e3368d77e0 Added tag jdk-9+141 for changeset 9bd03c20ec2f 2016-10-20 18:38:08 +00:00
David Holmes
23e5629a05 Merge 2016-10-19 00:16:02 +00:00
David Holmes
027d770be6 8165827: Support private interface methods in JNI, JDWP, JDI and JDB
Reviewed-by: dcubed, lfoltan, sspitsyn
2016-10-18 20:03:17 -04:00
Calvin Cheung
c5dc50c03f 8166931: Do not include classes which are unusable during run time in the classlist file
Added check to exclude classes found in the --patch-module list

Reviewed-by: jiangli, lfoltan, iklam
2016-10-18 16:15:03 -07:00
Jiangli Zhou
3b1fe56bf5 Merge 2016-10-18 17:38:17 -04:00
Tom Rodriguez
611b262198 Merge 2016-10-18 19:31:21 +00:00
Dmitry Fazunenko
0185bba467 Merge 2016-10-18 18:59:01 +00:00
Tom Rodriguez
a478c6155c Merge 2016-10-18 17:47:03 +00:00
Andrew Haley
fd45fd98b7 Merge 2016-10-18 17:21:55 +00:00
Dmitry Fazunenko
5aa21143a2 Merge 2016-10-18 17:18:11 +00:00
Andrew Haley
50b678d7a0 Merge 2016-10-18 17:14:09 +00:00
Tom Rodriguez
fff2e89e6d 8166972: [JVMCI] reduce size of interpreter when JVMCI is enabled
Reviewed-by: kvn, twisti
2016-10-18 17:06:58 +00:00
Coleen Phillimore
da45a98b46 Merge 2016-10-18 16:09:34 +00:00
Dmitry Fazunenko
23d0bfc849 Merge 2016-10-18 16:02:14 +00:00
Dmitry Fazunenko
d530964acc 8165621: Convert TestG1BiasedArray_test to GTest
Reviewed-by: jwilhelm, kzhaldyb
2016-10-18 19:26:07 +04:00
Doug Simon
8302237d39 Merge 2016-10-18 15:15:51 +00:00
Erik Helin
719abe462c Merge 2016-10-18 16:21:43 +02:00
Coleen Phillimore
04bc07be95 8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
Return Metablocks smaller than dictionary's dark matter.

Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Christian Tornqvist
54ccd49af7 Merge 2016-10-18 12:26:04 +00:00
Robbin Ehn
39c74d7fdc Merge 2016-10-18 13:24:02 +02:00
Christian Tornqvist
37a92b35cd 8159799: Tests using jcmd fails intermittently with Could not open PerfMemory on Windows
Reviewed-by: gtriantafill, dholmes, sla, fparain
2016-10-18 06:17:10 -04:00
Christian Tornqvist
d7ea0d733b 8166738: Enable concurrency in Hotspot jtreg testing
Reviewed-by: gtriantafill, erikj, sspitsyn
2016-10-18 06:14:10 -04:00
Robbin Ehn
f1e682cc3c Merge 2016-10-18 12:06:52 +02:00
Robbin Ehn
449c641e3d 8165526: Kitchensink sudden death - error code 0x406d1388
Reviewed-by: dholmes, sla, gtriantafill
2016-10-18 10:51:25 +02:00
Tobias Hartmann
4bb6761600 8153134: Infinite loop in handle_wrong_method in jmod
Use Patching_lock to synchronize access between set_code() and clear_code().

Reviewed-by: kvn, dlong
2016-10-18 09:43:12 +02:00
Sangheon Kim
614320ba5e 8167494: Deprecate AutoGCSelectPauseMillis
Reviewed-by: kbarrett, ehelin
2016-10-17 16:40:49 -07:00
Sangheon Kim
fb49622c7e 8166461: Deprecate UseAutoGCSelectPolicy
Reviewed-by: kbarrett, ehelin
2016-10-17 21:21:53 -07:00
Coleen Phillimore
f860133cc4 Merge 2016-10-18 02:53:36 +00:00
Sangheon Kim
3171a6fcee Merge 2016-10-18 01:47:24 +00:00
Coleen Phillimore
4bcb9f4aee Merge 2016-10-18 00:15:02 +00:00
Jon Masamitsu
867c3bfaef 8155948: Add message for CMS deprecation for Oracle builds
Reviewed-by: kbarrett, dholmes, coleenp, drwhite
2016-10-17 16:46:12 -07:00
Alan Burlison
7520497b75 8157141: Fix for JDK-8031290 is unnecessarily fragile
8166454: meminfo(2) has been available since Solaris 9

Reviewed-by: dholmes, kbarrett
2016-10-17 19:18:08 -04:00
Martin Walsh
811ccf69ad 8165482: java in ldoms, with cpu-arch=generic has problems
Reviewed-by: dholmes, alanbur
2016-10-17 19:12:28 -04:00
Stanislav Smirnov
c13329714b 8165687: Fix license and copyright headers in jd9 under hotspot/test
Legal notices and Oracle copyrights were updated (white and blank space, commas) in tests files for uniformity to meet Oracle requirements.

Co-authored-by: Vassili Igouchkine <vassili.igouchkine@oracle.com>
Reviewed-by: dholmes, iris
2016-10-17 18:54:12 -04:00
David Holmes
7e084fd81f 8166197: assert(RelaxAssert || w != Thread::current()->_MutexEvent) failed: invariant
Reviewed-by: dcubed, cvarming
2016-10-17 18:40:10 -04:00
Roland Westrelin
29e33425a4 8168086: 8166869 broke jvmci build on aarch64
Reviewed-by: kvn
2016-10-17 17:55:10 +02:00
Vladimir Kozlov
28c75424e3 Merge 2016-10-14 08:54:02 -07:00
Lana Steuck
b006895cb4 Merge 2016-10-13 23:03:14 +00:00
Lana Steuck
6813916b73 Added tag jdk-9+140 for changeset ddbbb16c6b6e 2016-10-13 21:01:10 +00:00
Max Ockner
06ee36561b 8167446: Add back PermSize and MaxPermSize
Added Permsize and MaxPermSize as obsolete options to remain indefinitely.

Reviewed-by: coleenp, hseigel, lfoltan
2016-10-13 15:57:24 -04:00
Alejandro Murillo
82157115c2 Merge 2016-10-13 08:57:54 -07:00
Mandy Chung
7bcdb60438 8167511: IgnoreModulePropertiesTest.java needs update for JDK-8162401
Reviewed-by: lfoltan, hseigel
2016-10-13 08:00:10 -07:00
Ningsheng Jian
6a9dfd0048 8167595: AArch64: SEGV in stub code cipherBlockChaining_decryptAESCrypt
Reviewed-by: aph
2016-10-12 12:24:41 +00:00
Martin Doerr
4b792903da 8166970: Adapt mutex padding according to DEFAULT_CACHE_LINE_SIZE
Reviewed-by: coleenp, dholmes, dcubed, redestad
2016-10-12 10:41:00 +02:00