John Cuthbertson
4976ad0ccf
7119908: G1: Cache CSet start region for each worker for subsequent reuse
...
Cache workers' calculated starting heap region, used for parallel iteration over the collcection set, for subsequent reuse.
Reviewed-by: tonyp, brutisso
2011-12-14 17:43:55 -08:00
Vladimir Danushevsky
958178facc
Merge
2011-12-14 20:06:21 -05:00
Jon Masamitsu
0ebc10bb13
7121618: Change type of number of GC workers to unsigned int
...
Change variables representing the number of GC workers to uint from int and size_t. Change the parameter in work(int i) to work(uint worker_id).
Reviewed-by: brutisso, tonyp
2011-12-14 13:34:57 -08:00
Antonios Printezis
1de50427de
7119027: G1: use atomics to update RS length / predict time of inc CSet
...
Make sure that the updates to the RS length and inc CSet predicted time are updated in an MT-safe way.
Reviewed-by: brutisso, iveresov
2011-12-21 07:53:53 -05:00
Jon Masamitsu
49878e46f3
Merge
2011-12-20 20:29:35 -08:00
Antonios Printezis
9427bd6eec
7123165: G1: output during parallel verification can get messed up
...
Serialize the worker threads that are generating output during parallel heap verification to make sure the output is consistent.
Reviewed-by: brutisso, johnc, jmasa
2011-12-20 12:59:28 -05:00
Frederic Parain
85db00acd6
7104647: Adding a diagnostic command framework
...
Reviewed-by: phh, dcubed
2011-12-14 04:30:57 -08: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
Jon Masamitsu
714e978aac
7119584: UseParallelGC barrier task can be overwritten
...
Provoke a GC for a metadata allocation failure.
Reviewed-by: johnc, iveresov
2011-12-09 19:28:34 -08:00
Jiangli Zhou
fafb59a0dc
Merge
2011-12-09 11:29:05 -08:00
Jon Masamitsu
bb40d3f9f4
Merge
2011-12-09 06:46:57 -08:00
Vladimir Kozlov
98ac731a94
Merge
2011-12-08 10:27:33 -08:00
Vladimir Danushevsky
f930f9f6f6
7050298: ARM: SIGSEGV in JNIHandleBlock::allocate_handle
...
Missing release barrier in Monitor::IUnlock
Reviewed-by: dholmes, dice
2011-12-07 16:47:08 -05:00
Antonios Printezis
4799ed65a4
7118202: G1: eden size unnecessarily drops to a minimum
...
An integer underflow can cause the RSet lengths to be massively overpredicted which forces the eden size to the minimum.
Reviewed-by: brutisso, johnc
2011-12-07 12:54:51 -05:00
Daniel D. Daugherty
2a6a2b2d0a
7118648: disable compressed oops by default on MacOS X until 7118647 is fixed
...
UseCompressedOops is false by default on MacOS X; can still be set manually
Reviewed-by: jmelvin, kvn, dholmes
2011-12-07 07:27:09 -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
Vladimir Kozlov
dc542c9909
7121648: Use 3-operands SIMD instructions on x86 with AVX
...
Use 3-operands SIMD instructions in C2 generated code for machines with AVX.
Reviewed-by: never
2011-12-20 00:55:02 -08:00
Tom Rodriguez
2928feab6a
7121073: secondary_super_cache memory slice has incorrect bounds in flatten_alias_type
...
Reviewed-by: kvn
2011-12-19 14:16:23 -08:00
Vladimir Kozlov
b7f5d60a7e
7116452: Add support for AVX instructions
...
Added support for AVX extension to the x86 instruction set.
Reviewed-by: never
2011-12-14 14:54:38 -08:00
Igor Veresov
11dbaed93f
7121111: -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
...
Exercise C2 more in tiered mode with Xcomp
Reviewed-by: kvn, never
2011-12-13 17:10:52 -08:00
Roland Westrelin
ebdae40c34
7114106: C1: assert(goto_state->is_same(sux_state)) failed: states must match now
...
Fix C1's CEE to take inlining into account when the stacks in states are compared.
Reviewed-by: iveresov, never
2011-12-13 10:54:47 +01:00
Igor Veresov
d447f02608
7119730: Tiered: SIGSEGV in AdvancedThresholdPolicy::is_method_profiled(methodOop)
...
Added handles for references to methods in select_task()
Reviewed-by: twisti, kvn
2011-12-12 12:44:08 -08: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
Vladimir Danushevsky
545cea9371
Merge
2011-12-06 16:35:04 -05:00
Paul Hohensee
6532572c0b
7117389: Add a framework for vendor-specific command line switch extensions to Hotspot
...
Add a file, globals_ext.hpp, containing a null interface, to be replaced by a vendor in altsrc as needed.
Reviewed-by: coleenp, kamg, dholmes, johnc, jrose
2011-12-05 12:50:00 -05:00
Vladimir Kozlov
78034a3d3b
7117282: assert(base == NULL || t_adr->isa_rawptr() || !phase->type(base)
...
Delay memory node transformation until the memory is processed.
Reviewed-by: iveresov, never
2011-12-02 21:37:19 -08:00
Paul Hohensee
5e1d1487de
7116730: Revert 7116481: Commercial features in Hotspot must be gated by a switch
...
Revert 7116481 to current hsx/hotspot-main
Reviewed-by: kamg
2011-11-30 12:48:52 -05:00
Paul Hohensee
1372b916ff
7116481: Commercial features in Hotspot must be gated by a switch
...
Add -XX:+UnlockCommercialVMOptions to gate use of commercial feature switches in the same way as -XX:UnlockDiagnosticVMOptions gates use of diagnostic feature switches.
Reviewed-by: jwilhelm, kamg
2011-11-29 17:00:46 -05:00
Bob Vandette
8e81e037e7
Merge
2011-11-29 14:44:44 -05:00
Vladimir Kozlov
e187503af0
7112478: after 7105605 JRuby bench_define_method_methods.rb fails with NPE
...
Fixed several EA issues with Connection Graph construction.
Reviewed-by: never, twisti
2011-11-28 15:46:31 -08:00
Stefan Karlsson
fcdf022370
7112034: Parallel CMS fails to properly mark reference objects
...
Enabled reference processing when work stealing during concurrent marking
Reviewed-by: jmasa, brutisso
2011-11-28 10:19:26 +01:00
John Cuthbertson
a71320f229
7114095: G1: assert(obj == oopDesc::load_decode_heap_oop(p)) failed: p should still be pointing to obj
...
As a result of the changes for 4965777, the G1 reference field scanning closure could be applied to the discovered field of a reference object twice. The failing assert is too strong if the result of the first application of the closure is stolen, and the referenced object, evacuated by another worker thread.
Reviewed-by: ysr, tonyp
2011-12-02 12:39:23 -08:00
Jon Masamitsu
71ed60ac69
7112997: Remove obsolete code ResetObjectsClosure and VerifyUpdateClosure
...
Remove obsolete code.
Reviewed-by: brutisso, ysr, jcoomes
2011-11-22 14:59:34 -08:00
Jon Masamitsu
404bb0d0ac
7106024: CMS: Removed unused code for precleaning in remark phase
...
Remove dead code.
Reviewed-by: stefank, ysr
2011-11-22 14:18:39 -08:00
Roland Westrelin
07d9df5a7f
7090968: Allow adlc register class to depend on runtime conditions
...
Allow reg_class definition as a function.
Reviewed-by: kvn, never
2011-11-22 09:45:57 +01: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
John Cuthbertson
861168c82e
7114303: G1: assert(_g1->mark_in_progress()) failed: shouldn't be here otherwise
...
Race between the VM thread reading G1CollectedHeap::_mark_in_progress and it being set by the concurrent mark thread when concurrent marking is aborted by a full GC. Have the concurrent mark thread join the SuspendibleThreadSet before changing the marking state.
Reviewed-by: tonyp, brutisso
2011-11-28 09:49:05 -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
Poonam Bajaj
9b428e449c
7110428: Crash during HeapDump operation
...
Reviewed-by: ysr, dholmes
2011-11-16 16:27:29 -08: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
Coleen Phillimore
0eb37550d3
Merge
2011-11-15 12:40:55 -05:00
Christian Thalinger
3de3451b3a
Merge
2011-11-10 04:46:08 -08:00
David Holmes
ae1d532799
7108264: Fix for 7104173 is insufficient
...
Disable PrintVMOptions by default for all builds
Reviewed-by: dsamersoff, twisti
2011-11-10 06:23:48 -05:00
Bengt Rutisson
911637a272
7110190: GCCause::to_string missing case for _adaptive_size_policy
...
Added case for _adaptive_size_policy
Reviewed-by: johnc, ysr
2011-11-09 23:21:00 +01:00
Vladimir Kozlov
09b7902e14
7107042: assert(no_dead_loop) failed: dead loop detected
...
Use dead nodes elimination code in PhaseIdealLoop before executing EA.
Reviewed-by: never, twisti
2011-11-09 07:25:51 -08:00
Vladimir Kozlov
dc1f4fe50e
7109887: java/util/Arrays/CopyMethods.java fails with -XX:+DeoptimizeALot
...
Zero array when compiled code is deoptimized.
Reviewed-by: never, twisti
2011-11-09 06:14:32 -08:00
Christian Thalinger
423972a7d8
7087727: JSR 292: C2 crash if ScavengeRootsInCode=2 when "static final" MethodHandle constants are in use
...
Reviewed-by: jrose, kvn, never
2011-11-09 00:42:33 -08:00
Tom Rodriguez
087c7441f7
7105305: assert check_method_context proper context
...
Reviewed-by: jrose, kvn
2011-11-08 17:29:57 -08:00
Tom Rodriguez
051c64ad4d
7104960: JSR 292: +VerifyMethodHandles in product JVM can overflow buffer
...
Reviewed-by: kvn, jrose, twisti
2011-11-08 10:31:53 -08:00