Commit Graph

9903 Commits

Author SHA1 Message Date
Ed Nevill
c095394bce 8144498: aarch64: large code cache generates SEGV
Fix pd_call_destination to use is_call_at rather than is_call

Reviewed-by: aph, adinn
2015-12-08 14:26:17 +00:00
Andrew Haley
ac6fa27965 Merge 2015-12-15 13:42:13 +00:00
Andrew Haley
c2221a88e8 8145320: Create unsafe_arraycopy and generic_arraycopy for AArch64
Reviewed-by: kvn
2015-12-14 15:53:48 +00:00
Goetz Lindenmaier
2b4403dc88 8145300: ppc64: fix port of "8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls"
Reviewed-by: simonis
2015-12-14 10:22:19 +01:00
Vladimir Ivanov
1a4c3a752d 8145137: Incorrect call signature can be used in nmethod::preserve_callee_argument_oops
Reviewed-by: roland, jrose
2015-12-11 15:03:11 +03:00
Vladimir Ivanov
e56a7de478 8145026: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with: java.lang.NullPointerException in ClassFileInstaller.main
Reviewed-by: roland
2015-12-10 14:51:54 +03:00
Vladimir Ivanov
afeb87ddd8 8144935: C2: safepoint is pruned from a non-counted loop
Reviewed-by: roland
2015-12-10 14:51:53 +03:00
Nils Eliasson
7b54819d3e 8144601: Premature assert in directive inline parsing
Break after first fail

Reviewed-by: roland
2015-12-09 13:41:04 +01:00
Doug Simon
bbc34efe26 8144944: JVMCI compiler initialization can happen on different thread than JVMCI initialization
Reviewed-by: twisti
2015-12-09 22:57:52 +01:00
Paul Sandoz
4d4c7ad974 8143628: Fork sun.misc.Unsafe and jdk.internal.misc.Unsafe native method tables
Reviewed-by: shade, dholmes, alanb, chegar, mchung, roland
2015-12-09 14:54:40 +01:00
Jamsheed Mohammed
1f2a9c1407 6808665: Use486InstrsOnly aborts 32-bit VM
The code supporting -XX:+/-Use486InstrsOnly was removed.

Reviewed-by: dholmes, thartmann, vlivanov
2015-12-09 11:06:39 +01:00
Pavel Punegov
a1bb5b8456 8144933: CompilerControl: commandfile/ExcludeTest has incorrect jtreg run innotation
Fix incorrect full test name

Reviewed-by: kvn
2015-12-09 00:30:32 +03:00
Pavel Punegov
555dd24642 8140667: CompilerControl: tests incorrectly set states for excluded methods
Fix exclude command generation

Reviewed-by: kvn
2015-12-09 00:33:30 +03:00
Poonam Bajaj
24c8c40bb8 8140031: SA: Searching for a value in Threads does not work
Improve the thread and threads commands in CLHSDB

Reviewed-by: dsamersoff
2015-12-08 05:50:46 -08:00
Lana Steuck
f720ad0cc2 Merge 2015-12-07 14:18:23 -08:00
Martin Doerr
ef1c3dc4ed 8144850: C1: operator delete needs an implementation
Reviewed-by: kvn
2015-12-07 18:24:24 +01:00
Christian Thalinger
3db39e91be Merge 2015-12-15 01:20:08 +01:00
Jan Civlin
a08d3805f0 8144771: Use AVX3 instructions for string compare
Co-authored-by: Michael C Berg <michael.c.berg@intel.com>
Reviewed-by: kvn, thartmann
2015-12-14 14:48:30 -08:00
Tom Rodriguez
e4d937a557 8145338: compiler/jsr292/CallSiteDepContextTest.java fails: assert(dep_implicit_context_arg(dept) == 0) failed: sanity
Reviewed-by: twisti
2015-12-14 13:06:39 -08:00
Doug Simon
08a2e337c7 8145270: Need to eagerly initialize JVMCI compiler under -Xcomp
Reviewed-by: twisti
2015-12-13 22:51:13 +01:00
Ioi Lam
9c775566e5 8144853: Print the names of callees in PrintAssembly/PrintInterpreter
Reviewed-by: dholmes, vlivanov
2015-12-07 09:19:26 -08:00
Coleen Phillimore
d0532b2b86 Merge 2015-12-15 17:57:08 +00:00
Coleen Phillimore
682603831d Merge 2015-12-15 16:01:53 +00:00
Joseph Provino
a0734684c5 Merge 2015-12-15 16:01:00 +00:00
Coleen Phillimore
a02be6bb0d Merge 2015-12-15 10:43:12 -05:00
Joseph Provino
c52bff739b Merge 2015-12-15 15:27:38 +00:00
Joseph Provino
26af4d84c3 8139768: Running with -XX:CMSOldPLABNumRefills=2147483648 causes EXCEPTION_INT_DIVIDE_BY_ZERO on Windows i586
Use double arithmetic to avoid integer overflow

Reviewed-by: jwilhelm, tbenson
2015-12-14 17:06:06 -05:00
Rachel Protacio
a74243c302 8145153: Convert TraceMonitorInflation to Unified Logging
Updated -XX:+TraceMonitorInflation flag to -Xlog:monitorinflation=debug, with an alias (and related alias table) to support the old option.

