Commit Graph

11882 Commits

Author SHA1 Message Date
Gerald Thornbrugh
81b9b7b499 8162999: Build give extraneous find warnings
Removed JtregNative.gmk line that was part of a merger error

Reviewed-by: coleenp, fparain
2016-08-04 10:11:35 -07:00
Max Ockner
9465d5512a 8145543: JPRT jobs see intermittent failures in compiler/floatingpoint/ModNaN.java
Not reproducible due to glibc patch which affects current and previous versions. Removed @ignore for compiler/floatingpoint/ModNaN.java

Reviewed-by: coleenp, gtriantafill
2016-08-04 12:55:28 -04:00
Max Ockner
a9382b99be Merge 2016-08-04 18:34:40 +02:00
Max Ockner
d3e6075c94 8159917: Space character is missing in ClassLoaderData::print_value_on
Added missing space in ClassLoaderData::print_value_on

Reviewed-by: coleenp
2016-08-04 12:24:10 -04:00
Leonid Mesnik
127367ce74 8162852: Mark stress compiler and gc tests with stress keyword
Reviewed-by: kvn, tschatzl
2016-08-04 14:04:14 +03:00
Tobias Hartmann
af8e1270cb 8136818: Test compiler/arraycopy/TestEliminatedArrayCopyDeopt.java fails with "m1 failed"
Added missing Op_StoreB check to ArrayCopyNode::may_modify_helper().

Reviewed-by: kvn
2016-08-04 10:34:34 +02:00
Tobias Hartmann
13fca14037 8162881: Effect of -XX:CICompilerCount depends on ordering of other flags
Value of CICompilerCount should be range checked after ergo. Don't create C2 compiler threads with TieredStopAtLevel=1.

Reviewed-by: kvn
2016-08-04 08:58:22 +02:00
Igor Veresov
91de51fa9e Merge 2016-08-03 15:55:40 -07:00
Chris Plummer
f108319ee4 8161030: GPL header missing comma after year
Added comma.

Reviewed-by: coleenp, fparain
2016-08-03 13:56:27 -07:00
Tom Rodriguez
70110abb7a Merge 2016-08-03 15:52:38 +00:00
Coleen Phillimore
25e581d03d 8159284: bigapps/Jetty - assert(jfa->last_Java_sp() > sp()) failed with JFR in use
Test condition in assert in frame::safe_for_sender() for entry frames and return false.

Reviewed-by: mgronlun, fparain
2016-08-03 09:40:21 -04:00
Daniel D. Daugherty
7f43a9fde3 Merge 2016-08-02 20:55:27 -07:00
Vladimir Kozlov
836b73b338 8163018: Slow compiler tests in JPRT
Fixed test/TEST.groups and added -XX:-TieredCompilation to Test6792161 test.

Reviewed-by: dholmes, dcubed
2016-08-02 19:46:29 -07:00
Joseph Provino
76459c2a06 Merge 2016-08-03 02:10:23 +00:00
Tom Rodriguez
d77fbe8b1b 8162477: [JVMCI] assert(wf.check_method_context(ctxk, m)) failed: proper context
Reviewed-by: kvn
2016-08-02 17:12:16 -07:00
Gerald Thornbrugh
8a3dd8c557 8161696: [TESTBUG] runtime/StackGuardPages/testme.sh uses invalid argument -Xss328k
Changed argument from 328k to 1M

Reviewed-by: dcubed, fparain, dholmes
2016-08-02 13:48:07 -07:00
Joseph Provino
08bdecf0c4 8071770: G1 does not implement millis_since_last_gc which is needed by RMI GC
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc

Reviewed-by: jmasa, tschatzl
2016-08-02 16:39:33 -04:00
David Holmes
71e69edb42 7008747: Header files with conditional behaviour can not be precompiled
Reviewed-by: kvn, gthornbr
2016-08-02 16:24:04 -04:00
Dean Long
1c61377375 8029441: assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
Move patchable check into patch_pc

Reviewed-by: dcubed
2016-08-02 11:06:25 -07:00
Michail Chernov
18a908de4a 8161604: TestNewSizeFlags fails with RuntimeException: max new size != MaxNewSize value
Reviewed-by: sangheki, tschatzl
2016-08-02 15:22:41 +03:00
Vladimir Kozlov
7ffefd9bf6 Merge 2016-08-01 22:34:23 -07:00
Vladimir Kozlov
4b428d9b3a Merge 2016-08-01 20:47:51 -07:00
Christoph Langer
b0c36d35ed 8162869: Small fixes for AIX perf memory and attach listener
Reviewed-by: dsamersoff, dholmes
2016-08-01 20:41:15 -04:00
Coleen Phillimore
8f37b6e451 8161445: [BACKOUT] MemberNameTable doesn't purge stale entries
Original change caused performance regression in microbenchmarks after GC

