7690 Commits

Author SHA1 Message Date
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04: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
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
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
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
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
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
Igor Veresov
19d25373bf Merge 2016-08-11 16:22:08 -07: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
Yasumasa Suenaga
942ee05da5 8163580: Cannot get Monitor Cache Dump in HSDB
Reviewed-by: dholmes
2016-08-10 21:02:14 -04:00
Robbin Ehn
85d6f6505d 8161026: GPL header missing comma in year
Reviewed-by: sjohanss, redestad
2016-08-10 09:24:42 +02:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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