3176 Commits

Author SHA1 Message Date
Ioi Lam
f7f193ae71 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:06:38 -07:00
Igor Ignatyev
addb31f30b Merge 2017-08-02 15:59:33 +00:00
Igor Ignatyev
205cb469e3 8185536: @key aot should be replaced w/ @requires vm.aot
Reviewed-by: kvn, goetz
2017-08-02 08:53:18 -07:00
Coleen Phillimore
17f23d1881 8184994: Add Dictionary size logging and jcmd
Added dcmd for printing system dictionary like the stringtable and symboltable and making print functions go to outputstream rather than tty

Reviewed-by: shade, hseigel
2017-08-02 10:52:50 -04:00
Vladimir Kozlov
adb8f74592 Merge 2017-08-01 14:09:34 -07:00
Coleen Phillimore
a1f70549e4 7133093: Improve system dictionary performance
Implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading

Reviewed-by: iklam, acorn, jiangli
2017-07-28 10:48:35 -04:00
Lana Steuck
a8abed5a38 Merge 2017-07-27 02:17:21 +00:00
Alexander Harlap
149e9c6e54 8183973: gc/TestFullGCALot.java fails in JDK10-hs nightly
Provide extra NewSize to avoid failure in running test with UseDeterministicG1GC option.

Reviewed-by: mgerdin, eosterlund
2017-07-25 13:28:14 -04:00
Alexander Harlap
270ecb9bbc 8184045: TestSystemGCWithG1.java times out on Solaris SPARC
Avoid extra round of stressing

Reviewed-by: dcubed, ehelin
2017-07-25 10:15:29 -04:00
Goetz Lindenmaier
6c11fd01db 8185046: jtreg: introduce keyword to disable aot tests
Reviewed-by: kvn, stuefe
2017-07-21 12:43:47 +02:00
Lana Steuck
e4d140f376 Merge 2017-07-07 03:07:07 +00:00
Alan Bateman
ce9501e66a 8183503: Update hotspot tests to allow for unique test classes directory
Reviewed-by: iklam
2017-07-05 13:25:45 +01:00
Tobias Hartmann
ef3a681e7b 8183103: Post loop vectorization produces incorrect results
Disable AVX=3 and PostLoopMultiversioning by default and make them experimental in JDK 9.

Reviewed-by: kvn
2017-07-05 09:06:59 +02:00
Igor Ignatyev
02d9418fb4 8182154: merge jdk.testlibrary.Platform and jdk.test.lib.Platform
Reviewed-by: sspitsyn, plevart
2017-06-27 08:43:58 -07:00
Lana Steuck
3edb9c14f7 Merge 2017-06-24 00:24:40 +00:00
Roland Westrelin
10d189d284 8181742: Load that bypasses arraycopy has wrong memory state
Set load memory edge to the memory state right before the arraycopy.

Reviewed-by: kvn, thartmann
2017-06-23 09:33:21 +02:00
Coleen Phillimore
fd08aa9cef 8182397: Race in field updates when creating ArrayKlasses can lead to crash
Update array_klass field in component mirror after klass.java_mirror field for concurrent readers in compiled code

Reviewed-by: aph, kbarrett
2017-07-24 17:46:06 -04:00
Harold Seigel
911f59bc22 8179018: Remove obsoleted one X options from JDK 10
Remove the obsoleted options

Reviewed-by: zgu, coleenp, gtriantafill
2017-07-24 09:32:35 -04:00
Roman Kennke
98bd53b5c2 8180932: Parallelize safepoint cleanup
Provide infrastructure to do safepoint cleanup tasks using parallel worker threads

Reviewed-by: dholmes, rehn, dcubed, thartmann
2017-07-07 12:49:11 +02:00
Thomas Stuefe
d12604111c 8181917: Refactor UL LogStreams to avoid using resource area
Reviewed-by: ehelin, mlarsson
2017-07-21 09:50:12 +02:00
Vladimir Kozlov
52ef49eef1 8185018: Put AOT tests on problem list for OS-X and Windows
Reviewed-by: dcubed, kbarrett
2017-07-20 17:23:24 -07:00
Goetz Lindenmaier
d3ae772868 8184800: Streamline RTM flag validity testing with generic flag testing support
Reviewed-by: kvn, lucy
2017-07-18 16:11:28 +02:00
Ioi Lam
53566072b6 8181860: [TESTBUG] serviceability/tmtools/jstack/utils/DefaultFormat.java does not recognize "sleeping" state
Added sleeping state to regexp

