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
Morris Meyer
a28a9d6551
8010724: [parfait] Null pointer dereference in hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
...
Added guarantee()
Reviewed-by: kvn
2013-06-04 12:06:54 -07:00
Albert Noll
6c30b71448
8014430: JRE crashes instead of stop compilation on full Code Cache. Internal Error (c1_Compiler.cpp:87)
...
Disable client compiler and switch to interpreter if there is not enough free space in the code cache.
Reviewed-by: kvn, twisti
2013-05-23 14:11:09 +02:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Roland Westrelin
95ce391b51
8011771: runThese crashed with EAV
...
Array bound check elimination's in block motion doesn't always reset its data structures from one step to the other.
Reviewed-by: kvn, twisti
2013-04-24 09:42:08 +02:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Roland Westrelin
9f96eb3ed5
8011648: C1: optimized build is broken after 7153771
...
Missing #ifdef ASSERT
Reviewed-by: kvn
2013-04-15 17:17:11 +02:00
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02: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
Roland Westrelin
3c586e8f26
8010934: assert failure in c1_LinearScan.cpp: "asumption: non-Constant instructions have only virtual operands"
...
Incorrect code to skip some ArrayLength instructions in LIRGenerator
Reviewed-by: kvn
2013-03-29 17:25:27 +01: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
Joseph Provino
a68c69fd65
Merge
2013-03-08 12:35:18 -05: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
Mikael Vidstedt
960480c53d
8008081: Print outs do not have matching arguments
...
Corrected formatted prints to have matching arguments, removed dead print_frame_layout function
Reviewed-by: sla, dholmes
2013-02-26 08:54:03 -08:00
Bill Pittore
deceb833bf
8005722: Assert in c1_LIR.hpp incorrect wrt to number of register operands
...
In LIR_OpVisitState::visit() the receiver operand is processed twice
Reviewed-by: roland, vladidan
2013-01-24 13:27:54 -05:00
Vladimir Danushevsky
ac1a75df8c
Merge
2013-02-07 20:40:14 -05:00
Roland Westrelin
f13dbb00cf
8005114: VM is crashing in ciKlass*ciObjArrayKlass::element_klass() if metaspaces are full
...
Missing test for loaded klass in c1
Reviewed-by: kvn
2013-02-04 09:11:21 +01:00
Dean Long
0a2347e0ba
Merge
2013-01-27 01:07:09 -08:00
Igor Ignatyev
1a9e6be809
8005439: no message about inline method if it specifed by CompileCommand
...
Reviewed-by: kvn, vlivanov
2013-02-01 03:02:01 -08:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Vladimir Kozlov
3eb6582f4b
Merge
2013-01-17 18:47:36 -08:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Alexander Harlap
5613847626
8005639: Move InlineSynchronizedMethods flag from develop to product
...
Move InlineSynchronizedMethods flag from develop to product
Reviewed-by: kvn, vladidan
2013-01-14 13:44:49 -05:00
Vladimir Ivanov
f8b9f3900c
8006095: C1: SIGSEGV w/ -XX:+LogCompilation
...
Avoid printing inlining decision when compilation fails
Reviewed-by: kvn, roland
2013-01-14 08:22:32 -08:00
Bill Pittore
782ef982f6
8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
...
Assert is triggered when number of register based arguments passed to a java method exceeds 16.
Reviewed-by: roland, vladidan
2013-01-03 15:08:43 -05:00
Aleksey Shipilev
4c293ebcd6
8004318: JEP-171: Support Unsafe fences intrinsics
...
Add three memory-ordering intrinsics to the sun.misc.Unsafe class.
Reviewed-by: twisti, kvn
2012-12-18 17:37:44 -08:00
Nils Eliasson
42c0192ee6
8003983: LogCompilation tool is broken since c1 support
...
Fixed emitting and parsing
Reviewed-by: jrose, kvn
2012-11-26 15:11:55 +01:00
Christian Thalinger
2c2c007448
8003240: x86: move MacroAssembler into separate file
...
Reviewed-by: kvn
2012-11-30 15:23:16 -08:00
Coleen Phillimore
ddec2a3aed
Merge
2012-11-16 09:19:12 -05:00
Bharadwaj Yadavalli
4b288c8976
8001077: remove ciMethod::will_link
...
Removed will_link and changed all calls to is_loaded().
Reviewed-by: kvn
2012-11-15 10:42:06 -08:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Christian Thalinger
65c20a5492
8000821: JSR 292: C1 fails to call virtual method (JRUBY-6920)
...
Reviewed-by: kvn
2012-10-22 16:56:03 -07:00
Vladimir Kozlov
5f132a5ec3
Merge
2012-10-12 09:22:52 -07:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Roland Westrelin
61eb5a0549
7054512: Compress class pointers after perm gen removal
...
Support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
2012-10-09 10:11:38 +02:00
Vladimir Ivanov
822deb6ee6
7177003: C1: LogCompilation support
...
Add LogCompilation support in C1 - both client and tiered mode.
Reviewed-by: twisti, kvn
2012-10-05 18:57:10 -07:00
Coleen Phillimore
28047d6a0f
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
...
Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
2012-09-29 06:40:00 -04:00
Roland Westrelin
302540691b
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
...
Use shorter instruction sequences for atomic add and atomic exchange when possible.
Reviewed-by: kvn, jrose
2012-09-20 16:49:17 +02:00
Vladimir Kozlov
811c047ec1
7196199: java/text/Bidi/Bug6665028.java failed: Bidi run count incorrect
...
Save whole XMM/YMM registers in safepoint interrupt handler.
Reviewed-by: roland, twisti
2012-09-17 19:39:07 -07:00
Roland Westrelin
08757b8a99
7195816: NPG: Crash in c1_ValueType - ShouldNotReachHere
...
C1 needs knowledge of T_METADATA at the LIR level.
Reviewed-by: kvn, coleenp
2012-09-11 16:20:57 +02:00
Stefan Karlsson
36d57e3669
7195935: NPG: Some issues with compressed oops
...
Don't decompress the klass pointer in the G1 pre-barrier code when !UseCompressedKlassPointers
Reviewed-by: coleenp, brutisso
2012-09-05 10:39:29 +02:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
40c1bd4242
7192406: JSR 292: C2 needs exact return type information for invokedynamic and invokehandle call sites
...
Reviewed-by: kvn
2012-08-28 15:24:39 -07:00
Tao Mao
447e7065d2
6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
...
Reviewed-by: kvn, dholmes, coleenp
2012-08-27 15:17:17 -07:00
Roland Westrelin
405f5a75cd
7171824: assert(_offset >= 1) failed: illegal call to offset()
...
C1 value numbering hits unloaded klass.
Reviewed-by: kvn, twisti
2012-08-22 14:29:57 +02:00