Daniel D. Daugherty
f1ab0fae73
8049737: Contended Locking reorder and cache line bucket
...
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.
Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Tobias Hartmann
ea755702aa
8059468: Fix PrintCodeCache output changed by JDK-8059137
...
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Volker Simonis
a1628426d3
8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
...
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers
Reviewed-by: kvn
2014-09-24 12:19:07 -07:00
Morris Meyer
c468032582
8050022: linux-sparcv9: assert(SharedSkipVerify || obj->is_oop()) failed: sanity check
...
Provide promoted stack slots for floating-point registers in the SPARC c_calling_convention.
Reviewed-by: kvn, jrose, drchase
2014-09-18 11:46:33 -07:00
Tobias Hartmann
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984
8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
...
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Igor Veresov
5db7b3a4e1
8056124: Hotspot should use PICL interface to get cacheline size on SPARC
...
Using libpicl to get L1 data and L2 cache line sizes
Reviewed-by: kvn, roland, morris
2014-09-05 11:23:47 -07:00
Coleen Phillimore
cafb36661d
8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
...
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes.
Reviewed-by: simonis, kvn
2014-08-12 10:48:55 -04:00
Zhengyu Gu
8a690a1250
6424123: JVM crashes on failed 'strdup' call
...
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose
Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Tobias Hartmann
1213845b36
8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
...
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.
Reviewed-by: kvn, roland
2014-08-06 08:47:40 +02:00
Rickard Bäckman
84271f1c96
Merge
2014-07-24 14:38:26 +02:00
Coleen Phillimore
e051932425
Merge
2014-07-18 11:22:49 -04:00
Tobias Hartmann
1caa674424
8051550: Printing of 'cmpN_reg_branch_short' instruction shows wrong 'op2' register
...
Missing '$' added to the format string of the 'cmpN_reg_branch_short' instruction (sparc.ad).
Reviewed-by: kvn, iveresov
2014-07-23 07:53:24 +02:00
Coleen Phillimore
3f0a945468
8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
...
Remove bcx and mdx handling. We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.
Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Daniel D. Daugherty
a06d36cada
8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
...
Add support for VM_Version::L1_data_cache_line_size().
Reviewed-by: dsimms, kvn, dholmes
2014-07-15 07:33:49 -07:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Jon Masamitsu
38aa661273
Merge
2014-06-26 18:55:29 -07:00
Christian Thalinger
4c565a7708
Merge
2014-06-26 16:53:35 -07:00
Jon Masamitsu
8dac1f1b8a
Merge
2014-06-25 20:43:05 -07:00
Stefan Karlsson
c3148bb6cb
8047326: Consolidate all CompiledIC::CompiledIC implementations and move it to compiledIC.cpp
...
Reviewed-by: vlivanov, ehelin
2014-06-25 08:56:57 +02:00
Lev Priima
644042fe4a
8041794: remove bytecodes_<arch>.{cpp,hpp} files
...
Reviewed-by: dholmes, coleenp, twisti, iignatyev
2014-06-20 22:39:56 +04:00
Mikael Vidstedt
bc8c6370ea
8046611: Build errors with gcc on sparc/fastdebug
...
Reviewed-by: dholmes, ctornqvi
2014-06-20 11:19:22 -07:00
James Cheng
395560c428
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
...
Add C2 SHA intrinsics on SPARC
Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Tobias Hartmann
aeff8925b3
8031389: On x86 C1 emits two relocations for polls
...
C1 emits two poll_type relocations at safepoint polls because LIR_Assembler::safepoint_poll(..) adds a relocation and calls LIR_Assembler::add_debug_info_for_branch(..) which adds a relocation as well. The implementation of add_debug_info_for_branch(..) is changed to not emit a poll relocation.
Reviewed-by: kvn, roland
2014-06-05 10:43:16 +02:00
Rickard Bäckman
0915147727
8031994: java/lang/Character/CheckProp test times out
...
Reviewed-by: iveresov, roland
2014-06-04 10:01:28 +02:00
Mikael Vidstedt
baadb75921
8044735: Print format/argument warnings
...
Reviewed-by: twisti, kvn
2014-06-03 18:24:38 -07:00
Mikael Vidstedt
e09b9cbc3c
8044242: Remove dead NativeMovRegMemPatching class
...
Reviewed-by: twisti, kvn
2014-06-02 15:48:34 -07:00
Mikael Vidstedt
fc984ddd84
8044071: Print format/argument warnings
...
Reviewed-by: drchase, dholmes, lfoltan, twisti
2014-05-29 16:01:13 -07:00
Igor Veresov
3966e14be8
8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject
...
Pass correct value to post-barrier in UnsafeGetAndSetObject
Reviewed-by: roland, vlivanov
2014-05-28 07:59:23 -10:00
Mikael Vidstedt
7ffabd53cf
8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
...
Reviewed-by: coleenp, lfoltan, kvn
2014-05-27 16:05:29 -07:00
Shrinivas Joshi
638b464ed3
8043274: Test compiler/7184394/TestAESMain.java gets NPE on solaris
...
Save cipher len after registers are saved
Reviewed-by: kvn
2014-05-21 12:16:41 -07:00
Igor Veresov
54db2c2d61
8032463: VirtualDispatch test timeout with DeoptimizeALot
...
Introduce code aging for warm method detection
Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00
Tobias Hartmann
5938d3d5b9
8021770: BackEdgeThreshold option is no longer used and should be removed
...
The BackEdgeThreshold option is removed because it is no longer used.
Reviewed-by: twisti, kvn, cjplummer
2014-05-13 11:25:17 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Shrinivas Joshi
c0f886ec65
8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
...
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.
Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
Mikael Vidstedt
c781bb874f
8042059: Various fixes to linux/sparc
...
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07:00
Mikael Vidstedt
e88c91e4c3
8022070: Compilation error in stubGenerator_sparc.cpp with some compilers
...
Reviewed-by: twisti, kvn
2014-04-29 22:04:09 -07:00
Tobias Hartmann
06c26b6f97
8036956: remove EnableInvokeDynamic flag
...
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Roland Westrelin
0acbad17c8
8039975: SIGSEGV in MethodData::next_data(ProfileData*)
...
Profiling code in interpreter broken when argument profiling is off.
Reviewed-by: iveresov, kvn
2014-04-18 14:25:21 +02:00
Roland Westrelin
f5adc57f94
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
...
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Igor Veresov
e6456ff2a4
8038297: Avoid placing CTI immediately following cbcond instruction on T4
...
Insert a nop between cbcond and CTI
Reviewed-by: kvn, twisti
2014-04-10 23:15:13 -07:00
Goetz Lindenmaier
d7b640b3ce
8039146: Fix 64-bit store to int JNIHandleBlock::_top
...
Reviewed-by: coleenp, kvn
2014-04-03 12:37:53 +02:00
Lutz Schmidt
ac75d4fc2f
8037821: Account for trampoline stubs when estimating code buffer sizes
...
Take into account space needed for "trampoline code" used by calls on PPC64.
Reviewed-by: kvn
2014-03-25 12:54:21 -07:00
Christian Thalinger
315e4838e9
8031203: remove SafepointPollOffset
...
Reviewed-by: kvn, roland
2014-03-19 11:37:58 -07:00
Igor Veresov
af7a190f21
8037149: C1: getThreadTemp should return a T_LONG register on 64bit
...
Fix the type of the register returned by getThreadTemp() to depend on bitness
Reviewed-by: kvn, twisti
2014-03-13 14:55:10 -07:00
Roland Westrelin
7bee30f699
8036146: make CPP interpreter build again
...
Fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Goetz Lindenmaier
c01a8b9263
8035396: Introduce accessor for tmp_oop in frame
...
Avoid #ifs by introducing the accessor function interpreter_frame_temp_oop_addr().
Reviewed-by: kvn, twisti
2014-02-26 11:33:34 -08:00
Rickard Bäckman
0b85ee832e
8027754: Enable loop optimizations for loops with MathExact inside
...
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00