Reviewed-by: dholmes, mockner, coleenp
2015-12-11 14:58:20 -05:00
Kirill Zhaldybin
f238510a5a 8143933: Create testlibrary for auxiliary methods used in g1/humongousObjects testing
Reviewed-by: iignatyev, dfazunen
2015-12-10 20:14:00 +03:00
Goetz Lindenmaier
39e280e4e3 8145117: PPC64: Remove cpp interpreter implementation
Reviewed-by: coleenp, mdoerr
2015-12-10 16:18:25 +01:00
Magnus Ihse Bursie
2e4d7b8120 Merge 2015-12-15 11:28:23 +01:00
Magnus Ihse Bursie
6e05599081 8142909: Integration of minor fixes from the build-infra project
Reviewed-by: dholmes, erikj
2015-12-15 10:55:07 +01:00
Bengt Rutisson
9ecd60a8dc 8145303: Clean up the units for log_gc_footer
Reviewed-by: david, tschatzl, goetz
2015-12-15 09:58:29 +01:00
Volker Simonis
9fc9cf684a 8145015: jni_GetStringCritical asserts for empty strings
Reviewed-by: thartmann, dholmes
2015-12-15 00:16:09 -05:00
Joseph Provino
2fff60761c Merge 2015-12-07 17:16:13 +00:00
Joseph Provino
1b75e851aa Merge 2015-12-07 17:04:42 +00:00
Goetz Lindenmaier
6f27a97d77 8144466: ppc64: fix argument passing through opto stubs
Reviewed-by: kvn
2015-12-07 15:42:47 +01:00
Vladimir Kozlov
223668aab4 Merge 2015-12-14 10:27:33 -08:00
Martin Doerr
682da74418 8143817: C1: Platform dependent stack space not preserved for all runtime calls
Reviewed-by: roland
2015-12-08 14:44:00 +01:00
Vivek R Deshpande
2d9a6cfd3f 8143355: Update for addition of vectorizedMismatch intrinsic for x86
Co-authored-by: Liqi Yi <liqi.yi@intel.com>
Reviewed-by: kvn
2015-12-07 16:35:07 -08:00
Roland Westrelin
43d48c16d2 Merge 2015-12-07 15:00:46 +00:00
Martin Doerr
b7ad80c79f 8144822: PPC64: Fix build after 8072008
Reviewed-by: goetz
2015-12-07 15:01:24 +01:00
Fei Yang
ad8ecc0f98 8144201: aarch64: jdk/test/com/sun/net/httpserver/Test6a.java fails with --enable-unlimited-crypto
Fix typo in stub generate_cipherBlockChaining_decryptAESCrypt

Reviewed-by: roland
2015-12-07 21:14:56 +08:00
Jesper Wilhelmsson
9ff100e114 Merge 2015-12-07 21:03:56 +00:00
Ioi Lam
8db7a63b8c Merge 2015-12-07 19:21:40 +00:00
Jesper Wilhelmsson
d6fd9c1149 Merge 2015-12-07 17:29:27 +00:00
Tom Rodriguez
449bf68d35 8143571: [JVMCI] Double unregistering of nmethod during unloading
Reviewed-by: iveresov, twisti
2015-12-04 15:18:46 -10:00
Mikael Vidstedt
62dbc20112 Merge 2015-12-05 02:19:46 +00:00
Mikael Vidstedt
7689ac6999 Merge 2015-12-04 23:50:05 +00:00
Sangheon Kim
da8bf041ac 8142341: GC: current flags need ranges to be implemented
Add explicit ranges and constraint for all gc flags

Reviewed-by: jwilhelm, gziemski, ddmitriev, tbenson
2015-12-04 15:24:14 -08:00
Mikael Vidstedt
b5691de477 8144748: Move assembler/macroAssembler inline function definitions to corresponding inline.hpp files
Reviewed-by: kvn, coleenp
2015-12-04 15:08:49 -08:00
Mikael Vidstedt
7caf70643c 8144657: Invalid format specifiers in jvmci trace messages
Reviewed-by: kvn
2015-12-04 13:36:10 -08:00
Vladimir Ivanov
d60a09e9c5 8072008: Emit direct call instead of linkTo* for recursive indy/MH.invoke* calls
Reviewed-by: jrose, dlong, aph, forax
2015-12-04 23:46:19 +03:00
Mikael Vidstedt
95c869947a 8144605: Invalid format specifier when printing in_cset_state_t
Use existing CSETSTATE_FORMAT macro in format string

Reviewed-by: kbarrett, tschatzl
2015-12-04 09:36:16 -08:00
Mikael Vidstedt
00df16e386 Merge 2015-12-06 06:08:48 +00:00
Coleen Phillimore
0f27cc83c2 Merge 2015-12-05 17:14:02 +00:00
Coleen Phillimore
5f07c2b8ad 8144534: Refactor templateInterpreter and templateInterpreterGenerator functions
Merged templateInterpreter_x86_32/64 into templateInterpreterGenerator_x86.cpp (some 32/64 functions remain for the hand coded crc functions).

Reviewed-by: goetz, jrose, twisti
2015-12-05 10:40:22 -05:00
Thomas Schatzl
d9d78c6a33 8144690: g1Predictions.hpp includes allocation.inline.hpp
Remove offending (and unnecessary) include statement.

Reviewed-by: stefank, jmasa
2015-12-05 15:17:29 +01:00
Thomas Schatzl
52745a5d2c 8144583: Test sanity/ExecuteInternalVMTests.java fails
Remove a test that is highly dependent on timing.

Reviewed-by: jwilhelm
2015-12-05 15:16:01 +01:00
Thomas Stuefe
679e48d459 8144192: Enhancements-to-print_siginfo-windows
Some small enhancement to os::print_siginfo for Windows

