Rickard Backman
ec891da5a7
7130476: Remove use of #ifdef TRACE_DEFINE_KLASS_TRACE_ID from klass.hpp
...
Reviewed-by: kamg, phh, dsamersoff
2012-01-24 14:48:22 +01:00
Keith McGuigan
c3f4b6ec1b
Merge
2012-01-17 10:16:36 -05:00
Jiangli Zhou
6bc84f7865
7129240: backout fix for 7102776 until 7128770 is resolved
...
Reviewed-by: phh, bobv, coleenp, dcubed
2012-01-11 19:54:34 -08:00
Paul Hohensee
8efd785f67
Merge
2012-01-11 17:58:26 -05:00
Markus Gronlund
007126d010
7115199: Add event tracing hooks and Java Flight Recorder infrastructure
...
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.
Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Vladimir Kozlov
b93ca70b9b
Merge
2012-01-06 20:09:20 -08:00
Jiangli Zhou
e6157688b4
Merge
2012-01-04 12:36:07 -05:00
Vladimir Kozlov
b6828ac542
Merge
2011-12-29 11:37:50 -08:00
Jiangli Zhou
0671e90755
7123315: instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count should be u2 type
...
Change instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count to u2 type.
Reviewed-by: never, bdelsart, dholmes
2011-12-28 12:15:57 -05:00
Stefan Karlsson
a3943834e1
7121373: Clean up CollectedHeap::is_in
...
Fixed G1CollectedHeap::is_in, added tests, cleaned up comments and made Space::is_in pure virtual.
Reviewed-by: brutisso, tonyp, jcoomes
2011-12-14 12:15:26 +01:00
Jiangli Zhou
fafb59a0dc
Merge
2011-12-09 11:29:05 -08:00
Stefan Karlsson
e057d60ca1
7118863: Move sizeof(klassOopDesc) into the *Klass::*_offset_in_bytes() functions
...
Moved sizeof(klassOopDesc), changed the return type to ByteSize and removed the _in_bytes suffix.
Reviewed-by: never, bdelsart, coleenp, jrose
2011-12-07 11:35:03 +01:00
Jiangli Zhou
f9f4ba0203
7117052: instanceKlass::_init_state can be u1 type
...
Change instanceKlass::_init_state field to u1 type.
Reviewed-by: bdelsart, coleenp, dholmes, phh, never
2011-12-06 18:28:51 -05:00
Bob Vandette
8e81e037e7
Merge
2011-11-29 14:44:44 -05:00
John Cuthbertson
a3311881b5
7112743: G1: Reduce overhead of marking closure during evacuation pauses
...
Parallelize the serial code that was used to mark objects reachable from survivor objects in the collection set. Some minor improvments in the timers used to track the freeing of the collection set along with some tweaks to PrintGCDetails.
Reviewed-by: tonyp, brutisso
2011-11-17 12:40:15 -08:00
Antonios Printezis
4964702bad
Merge
2011-11-17 13:14:49 -05:00
Jiangli Zhou
ee88278d34
7102776: Pack instanceKlass boolean fields into single u1 field
...
Reduce class runtime memory usage by packing 4 instanceKlass boolean fields into single u1 field. Save 4-byte for each loaded class.
Reviewed-by: dholmes, bobv, phh, twisti, never, coleenp
2011-11-17 12:53:59 -05:00
Bengt Rutisson
ed1e70076b
7110152: assert(size_in_words <= (julong)max_jint) failed: no overflow
...
Reduce what arrayOopDesc::max_array_length() returns to avoid int overflow
Reviewed-by: kvn, dholmes, tonyp
2011-11-15 20:17:33 +01:00
Tom Rodriguez
087c7441f7
7105305: assert check_method_context proper context
...
Reviewed-by: jrose, kvn
2011-11-08 17:29:57 -08:00
Bengt Rutisson
c444c3eee7
7102044: G1: VM crashes with assert(old_end != new_end) failed: don't call this otherwise
...
ArrayOopDesc::max_array_length() should return a value that does not overflow a size_t if it is converted to bytes.
Reviewed-by: kvn, dholmes
2011-10-31 08:01:20 +01:00
Igor Veresov
e9bfe21bdf
Merge
2011-10-21 00:58:30 -07:00
Tom Rodriguez
bf203dac41
7098528: crash with java -XX:+ExtendedDTraceProbes
...
Reviewed-by: kvn
2011-10-17 21:38:29 -07:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Vladimir Kozlov
47e357e16f
7081933: Use zeroing elimination optimization for large array
...
Don't zero new typeArray during runtime call if the allocation is followed by arraycopy into it.
Reviewed-by: twisti
2011-09-26 10:24:05 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Igor Veresov
0e0ba86cd8
Merge
2011-09-15 12:44:09 -07:00
Vladimir Kozlov
f99084037a
7090259: Fix hotspot sources to build with old compilers
...
Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
2011-09-13 20:28:00 -07:00
Tom Rodriguez
e3afdf10ad
7088955: add C2 IR support to the SA
...
Reviewed-by: kvn
2011-09-11 14:48:24 -07:00
Tom Rodriguez
e39ba1a5fe
7086585: make Java field injection more flexible
...
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Igor Veresov
67ba51cae8
Merge
2011-09-09 12:44:37 -07:00
Stefan Karlsson
bfa7e324d9
Merge
2011-09-09 14:44:43 +02:00
Christian Thalinger
439b75eb12
7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
...
Reviewed-by: jrose, never
2011-09-08 05:11:31 -07:00
Y. Srinivas Ramakrishna
ed72e31727
4965777: GC changes to support use of discovered field for pending references
...
If and when the reference handler thread is able to use the discovered field to link reference objects in its pending list, so will GC. In that case, GC will scan through this field once a reference object has been placed on the pending list, but not scan that field before that stage, as the field is used by the concurrent GC thread to link discovered objects. When ReferenceHandleR thread does not use the discovered field for the purpose of linking the elements in the pending list, as would be the case in older JDKs, the JVM will fall back to the old behaviour of using the next field for that purpose.
Reviewed-by: jcoomes, mchung, stefank
2011-09-07 13:55:42 -07:00
Tom Rodriguez
32fd1b087d
7071307: MethodHandle bimorphic inlining should consider the frequency
...
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Vladimir Kozlov
6446205688
7059037: Use BIS for zeroing on T4
...
Use BIS for zeroing new allocated big (2Kb and more) objects and arrays.
Reviewed-by: never, twisti, ysr
2011-08-26 08:52:22 -07:00
Tom Rodriguez
19f7fb98b8
7082949: JSR 292: missing ResourceMark in methodOopDesc::make_invoke_method
...
Reviewed-by: kvn, twisti
2011-08-25 20:29:30 -07:00
John Coomes
af31d0cf27
Merge
2011-08-19 14:08:18 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Tom Rodriguez
aa16309657
7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
...
Reviewed-by: kvn, twisti, jrose
2011-07-21 08:38:25 -07:00
Vladimir Kozlov
9120c1e85c
Merge
2011-07-07 10:51:07 -07:00
John Coomes
ce3ae66eeb
Merge
2011-07-06 08:43:01 -07:00
Bengt Rutisson
3aaa5fb06d
7016112: CMS: crash during promotion testing
...
Also reviewed by mikael.gerdin@oracle.com ; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.
Reviewed-by: never, coleenp, ysr
2011-06-28 14:23:27 +02:00
John R Rose
8df44305c7
7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
...
Reviewed-by: never
2011-06-23 17:14:06 -07:00
Antonios Printezis
937d6ded89
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
...
Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
2011-06-16 15:51:57 -04:00
Coleen Phillimore
991018b6b2
7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63
...
Removed extra change from another bug fix that caused this regression
Reviewed-by: phh, dcubed, kvn, kamg, never
2011-06-02 14:17:48 -04:00
Coleen Phillimore
57769e3600
7033141: assert(has_cp_cache(i)) failed: oob
...
Unrewrite bytecodes for OOM error allocating the constant pool cache.
Reviewed-by: dcubed, acorn, never
2011-05-21 15:39:54 -07:00
Jon Masamitsu
6819e3739e
7041789: 30% perf regression with c2/arm following 7017732
...
Implement a more accurate is_scavengable()
Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Tom Rodriguez
249ae52324
7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents
...
Reviewed-by: kvn, ysr
2011-05-10 17:44:14 -07:00
Vladimir Kozlov
1ac79543d0
5091921: Sign flip issues in loop optimizer
...
Fix integer overflow problem in the code generated by loop optimizer.
Reviewed-by: never
2011-05-04 13:12:42 -07:00