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
Eric McCorkle
32fa61ad54
8009729: Refix hotspot jni_<cpu>.h JNIEXPORT and JNIIMPORT definitions to match jdk version
...
Update JNIEXPORT and JNIIMPORT to work with other compilers that don't necessarily have the __attribute__ type qualifier
Reviewed-by: dholmes, dcubed, coleenp
2013-05-07 13:45:59 -04:00
Bill Pittore
de01ed0a09
8013633: Cleanup platform ifdefs in unsafe.cpp
...
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file
Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Jiangli Zhou
b769cd296f
Merge
2013-04-26 16:58:18 -04:00
Dean Long
9c966207ef
Merge
2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Jiangli Zhou
670aea401a
8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
...
Change jmpb() to jmp().
Reviewed-by: coleenp, rdurbin, dcubed
2013-04-24 18:20:04 -04:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
824a51963f
Merge
2013-04-18 16:04:33 -07:00
Jiangli Zhou
a86e7e948c
Merge
2013-04-18 17:00:16 -04:00
Martin Doerr
d61a4656e4
8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
...
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.
Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Roland Westrelin
bad6728ea4
8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
...
Instruct xaddL_no_res shouldn't allow 64 bit constants.
Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Vladimir Kozlov
88f70d8026
8011102: Clear AVX registers after return from JNI call
...
Execute vzeroupper instruction after JNI call and on exits in jit compiled code which use 256bit vectors.
Reviewed-by: roland
2013-04-03 11:12:57 -07:00
Roland Westrelin
15178005e6
Merge
2013-03-21 22:00:14 -07:00
Morris Meyer
85aa7836de
8009584: [parfait] Null pointer deference in hotspot/src/cpu/x86/vm/relocInfo_x86.cpp
...
Added guarantee() to pd_address_in_code()
Reviewed-by: kvn
2013-03-21 10:11:24 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Roland Westrelin
8f1814d874
8008555: Debugging code in compiled method sometimes leaks memory
...
Support for strings that have same life-time as code that uses them.
Reviewed-by: kvn, twisti
2013-03-18 13:19:06 +01:00
Morris Meyer
e98f593fb0
8008328: [partfait] Null pointer defererence in hotspot/src/cpu/x86/vm/frame_x86.inline.hpp
...
Add guarantee() to oop_result inlines
Reviewed-by: kvn, twisti
2013-03-16 07:40:36 -07:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07:00
Joseph Provino
e1f180f82e
8006498: #if <symbol> is wrong in the code
...
ASSERT and other symbols used incorrectly with #if are supposed to be defined or not.
Reviewed-by: dholmes, mikael
2013-03-06 13:46:55 -05:00
Rickard Bäckman
1a74b23a2f
8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity
...
Reviewed-by: kvn, sla
2013-02-26 14:09:52 +01:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Vladimir Kozlov
231bbf39f4
8007708: compiler/6855215 assert(VM_Version::supports_sse4_2())
...
Added missing UseSSE42 check. Also added missing avx2 assert for vpermq instruction.
Reviewed-by: roland, twisti
2013-02-08 15:07:17 -08:00
Vladimir Danushevsky
ac1a75df8c
Merge
2013-02-07 20:40:14 -05:00
Bill Pittore
9cad40fca6
Merge
2013-02-07 16:05:48 -05:00
Vladimir Ivanov
268a4d605c
Merge
2013-02-07 12:23:51 -08:00
Karen Kinnear
3f92d0764c
Merge
2013-01-27 21:58:34 -05:00
Dean Long
0a2347e0ba
Merge
2013-01-27 01:07:09 -08:00
Morris Meyer
6c80586b40
8005811: Turn off TierdCompilation in JDK8 trunk for all platforms
...
Disable tiered compilation in jdk8 because of CodeCache and performance anomalies
Reviewed-by: kvn, twisti
2013-01-25 16:31:47 -08:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Krystal Mo
c06a8276fe
Merge
2013-01-24 09:06:16 -08:00