Reviewed-by: dholmes
2015-12-05 05:15:35 -05:00
Mikael Vidstedt
5a0c8c4485 8144663: Invalid constraints in memset_with_concurrent_readers_sparc.cpp inline assembly
Fix constraints and signedness in comparisons

Reviewed-by: kbarrett
2015-12-04 14:32:25 -08:00
Martin Doerr
8c5da27f19 8144019: PPC64 C1: Introduce Client Compiler
Reviewed-by: goetz
2015-12-04 16:38:04 +01:00
Martin Doerr
0fba365de2 8136445: Performance issue with Nashorn and C2's global code motion
Reviewed-by: kvn
2015-12-04 16:23:39 +01:00
Andreas Eriksson
c64b2175e7 6869327: Add new C2 flag to keep safepoints in counted loops
Reviewed-by: kvn, shade
2015-12-04 14:06:38 +01:00
Marcus Larsson
974f9e0483 8144146: Unified Logging tags cannot be reserved keywords
Reviewed-by: dholmes, sla
2015-12-04 13:02:25 +01:00
Dmitry Dmitriev
343aae742f 8144629: runtime/thread/Fibonacci.java test should ran in othervm mode
Reviewed-by: ctornqvi
2015-12-04 13:39:59 +03:00
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Alejandro Murillo
4f54e303f3 Merge 2015-12-03 22:30:17 -08:00
Coleen Phillimore
8929fdddb8 Merge 2015-12-04 04:29:31 +00:00
Max Ockner
b11ecef634 Merge 2015-12-04 02:46:41 +00:00
Thomas Schatzl
10f4b8402f Merge 2015-12-04 02:39:03 +01:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Dmitry Samersoff
2eb9b07e69 8114853: variable tracking size limit exceeded in vmStructs.cpp
Turn off var-tracking-assignments for vmStructs.cpp

Reviewed-by: tschatzl, mgerdin, coleenp
2015-12-03 21:34:23 +03:00
Rachel Protacio
0d75e3c8cd 8144536: Clean up Unified Logging test directory
Consolidated two logging options' tests into one file each

Reviewed-by: dholmes, ctornqvi
2015-12-03 13:08:37 -05:00
Paul Sandoz
73acd18275 8144223: Move j.l.invoke.{ForceInline, DontInline, Stable} to jdk.internal.vm.annotation package
Reviewed-by: jrose, vlivanov, mchung, roland
2015-12-03 11:18:34 +01:00
Roland Westrelin
a3b2c845b4 Merge 2015-12-08 10:01:33 +00:00
Fei Yang
67caeeaa08 8144587: aarch64: generate vectorized MLA/MLS instructions
Add support for MLA/MLS (vector) instructions

Reviewed-by: roland
2015-12-07 21:23:02 +08:00
Ioi Lam
e708f69e1f 8143615: compactHashtable.hpp includes .inline.hpp file
Reviewed-by: dholmes, stefank
2015-12-02 18:14:54 -08:00
Christian Thalinger
a676faba28 8144529: [JVMCI] compiler/jvmci/errors/TestInvalidCompilationResult.java fails to compile after JDK-8143730
Reviewed-by: kvn
2015-12-02 14:59:57 -10:00
Lana Steuck
38f06b7eb3 Added tag jdk-9+95 for changeset 652bf41da963 2015-12-02 15:55:39 -08:00
Christian Thalinger
b0e745f5fe 8144521: [JVMCI] JVMCI is built on 32-bit Windows compiler2 and tiered builds
Reviewed-by: kvn
2015-12-02 11:40:18 -10:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Lana Steuck
9e317be494 Merge 2015-12-02 10:19:14 -08:00
Roland Westrelin
7925eb298b 8134883: C1 hard crash in range check elimination in Nashorn test262parallel
C1's range check elimination breaks with a non-natural loop that has an exception handler as one entry

Reviewed-by: iveresov
2015-12-02 15:13:42 +01:00
Thomas Stuefe
f06c0a7041 8144343: [aix] Stack bottom should be page aligned
On thread create or attach, ensure stack bottom is aligned to os::vm_page_size()

Reviewed-by: simonis, kvn
2015-12-02 10:17:31 +01:00
Thomas Schatzl
153eae9ba4 8136680: Enable adaptive IHOP by default
Reviewed-by: jmasa, mgerdin, ehelin
2015-12-01 16:46:55 +01:00
Roland Westrelin
b97ff269d0 8143930: C1 LinearScan asserts when compiling two back-to-back CompareAndSwapLongs
Refactor CAS code to decrease register pressure in c1

Reviewed-by: kvn, shade
2015-12-01 12:17:18 +01:00
Alejandro Murillo
08269d1e9b Merge 2015-11-30 13:55:06 -08:00
Lana Steuck
27fa69712d Merge 2015-11-30 13:26:33 -08:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Iris Clark
5793ec1b6a Merge 2015-11-29 20:29:32 -08:00
Lana Steuck
dd0aefdb9a Added tag jdk9-b94 for changeset ef20e6920882 2015-11-29 11:00:00 -08:00
Jesper Wilhelmsson
1d7f54e2f3 Merge 2015-11-27 18:35:43 +01:00
Marcus Larsson
f6b238ccda 8142952: Unified Logging framework does not allow multiple -Xlog: arguments
Reviewed-by: brutisso, sla
2015-11-27 12:37:38 +01:00
Erik Helin
eb2e04e757 Merge 2015-11-27 12:07:01 +01:00
Erik Joelsson
fdaae80305 8144134: Nightly tests fail with SIGSEGV in Ticks::now()
Reviewed-by: mgerdin, sla, dholmes
2015-11-27 10:37:44 +01:00
Nils Eliasson
dfe1251556 Merge 2015-11-26 19:16:37 +01:00
Erik Helin
97daae0658 8144076: Move evac failure handling and reference processing to post_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:45:59 +01:00
Erik Helin
1355d0ef4e 8144075: Move prepare_for_oops_into_collection_set_do into pre_evacuate_collection_set
Reviewed-by: mgerdin, tschatzl
2015-11-26 13:43:10 +01:00
Andrew Haley
0c98a6a1d7 8143219: AArch64 broken by 8141132: JEP 254: Compact Strings
Reviewed-by: kvn
2015-11-26 10:38:33 +00:00
Christian Thalinger
5820fb001a 8144083: [JVMCI] CompilationResult should be finalized by JVMCI compiler and made effectively final
Reviewed-by: iveresov, twisti
2015-12-01 15:11:15 -10:00
Dmitry Fazunenko
57b477e21a 8016752: [Newtest] regression test for PrintGCDetails and Verbose flags do not crash when ParOldGC has no memory
New regression test for parallel GC