Reviewed-by: dholmes, ecaspole
2016-08-01 16:28:23 -04:00
Sharath Ballal
f4338a53f4 8160817: Add jsadebugd functionality to jhsdb
Add jsadebugd functionality to jhsdb

Reviewed-by: dsamersoff
2016-08-01 15:38:58 +03:00
Sharath Ballal
3baf6b1f72 8158050: Remove SA-JDI
Remove SA-JDI

Reviewed-by: alanb, dsamersoff
2016-08-01 10:51:22 +03:00
Roland Westrelin
d9e45ac1ac 8161652: Crash with assert(ft == _type) failed in PhiNode::Value()
Use CastPP and CheckCastPP when NotNull and klass have to be casted on Phi with unique input.

Reviewed-by: kvn
2016-07-30 04:05:28 -07:00
Alejandro Murillo
0a3a2b861b Merge 2016-07-29 16:50:45 -07:00
Alejandro Murillo
f94e0afeb7 Merge 2016-07-29 16:11:55 -07:00
Jon Masamitsu
3d74c4955e Merge 2016-07-29 20:23:24 +00:00
Daniel D. Daugherty
196895fafa 8161601: Solaris: __USE_LEGACY_PROTOTYPES__ is redundant and should be removed
Reviewed-by: redestad, dcubed, gthornbr, dholmes
2016-07-29 11:38:07 -07:00
Tatiana Pivovarova
a4383337fe 8161138: testlibrary_tests/ctw/* failed with "Failed. Unexpected exit from test [exit code: 0]"
Reviewed-by: kvn
2016-07-29 17:41:14 +03:00
Rickard Bäckman
a3cd491780 Merge 2016-07-29 08:17:43 +00:00
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Tobias Hartmann
d50a3f5680 8162540: Crash in C2 escape analysis with assert: "node should be registered"
GetAndSet, CompareAndExchange and CompareAndSwap intrinsics emit unsafe accesses to oop fields.

Reviewed-by: kvn
2016-07-29 08:36:13 +02:00
Alejandro Murillo
9abe2deac3 Added tag jdk-9+129 for changeset 3b5633fa6073 2016-07-28 16:08:14 +00:00
Lois Foltan
6066d30e17 8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
Correct the checking of an instance of java.lang.reflect.Module to validate a module

Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
Dmitrij Pochepko
757db81501 8162603: Unrecognized VM option 'UseCountedLoopSafepoints'
Reviewed-by: kvn
2016-07-28 16:09:31 +03:00
Zoltan Majo
4f2663284a Merge 2016-07-28 08:19:35 +00:00
Dean Long
6376361bc9 8160742: Node::operator new invokes undefined behavior
Remove obsolete asserts

Reviewed-by: kvn
2016-07-27 10:56:01 -07:00
Michail Chernov
f47008ae10 8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed
Reviewed-by: tschatzl
2016-07-27 18:43:52 +03:00
Dmitry Fazunenko
b831167138 8161990: Un-quarantine TestParallelHeapSizeFlags.java and TestSmallHeap.java
Reviewed-by: tschatzl
2016-07-27 21:16:38 +04:00
Karen Kinnear
d6207f6cf5 Merge 2016-07-27 13:33:52 +00:00
Karen Kinnear
9c928767ba 8162340: Better class stream parsing
Check platform and boot loader for java/* packages

Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Roland Westrelin
8d9c39fa52 8162384: Performance regression: bimorphic inlining may be bypassed by type speculation
When speculation fails at a call fallback to profile data at the call site

Reviewed-by: kvn
2016-07-27 12:33:33 +02:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Jiangli Zhou
5599ff5261 8156959: compiler/codecache/jmx/UsageThresholdExceededSeveralTimesTest.java fails with exit 134
Remove invalid assert in SensorInfo::process_pending_requests.

Reviewed-by: dholmes, coleenp
2016-07-26 17:25:58 -04:00
Lois Foltan
64f4953141 8154239: -Xbootclasspath/a breaks exploded build
Correct exploded modules build system class path search for the boot loader

Reviewed-by: acorn, ccheung, hseigel, jiangli
2016-07-26 10:29:27 -04:00
Thomas Schatzl
2313844e20 8161993: G1 crashes if active_processor_count changes during startup
Use the initial active processor count for memory initialization instead of the current active one.

Reviewed-by: dholmes, mgerdin
2016-07-26 11:04:20 +02:00
Thomas Schatzl
7c45404684 8147910: Cache initial active_processor_count
Introduce and initialize active_processor_count variable in VM.

Reviewed-by: dholmes, jprovino
2016-07-26 11:04:20 +02:00
Vladimir Ivanov
2468463559 Merge 2016-07-21 21:42:16 +00:00
Vladimir Ivanov
1208854be7 8155781: C2: opaque unsafe access triggers an assert
Reviewed-by: kvn, lmesnik, ppunegov
2016-07-21 20:18:11 +03:00
Alejandro Murillo
1fa86d81d8 Merge 2016-07-21 17:14:02 +00:00
Alejandro Murillo
ba313f9059 Added tag jdk-9+128 for changeset 77d414702a40 2016-07-21 16:42:57 +00:00
Daniel D. Daugherty
1ffdc57850 8161949: quarantine runtime/Unsafe/GetUnsafe.java to allow sync with JDK9-dev
Reviewed-by: jiangli, gtriantafill
2016-07-20 10:55:32 -07:00
Goetz Lindenmaier
ad6ab85840 8161907: adlc: Fix crash in cisc_spill_match if _rChild == NULL
Reviewed-by: kvn
2016-07-20 12:34:11 +02:00
Roland Westrelin
3636d8f3d5 8161147: jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
Don't convert loop with safepoint on the backedge to Counted loop

Reviewed-by: kvn
2016-07-25 14:31:42 -07:00
Alejandro Murillo
f6c997d6c8 Merge 2016-07-14 16:21:57 +00:00
Alejandro Murillo
5593c544a5 Added tag jdk-9+127 for changeset 8e5b413c199b 2016-07-14 15:47:44 +00:00
Marcus Larsson
11852cb5fa 8061219: Implement unit-tests for UL
Reviewed-by: coleenp, mockner, rprotacio
2016-07-14 09:52:03 +02:00
Goetz Lindenmaier
da3339948e 8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.

Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Dmitry Dmitriev
9432d41d77 Merge 2016-07-25 17:35:25 +02:00
Max Ockner
4945fbd459 8038332: The trace event vm/class/load is not always being sent
Added trace event vm/class/define

Reviewed-by: coleenp, egahlin, acorn
2016-07-25 09:40:31 -04:00
Brent Christian
c076e4284c 8161028: GPL header missing comma after year
Reviewed-by: dcubed
2016-07-22 10:15:42 -07:00
Alexander Kulyakhtin
1a81918931 8153978: New test to verify the modules info as returned by the JVMTI
A new JVMTI test

Reviewed-by: ctornqvi, sspitsyn
2016-07-22 16:55:55 +03:00
Erik Helin
b630a3ff47 8159464: DumpHeap.java hits assert in G1 code
Reviewed-by: mgerdin, tschatzl
2016-07-21 14:55:54 +02:00
Jini George
73a516d68e 8145627: sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test
Fix the size and add a test

Reviewed-by: sspitsyn
2016-07-22 02:36:39 -07:00
Alejandro Murillo
15fafcc1fc Merge 2016-07-22 04:05:04 +00:00
Alejandro Murillo
560886751b Merge 2016-07-21 20:09:19 -07:00
Alejandro Murillo
ff1f1235ab Merge 2016-07-21 19:50:41 -07:00
Calvin Cheung
0bcdf4f154 8161539: 8159666 breaks minimal VM
Replaces the shouldNotReachHere() with an assert

Reviewed-by: coleenp, dholmes, cjplummer, gziemski
2016-07-21 19:29:33 -07:00
Dmitry Fazunenko
fdec5ff217 Merge 2016-07-21 16:45:56 +00:00
Paul Sandoz
44d9cb476f 8161947: runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
Reviewed-by: alanb, dholmes
2016-07-21 16:29:21 +02:00
Dmitry Fazunenko
92110548e8 8161552: Test issue: VM init failed: GC triggered before VM initialization completed. Try increasing NewSize, current value 768K
Reviewed-by: tschatzl, jmasa, zmajo
2016-07-21 17:12:35 +04:00
Mikael Gerdin
4f554660a0 8161915: Linking gtestLauncher may end up linking with non-gtest libjvm
Reviewed-by: dholmes, ehelin
2016-07-21 14:06:22 +02:00
Boris Molodenkov
8663231fb4 8160119: Utils.tryFindJvmPid sometimes find incorrect pid
Fixed pattern

Reviewed-by: iignatyev, dholmes
2016-07-20 14:47:53 +03:00
Jiangli Zhou
80a863b62a Merge 2016-07-19 22:14:22 +02:00
Jon Masamitsu
c59e7952f6 Merge 2016-07-19 19:05:06 +00:00
Jiangli Zhou
86d5566b41 Merge 2016-07-19 20:39:23 +02:00
Jiangli Zhou
4662aa3bc4 Merge 2016-07-19 20:07:06 +02:00
Jiangli Zhou
6ed3f07f48 8141341: CDS should be disabled if JvmtiExport::should_post_class_file_load_hook() is true
Disable loading shared class if JvmtiExport::should_post_class_file_load_hook is true.

Reviewed-by: iklam, acorn, sspitsyn
2016-07-19 13:52:14 -04:00
Gerard Ziemski
f37ffdf9e0 Merge 2016-07-19 17:26:51 +00:00
Gerard Ziemski
f6975a2f65 8138760: [JVMCI] VM warning: Performance bug: SystemDictionary lookup_count=21831450 lookup_length=1275207287 average=58.411479 load=5.572844
Added debug details to the warning message.

Reviewed-by: dholmes, iklam, twisti
2016-07-19 11:00:45 -05:00
Michail Chernov
c6f30feaec 8160827: gc/stress/TestStressG1Humongous.java fails with OOME
Reviewed-by: tschatzl
2016-07-19 18:15:46 +03:00
Thomas Schatzl
5075c7b9a0 8157459: G1 IHOP JFR event attribute with incorrect content type
Use PERCENTAGE instead of BYTES64 data type for the affected attributes.

Reviewed-by: ehelin, sangheki
2016-07-19 09:30:30 +02:00
Thomas Schatzl
ada5ab192f 8034842: Parallelize the Free CSet phase in G1
Reviewed-by: jmasa, ehelin
2016-07-19 10:31:41 +02:00
Daniel D. Daugherty
c0e5b2646f 8161173: quarantine compiler/arraycopy/TestEliminatedArrayCopyDeopt.java
8161174: quarantine gc/stress/TestStressG1Humongous.java on 32-bit
8161175: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java on 32-bit

Reviewed-by: sspitsyn, jmasa, gtriantafill
2016-07-18 14:20:30 -07:00
Mikael Gerdin
a40bbfadaf 8161027: GPL header missing comma after year
Reviewed-by: redestad, dholmes
2016-07-18 14:30:39 +02:00
Ivan Gerasimov
3b6a62c9dc 8160892: Race at the VM exit causes "WaitForMultipleObjects timed out"
Reviewed-by: dcubed, dholmes
2016-07-16 23:10:00 +03:00
Daniel D. Daugherty
7efb7d2d3d Merge 2016-07-15 17:05:10 -07:00
Daniel D. Daugherty
9c028ad227 Merge 2016-07-15 18:09:33 +00:00
Gerald Thornbrugh
8f39b65deb 8144278: [TESTBUG] hotspot/runtime/StackGuardPages/testme.sh should use native library build support
Reviewed-by: erikj, dsamersoff, dholmes
2016-07-15 10:46:08 -07:00
Gerald Thornbrugh
2b23013b97 8144279: [TESTBUG] hotspot/runtime/jsig/Test8017498.sh should use native library build support
Reviewed-by: ccheung, cjplummer, dcubed
2016-07-15 10:31:50 -07:00
Gerald Thornbrugh
b571e747c5 8081770: [TESTBUG] regression Test7107135 needs to remove dependence on locally installed gcc
Reviewed-by: cjplummer, dcubed
2016-07-15 10:25:16 -07:00
Alan Burlison
1075d11550 8160997: Solaris: deprecated <pwd.h> and <gid.h> interfaces should be replaced
Use final POSIX 1003.1c versions of getgrgid_r(), getgrnam_r(), getpwnam_r(), and getpwuid_r().

Reviewed-by: alanb, dcubed, simonis, dholmes
2016-07-15 09:36:28 -07:00
Alejandro Murillo
95fcb61b0b Merge 2016-07-15 09:10:36 -07:00
Alejandro Murillo
84a55fcca8 Merge 2016-07-15 09:05:33 -07:00
Paul Sandoz
56ea8e7efa Merge 2016-07-15 12:40:47 +00:00
Thomas Schatzl
1244572841 8160897: Concurrent mark mark stack memory allocation leaks memory
Fix and clean up concurrent mark mark stack memory allocation.

Reviewed-by: jmasa, sangheki
2016-07-15 13:33:44 +02:00
Paul Sandoz
22f1fb042e 8151163: All Buffer implementations should leverage Unsafe unaligned accessors
Reviewed-by: shade, aph
2016-07-15 12:36:18 +02:00
Alejandro Murillo
cb8ce8788c Merge 2016-07-12 10:03:30 -07:00
Michail Chernov
dd05422209 8158508: gc/logging/TestUnifiedLoggingSwitchStress.java timeout
Reviewed-by: jmasa, tschatzl
2016-07-12 15:06:18 +03:00
Calvin Cheung
edbcea17d0 8159901: missing newline char in the exception messages in diagnosticArgument.cpp
Reviewed-by: fparain, egahlin, iklam
2016-07-13 18:26:51 -07:00
Michael Haupt
9d97255ffd 8161032: GPL header incorrect - address wrong - not swapped in licensee bundles
Reviewed-by: dholmes, kvn
2016-07-12 10:39:46 +02:00
Alejandro Murillo
7cd48c89d3 Merge 2016-07-08 12:12:54 -07:00
Dmitry Samersoff
018bd862ef 8161074: Quarantine jdk/vm/ci/hotspot/test/MethodHandleAccessProviderTest.java in JDK9-dev
Quarantine the test

Reviewed-by: dcubed, gtriantafill
2016-07-08 20:11:22 +03:00
Alejandro Murillo
bfd4afdf6f Merge 2016-07-07 18:35:44 +00:00
Alejandro Murillo
fe993c8495 Added tag jdk-9+126 for changeset 0517ab37a67c 2016-07-07 18:21:22 +00:00
Andrew John Hughes
7431d74121 8156980: Hotspot build doesn't have -std=gnu++98 gcc option
8157358: Syntax error in TOOLCHAIN_CHECK_COMPILER_VERSION

Add flags for GCC 6 to JVM_CFLAGS and fix prefix handling

Reviewed-by: erikj, kbarrett
2016-07-07 18:40:53 +01:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03:00
Jon Masamitsu
631036a07b 8155263: DisableStartThread should not be applied to GC worker threads
Reviewed-by: tschatzl, sangheki
2016-07-06 13:23:10 -07:00
Yasumasa Suenaga
c02ce6ab61 8153074: UL: Show output option in VM.log jcmd
Reviewed-by: dholmes, mlarsson
2016-07-06 20:58:08 +09:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Alejandro Murillo
5296c23c9b Merge 2016-07-08 12:17:10 -07:00
Alejandro Murillo
2557a71e8c Merge 2016-07-01 16:50:34 -07:00
Poonam Bajaj
a213803042 Merge 2016-07-01 23:11:45 +00:00
Poonam Bajaj
f97651b356 8064814: Print more helpful error message when getting OOM due to low Java Heap base when running with CompressedOops
Improve OOM error message

Reviewed-by: coleenp, dholmes
2016-07-01 12:51:29 -07:00
Christian Tornqvist
cc6f87129a Merge 2016-07-01 13:39:36 +02:00
Christian Tornqvist
f06ef85609 8160484: Implement Hotspot Runtime tier 2
Reviewed-by: dholmes, gtriantafill
2016-07-01 07:21:33 -04:00
Erik Joelsson
5b2f045b84 8158629: bash >(...) construct still causes race conditions
Reviewed-by: tbell
2016-07-01 11:55:25 +02:00
Christoph Langer
2fc575a095 8160565: AIX port: cleanup of libo4 wrapper stub
Reviewed-by: goetz, simonis
2016-07-01 11:29:55 +02:00
Yasumasa Suenaga
8ea7496925 8160356: invalid suffix on literal warning is occurred with GCC 6
Add whitespace separation

Reviewed-by: kbarrett, kvn
2016-06-30 19:16:14 -04:00
Alejandro Murillo
43a7f5b5b8 Merge 2016-06-30 22:38:45 +00:00
Alejandro Murillo
857fa7fe0a Added tag jdk-9+125 for changeset 70cd0a0846bf 2016-06-30 22:10:08 +00:00
Marcus Larsson
992b6c464a 8159695: Arguments::atojulong() fails to detect overflows
Reviewed-by: dholmes, dsamersoff
2016-06-29 16:11:50 +02:00
Coleen Phillimore
071f077080 Merge 2016-06-30 00:19:48 +00:00
Coleen Phillimore
fd1c7ff505 8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
Illegal bytecodes which are detected later hit this assert first.

Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Kirill Zhaldybin
ed9f815336 8132711: Add tests which check that Humongous objects behave as expected after Mixed GC
Reviewed-by: tschatzl, dfazunen
2016-06-29 18:40:28 +03:00
Kirill Zhaldybin
69a42dc15a 8132715: Add tests which check that no allocations allowed in any of humongous regions
Reviewed-by: dfazunen, tschatzl
2016-06-29 17:01:55 +03:00
Lois Foltan
92eb334c91 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules

Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Per Lidén
651e15fda6 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Per Lidén
e7a6ecea86 8158871: Long response times with G1 and StringDeduplication
Reviewed-by: stefank, sjohanss, tschatzl, dfazunen
2016-06-27 09:35:18 +02:00
Ioi Lam
1bcb5e5156 8148813: Windows os::check_heap needs more information
Added ring buffer to log info while walking the heap

Reviewed-by: mgronlun, dholmes, ccheung
2016-06-26 20:00:45 -07:00
Vladimir Kozlov
634a7fdebc Merge 2016-06-24 15:09:00 -07:00
Dmitry Fazunenko
6bf411c8be Merge 2016-06-24 16:21:57 +00:00
Dmitry Fazunenko
990315c8ce 8160088: update hotspot tests depending on GC to use @requires vm.gc.X
Reviewed-by: iignatyev, mchernov, dholmes
2016-06-24 19:52:31 +04:00
Dmitry Dmitriev
90f957ddb1 8160102: Typo in message for NULL memory size arguments in diagnosticArgument.cpp
Reviewed-by: dholmes, rehn
2016-06-24 12:08:32 +03:00
Alejandro Murillo
080739ce03 Merge 2016-06-23 17:11:18 -07:00
Alejandro Murillo
f7095d870c Merge 2016-06-23 17:07:27 -07:00
Lana Steuck
fffbe21941 Merge 2016-06-23 21:12:55 +00:00
Alex Henrie
4abb5e4aaf 8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior
Replace shifts of -1 with shifts of ~0u.

Reviewed-by: kbarrett, mockner
2016-06-23 16:46:41 -04:00
Lana Steuck
c8233a3d2b Added tag jdk-9+124 for changeset 6f7d687193a4 2016-06-23 20:35:13 +00:00
Andrew Haley
eded7ae794 8157306: Random infrequent null pointer exceptions in javac
Reviewed-by: kvn
2016-06-23 17:58:59 +00:00
Dmitrij Pochepko
52d291dd00 8162376: TestSHA512Intrinsics.java failed with Unexpected count of intrinsic _sha5_implCompress is expected
Reviewed-by: kvn
2016-07-25 21:02:51 +03:00
Christian Thalinger
e94d8e44dd 8162427: fix indent in CompileTask::print_tty
Reviewed-by: kvn
2016-07-22 12:47:08 -10:00
Roland Westrelin
c52af628ab 8161651: Logic in ConnectionGraph::split_unique_types() wrongly assumes node always have memory input
Reviewed-by: thartmann, kvn
2016-07-18 20:45:51 +02:00
Doug Simon
242936fe9a Merge 2016-07-22 17:52:03 +00:00
Yang Zhang
cabbc68c64 8161190: AArch64: Fix overflow in immediate cmp instruction
Use subs instead of cmp to compare BlockZeroingLowLimit. Subs can check and handle immediate out of range correctly.

Reviewed-by: aph
2016-07-22 17:05:08 +01:00
Doug Simon
86961b9419 8161265: [JVMCI] EnableJVMCI should only be required when its not implied by other flags
Reviewed-by: twisti, kvn, never
2016-07-20 22:18:13 +00:00
Dmitrij Pochepko
48476abaa6 8071652: -XX:CompileOnly does not behave as documented
Reviewed-by: kvn
2016-07-20 19:35:08 +03:00
Dmitrij Pochepko
8ad8a1e35e 8161695: compiler/jsr292/MHInlineTest.java can't be run on client-only platforms
Reviewed-by: kvn
2016-07-20 19:33:22 +03:00
Dmitrij Pochepko
70dd85aca8 8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1
Reviewed-by: thartmann
2016-07-20 19:31:34 +03:00
Dmitrij Pochepko
71fd93cbb7 8161508: JVMCI: MaterializeVirtualObjectTest fails w/ "CASE: invalidate=true: has no virtual object before materialization
Reviewed-by: kvn
2016-07-20 19:29:10 +03:00
Tom Rodriguez
e26d43a2a3 8161603: [JVMCI] HotSpotVMConfig.baseVtableLength is incorrectly computed
Reviewed-by: kvn
2016-07-19 18:17:40 -07:00
Doug Simon
913ccd67d4 8161274: [JVMCI] compiler/jvmci/events/JvmciNotifyInstallEventTest.java fails with NoClassDefFound
Reviewed-by: kvn, twisti
2016-07-19 18:59:11 +00:00
Tom Rodriguez
368df4fd8d 8161292: [JVMCI] missing test files from 8159368
Reviewed-by: twisti, kvn
2016-07-19 18:11:03 +00:00
Rickard Bäckman
3d15529c03 Merge 2016-07-19 13:15:46 +02:00
Goetz Lindenmaier
6cf9b5c453 8160245: C1: Clean up platform #defines in c1_LIR.hpp
Also add fnoreg on x86, LIR_Address constructor without scale, clean up templateInterpreterGenerator.hpp and remove PPC32 special cases.

Reviewed-by: coleenp, thartmann
2016-06-23 22:33:46 +02:00
Dmitrij Pochepko
0f34ca00f2 8157861: [TESTBUG] compiler/jvmci/compilerToVM/ReprofileTest.java failed with RuntimeException
Reviewed-by: twisti
2016-07-14 20:11:55 +03:00
Dmitrij Pochepko
24fa7f4177 8157984: [TESTBUG] Several compiler tests fails when are executed with -XX:TieredStopAtLevel=1
Reviewed-by: vlivanov
2016-07-14 20:10:16 +03:00
Tatiana Pivovarova
8b911bb378 Merge 2016-07-14 14:44:53 +00:00
Andrew Haley
8c7da4b546 Merge 2016-07-14 15:18:15 +01:00
Michael Haupt
558ac48a19 8161068: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails
Reviewed-by: never, dnsimon
2016-07-14 08:33:08 +02:00
Pavel Punegov
684f63ba14 8160761: [TESTBUG] Several compiler tests fail with product bits
Add UnlockDiagnosticVMOptions to tests

Reviewed-by: goetz
2016-07-13 19:08:07 +03:00
Igor Ignatyev
e19479825a 8151280: update hotspot tests to use vm.compMode instead of their own logic
Update hs compiler tests to use vm.compMode instead of their own logic and to get VM mode using j.t.l.Platform

Reviewed-by: kvn, dpochepk
2016-07-13 18:03:15 +03:00
Andrew Haley
0ad282bb4c 8159467: AArch64: Enable compact strings
Reviewed-by: roland
2016-07-13 15:19:34 +01:00
Andrew Haley
bb341f3b11 8161072: AArch64: jtreg compiler/uncommontrap/TestDeoptOOM failure
Reviewed-by: roland
2016-07-08 17:11:37 +01:00
Andrew Haley
c9f05c708c Merge 2016-07-07 15:39:12 +01:00
Andrew Haley
e22a63d1c6 8141633: Implement VarHandles/Unsafe intrinsics on AArch64
Reviewed-by: roland
2016-07-07 15:07:13 +01:00
Tatiana Pivovarova
8afad6f434 8160773: error: package jdk.internal.jimage does not exist
Reviewed-by: dlong
2016-07-07 13:53:52 +03:00
Vladimir Ivanov
4c31d5f745 8160360: Mismatched field loads are folded in LoadNode::Value
Reviewed-by: kvn, thartmann
2016-07-06 15:05:28 +03:00
Doug Simon
3e441ea1a2 8159888: [JVMCI] the client VM build is broken when INCLUDE_JVMCI is defined
Fix Client VM build

Reviewed-by: twisti, kvn
2016-07-05 17:57:20 -07:00
Tobias Hartmann
b64a4110b3 8159129: TestStringIntrinsicRangeChecks fails w/ No exception thrown for compressByte/inflateByte
Need to convert char offsets to byte offsets before range check.

Reviewed-by: vlivanov
2016-07-05 07:57:09 +02:00
Goetz Lindenmaier
d442aea3c9 8056950: Compiled code (64-bit) on SPARC should sign extend INT parameters passed on registers to runtime or native methods
Reviewed-by: thartmann, simonis
2016-07-04 16:28:27 +02:00
Stefan Anzinger
b582e23cba 8159368: [JVMCI] SPARCHotSpotRegisterConfig.callingConvention gives incorrect calling convention for native calls containing fp args
Reviewed-by: kvn, iveresov
2016-07-12 20:42:46 +00:00
Igor Ignatyev
a0381422dd 8132919: Put compiler tests in packages
Reviewed-by: vlivanov, dpochepk
2016-07-12 18:24:48 +03:00
Zoltan Majo
4710cf65a7 Merge 2016-07-12 08:42:46 +00:00
Zoltan Majo
ad7a778683 8098573: Compiler accesses to shared archive fail if archive is remapped
Change ciEnv::~ciEnv() to remove symbols in VM state.

Reviewed-by: kvn, dholmes
2016-07-12 10:16:36 +02:00
Tobias Hartmann
e990410b51 8160898: assert while replaying ciReplay file created using TieredStopAtLevel=1
Use highest available tier if no compilation level is specified in replay file.

Reviewed-by: zmajo
2016-07-12 08:57:00 +02:00
Doug Simon
48d49a9522 8160730: [JVMCI] compiler selection should work without -Djvmci.Compiler
Reviewed-by: kvn, twisti, never
2016-07-11 19:15:21 +00:00
Rickard Bäckman
c4a811cc90 Merge 2016-07-11 13:14:19 +02:00
Igor Ignatyev
6b764fc51a 8160657: Compiler HotSpot tests should use the "run driver" directive where applicable
Reviewed-by: kvn
2016-07-08 21:26:02 +03:00
Dmitrij Pochepko
b041084b5b 8160276: Jittester: bytecode tests generation hangs in ClassWriter infinite loop
Reviewed-by: kvn, iveresov
2016-07-08 20:14:18 +03:00
Ningsheng Jian
0bfd10d69e 8160969: aarch64: CDS is broken after 8079507
Reviewed-by: roland
2016-07-08 17:02:10 +01:00
Tobias Hartmann
9ab5f632b5 8160651: StubRoutines::_dtan does not restore callee save register rbx
Pop rbx before leaving stub.

Reviewed-by: vlivanov, vdeshpande
2016-07-04 09:14:02 +02:00
Doug Simon
037c3a6c39 8160647: [JVMCI] need to be able to copy internal arrays from LocalVariableTable and LineNumberTable
Reviewed-by: twisti, never
2016-07-02 00:27:19 +00:00
Rahul Raghavan
77c3e19380 8153194: PreserveFPRegistersTest.java runs out of memory in the nightlies
Fixed test by setting reference size using WhileBox.getHeapOopSize.

Reviewed-by: vlivanov
2016-06-30 05:05:52 -07:00
Tom Rodriguez
9bea129ff7 8160197: [JVMCI] AllocatableValue.toString overrides are missing reference information
Reviewed-by: kvn
2016-06-23 10:22:36 -07:00
Andrew Haley
dd9f85e74d 8160189: Fix for 8159335 breaks AArch64
Reviewed-by: kvn
2016-06-23 16:27:34 +00:00
Dmitrij Pochepko
ac81dcb779 Merge 2016-06-23 15:41:33 +00:00
Martin Doerr
1621ac0b42 8159976: PPC64: Add missing intrinsics for sub-word atomics
Reviewed-by: shade, goetz
2016-06-23 17:38:29 +02:00
Dmitrij Pochepko
8189de5608 8159730: compiler/jvmci/compilerToVM/IsMatureTest failed with "Multiple times invoked method should have method data (assert failed: 0 != 0)"
Reviewed-by: kvn
2016-06-23 17:40:20 +03:00
Dmitrij Pochepko
3ad2ec4ed4 8159803: Jittester: FileAlreadyExists exception during tests generation
Reviewed-by: iignatyev
2016-06-23 17:39:49 +03:00
Dmitrij Pochepko
7aca8d6fe4 8158650: [jittester] when generating tests with default parameters, generation hangs after 98 test
Reviewed-by: kvn, iignatyev
2016-06-23 17:39:06 +03:00
Doug Simon
46fa7d986a 8159613: [Findbugs] various warnings reported for JVMCI sources
Reviewed-by: kvn, twisti
2016-06-23 05:13:55 +00:00
Tom Rodriguez
5cfae90755 Merge 2016-06-22 23:31:33 +00:00
Tom Rodriguez
d64a4e7df3 8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
Reviewed-by: kvn
2016-06-22 22:39:32 +00:00
Igor Ignatyev
3f21781299 Merge 2016-06-23 00:37:25 +02:00
Tom Rodriguez
1e3a876d37 8159856: [JVMCI] InterpreterFrameSizeTest.java failed compilation
Reviewed-by: kvn, iveresov
2016-06-22 21:13:52 +00:00
Leonid Mesnik
773a50bc6f 8158581: ciReplay can not be run w/ JFR enabled
Reviewed-by: iignatyev, kvn
2016-06-22 20:06:39 +03:00