Bengt Rutisson
a6d84bc811
7156764: Remove unused size parameter from some CollectedHeap methods
...
Some minor cleanups
Reviewed-by: tonyp, jwilhelm
2012-03-27 10:29:59 +02:00
Serguei Spitsyn
7d0f6b051c
7123170: JCK vm/jvmti/ResourceExhausted/resexh001/resexh00101/ tests fails since 7u4 b02
...
The JVMTI ResourceExhausted events must be generated in all places where OOME is thrown
Reviewed-by: acorn, coleenp, dcubed, dholmes, dsamersoff, jwilhelm, tonyp
2012-03-14 20:06:48 -07:00
Krystal Mok
84470be578
7148126: ConstantPoolCacheEntry::print prints to wrong stream
...
Should print to passed in stream not tty
Reviewed-by: dholmes, never
2012-02-25 01:49:34 -05:00
Bill Pittore
8e09c4566e
Merge
2012-02-06 10:57:49 -05:00
John Coomes
140e8ff0d9
Merge
2012-02-03 12:08:55 -08:00
Tom Rodriguez
9599296d97
7013347: allow crypto functions to be called inline to enhance performance
...
Reviewed-by: kvn
2012-02-01 16:57:08 -08:00
Bengt Rutisson
d5546e27cf
Merge
2012-01-30 05:08:09 -08:00
Deepak Bhole
ce79f12b7b
7140882: Don't return booleans from methods returning pointers
...
Changed "return false" to "return NULL"
Reviewed-by: dholmes, rottenha
2012-01-30 12:36:49 +01:00
Stefan Karlsson
b7d5d72f78
7022100: Method annotations are incorrectly set when redefining classes
...
Changed to the correct annotation arrays
Reviewed-by: kamg, dholmes, sla
2012-01-27 13:46:24 +01:00
Jiangli Zhou
cd85c690df
7132690: InstanceKlass:_reference_type should be u1 type
...
Change InstanceKlass::_reference_type to u1 type.
Reviewed-by: dholmes, coleenp, acorn
2012-01-25 17:40:51 -05:00
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