Co-authored-by: Andrey Zakharov <andrey.x.zakharov@oracle.com>
Reviewed-by: brutisso, tschatzl
2015-11-26 14:19:29 +04:00
Erik Helin
ee7076bdd1 8144315: update_rs is passed wrong object
Reviewed-by: jmasa, kbarrett
2015-12-02 10:02:44 +01:00
Thomas Stuefe
9e9eac05ae 8143291: Remove redundant coding around os::exception_name
Reviewed-by: dholmes, coleenp
2015-12-01 21:30:34 -05:00
Jesper Wilhelmsson
40f65439e2 Merge 2015-12-01 21:08:00 +01:00
Stefan Johansson
4b50caadef 8143251: HeapRetentionTest.java Test is failing on jdk9/dev
Reviewed-by: tschatzl, david
2015-11-26 13:13:03 +01:00
Dmitry Dmitriev
884a2b65f2 8144084: [TESTBUG] 1.9 section not unlock flag in runtime/CommandLine/IgnoreUnrecognizedVMOptions test
Reviewed-by: dholmes
2015-11-30 10:09:01 +03:00
Erik Helin
6d48bb8a25 8144072: G1ParScanThreadState::update_rs does not need to call is_in_reserved
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:56 +01:00
Erik Helin
caaac8e679 8144067: Pass obj directly to G1ParScanThreadState::update_rs
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:50 +01:00
Erik Helin
86d5c93087 8144052: mark_card_deferred does not need to check g1_young_gen
Reviewed-by: tschatzl, mgerdin
2015-11-27 13:39:45 +01:00
Erik Helin
34d5bd8db1 8144040: UpdateRSetDeferred in G1EvacFailure will never visit survivor regions
Reviewed-by: tschatzl, mgerdin
2015-11-29 15:08:40 +01:00
Erik Helin
704a098a0e 8142404: Parallelize the restoring of preserved marks
Reviewed-by: mgerdin, tschatzl
2015-11-26 09:50:22 +01:00
Christian Thalinger
875865b60c Merge 2015-11-26 02:09:46 +01:00
Pavel Punegov
8f2fb74418 8143308: Add inline checks and tests
Fix inlining state creation

Reviewed-by: twisti
2015-11-26 03:05:19 +03:00
Andrew Haley
87662ee432 8144028: Use AArch64 bit-test instructions in C2
Reviewed-by: kvn
2015-11-25 18:13:13 +00:00
Christian Thalinger
62338660c5 Merge 2015-12-01 21:16:12 +00:00
Christian Thalinger
27bd67f1e4 8139921: add mx configuration files to support HotSpot IDE configuration generation
Reviewed-by: iveresov
2015-12-01 08:30:11 -10:00
Nils Eliasson
2a7b97807e Merge 2015-12-01 19:18:56 +01:00
Zoltan Majo
1ca592e687 8129847: Compiling methods generated by Nashorn triggers high memory usage in C2
Add a new compiler phase, PhaseRenumberLive, that renumbers live nodes.

Reviewed-by: kvn, thartmann, vlivanov, shade
2015-12-01 08:05:10 +01:00
Doug Simon
c595f5b0c9 8143730: [JVMCI] infopoint recording is too restrictive
Reviewed-by: twisti
2015-11-30 15:40:07 -10:00
Tom Rodriguez
4bc206a1b1 8142333: Build failure in debugInfoRec.cpp with SS12u4
Reviewed-by: coleenp, dholmes, erikj, kvn
2015-11-30 15:21:25 -08:00
Bengt Rutisson
8d0a8065f1 8144016: Add the gc tag to the logging framework
Reviewed-by: mlarsson, sjohanss
2015-11-25 13:39:52 +01:00
Jon Masamitsu
e62c706965 8133023: ParallelGCThreads is not calculated correctly
Reviewed-by: kbarrett, tschatzl, sangheki, dholmes
2015-11-24 15:56:40 -08:00
Jon Masamitsu
fd08aa8d94 Merge 2015-12-09 22:27:37 +00:00
Kim Barrett
d1fdfbc634 Merge 2015-12-09 20:30:33 +00:00
Alexander Harlap
f648ec7dcc 8141123: Cleanup in FreeIdSet
Some members of FreeIdSet should be size_t instead of ints. Also remove unused code

