Commit Graph

12157 Commits

Author SHA1 Message Date
Kim Barrett
f86e0c39e6 Merge 2016-08-19 23:57:42 +00:00
Igor Veresov
d39293e00f Merge 2016-08-19 15:29:57 -07:00
Alejandro Murillo
d1e4300765 Merge 2016-08-19 22:28:32 +00:00
Igor Veresov
40c7a36f94 Merge 2016-08-19 14:35:15 -07:00
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Dmitrij Pochepko
1c5cc2ccdf 8139700: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest and InvalidateInstalledCodeTest timeout
Reviewed-by: kvn
2016-08-20 00:15:45 +03:00
Coleen Phillimore
6b6510c34f Merge 2016-08-19 22:42:25 +02:00
Alejandro Murillo
93433f584e Merge 2016-08-19 12:17:31 -07:00
Coleen Phillimore
85381e59e5 8145964: NoClassDefFound error in transforming lambdas
Skip VM anonymous classes in retransformation and give an error for redefinition.

Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018 Merge 2016-08-19 20:38:30 +02:00
Alejandro Murillo
fca083f9fd Merge 2016-08-19 11:22:14 -07:00
Christian Tornqvist
5868fdc4b7 Merge 2016-08-19 18:20:22 +02:00
Karen Kinnear
3b21f492f9 8163808: Fix asserts and logging for old classfile vtable construction
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Jesper Wilhelmsson
4fc1987255 8164124: [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
Reviewed-by: jprovino
2016-08-19 17:19:47 +02:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Erik Joelsson
f05597d500 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:21 +02:00
Tobias Hartmann
ebb0356d35 8064892: Non-methods code cache overflow is not handled correctly
Should keep track of requested code blob type for error reporting. Added additional debug output.

Reviewed-by: kvn, dpochepk
2016-08-19 08:34:30 +02:00
Yasumasa Suenaga
7c11898ffe 8164319: CLHSDB dumpcodecache throws StackOverflowError
Reviewed-by: dholmes, dsamersoff
2016-08-19 01:20:39 -04:00
David Holmes
bc0d3d976b 8152849: share/vm/runtime/mutex.cpp:1161 assert(((uintptr_t(_owner))|(uintptr_t(_LockWord.FullWord))|(uintptr_t(_EntryList))|(uintptr_t(_WaitSet))|(uintptr_t(_OnDeck))) == 0) failed
Reviewed-by: dcubed
2016-08-18 21:37:26 -04:00
Lana Steuck
b8b0d54e93 Merge 2016-08-18 21:33:36 +00:00
Vladimir Kozlov
c6d82df571 8162496: missing precedence edge for anti_dependence
Fix Implicit Null Check optimization code.

Reviewed-by: roland, aph
2016-08-18 14:31:02 -07:00
Lana Steuck
692e9367d0 Added tag jdk-9+132 for changeset a11ec8919fef 2016-08-18 21:01:21 +00:00
Coleen Phillimore
663f12c18e 8037138: x86: problem with JVMTI breakpoint
Do aload(0) after rewriting aload bytecodes to fast version for frequent pairs.

Reviewed-by: dlong, dholmes, dcubed
2016-08-18 10:47:09 -04:00
Dmitry Samersoff
16509e9432 Merge 2016-08-18 11:11:40 +00:00
Dmitry Samersoff
e29ddeca2c 8157236: attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
Add more diagnostic to attach code

Reviewed-by: dholmes, alanb
2016-08-18 14:07:00 +03:00
Dmitry Samersoff
c0cfad4f3d 8151345: compiler/codecache/jmx/PeakUsageTest.java is failing on jdk9/dev for JPRT -testset hotspot
Reviewed-by: sla, dsamersoff
2016-08-18 12:10:18 +03:00
Igor Ignatyev
c645d7bb87 8164035: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java failing with Agent JAR not found or no Agent-Class attribute
Reviewed-by: kvn
2016-08-18 11:26:35 +03:00
Nils Eliasson
ee1cbde17b Merge 2016-08-17 22:34:33 +02:00
Vladimir Ivanov
e3d5b655af 8164103: C2: Broken cmpxchgb encoding on x86
Reviewed-by: kvn, shade, psandoz
2016-08-17 22:09:57 +03:00
Pavel Punegov
8474269d18 8156852: Convert JSON_test to Gtest
Convert test from InternalVMTests to Gtest

Reviewed-by: kvn, kzhaldyb
2016-08-17 18:48:34 +03:00
Hiroshi H Horii
4347d96655 8164920: ppc: enhancement of CRC32 intrinsic
Reviewed-by: goetz, mdoerr
2016-09-22 12:17:24 +02:00
Kishor Kharbas
f6ec56f5bb 8078122: YMM registers upper 128 bits may get clobbered by a JNI call on windows
Convert all XMM registers to be Save-on-Call on Win64.

Reviewed-by: kvn
2016-09-21 13:47:56 -07:00
Tobias Hartmann
466c23ffe0 8166046: [TESTBUG] compiler/stringopts/TestStringObjectInitialization.java fails with OOME
Reduced heap memory consumption of test.

Reviewed-by: kvn
2016-09-21 08:14:46 +02:00
Michael Berg
5b54998a23 8129376: SPECjvm98-client performance regression in 9-b66
Reviewed-by: kvn
2016-09-20 16:50:37 -07:00
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04:00
Igor Ignatyev
f711aaa04c 8166164: compiler/compilercontrol/share/processors/LogProcessor.java does not close Scanner
Reviewed-by: kvn, ppunegov
2016-09-20 17:30:33 +03:00
Doug Simon
2c923c1c95 8165457: [JVMCI] increase InterpreterCodeSize for JVMCI
Reviewed-by: twisti
2016-09-19 13:26:37 -07:00
Vladimir Kozlov
de89ff8c55 8166096: variable tracking size limit exceeded in jvmciCompilerToVM.cpp
Turn off var-tracking-assignments for jvmciCompilerToVM.cpp

Reviewed-by: dlong
2016-09-16 21:10:56 -07:00
Doug Simon
037770a994 Merge 2016-09-14 19:55:08 +00:00
Doug Simon
d5ca7a299c 8165434: [JVMCI] remove uses of setAccessible
Reviewed-by: twisti, never
2016-09-14 12:34:37 -07:00
Vladimir Kozlov
5b7be48cdb Merge 2016-09-14 20:22:53 +02:00
Doug Simon
a83ab529f9 8165755: [JVMCI] replace use of vm_abort with vm_exit
Reviewed-by: dholmes
2016-09-14 05:48:18 -07:00
Goetz Lindenmaier
474c035379 8165235: [TESTBUG] RTM tests must check OS version
Also change enabling RTM on Aix to OS version 7.2.

Reviewed-by: simonis, fzhinkin
2016-09-01 16:47:53 +02:00
Gustavo Romero
c6be265b46 8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
2016-09-08 18:17:50 -04:00
Jamsheed Mohammed C M
4ae6ce2b44 8164508: unexpected profiling mismatch in c1 generated code
Made 8027631 first arg skip applicable to not inlined virtual callsite too.

Reviewed-by: kvn
2016-09-09 06:11:54 -07:00
Michael Berg
6384a5d55d 8165565: Shorten branches causes incorrect code for SKX
Don't replace restoreMask CountedLoopEnd with short branches.

Reviewed-by: kvn
2016-09-07 12:23:25 -07:00
Vivek Deshpande
d58e3e0324 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Tobias Hartmann
2eab293b99 Merge 2016-08-17 06:23:04 +00:00
Tobias Hartmann
be08874935 8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
Don't throw java_lang_VirtualMachineError during VM initialization.

Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Dean Long
28ccc9e20c Merge 2016-08-16 17:54:08 +00:00
Andrew Haley
ad3fc31b3d 8164113: AArch64: follow-up the fix for 8161598
Reviewed-by: dlong
2016-08-16 17:31:57 +01:00
Dean Long
6e820bb025 8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod
Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
2016-08-16 09:19:13 -07:00
Alejandro Murillo
72bb76c7d3 Merge 2016-08-16 08:08:00 -07:00
Harold Seigel
2a74c06b8d 8030221: Checking for anonymous class should check for NULL as well as potential nesting
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.

Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Doug Simon
72dcc9193e 8163962: [JVMCI] integrate VarHandles
Add VarHandle support to JVMCI

Reviewed-by: psandoz, iveresov
2016-08-15 14:08:01 -07:00
Chris Plummer
e3c3a54f7a 8133740: NMT for Linux/x86/x64 and bsd/x64 slowdebug builds includes NativeCallStack::NativeCallStack() frame in backtrace
Skip an extra frame in _get_previous_fp() when it is not inlined.

Reviewed-by: dholmes, zgu
2016-08-15 13:14:08 -07:00
Chris Plummer
eabe746ff6 8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
Better frame skipping logic in NativeCallStack::NativeCallStack.

Reviewed-by: dholmes, zgu
2016-08-15 13:13:48 -07:00
Chris Plummer
2a46a44214 8133749: os::current_frame() is not returning the proper frame on ARM and solaris-x64
Need to go up one extra frame to be consistent with other platforms.

Reviewed-by: dholmes, zgu
2016-08-15 13:06:50 -07:00
Erik Joelsson
d57ddc21e8 8069540: Remove universal binaries support from hotspot build
Reviewed-by: tbell, dholmes, dcubed
2016-08-15 16:15:16 +02:00
Nils Eliasson
61066d3795 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent
Stackwalking from corrupt frame

Reviewed-by: dlong, thartmann
2016-08-15 16:04:16 +02:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Kim Barrett
ea503006dd 8155043: BitMap set operations assume clear bits beyond unaligned end
Be more circumspect in handling of sets with unaligned sizes.

Reviewed-by: stefank, jmasa
2016-08-14 21:19:42 -04:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -07:00
Michael Haupt
27eec4e5c6 8163533: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails on jdk9/dev
Reviewed-by: shade
2016-08-12 08:59:20 -07:00
Igor Veresov
19d25373bf Merge 2016-08-11 16:22:08 -07:00
Daniel D. Daugherty
7cd5a9a0f4 Merge 2016-08-11 21:35:09 +02:00
Daniel D. Daugherty
d05e00ca76 8163879: quarantine serviceability/sa/sadebugd/SADebugDTest.java since it hangs intermittently
Reviewed-by: hseigel
2016-08-11 12:27:20 -07:00
Lana Steuck
7de6180d5c Merge 2016-08-11 17:02:27 +00:00
Lois Foltan
35c7012a32 Merge 2016-08-11 16:13:05 +00:00
Lana Steuck
a36c8263b4 Added tag jdk-9+131 for changeset 2bf4f6d6a72f 2016-08-11 15:47:07 +00:00
Lois Foltan
2579620b6d 8162553: Crash in class unloading due to null CLD having a zero _keep_alive value
Correct the refcounting of ClassLoaderData::_keep_alive for anonymous classes.

Reviewed-by: acorn, coleenp, dholmes, jiangli
2016-08-11 11:41:11 -04:00
Jini George
17c7042e60 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:25 +03:00
Yasumasa Suenaga
942ee05da5 8163580: Cannot get Monitor Cache Dump in HSDB
Reviewed-by: dholmes
2016-08-10 21:02:14 -04:00
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Robbin Ehn
85d6f6505d 8161026: GPL header missing comma in year
Reviewed-by: sjohanss, redestad
2016-08-10 09:24:42 +02:00
Dmitrij Pochepko
5ae0aff787 8160299: Test8015436 doesn't check which method was executed
Reviewed-by: kvn
2016-08-09 16:47:47 +03:00
Yasumasa Suenaga
d68c6f28d4 8163185: jhsdb jstack cannot work with normal mode
Reviewed-by: dsamersoff, dholmes
2016-08-09 21:57:29 +09:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Frederic Parain
90db0f9ad7 8146697: VM crashes in test Test7005594
Reviewed-by: coleenp, dholmes
2016-08-12 08:46:17 -07:00
David Holmes
74e840d64c 8159461: bigapps/Kitchensink/stressExitCode hits assert: Must be VMThread or JavaThread
Reviewed-by: fparain, simonis, dcubed
2016-08-12 00:19:44 -04:00
Dmitrij Pochepko
dfce7d89bf 8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB
Reviewed-by: kvn
2016-08-09 14:17:28 +03:00
Dmitrij Pochepko
432e69e8fe 8160083: compiler.codecache.jmx.InitialAndMaxUsageTest can not be used w/ disabled SegmentedCodeCache
Reviewed-by: kvn
2016-08-09 14:16:44 +03:00
Dmitry Samersoff
4fc31a844d Merge 2016-08-08 15:53:02 +00:00
Doug Simon
e9ea1b08e8 8163105: SIGSEGV: constantPoolHandle::constantPoolHandle(ConstantPool*)
Simplify CompilerToVM.getConstantPool() and related tests.

Reviewed-by: kvn, zmajo
2016-08-08 17:06:21 +02:00
Sharath Ballal
bd4e4b5bfb 8163269: Testcase missed in push for JDK-8160817
Add missed testcase

Reviewed-by: dsamersoff
2016-08-08 17:15:46 +03:00
Yasumasa Suenaga
4d61582818 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:12 +09:00
Dmitrij Pochepko
91f0706600 8163243: [TESTBUG] compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed with: Failed to find sun/hotspot/WhiteBox.class
Reviewed-by: iveresov
2016-08-08 11:30:46 +03:00
Igor Veresov
6ca8a98449 8163313: assert(comp != __null) failed: compiler not available
Constrain compLevel parameter in WB_IsIntrinsicAvailable() to supported levels

Reviewed-by: kvn
2016-08-06 11:52:37 -07:00
Igor Veresov
3c025b715c Merge 2016-08-05 13:37:53 -07:00
Alejandro Murillo
8857b866e7 Merge 2016-08-05 09:58:09 -07:00
Alejandro Murillo
22b49b9431 Merge 2016-08-05 09:50:25 -07:00
Dmitrij Pochepko
8d7182f2a7 8157498: compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms
Reviewed-by: kvn
2016-08-05 16:23:44 +03:00
Dmitrij Pochepko
b06d871fad 8161279: Various JMX-tests timed out
Reviewed-by: kvn
2016-08-05 16:22:30 +03:00
Gustavo Romero
0052e8dc0b 8162369: PPC64: Wrong ucontext used after SIGTRAP while in HTM critical section
Reviewed-by: simonis
2016-08-04 22:42:05 -04:00
Chris Plummer
3a4f05d90c 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:49 -07:00
Joe Darcy
4497988860 8163231: A couple of runtime tests failing for the -testset hotspot snapshot job
Reviewed-by: acorn
2016-08-04 15:52:14 -07:00
Max Ockner
3d98a46718 Merge 2016-08-04 23:17:33 +02:00
Coleen Phillimore
a4a281557d Merge 2016-08-04 19:50:23 +00:00
Max Ockner
aa9b6c16b6 Merge 2016-08-04 20:28:12 +02:00
Alejandro Murillo
bd20b32b64 Added tag jdk-9+130 for changeset af79a51e7d04 2016-08-04 17:32:52 +00:00
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
Zoltan Majo
090f7aec49 8161044: PPC64: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Co-authored-by: Volker Simonis <volker.simonis@sap.com>
Reviewed-by: kvn
2016-07-25 11:15:00 +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
Patric Hedlin
eb9fccdfd7 8160942: Unused code in GraphKit::record_profiled_receiver_for_speculation
Fixed logic error; locally scoped 'maybe_null' w/initialiser is unused/dead

Reviewed-by: kvn
2016-07-13 12:10:22 +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
Harold Seigel
9d898bb3e0 8157176: Improved classfile parsing
Reviewed-by: acorn, mschoene, ctornqvi, bmoloden
2016-06-27 15:26:08 -04:00
Rachel Protacio
53164dd532 8159503: Amend Annotation Actions
Reviewed-by: coleenp, hseigel, mschoene, acorn, ctornqvi
2016-07-01 15:11:38 -04:00
Zoltan Majo
154d568edd 8160591: Improve internal array handling
Co-authored-by: Xiang Yuan <xiang.yuan@linaro.org>
Reviewed-by: kvn
2016-07-01 09:33:34 +02:00
Harold Seigel
5f49daa2c4 8159511: Stack map validation
Reviewed-by: acorn, mschoene
2016-06-30 08:11:30 -04:00
Coleen Phillimore
c6d2422f35 8159515: Improve indy validation
Reviewed-by: jrose, hseigel, vlivanov, bmoloden, ctornqvi, mschoene
2016-06-29 11:52:27 -04: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
Erik Helin
109e24d96e 8155099: Remove duplicate comments from G1Policy
Reviewed-by: jmasa, drwhite
2016-06-22 14:03:01 +02:00
Aleksey Shipilev
f6c1efe6ac 8156803: Turn StressLCM/StressGCM flags to diagnostic
Reviewed-by: kvn, ctornqvi
2016-06-22 13:29:09 +03:00
Thomas Schatzl
28bdc19b1b Merge 2016-06-22 10:49:23 +02:00
Thomas Schatzl
423717c156 8152438: Threads may do significant work out of the non-shared overflow buffer
Before processing an element in the non-shared overflow buffer, try to push it into the local shared buffer to keep it full.

Reviewed-by: jmasa, ehelin, sjohanss
2016-06-22 10:34:01 +02:00
Yasumasa Suenaga
161976b05f 8153743: AllocateHeap() and ReallocateHeap() should use ALWAYSINLINE macro
Reviewed-by: dholmes, zgu
2016-06-21 19:29:39 -04:00
Martin Doerr
afc9349c93 8155949: Support relaxed semantics in cmpxchg
Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: dholmes, kbarrett, goetz, aph
2016-06-21 19:25:41 -04:00
Igor Ignatyev
23e0d96f6e 8132920: use package in compiler testlibraries
Reviewed-by: kvn, psandoz
2016-06-22 00:29:32 +03:00
Igor Ignatyev
300dc664ff 8160025: compiler/testlibrary/uncommontrap/Verifier doesn't close FileReader
Reviewed-by: kvn
2016-06-22 21:24:07 +03:00
Jesper Wilhelmsson
f2490e9194 8024137: Flags should be set using the proper macro
Reviewed-by: sangheki, drwhite, jmasa
2016-06-21 19:37:30 +02:00
Jesper Wilhelmsson
464bfe497d 8048093: Explicitly setting := vs = in the -XX:+PrintFlagsFinal output
Reviewed-by: kvn, gziemski
2016-06-21 19:35:39 +02:00
Andrew Dinn
6c974f899f 8160006: Fix AArch64 after changes made by 8151661
Reviewed-by: kvn
2016-06-21 13:15:56 -04:00
Rahul Raghavan
f8e4173a4e 8151661: Performance regression on Solaris-SPARC in 9-b103
Reviewed-by: kvn, aph
2016-06-21 13:14:33 -04:00
Dmitry Fazunenko
708c94be94 8151283: Implement setting jtreg @requires property vm.isG1Supported
Reviewed-by: tschatzl, iignatyev, mchernov
2016-06-21 18:37:04 +04:00
Erik Helin
3895ad9e00 8159370: Add FlagGuard for easier modification of flags for unit tests
Reviewed-by: kbarrett, jwilhelm
2016-06-21 15:02:45 +02:00
Claes Redestad
038bf7d790 8159590: Remove deprecated methods from jdk.internal.misc.VM
Reviewed-by: chegar, dholmes
2016-06-21 12:09:36 +02:00
Yasumasa Suenaga
5ae683a18f 8155730: HeapInfoDCmd should get Heap_lock
Reviewed-by: tschatzl, jprovino
2016-06-21 09:19:53 +02:00
Ioi Lam
79377a1bf1 8159666: Better CDS support for Event-based tracing
Reviewed-by: jiangli, mgronlun
2016-06-20 22:02:20 -07:00
Coleen Phillimore
a52192d206 Merge 2016-06-20 17:38:14 +00:00
Coleen Phillimore
00314964d6 8159470: Error message for ICCE for MethodHandle constant pool not helpful
Reworded message and added test.

Reviewed-by: hseigel, gtriantafill, dholmes
2016-06-20 12:28:14 -04:00
George Triantafillou
2e16218e6d 8157592: StackTraceLogging fails with stack overflow on 32-bit Windows
Reviewed-by: coleenp, dholmes, jiangli
2016-06-20 07:45:03 -04:00
Paul Sandoz
152f87ef6c 8158039: VarHandle float/double field/array access should support CAS/set/add atomics
Reviewed-by: shade, vlivanov, darcy
2016-06-20 13:06:33 +02:00
Carsten Varming
cc10eca0b0 8159720: Failure of C2 compilation with tiered prevents some C1 compilations
If C2 fails to compile a method with tiered compilation, then it should mark the method as not compileable on the C2 tier only.

Reviewed-by: twisti, thartmann
2016-06-20 08:11:22 -04:00
Dmitry Fazunenko
b199df41f5 Merge 2016-06-17 19:04:09 +00:00
Michail Chernov
4dd736d71a 8158412: [TESTBUG] TestIHOPErgo and TestStressG1Humongous should not be executed when JFR is enabled
Reviewed-by: dfazunen, tschatzl
2016-06-17 18:45:09 +03:00
Rachel Protacio
c77d3aa077 Merge 2016-06-17 15:06:47 +00:00
Rachel Protacio
36ac8c8a00 8153394: Add Unified Logging to make it easy to trace time taken in initPhase2
Added modules+startuptime logging for initPhase2 via TraceTime class

Reviewed-by: rehn, hseigel, mockner
2016-06-17 10:46:55 -04:00
Leonid Mesnik
f04cf89a79 8157831: JVMCI tests should not be executed on linux-arm32
Reviewed-by: dpochepk, dholmes
2016-06-17 13:07:27 +03:00
Lana Steuck
c01f83171a Merge 2016-06-16 20:57:05 +00:00
Lana Steuck
43ed5d5c47 Added tag jdk-9+123 for changeset 407ee1280983 2016-06-16 19:07:26 +00:00
Lois Foltan
f3741800fe 8156871: Possible concurrency issue with JVM_AddModuleExports
Need for single PackageEntry flag to determine a package's unqualifed export state.

Reviewed-by: acorn, ctornqvi, dholmes, jiangli
2016-06-16 13:34:32 -04:00
Coleen Phillimore
eba25b33b9 8152271: MemberNameTable doesn't purge stale entries
Intern MemberNames in table instead of allocating new entries

Reviewed-by: vlivanov, sspitsyn, dholmes
2016-06-15 09:48:24 -04:00
Per Lidén
6ef961edbd Merge 2016-06-15 12:44:20 +02:00
Per Lidén
b8668ac945 8159350: G1 String deduplication logging malformed
Reviewed-by: stefank, sjohanss
2016-06-15 10:46:20 +02:00
Robbin Ehn
048538542a 8154106: UL Xlog:help regd'g 'rt' tag
Reviewed-by: mlarsson, mockner, gtriantafill
2016-06-15 09:54:12 +02:00
Rickard Bäckman
14621ff60c 8139379: Tests fail with assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod
Reviewed-by: mgronlun, neliasso
2016-06-15 09:46:15 +02:00
Tobias Hartmann
6294f0770b 8159715: Fix for 8072422 is incorrect
Fixed several issues introduced by 8072422.

Reviewed-by: zmajo, kvn
2016-06-20 09:32:44 +02:00
Igor Ignatyev
063397934d 8159149: Several compiler tests fail with minimal VM
Reviewed-by: kvn, psandoz
2016-06-16 01:43:11 +03:00
Igor Ignatyev
46225e207d 8158754: compilercontrol tests: RandomCommandsTest.java and RandomValidCommandsTest.java - fail in PIT
Reviewed-by: neliasso
2016-06-15 22:58:04 +03:00
Robbin Ehn
f5b4d9e51f 8149778: serviceability/tmtools/jstat/GcCapacityTest.java causes JVM to hang during GC
Reviewed-by: pliden, stefank
2016-06-15 09:43:42 +02:00
Harold Seigel
2d7e2d242f Merge 2016-06-14 19:30:19 +00:00
George Triantafillou
69bdc4f247 8159328: [TESTBUG] ProblematicFrameTest.java throws an exception (due to trying to access Unsafe) but still passes
Reviewed-by: hseigel, ddmitriev
2016-06-14 14:31:36 -04:00
George Triantafillou
ada2d65793 8159255: [TESTBUG] XpatchJavaBase.java compilation failure
Reviewed-by: lfoltan, hseigel, ddmitriev
2016-06-14 14:35:34 -04:00
Kirill Zhaldybin
dd9df0a16c Merge 2016-06-14 19:38:44 +02:00