Reviewed-by: dcubed, gtriantafill
2017-07-19 11:48:25 -07:00
Thomas Stuefe
4a4b17c32c 8179327: gtestLauncher should run tests on a separate thread (optionally)
Reviewed-by: rehn, mgerdin
2017-07-18 11:09:48 +02:00
Erik Helin
e45a40a805 8183539: Remove G1RemSet::_into_cset_dirty_card_queue_set
Reviewed-by: tschatzl, mgerdin
2017-07-17 11:37:00 +02:00
Tobias Hartmann
9098aa9a2e 8184271: Time related C1 intrinsics produce inconsistent results when floating around
C1 intrinsics for System.nanoTime(), System.currentTimeMillis() and JVM.counterTime() should be pinned.

Reviewed-by: kvn, vlivanov
2017-07-14 11:55:58 +02:00
Harold Seigel
38a5756236 8183962: JVM_DoPrivileged does not find run method in default methods
Add search of interfaces for run() method.

Reviewed-by: acorn, gtriantafill
2017-07-13 08:49:09 -04:00
Harold Seigel
9e3de501f8 Merge 2017-07-13 01:28:24 +00:00
Harold Seigel
30580af958 8184281: -Xlog:startuptime does not include call to initPhase2
Remove "+module" and improve message

Reviewed-by: alanb, gtriantafill
2017-07-12 21:24:07 -04:00
Erik Österlund
454e63fe90 8183927: Hotspot needs C++ type_traits metaprogramming utilities
This changeset introduces new metaprogramming utilities typically found in <type_traits> in C++11.

Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: kbarrett, rehn, pliden
2017-07-11 12:00:48 +02:00
Igor Veresov
34ff291920 Merge 2017-07-07 16:49:45 +00:00
Igor Veresov
b7629460d2 8183991: Update Graal
Reviewed-by: kvn
2017-07-07 09:40:47 -07:00
Harold Seigel
51949436b0 8183400: runtime/6981737/Test6981737.java fails with java.lang.RuntimeException: FAIL: Wrong value for java.version property, "9", expected to be of form: "[0-9]+[\\.[0-9]+]*\-.*"
Use Runtime Version API's instead of a regular expression and split() API.

Reviewed-by: psandoz, mseledtsov, gthornbr
2017-07-07 11:26:08 -04:00
Harold Seigel
00b2004598 8140284: Deprecate -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal
Add the two options to the deprecate list.

Reviewed-by: acorn, gtriantafill
2017-07-12 08:07:58 -04:00
Christian Thalinger
340108f92b 8183151: DCmd Compiler.codelist should print all compiled methods
Add support for AOT methods in codelist dcmd

Reviewed-by: neliasso, kvn
2017-07-03 11:41:19 +02:00
Chihiro Ito
5ae3d88bb7 8181647: jhsdb jstack could not output thread name
Standardized thread information across jstack, jhsdb jstack, and jhsdb jstack --mixed

Reviewed-by: ysuenaga, poonam
2017-07-06 09:31:01 -04:00
Vladimir Kozlov
0be0ab5955 Merge 2017-07-05 20:16:26 -07:00
Vladimir Kozlov
62b03921aa Merge 2017-07-05 18:14:48 -07:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Jesper Wilhelmsson
efd1054686 8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02:00
Vladimir Ivanov
2a0ab692f7 8181872: C1: possible overflow when strength reducing integer multiply by constant
Reviewed-by: kvn
2017-06-20 14:37:25 +03:00
Alan Bateman
a0a5208606 Merge 2017-06-17 08:03:09 +01:00
Doug Simon
a7a368b2f9 8182310: [AOT][JVMCI] Get host class of VM anonymous class
Add missing JVMCI functionality

Reviewed-by: dlong, kvn
2017-06-16 12:18:46 -07:00
Alan Bateman
2f378477c4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:23 -07:00
Lana Steuck
e62c1a127e Merge 2017-06-16 04:55:29 +00:00
Lana Steuck
63253f80e8 Merge 2017-06-14 20:05:32 +00:00
Serguei Spitsyn
17081a1945 8178054: [TESTBUG] Need test for JVM TI IsModifiableModule
Add new test hotspot/test/serviceability/jvmti/GetNamedModule

Reviewed-by: alanb, iignatyev
2017-06-13 16:19:49 -07:00
Ron Pressler
061b09e847 8181292: Backport Rename internal Unsafe.compare methods from 10 to 9
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Reviewed-by: psandoz, dholmes, thartmann, kvn
2017-06-05 15:52:09 -07:00
Roland Westrelin
a9c2bc6517 8179678: ArrayCopy with same src and dst can cause incorrect execution or compiler crash
Replacing load on dst with load on src only valid if copy doesn't modify src element to load

Reviewed-by: kvn, thartmann
2017-06-02 09:08:34 +02:00
Lana Steuck
b415169648 Merge 2017-05-31 17:45:57 +00:00