Reviewed-by: tschatzl, kbarrett, tbenson
2015-12-03 15:37:52 -05:00
Vladimir Ivanov
d4170d0bba Merge 2015-11-25 00:40:04 +01:00
Tatiana Pivovarova
7a2d307eb3 8143966: JEP 233: Generate Run-Time Compiler Tests Automatically
Co-authored-by: Anton Ivanov <anton.ivanov@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: Konstantin Shefov <konstantin.shefov@oracle.com>
Co-authored-by: Leonid Mesnik <leonid.mesnik@oracle.com>
Co-authored-by: Pavel Punegov <pavel.punegov@oracle.com>
Reviewed-by: iveresov, vlivanov
2015-11-25 02:17:31 +03:00
Tatiana Pivovarova
c17490ef7b 8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
Reviewed-by: iignatyev, twisti
2015-11-25 20:30:28 +03:00
Vladimir Ivanov
419a331a48 8144024: Octane fails with "memory leak: allocating handle outside HandleMark"
Reviewed-by: kvn
2015-11-25 21:31:33 +03:00
Vladimir Ivanov
a03d2513aa 8143408: Crash during InstanceKlass unloading when clearing dependency context
Reviewed-by: kvn
2015-11-25 01:17:28 +03:00
Dmitrij Pochepko
ad8dfcdf38 8139384: [TESTBUG] JVMCI test fails with java.lang.RuntimeException: a 100_000 times invoked method should be mature
A test was redesigned to track xcomp and tiered states

Reviewed-by: twisti
2015-11-24 22:59:50 +03:00
Pavel Punegov
5e051287af 8142967: [TESTBUG] Compiler control tests get NullPointerException
Fix incoorect build jtreg tags

Reviewed-by: iignatyev, neliasso
2015-11-24 21:03:39 +03:00
Pavel Punegov
0f008d2194 8142385: [Testbug] RandomCommandsTest fails with error: Could not parse method pattern
Fix CompileCommand output processing

Reviewed-by: kvn, iignatyev, neliasso
2015-11-24 20:58:53 +03:00
Pavel Punegov
06c9ee5a1c 8138993: JEP-JDK-8046155: Test task: add check for Compiler.directives_print diagnostic command
Test Compiler.directive_print command

Reviewed-by: iignatyev, neliasso
2015-11-24 20:55:46 +03:00
Pavel Punegov
faa5a2381c 8066156: JEP-JDK-8046155: Test task: stress by dcmd
Stress dcmd tests that add directives

Reviewed-by: iignatyev, neliasso
2015-11-24 20:52:15 +03:00
Jaroslav Bachorik
2c277c0986 8138677: IllegalAccessException Class sun.usagetracker.UsageTrackerClient$4 (module java.base) can not access a member of class java.lang.management.ManagementFactory (module java.management)
Reviewed-by: alanb, mchung, dholmes, erikj, ihse
2015-11-24 16:07:40 +01:00
Pavel Punegov
38c7096e4e 8066154: JEP-JDK-8046155: Test task: huge directive file
Stress tests for directive parser

Reviewed-by: iignatyev, neliasso
2015-11-24 16:58:20 +03:00
Tatiana Pivovarova
3cc0f3b570 8067939: make Out of space in CodeCache messages consistent
Reviewed-by: kvn
2015-11-24 15:50:27 +03:00
Martin Doerr
2952cd0bde 8138952: C1: Distinguish between PPC32 and PPC64
Reviewed-by: twisti, goetz, vlivanov
2015-11-23 11:06:14 +01:00
Nils Eliasson
a51ff63df7 Merge 2015-11-24 10:30:23 +01:00
Lana Steuck
f849aef116 Merge 2015-11-20 15:41:19 -08:00
Iris Clark
eb6fab9412 Merge 2015-11-20 12:22:41 -08:00
Lana Steuck
fda399cca8 Added tag jdk9-b93 for changeset 7ca001ccf8c1 2015-11-19 09:36:21 -08:00
Harold Seigel
71fe04f939 8143078: Remove JVM_DefineClassWithSourceCond() API
Remove the method and remove unneeded argument to jvm_define_class_common()

Reviewed-by: dholmes, coleenp
2015-11-19 11:54:32 -05:00
Goetz Lindenmaier
975140c530 8143307: Crash in C2 local code motion
Reviewed-by: kvn
2015-11-19 12:53:33 +01:00
Zoltan Majo
0aebabc831 Merge 2015-11-23 15:16:19 +01:00
Zoltan Majo
e2896c949d 8143616: Cleanup: Remove unused PrintNMethodsAtLevel flag
Remove the unused PrintNMethodsAtLevel flag.

Reviewed-by: roland
2015-11-23 15:09:45 +01:00
Zoltan Majo
d0382697c4 8143208: compiler/c1/6855215/Test6855215.java supports_sse2() failed
Check that SSE is enabled before using SSE instructions in string-related intrinsics. Make the UseSSE42Intrinsics dependent on UseSSE >= 4.

Reviewed-by: kvn
2015-11-23 08:11:30 +01:00
Ed Nevill
e9d7b65314 8143067: aarch64: guarantee failure in javac
Fix adrp going out of range during code relocation

Reviewed-by: aph, kvn
2015-11-19 15:15:20 +00:00
Ahmed Khawaja
e28d9ba105 8143012: CRC32 Intrinsics support on SPARC
Reviewed-by: kvn, roland
2015-11-20 08:29:10 -08:00
Tobias Hartmann
ea052022fa 8140390: Char stores/loads accessing byte arrays must be marked as unmatched
Mark unmatched char stores/loads emitted by CompactStrings.

Reviewed-by: roland, vlivanov, jrose
2015-11-20 10:09:42 +01:00
Michael Berg
2ae7dcf853 8142980: SKX SpecJvm2008 - Derby
Fix EVEX and AVX512 problems found by testing on 64-bit SKX and KNL EVEX enabled platforms.

