Rickard Bäckman
615376fb9b
8026844: Various Math functions needs intrinsification
...
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Igor Veresov
1c047b640d
8026495: JVM Crashes when started with -XX:+DTraceMethodProbes on Solaris x86_64
...
Fix wrong calling convention in LIR_Assembler::emit_unwind_handler(), T_METADATA support in calling convention generator, C1 register allocator
Reviewed-by: twisti, jrose
2013-10-23 11:15:24 -07:00
Igor Veresov
db9a439624
Merge
2013-10-13 13:22:24 -07:00
Roland Westrelin
c8bfc7e7d7
8026054: New type profiling points: type of return values at calls
...
X86 interpreter and c1 type profiling for return values at calls
Reviewed-by: kvn, twisti
2013-10-12 12:12:59 +02:00
John Coomes
e61cbf8d69
Merge
2013-10-11 08:27:21 -07:00
Roland Westrelin
cbd0e9bf96
8023657: New type profiling points: arguments to call
...
X86 interpreter and c1 type profiling for arguments at calls
Reviewed-by: kvn, twisti
2013-10-09 16:32:21 +02:00
Mikael Gerdin
7f3b537807
8014555: G1: Memory ordering problem with Conc refinement and card marking
...
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com
Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04:00
David Chase
02f6818d8f
8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
...
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU
Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Zhengyu Gu
bfafab7b47
Merge
2013-09-27 10:08:56 -04:00
Christian Thalinger
9376d94e6c
8025613: clang: remove -Wno-unused-value
...
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00
Rickard Bäckman
441f1d74cf
8024924: Intrinsify java.lang.Math.addExact
...
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Lois Foltan
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Albert Noll
a2889becd9
7009641: Don't fail VM when CodeCache is full
...
Allocation in the code cache returns NULL instead of failing the entire VM
Reviewed-by: kvn, iveresov
2013-09-24 15:56:25 +02:00
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +02:00
Igor Veresov
f99391ee6f
8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running
...
Move null check before klass reference materialization in checkcast
Reviewed-by: kvn, roland
2013-09-18 14:10:21 -07:00
Albert Noll
d11f6f252b
8024128: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
...
Increase interpreter size for x86 template interpreter
Reviewed-by: kvn, iveresov
2013-09-17 08:39:20 +02:00
Thomas Schatzl
b4e927d2a9
Merge
2013-09-16 09:41:03 +02:00
Goetz Lindenmaier
5d63d647c1
8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints
...
Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature used by the compiler as in PhaseIdealLoop::intrinsify_fill().
Reviewed-by: kvn
2013-09-18 14:34:56 -07:00
Goetz Lindenmaier
081d2454fb
8024344: PPC64 (part 112): C argument in register AND stack slot
...
On PPC, the first 13 floating point arguments to C calls are passed in floating point registers. Also, all but the first 8 arguments are passed on the stack. So there can be floating point arguments that are passed on the stack and in a register. We duplicate the regs datastructure in c_calling_convention() to represent this.
Reviewed-by: kvn, cjplummer
2013-09-12 13:51:13 -07:00
Niclas Adlertz
bcdf7e7a4d
8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
...
Lowered the MinJumpTableSize for each platform
Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Rickard Bäckman
4cb52fc49d
Merge
2013-08-22 18:37:14 +02:00
Roland Westrelin
f188c2bf70
7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked
...
Do patching rather bailing out for unlinked call with appendix
Reviewed-by: twisti, kvn
2013-08-21 13:34:45 +02:00
Harold Seigel
4d91f4e69d
8003424: Enable Class Data Sharing for CompressedOops
...
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server
Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Erik Helin
30f059b5fc
8015107: NPG: Use consistent naming for metaspace concepts
...
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Rickard Bäckman
9c2ac55d23
Merge
2013-08-19 09:33:29 +02:00
David Chase
5467bc74f8
8022441: Bad code generated for certain interpreted CRC intrinsics, 2 cases
...
Corrected details
Reviewed-by: kvn, twisti, rbackman
2013-08-15 11:59:19 -07:00
Serguei Spitsyn
4974d1aef2
7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
...
Restore the appendix argument after PopFrame() call
Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Vladimir Kozlov
8e2181cb13
8008938: TieredCompilation should be default
...
Switch on TieredCompilation by default
Reviewed-by: twisti
2013-07-26 12:37:39 -07:00
Morris Meyer
80b04bb48e
Merge
2013-07-24 13:54:03 -07:00
Morris Meyer
30902b737d
Merge
2013-07-19 13:59:25 -07:00
Daniel D. Daugherty
c421e7a0d3
Merge
2013-07-18 12:05:32 -07:00
Vladimir Kozlov
665bf36b6f
8020433: Crash when using -XX:+RestoreMXCSROnJNICalls
...
Remove StubRoutines::x86::_mxcsr_std and use StubRoutines::_mxcsr_std
Reviewed-by: jrose
2013-07-15 10:28:32 -07:00
David Chase
9a359984c2
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
...
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test
Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Albert Noll
386e37ba15
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
...
Introduce a minimum code cache size that guarantees that the VM can startup.
Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Vladimir Kozlov
579c7ac5ab
Merge
2013-06-27 11:12:19 -07:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Goetz Lindenmaier
fad60d1428
8017308: Remove unused breakpoint relocation type
...
Remove unused breakpoint relocation type
Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
Vladimir Kozlov
175419c053
Merge
2013-06-20 16:08:11 -07:00
Goetz Lindenmaier
ef69ce852c
8016697: Use stubs to implement safefetch
...
Implement Safefetch as stub routines. This reduces compiler and os dependencies.
Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Andreas Schoesser
e97599b826
8015660: Test8009761.java "Failed: init recursive calls: 24. After deopt 25"
...
Windows reserves and only partially commits thread stack. For detecting more thread stack space for execution, Windows installs one-shot page as guard page just before the current commited edge. It will trigger STACK_OVERFLOW_EXCEPTION when lands on last 4 pages of thread stack space. StackYellowPages default value is 2 on Windows (plus 1 page of StackRedPages, 3 pages guarded by hotspot) so the exception happens one page before Yellow pages. Same route executed second time will have one more page brought in, this leads same execution with different stack depth(interpreter mode). We need match Windows settings so the stack overflow exception will not happen before Yellow pages.
Reviewed-by: dholmes
2013-06-18 09:08:35 -07:00
Vladimir Kozlov
55f6f35697
Merge
2013-06-14 16:33:34 -07:00
Rickard Bäckman
9a67229e2f
8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
...
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
Christian Thalinger
f2a70d7310
8003268: SharedRuntime::generate_native_wrapper doesn't save all registers across runtime tracing calls for JNI critical native methods
...
Reviewed-by: kvn
2013-06-11 11:13:09 -07:00
Calvin Cheung
53448fdbed
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
...
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Vladimir Kozlov
47a5d851ad
8010927: Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy
...
Changed gen_write_ref_array_post_barrier() code on x64 to pass start address and number of copied oop elements. In generate_checkcast_copy() skip post barrier code if no elements are copied.
Reviewed-by: roland
2013-05-22 18:25:43 -07:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00