Reviewed-by: iveresov, kvn, vlivanov
2015-11-19 16:07:22 -08:00
Daniel D. Daugherty
dcd4a03963 Merge 2015-11-18 22:00:09 +00:00
Coleen Phillimore
6626f4fc68 Merge 2015-11-18 19:55:37 +00:00
Gerald Thornbrugh
d56280ca10 8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file

Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Coleen Phillimore
72756888e9 8141570: Fix Zero interpreter build for --disable-precompiled-headers
Change to include atomic.inline.hpp and allocation.inline.hpp only in .cpp files and some build fixes from Kim to build on ubuntu without devkits

Reviewed-by: kbarrett, sgehwolf, erikj
2015-11-18 11:47:55 -05:00
Gerard Ziemski
1777e00cca 8141641: Runtime: implement range for ErrorLogTimeout
Implement range=(0, jlong_max/1000)

Reviewed-by: coleenp, ddmitriev, dholmes
2015-11-18 10:46:02 -06:00
Goetz Lindenmaier
0410c05b22 8143215: gcc 4.1.2: fix three issues breaking the build
Also fix some more recent introduced missing casts.

Reviewed-by: stuefe, simonis, kbarrett, tschatzl
2015-11-18 11:31:59 +01:00
Yumin Qi
581c251007 8087223: InterfaceMethod CP entry pointing to a class should cause ICCE
Check constantTag for class constant data consistency at method resolution

Reviewed-by: coleenp, vlivanov
2015-11-17 15:14:29 -08:00
Kim Barrett
e8c5bc2024 8143014: Access PtrQueue member offsets through derived classes
Moved accessors to derived classes and updated callers.

Reviewed-by: tschatzl, jmasa, twisti
2015-11-17 16:40:52 -05:00
Stefan Johansson
bf4eef4903 Merge 2015-11-17 12:37:55 +00:00
Stefan Johansson
56adbd02ec 8141280: G1ResManAllocator doesn't work with _survivor_is_full/_old_is_full
Reviewed-by: jmasa, kbarrett, tschatzl
2015-11-17 11:20:27 +01:00
Iris Clark
2e24972c63 Merge 2015-11-16 17:10:04 -08:00
David Holmes
3904de571b 8139300: Internal Error (vm/utilities/debug.cpp:399), # Error: ShouldNotReachHere()
Reviewed-by: simonis, dcubed
2015-11-16 18:50:55 -05:00
David Holmes
98231a9c42 Merge 2015-11-16 23:12:36 +01:00
David Holmes
56745a7f9f 8141024: [Solaris] Obsolete UseAltSigs
Reviewed-by: dcubed, ddmitriev
2015-11-16 14:47:21 -05:00
Kim Barrett
7badb3edfb 8143013: Remove unused DirtyCardQueue::iterate_closure_all_threads
Remove unused function.

Reviewed-by: tbenson, tschatzl, mgerdin
2015-11-16 14:11:36 -05:00
Tatiana Pivovarova
98bc340162 8138815: improve tests CompilerToVM::getStackTraceElement
Reviewed-by: kvn
2015-11-16 19:21:35 +03:00
Volker Simonis
350b04eab2 8141551: C2 can not handle returns with inccompatible interface arrays
Reviewed-by: kvn
2015-11-16 14:19:10 +01:00
Thomas Stuefe
ff732e0835 8143125: [aix] Further Developments for AIX
Port newest AIX port developemnts to OpenJDK.

Reviewed-by: goetz, simonis
2015-11-16 10:58:14 +01:00
Thomas Stuefe
c661a50764 8144702: Using tid decorator in Unified Logging may crash VM
LogDecorations::create_tid_decoration should avoid Thread::current() if possible.

Reviewed-by: mlarsson, coleenp
2015-12-05 07:16:52 +01:00
Dmitry Samersoff
560badbadc Merge 2015-12-05 03:10:50 +00:00
Ioi Lam
cf7cabe8e9 Merge 2015-12-05 00:07:04 +00:00
Erik Helin
be8bd882d5 Merge 2015-12-04 22:07:22 +00:00
Marcus Larsson
170382e84f Merge 2015-12-04 20:04:59 +00:00
Dmitry Samersoff
4622d15a73 Merge 2015-12-04 18:40:03 +00:00
Dmitry Samersoff
69b13c2142 8131694: backout the fix for JDK-8131331 when JDK-8131693 is fixed
Backout temporal fix

Reviewed-by: dcubed
2015-12-04 21:27:12 +03:00
Jaroslav Bachorik
a4123e4dfd Merge 2015-12-04 16:19:09 +00:00
Erik Helin
91b5389443 8144712: Remove g1RootClosures.inline.hpp
Reviewed-by: stefank, mgerdin
2015-12-04 15:47:13 +01:00
Yasumasa Suenaga
b8fd323a28 8140556: Add force rotation option to VM.log jcmd
Rotate JVM log files via jcmd

Reviewed-by: sla, mlarsson
2015-12-03 22:42:28 +09:00
Ioi Lam
39cd64080e 8144491: ElfSymbolTable::lookup returns bad value when the lookup has failed
Reviewed-by: dcubed, stefank
2015-12-02 06:00:18 -08:00
Joseph Provino
8c3a472f12 Merge 2015-11-14 18:26:35 +00:00
Coleen Phillimore
57ee6fa3ab 8027429: Add diagnostic command VM.info to get hs_err print-out
Refactored hs_err reporting code so that it can be used for VM.info safely

Co-authored-by: David Buck <david.buck@oracle.com>
Reviewed-by: dholmes, hseigel
2015-11-13 16:50:39 -05:00
Alejandro Murillo
0c079cdaac Merge 2015-11-13 10:35:26 -08:00
Marcus Larsson
396cd88e2f 8142482: Improve the support for prefix functions in unified logging
Reviewed-by: brutisso, pliden
2015-11-13 09:49:28 +01:00
Thomas Schatzl
7f53346519 Merge 2015-11-13 12:36:17 +00:00
Stefan Johansson
6983acfb5f 8139424: SIGSEGV, Problematic frame: # V [libjvm.so+0xd0c0cc] void InstanceKlass::oop_oop_iterate_oop_maps_specialized<true,oopDesc*,MarkAndPushClosure>
The crash was caused by a faulty eager humongous reclaim. The reason for reclaiming a live object was that the call to cleanupHRRS was done after dirtying cards and clearing the remembered sets for the humongous object. This could lead to one or many cards being missed.

Reviewed-by: tbenson, kbarrett, tschatzl
2015-11-13 09:28:53 +01:00
Thomas Schatzl
4d9dfbeb1d 8138684: G1 decision about taking regions into the collection set is too aggressive
Factor in expected waste and uncertainty of our guess in the decision whether to take another region into the collection set.

Reviewed-by: mgerdin, jmasa
2015-11-13 09:12:06 +01:00
Lana Steuck
6b43d0b8a6 Merge 2015-11-12 18:29:22 -08:00
Lana Steuck
c4dd346ef4 Merge 2015-11-12 14:13:49 -08:00
Lana Steuck
2a5e95250f Added tag jdk9-b92 for changeset bb921f8f8007 2015-11-12 10:39:00 -08:00
Sangheon Kim
6c10034f4b 8134631: G1DummyRegionsPerGC fires assert of assert(words <= filler_array_max_size()) failed: too big for a single object
Change filler max value temporarily for G1DummyRegionsPerGC flag.

Reviewed-by: tbenson, tschatzl
2015-11-12 09:52:04 -08:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Christian Tornqvist
f02593b51a 8142502: [TESTBUG] Exclude runtime/ErrorHandling/SecondaryErrorTest.java on OSX until JDK-8139300 has been resolved
Reviewed-by: hseigel, mseledtsov, minqi
2015-11-11 11:47:20 -08:00
Thomas Schatzl
6ed8f3c0b2 8140689: Skip last young-only gc if nothing to do in the mixed gc phase
Reviewed-by: mgerdin, drwhite
2015-11-10 11:07:15 +01:00
Thomas Schatzl
22d9b3df0f 8138740: Start initial mark right after mixed GC if needed
Instead of issuing a single young-only GC after the end of all mixed GCs, if needed immediately start an initial mark in that young-only GC.

Reviewed-by: drwhite, mgerdin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
90d03cf69c 8139874: After G1 Full GC, the next GC is always a young-only GC
Allow initiation of an initial mark after Full GC

Reviewed-by: ehelin
2015-11-10 11:07:15 +01:00
Thomas Schatzl
d8534a2c6d 8140597: Forcing an initial mark causes G1 to abort mixed collections
Postpone the initial mark request until the current mixed GC phase has finished.

Reviewed-by: mgerdin
2015-11-10 11:07:15 +01:00
Iris Clark
f1087822ed Merge 2015-11-09 10:56:51 -08:00
Alejandro Murillo
a2cf146b1f Merge 2015-11-06 11:11:51 -08:00
Nils Eliasson
6ec2776bf3 8141629: Hs-comp doesn't build with JDK-8139040
Fix benign uninitialized vars

Reviewed-by: roland
2015-11-06 16:42:01 +01:00
Jaroslav Bachorik
b577a431bd 8141526: Allow to collect stdout/stderr from the FinalizationRunner even before the process returns
Reviewed-by: dsamersoff
2015-11-06 14:34:06 +01:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Lana Steuck
38c2af8722 Merge 2015-11-05 13:41:47 -08:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Lana Steuck
1394d8a88d Added tag jdk9-b91 for changeset 8ce5cc6c019d 2015-11-05 08:15:36 -08:00
Goetz Lindenmaier
0a4657e8c1 8141529: Fix handling of _JAVA_SR_SIGNUM
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
Aleksey Shipilev
99b9a67ccd 8140389: Remove StringCharIntrinsics flag after JDK-8138651 is fixed
Reviewed-by: kvn, zmajo
2015-11-05 16:35:21 +03:00
Tobias Hartmann
f3011455a2 8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
Do not sign extend when converting jbyte to jchar.

Reviewed-by: shade, kvn
2015-11-05 15:29:46 +01:00
Erik Joelsson
2973587401 Merge 2015-11-05 15:08:58 +01:00
Aleksey Shipilev
dfb1ed8a19 8141044: C1 should fold (this == null) to false
Reviewed-by: jrose, roland
2015-11-05 13:33:18 +03:00
Volker Simonis
5bef4db912 8141416: "expr: syntax error" due to gcc -dumpversion excluding micro
Reviewed-by: erikj, stuefe
2015-11-05 10:55:58 +01:00
Alejandro Murillo
c573c1777e 8139986: Store debug level in java.vm.debug and conditionally print in "java -version"
Reviewed-by: ihse, dcubed, ksrini, dholmes
2015-11-04 11:00:29 -08:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Jungwoo Ha
68ffb0bf12 8141356: Explicitly stop CMS threads during VM termination
GenCollectedHeap::stop() is not implemented which is supposed to stop CMS threads during VM termination.

Reviewed-by: jmasa, kbarrett
2015-11-03 13:03:04 -08:00
Erik Helin
0580d65a1c 8142403: Make G1CollectorPolicy::predictor const
Reviewed-by: stefank, tschatzl
2015-11-12 14:03:14 +01:00
Konstantin Shefov
a4e16dd190 8139385: [TESTBUG]: JVMCI test crashes in constantPoolHandle::constantPoolHandle
Reviewed-by: kvn, iignatyev
2015-11-03 20:12:51 +03:00
Pavel Punegov
b03077878d 8141129: 3 compiler control tests fail on product builds
UnlockDiagnosticVMOptions should be placed before the PrintAssembly

Reviewed-by: kvn
2015-11-03 18:42:40 +03:00
Tatiana Pivovarova
25bd94edfe 8138809: improve tests for CompilerToVM::hasCompiledCodeForOSR
Reviewed-by: kvn
2015-11-03 20:12:47 +03:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Iris Clark
8fe1b0faab Merge 2015-11-02 09:11:55 -08:00
Andrew Haley
4e24e2cc6c 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
NextPutIndex used where nextGetIndex is correct.

Reviewed-by: alanb
2015-11-02 12:34:27 +00:00
Alejandro Murillo
f9d614575f Merge 2015-10-30 12:03:08 -07:00
Lana Steuck
5ba43fff6e Added tag jdk9-b90 for changeset 12c4adf57d67 2015-10-30 10:28:53 -07:00
Jesper Wilhelmsson
b1e3e8436a Merge 2015-10-30 00:02:37 +01:00
Igor Ignatyev
72ec09dd64 Merge 2015-10-29 19:30:51 +00:00
Pavel Punegov
d64b0e82b2 8140776: CompilerControl: Remove UTF-16 from the tests
Remove UTF-16 from the generation until the failure reason isn't found

Reviewed-by: iignatyev
2015-10-29 21:31:47 +03:00
Igor Veresov
39f99d5815 8140604: Internal Error runtime/stubRoutines.hpp:392 assert(_intrinsic_log != 0L) failed: must be defined
Fix the faulty assert, remove remaining _intrinsic_log references

Reviewed-by: roland
2015-10-29 09:59:56 -07:00
Erik Helin
0f08933773 8140489: Introduce shorthand for average_time_ms in G1CollectorPolicy
Reviewed-by: mgerdin, tschatzl, drwhite
2015-10-29 17:32:08 +01:00
Lana Steuck
3d29bacd20 Added tag jdk9-b89 for changeset 75e0112d3eb5 2015-10-29 08:42:24 -07:00
Erik Helin
d0f3d01013 8140393: Move WorkerDataArray to its own file
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 14:58:44 +01:00
Aleksey Shipilev
3ebee2a2b9 Merge 2015-10-29 13:23:43 +00:00
Aleksey Shipilev
a7f471d8be 8140483: Atomic*FieldUpdaters final fields should be trusted
Add exceptions for A*FU subclasses that do the actual work.

Reviewed-by: jrose, vlivanov
2015-10-29 14:08:19 +03:00
Igor Ignatyev
7a6c42b823 Merge 2015-10-29 10:56:58 +00:00
Erik Helin
a935c706b6 8140761: Remove caching from WorkerDataArray
Reviewed-by: tschatzl, mgerdin, tbenson
2015-10-29 11:33:43 +01:00
Zoltan Majo
c04398f782 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly
Improve parsing of DisableIntrinsic flag.

Reviewed-by: kvn, shade, neliasso
2015-10-29 09:24:00 +01:00
Dmitry Samersoff
aebbfb2f92 Merge 2015-10-29 02:38:50 +01:00
Coleen Phillimore
4332b6ed9a Merge 2015-10-28 23:29:21 +01:00
Pavel Punegov
9290f65010 8140668: Quarantine RandomValidCommandsTest
8140669: Quarantine ClearDirectivesFileStackTest

Quarantine two tests

Reviewed-by: iignatyev, neliasso, kvn
2015-10-29 01:16:56 +03:00
Coleen Phillimore
7d4f965ed2 Merge 2015-10-28 20:30:03 +01:00
Dmitry Samersoff
43953f012f Merge 2015-10-28 19:54:46 +01:00
Dmitry Samersoff
cf5f478f5d 8140663: FrameValue might be used uninitialized
Add a constructor

Reviewed-by: sspitsyn, jwilhelm
2015-10-28 21:47:31 +03:00
Dmitry Samersoff
a8a5a44052 Merge 2015-10-28 16:45:51 +01:00
Coleen Phillimore
78eb09d914 Merge 2015-10-28 16:36:53 +01:00
Dmitry Samersoff
2bf54b1d29 8139762: Format warnings in libjvm_db.c
Fix format string

Reviewed-by: sspitsyn
2015-10-28 18:20:26 +03:00
Gerard Ziemski
684ae3fa6e 8140539: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
Add back "-XX:+IgnoreUnrecognizedVMOptions" that was removed in a prototype.

Reviewed-by: dcubed, ddmitriev
2015-10-28 09:09:55 -05:00
Coleen Phillimore
b046110ab7 Merge 2015-10-28 15:03:40 +01:00
Coleen Phillimore
fc03719078 8139203: Consistent naming for klass type predicates
8138923: Remove oop coupling with InstanceKlass subclasses

Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.

Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Dmitry Dmitriev
81fe39a539 8139900: [TESTBUG] Remove G1UpdateBufferSize and InitialBootClassLoaderMetaspaceSize from TestOptionsWithRanges
Reviewed-by: gziemski, sangheki, ctornqvi
2015-10-27 14:33:29 +03:00