David Katleman
f03bd3541a
Added tag jdk8-b20 for changeset a0bd97631679
2012-01-05 08:42:29 -08:00
Frederic Parain
1de4ad84a2
7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
...
Reviewed-by: sspitsyn, dcubed, mchung, dholmes
2012-01-05 07:26:44 -08:00
Daniel D. Daugherty
743a35d2dc
7127032: fix for 7122253 adds a JvmtiThreadState earlier than necessary
...
Use JavaThread::jvmti_thread_state() instead of JvmtiThreadState::state_for().
Reviewed-by: coleenp, poonam, acorn
2012-01-05 06:24:52 -08:00
Jiangli Zhou
e6157688b4
Merge
2012-01-04 12:36:07 -05:00
Jon Masamitsu
95b987c3ac
Merge
2012-01-04 07:56:13 -08:00
Erik Gahlin
5782866b28
7126185: Clean up lasterror handling, add os::get_last_error()
...
Add os::get_last_error(), replace getLastErrorString() by os::lasterror() in os_windows.cpp.
Reviewed-by: kamg, dholmes
2012-01-03 15:11:31 -05:00
Jon Masamitsu
d07885c3c6
Merge
2012-01-03 10:22:19 -08:00
Stefan Karlsson
e0ae7fac7c
7125503: Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1
...
Used uintptr_t and void* for all the casts and checks in test_is_in.
Reviewed-by: tonyp, jmasa
2012-01-02 10:01:46 +01:00
Karen Kinnear
c323bcdca8
7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
...
Add rdtsc detection and inline generation.
Reviewed-by: kamg, dholmes
2012-01-01 11:17:59 -05:00
Vladimir Kozlov
05ec1c0816
7125879: assert(proj != NULL) failed: must be found
...
Leave i_o attached to slow allocation call when there are no i_o users after the call.
Reviewed-by: iveresov, twisti
2011-12-30 11:43:06 -08:00
Vladimir Danushevsky
8a8eafcc47
Merge
2011-12-29 20:09:24 -05:00
David Katleman
9fc4c79d3f
Added tag jdk8-b19 for changeset a8d0b94dcf7c
2011-12-29 15:14:33 -08:00
Vladimir Kozlov
b6828ac542
Merge
2011-12-29 11:37:50 -08:00
Stefan Karlsson
24e4bf6a80
7125516: G1: ~ConcurrentMark() frees incorrectly
...
Replaced the code with a ShouldNotReachHere
Reviewed-by: tonyp, jmasa
2011-12-29 07:37:23 +01: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
Aleksey Ignatenko
c7ec06ba8e
7124829: NUMA: memory leak on Linux with large pages
...
In os::free_memory() use mmap with the same attributes as for the heap space
Reviewed-by: kvn
2011-12-27 16:43:49 -08:00
Vladimir Kozlov
f96f3e5e85
7123954: Some CTW test crash with SIGSEGV
...
Correct Allocate expansion code to preserve i_o when only slow call is generated.
Reviewed-by: iveresov
2011-12-27 15:08:43 -08:00
Jon Masamitsu
3c164a7525
Merge
2011-12-27 12:38:49 -08:00
Vladimir Danushevsky
2b6f4a741d
Merge
2011-12-26 20:36:01 -05:00
Alejandro Murillo
059e06b49f
7123810: new hotspot build - hs23-b10
...
Reviewed-by: jcoomes
2011-12-23 15:29:34 -08:00
Alejandro Murillo
b928899267
Added tag hs23-b09 for changeset 1020a9a071b7
2011-12-23 15:24:44 -08:00
Alejandro Murillo
e1c4fbda9a
Merge
2011-12-23 15:24:43 -08:00
Vladimir Kozlov
6c38bc48ca
7110832: ctw/.../org_apache_avalon_composition_util_StringHelper crashes the VM
...
Distance is too large for one short branch in string_indexofC8().
Reviewed-by: iveresov
2011-12-23 15:24:36 -08:00
John Cuthbertson
39d61f89a2
7121496: G1: do the per-region evacuation failure handling work in parallel
...
Parallelize the removal of self forwarding pointers etc. by wrapping in a HeapRegion closure, which is then wrapped inside an AbstractGangTask.
Reviewed-by: tonyp, iveresov
2011-12-23 11:14:18 -08:00
Jon Masamitsu
c18293c806
Merge
2012-01-05 21:21:55 -08:00
Antonios Printezis
3c0eb44a7c
7113006: G1: excessive ergo output when an evac failure happens
...
Introduce a flag that is set when a heap expansion attempt during a GC fails so that we do not consantly attempt to expand the heap when it's going to fail anyway. This not only prevents the excessive ergo output (which is generated when a region allocation fails) but also avoids excessive and ultimately unsuccessful expansion attempts.
Reviewed-by: jmasa, johnc
2012-01-05 05:54:01 -05:00
Roland Westrelin
59b883333b
7123253: C1: in store check code, usage of registers may be incorrect
...
Fix usage of input register in assembly code for store check.
Reviewed-by: never
2011-12-23 09:36:23 +01:00
Christine Lu
80a5e57301
Added tag jdk8-b18 for changeset c1d8be9305ad
2011-12-22 19:00:20 -08:00
Daniel D. Daugherty
c210a09fdf
7122253: Instrumentation.retransformClasses() leaks class bytes
...
Change ClassFileParser::parseClassFile() to use the instanceKlass:_cached_class_file_bytes field to avoid leaking the cache.
Reviewed-by: coleenp, acorn, poonam
2011-12-22 12:50:42 -08:00
Vladimir Danushevsky
6446da199d
Merge
2011-12-22 12:01:46 -05:00
Roland Westrelin
c10042bc68
7123108: C1: assert(if_state != NULL) failed: states do not match up
...
In CEE, ensure if and common successor state are at the same inline level
Reviewed-by: never
2011-12-22 10:55:53 +01:00
Coleen Phillimore
5232221c68
Merge
2011-12-21 18:22:14 -08:00
Thomas Wuerthinger
a4f6289b4f
7064927: retransformClasses() does not pass in LocalVariableTable of a method
...
Handle LVT attribute in the class file reconstitutor.
Reviewed-by: phh, coleenp
2011-12-21 16:41:15 -05:00
Bengt Rutisson
056282a67b
7113021: G1: automatically enable young gen size auto-tuning when -Xms==-Xmx
...
Use a percentage of -Xms as min and another percentage of -Xmx as max for the young gen size
Reviewed-by: tonyp, johnc
2011-12-21 22:13:31 +01:00
Erik Gahlin
5657eb0c6c
7091417: recvfrom's 6th input should be of type socklen_t
...
Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, dholmes
2011-12-21 15:48:16 -05:00
Jon Masamitsu
a9c2b784c2
Merge
2011-12-20 12:27:31 -08:00
Roland Westrelin
97439fb4ff
7121140: Allocation paths require explicit memory synchronization operations for RMO systems
...
Adds store store barrier after initialization of header and body of objects.
Reviewed-by: never, kvn
2011-12-20 16:56:50 +01:00
Bertrand Delsart
82a0e26723
7116216: StackOverflow GC crash
...
GC crash for explicit stack overflow checks after a C2I transition.
Co-authored-by: Yang Wang <yang02.wang@sap.com>
Reviewed-by: coleenp, never
2011-12-20 12:33:05 +01:00
Paul Hohensee
577403d2ca
Merge
2011-12-19 21:38:51 -08:00
Paul Hohensee
2c192911dd
7122880: Extend vendor-specific command interface to include manageable switches
...
Add Flag::external_ext()/writable_ext(), both return false.
Reviewed-by: coleenp, zgu
2011-12-19 15:50:47 -05:00
Volker Simonis
f49894d78c
7122939: TraceBytecodes broken with UseCompressedOops
...
Disable verify_heapbase on sparc if TraceBytecodes because the latter uses r12 as a temp register
Reviewed-by: coleenp, phh
2011-12-19 15:34:09 -05:00
John Cuthbertson
870bea622a
7117303: VM uses non-monotonic time source and complains that it is non-monotonic
...
Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.
Reviewed-by: dholmes, ysr
2011-12-19 10:02:05 -08:00
Jiangli Zhou
6e894d5474
Merge
2011-12-16 17:33:08 -05:00
Alejandro Murillo
106a949bb5
7122001: new hotspot build - hs23-b09
...
Reviewed-by: jcoomes
2011-12-16 12:46:17 -08:00
Alejandro Murillo
8fa69349e2
Added tag hs23-b08 for changeset 40104529a61f
2011-12-16 12:37:38 -08:00
Alejandro Murillo
9102dfec84
Merge
2011-12-16 12:38:00 -08:00
John Cuthbertson
2768349b41
7120038: G1: ParallelGCThreads==0 is broken
...
Running G1 with ParallelGCThreads==0 results in various crashes and asserts. Most of these are caused by unguarded references to the worker threads array or an incorrect number of active workers.
Reviewed-by: jmasa, tonyp
2011-12-16 11:40:00 -08:00
Antonios Printezis
8b05b38909
7113012: G1: rename not-fully-young GCs as "mixed"
...
Renamed partially-young GCs as mixed and fully-young GCs as young. Change all external output that includes those terms (GC log and GC ergo log) as well as any comments, fields, methods, etc. The changeset also includes very minor code tidying up (added some curly brackets).
Reviewed-by: johnc, brutisso
2011-12-16 02:14:27 -05:00
David Katleman
9bfccebaa3
Merge
2011-12-15 15:52:58 -08:00
David Katleman
53b8114278
Added tag jdk8-b16 for changeset 161820e6113e
2011-12-15 15:47:18 -08:00
David Katleman
02818b03d5
Added tag jdk8-b17 for changeset 161820e6113e
2011-12-15 12:16:15 -08:00
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
Daniel D. Daugherty
66ebef88a0
Merge
2011-12-06 05:28:17 -08:00
Daniel D. Daugherty
8e680b0d66
7117748: SA_APPLE_BOOT_JAVA and ALWAYS_PASS_TEST_GAMMA settings should not be required on MacOS X
...
Replace SA_APPLE_BOOT_JAVA with logic that checks the boot JDK for the location of JDI classes. ALWAYS_PASS_TEST_GAMMA is true by default on Darwin.
Reviewed-by: kvn, swingler
2011-12-05 14:55:16 -08: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
John Coomes
8efc0954af
7117536: new hotspot build - hs23-b08
...
Reviewed-by: johnc
2011-12-02 21:10:45 -08:00
John Coomes
958027e9e5
Added tag hs23-b07 for changeset 3ba6557b91f7
2011-12-02 15:11:40 -08:00
John Coomes
33078ffeba
Merge
2011-12-02 15:11:18 -08:00
Antonios Printezis
dc409847c8
Merge
2011-12-02 08:52:53 -05:00
Coleen Phillimore
61c91a521d
Merge
2011-12-01 13:42:41 -05:00
David Katleman
69c6b12309
Added tag jdk8-b15 for changeset 2e0d0fb7ccc8
2011-12-01 10:33:15 -08:00
Igor Veresov
e60b163500
7116795: Tiered: enable by default for server
...
Enable tiered compilation on server VM by default
Reviewed-by: kvn, never
2011-11-30 17:35:51 -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
Michael McMahon
31933d1f8f
7116189: Export JVM_SetNativeThreadName from Hotspot
...
Added JVM_SetNativeThreadName to linker mapfiles on Solaris and Linux.
Reviewed-by: dcubed, dholmes
2011-11-29 09:21:02 -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
78d7be03bf
7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
...
Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.
Reviewed-by: dholmes, brutisso
2011-11-28 14:58:31 +01: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
Antonios Printezis
a551d5bf05
Merge
2011-12-05 12:26:40 -05: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
Coleen Phillimore
800499ac95
Merge
2011-11-21 10:22:04 -05:00
Rickard Backman
069f218a98
7112308: Fix Visual Studio build for precompiled header
...
Add the new path to precompiled.hpp in the project make file
Reviewed-by: coleenp, dholmes, brutisso
2011-11-21 08:02:40 +01:00
Alejandro Murillo
e53317616f
7113503: Bump the hs23 build number to 07
...
Reviewed-by: johnc
2011-11-18 17:39:40 -08:00
John Coomes
b9ff98b776
Added tag hs23-b06 for changeset 6b882ec466cd
2011-11-18 15:15:54 -08:00
John Coomes
df1266ed6e
Merge
2011-11-18 15:15:13 -08:00
Coleen Phillimore
4f63d5b7d5
Merge
2011-11-18 17:26:49 -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
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
David Katleman
32a189c4f9
Added tag jdk8-b14 for changeset a4a9e5c60f0a
2011-11-17 10:45:53 -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
Chris Hegarty
9a65ac929d
7110017: is_headless_jre should be updated to reflect the new location of awt toolkit libraries
...
Reviewed-by: dholmes, dsamersoff
2011-11-16 20:38:24 -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
David Katleman
6e1ccb9a07
Added tag jdk8-b13 for changeset 660da5b5870e
2011-11-10 11:46:05 -08: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
89ccd723ce
7108242: jinfo -permstat shouldn't report interned strings as part of perm
...
Reviewed-by: kvn, twisti
2011-11-08 20:42:26 -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
Antonios Printezis
44b419af51
7099849: G1: include heap region information in hs_err files
...
Reviewed-by: johnc, brutisso, poonam
2011-11-08 00:41:28 -05:00
Antonios Printezis
83958f54fb
7092309: G1: introduce old region set
...
Keep track of all the old regions in the heap with a heap region set.
Reviewed-by: brutisso, johnc
2011-11-07 22:11:12 -05:00
Vladimir Kozlov
0bc2963b7d
7059047: EA: can't find initializing store with several CheckCastPP
...
Split adjust_escape_state() method into two methods to find initializing stores.
Reviewed-by: never
2011-11-07 14:33:57 -08:00
Alejandro Murillo
9d6d4e292b
7108553: Bump the hs23 build number to 06
...
Reviewed-by: johnc
2011-11-04 14:06:09 -07:00
Andreas Schoesser
93fbade63d
6636110: unaligned stackpointer leads to crash during deoptimization
...
Reviewed-by: never, kvn
2011-11-04 13:55:31 -07:00
John Coomes
232b9d793f
Added tag hs23-b05 for changeset 38f5bbc6cd8d
2011-11-04 12:43:41 -07:00
John Coomes
9aca39d006
Merge
2011-11-04 12:40:55 -07:00
David Katleman
169afafaf7
Added tag jdk8-b12 for changeset dbb81ca736fc
2011-11-03 10:32:16 -07:00
Christian Thalinger
9740abac58
7106944: assert(_pc == *pc_addr) failed may be too strong
...
Reviewed-by: kvn, never
2011-11-03 04:12:49 -07:00
Christian Thalinger
5a4de97cf0
7106774: JSR 292: nightly test inlineMHTarget fails with wrong result
...
Reviewed-by: kvn
2011-11-03 01:43:26 -07:00
Bengt Rutisson
b47310ebf8
7106751: G1: gc/gctests/nativeGC03 crashes VM with SIGSEGV
...
_cset_rs_update_cl[] was indexed with values beyond what it is set up to handle.
Reviewed-by: ysr, jmasa, johnc
2011-11-02 08:04:23 +01:00
Rickard Backman
2c5cec930a
7106766: Move the precompiled header from the src/share/vm directory
...
Moved precompiled.hpp to src/share/vm/precompiled
Reviewed-by: coleenp, dholmes
2011-11-01 13:44:40 +01:00
Vladimir Kozlov
b354aa367c
7106907: 64 bit VM fails test compiler/6865265/StackOverflowBug.java
...
Use -Xss224k instead of -Xss128k.
Reviewed-by: never
2011-10-31 15:52:11 -07:00
Christian Thalinger
5ffce97ffc
7104561: UseRDPCForConstantTableBase doesn't work after shorten branches changes
...
Reviewed-by: never, kvn
2011-10-31 03:06:42 -07: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
David Holmes
75883dceb1
Merge
2011-10-30 18:40:48 -07:00
Alejandro Murillo
84066778b8
7106092: Bump the hs23 build number to 05
...
Reviewed-by: johnc
2011-10-28 18:30:47 -07:00
John Coomes
d61593bed3
Added tag hs23-b04 for changeset 721977078d6e
2011-10-28 15:41:29 -07:00
John Coomes
42c5e60cdc
Merge
2011-10-28 15:36:16 -07:00
Tom Rodriguez
6bcf877494
7103261: crash with jittester on sparc
...
Reviewed-by: iveresov, kvn
2011-10-28 14:44:52 -07:00
Antonios Printezis
3da2f5af5d
Merge
2011-10-28 13:04:10 -04:00
Antonios Printezis
c9d91bd0a8
Merge
2011-10-28 12:49:16 -04:00
Vladimir Kozlov
762ad9c51c
7105611: Set::print() is broken
...
Reimplemented class VSetI_ to restore Set::print().
Reviewed-by: never
2011-10-27 18:20:50 -07:00
David Holmes
ad3a8d2791
7104173: sun/tools tests fail with debug build after 7012206
...
Disable PrintVMOptions in embedded debug builds so tests are unaffected by extra output
Reviewed-by: twisti, coleenp, phh, fparain, dsamersoff
2011-10-27 18:04:25 -04:00
Igor Veresov
5a2f55d0e0
7104177: Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
...
Initialize printable_bci of instruction when passed to Canonicalizer
Reviewed-by: kvn, never
2011-10-27 14:40:25 -07:00
David Katleman
d471bfae9b
Added tag jdk8-b11 for changeset 719fbe1902a0
2011-10-27 13:54:31 -07:00
Vladimir Kozlov
a6318f2dcd
7105364: JDK8 b10 hotspot: src/share/vm/ci/ciMethodHandle.cpp Error: Use "." or "->"
...
Define ciMethodHandle::print_chain_impl() and ciMethodHandle::print_chain() bodies only in debug builds.
Reviewed-by: never, twisti
2011-10-27 09:39:24 -07:00
Christian Thalinger
6d1f314a4b
7102657: JSR 292: C1 deoptimizes unlinked invokedynamic call sites infinitely
...
Reviewed-by: never, bdelsart
2011-10-27 04:43:37 -07:00
Y. Srinivas Ramakrishna
f5af1323da
7105163: CMS: some mentions of MinChunkSize should be IndexSetStart
...
Fixed the instances that were missed in the changeset for 7099817.
Reviewed-by: stefank
2011-10-26 21:07:52 -07:00
Vladimir Kozlov
669fa7396d
7097546: Optimize use of CMOVE instructions
...
Avoid CMove in a loop if possible. May generate CMove if it could be moved outside a loop.
Reviewed-by: never
2011-10-26 06:08:56 -07:00
Bengt Rutisson
868cfdb5f4
7102191: G1: assert(_min_desired_young_length <= initial_region_num) failed: Initial young gen size too small
...
Initial_region_num actually not needed.
Reviewed-by: tonyp, johnc
2011-10-26 08:44:53 +02:00
Y. Srinivas Ramakrishna
9181202876
7099817: CMS: +FLSVerifyLists +FLSVerifyIndexTable asserts: odd slot non-empty, chunk not on free list
...
Suitably weaken asserts that were in each case a tad too strong; fix up some loose uses of parameters in code related to size-indexed free list table.
Reviewed-by: jmasa, brutisso, stefank
2011-10-25 20:15:41 -07:00
Vladimir Kozlov
952f0b9b81
7059039: EA: don't change non-escaping state of NULL pointer
...
NULL pointers do not escape but escape state propagation may change it leading to worser results.
Reviewed-by: never
2011-10-25 12:51:13 -07:00
Omair Majid
160ad3376d
7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc
...
Reviewed-by: never
2011-10-25 08:17:15 -07:00
Christian Thalinger
3336939f08
7101642: JSR 292: SIGSEGV in java.lang.invoke.MethodHandleImpl$FieldAccessor.getFieldI(Ljava/lang/Object;)I
...
Reviewed-by: kvn, iveresov
2011-10-25 04:07:20 -07:00
Christian Thalinger
249b9c657d
7094138: JSR 292: JRuby junit test fails in CallSite.setTargetNormal: obj->is_oop() failed: sanity check
...
Reviewed-by: iveresov, never
2011-10-25 00:55:10 -07:00
Christian Thalinger
ae64d0bc30
7090904: JSR 292: JRuby junit test crashes in PSScavengeRootsClosure::do_oop
...
Reviewed-by: kvn, never, jrose
2011-10-24 07:53:17 -07:00
Tom Rodriguez
b030a36386
Merge
2011-10-23 23:57:39 -07:00
John Cuthbertson
72c2cfef4f
7096030: G1: PrintGCDetails enhancements
...
7102445: G1: Unnecessary Resource allocations during RSet scanning
Add a new per-worker thread line in the PrintGCDetails output. GC Worker Other is the difference between the elapsed time for the parallel phase of the evacuation pause and the sum of the times of the sub-phases (external root scanning, mark stack scanning, RSet updating, RSet scanning, object copying, and termination) for that worker. During RSet scanning, stack allocate DirtyCardToOopClosure objects; allocating these in a resource area was causing abnormally high GC Worker Other times while the worker thread freed ResourceArea chunks.
Reviewed-by: tonyp, jwilhelm, brutisso
2011-10-23 23:06:06 -07:00
Tom Rodriguez
5dc4f00ff5
7103784: enable some flags by default
...
Reviewed-by: kvn
2011-10-23 20:23:14 -07:00
Tom Rodriguez
8b1bd284bc
7103380: assertion failure with -XX:+PrintNativeNMethods
...
Reviewed-by: kvn, iveresov
2011-10-23 12:31:20 -07:00
Alejandro Murillo
1c38082fcc
7103619: Bump the hs23 build number to 04
...
Reviewed-by: johnc
2011-10-21 16:00:50 -07:00
John Coomes
3ff8da7657
Added tag hs23-b03 for changeset 0e5b229f9d70
2011-10-21 10:27:33 -07:00
John Coomes
6abc189f69
Merge
2011-10-21 10:27:32 -07:00
Antonios Printezis
01ba4cd795
Merge
2011-10-21 07:24:06 -04:00
Igor Veresov
e9bfe21bdf
Merge
2011-10-21 00:58:30 -07:00
John Cuthbertson
c8143a724e
7099824: G1: we should take the pending list lock before doing the remark pause
...
Acquire the pending list lock in the prologue method of G1's concurrent VM_Operation and release the lock in the epilogue() method. The locking/unlocking order of the pending list lock and the Heap_lock should match that in the prologue and epilogue methods of VM_GC_Operation.
Reviewed-by: tonyp, ysr
2011-10-20 12:06:20 -07:00
Antonios Printezis
0615005089
Merge
2011-10-21 12:42:42 -04:00
David Katleman
620632fa7b
Added tag jdk8-b10 for changeset 2e5282ba5c7c
2011-10-20 10:32:37 -07:00
Bengt Rutisson
8fb3eec82e
7097516: G1: assert(0<= from_card && from_card<HeapRegion::CardsPerRegion) failed: Must be in range
...
Introduced a version of is_in_reserved() that looks at _orig_end as opposed to _end.
Reviewed-by: tonyp, stefank
2011-10-20 10:21:35 +02:00
Axel Siebenborn
96500c22d7
7100935: win32: memmove is not atomic but is used for pd_conjoint_*_atomic operations
...
Replace the call to memmove by a simple copy loop
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: dholmes, kvn, never
2011-10-19 10:52:30 -07:00
Tom Rodriguez
bf203dac41
7098528: crash with java -XX:+ExtendedDTraceProbes
...
Reviewed-by: kvn
2011-10-17 21:38:29 -07:00
Tom Rodriguez
7749aaf387
7093690: JSR292: SA-JDI AssertionFailure: Expected raw sp likely got real sp, value was
...
Reviewed-by: kvn, twisti
2011-10-17 11:00:41 -07:00
John Cuthbertson
cab4072f8d
7095243: Disambiguate ReferenceProcessor::_discoveredSoftRefs
...
Add a new, separate, pointer to the base of the array of discovered reference lists and use this new pointer in places where we iterate over the entire array.
Reviewed-by: ysr, brutisso
2011-10-17 09:57:41 -07:00
David Holmes
c45d65f8eb
Merge
2011-10-17 01:40:27 -04:00
Igor Veresov
fafabe6da0
Merge
2011-10-16 02:59:24 -07:00
Alejandro Murillo
c9021fc009
7101096: Bump the hs23 build number to 03
...
Reviewed-by: johnc
2011-10-14 21:45:37 -07:00
John Coomes
02c6e31091
Added tag hs23-b02 for changeset e597a451dc88
2011-10-14 18:21:47 -07:00
John Coomes
56eac0155c
Merge
2011-10-14 18:17:01 -07:00
Vladimir Kozlov
2407655ab1
7100757: The BitSet.nextSetBit() produces incorrect result in 32bit VM on Sparc
...
Instruction countTrailingZerosL() should use iRegIsafe dst register since it is used in long arithmetic.
Reviewed-by: never, twisti
2011-10-14 10:07:28 -07:00
Antonios Printezis
81bdd2ccc6
7088680: G1: Cleanup in the G1CollectorPolicy class
...
Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class.
Reviewed-by: ysr, brutisso, jcoomes
2011-10-14 11:12:24 -04:00
Tom Rodriguez
a8a4b778ca
7100165: JSR 292: leftover printing code in methodHandleWalk.cpp
...
Reviewed-by: kvn, twisti
2011-10-13 14:08:15 -07:00
Antonios Printezis
d1c6787aa1
7098085: G1: partially-young GCs not initiated under certain circumstances
...
Reviewed-by: ysr, brutisso
2011-10-13 13:54:29 -04:00
David Katleman
5219fbb397
Added tag jdk8-b09 for changeset fad441085165
2011-10-13 10:35:32 -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
Christian Thalinger
02db22f7e7
7092712: JSR 292: unloaded invokedynamic call sites can lead to a crash with signature types not on BCP
...
Reviewed-by: jrose, never
2011-10-12 21:00:13 -07:00
John Cuthbertson
4738ed88a5
7098282: G1: assert(interval >= 0) failed: Sanity check, referencePolicy.cpp: 76
...
There is a race between one thread successfully forwarding and copying the klass mirror for the SoftReference class (including the static master clock) and another thread attempting to use the master clock while attempting to discover a soft reference object. Maintain a shadow copy of the soft reference master clock and use the shadow during reference discovery and reference processing.
Reviewed-by: tonyp, brutisso, ysr
2011-10-12 10:25:51 -07:00
Christian Thalinger
de00cc778c
7081938: JSR292: assert(magic_number_2() == MAGIC_NUMBER_2) failed
...
Reviewed-by: never, bdelsart
2011-10-11 02:19:37 -07:00
Bengt Rutisson
7fa7f8a597
7099454: /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script
...
Also reviewed by mikael.gerdin@oracle.com ; Changed to the `` syntax instead. Also changed "source" to ".".
Reviewed-by: never, stefank, dsamersoff, rottenha
2011-10-11 10:21:36 +02:00
David Holmes
e9b8f2bab4
7096278: Update the VM name to indicate it is an embedded build
...
Reviewed-by: kvn, never, jcoomes, bobv
2011-10-10 21:01:36 -04:00
Y. Srinivas Ramakrishna
8fbb0e0f4a
Merge
2011-10-10 08:40:34 -07:00
Bertrand Delsart
fa43b0cdd8
7096366: PPC: corruption of floating-point values with DeoptimizeALot
...
Fix for a deoptimization found on PPC, which could impact other big endian platforms
Reviewed-by: roland, dholmes
2011-10-07 13:28:44 +02:00
Y. Srinivas Ramakrishna
a7dc867057
7095236: G1: _markedRegions never contains NULL regions
...
Removed the code for skipping over NULL regions in _markedRegions, replacing it with an assertion that a NULL region is never encountered; removed dead methods, remove() and remove_region(), and inlined a simplified addRegion() directly into fillCache().
Reviewed-by: brutisso, tonyp
2011-10-06 18:56:47 -07:00
David Katleman
bc8656528c
Added tag jdk8-b08 for changeset 410b29777a51
2011-10-06 14:01:26 -07:00
Antonios Printezis
78662d3b17
Merge
2011-10-06 13:28:09 -04:00
John Cuthbertson
6513930e7a
7095194: G1: HeapRegion::GrainBytes, GrainWords, and CardsPerRegion should be size_t
...
Declare GrainBytes, GrainWords, and CardsPerRegion as size_t.
Reviewed-by: jcoomes, tonyp, jmasa
2011-10-05 08:44:10 -07:00
Volker Simonis
e3c38523b2
6865265: JVM crashes with "missing exception handler" error
...
Retry the call to fast_exception_handler_bci_for() after it returned with a pending exception. Don't cache the exception handler pc computed by compute_compiled_exc_handler() if the handler is for another (nested) exception.
Reviewed-by: kamg, kvn
2011-10-04 14:30:04 -07:00
Igor Veresov
a4975758bb
7097679: Tiered: events with bad bci to Gotos reduced from Ifs
...
Save bci of instruction that produced Goto and use it to call back to runtime
Reviewed-by: kvn, never
2011-10-04 10:07:07 -07:00
Alejandro Murillo
91823a458f
7096124: Bump the hs23 build number to 02
...
Reviewed-by: johnc
2011-09-30 22:54:43 -07:00
John Coomes
b731247c38
Added tag hs23-b01 for changeset cca3c612bd14
2011-09-30 18:27:43 -07:00
John Coomes
ef5fc6d83d
Merge
2011-09-30 18:27:39 -07:00
Igor Veresov
7f01a4d4f5
Merge
2011-09-30 13:48:17 -07:00
Roland Westrelin
8ae50d45a4
7096010: c2: running with +PrintOptoAssembly crashes the VM when $constanttablebase is used
...
ADLC generates code to prepare the register string to be printed in a char array but then calls print without the char array as an argument.
Reviewed-by: never
2011-09-30 13:47:26 +02:00
Igor Veresov
0219cf5423
7096639: Tiered: Incorrect counter overflow handling for inlined methods
...
Enable invocation events for inlinees
Reviewed-by: kvn
2011-09-29 23:09:54 -07:00
David Katleman
f5d9fec70d
Added tag jdk8-b07 for changeset 3793fe38dc85
2011-09-29 18:53:42 -07:00
Volker Simonis
812f619214
7096016: SA build still produces "arg list too long" errors
...
Reviewed-by: kvn, never
2011-09-29 13:47:57 -07:00
Tom Rodriguez
f103a0e31f
7092278: "jmap -finalizerinfo" throws "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 0 137"
...
Reviewed-by: kvn
2011-09-29 09:53:56 -07:00
Bengt Rutisson
cfe349b1e0
7005808: G1: re-enable ReduceInitialCardMarks for G1
...
Remove the extra guard to allow G1 to use ReduceInitialCardMarks
Reviewed-by: jmasa, tonyp, johnc, ysr
2011-09-28 08:21:30 +02: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
David Katleman
9ebcc8e000
Added tag jdk8-b06 for changeset d062411f33d7
2011-09-22 16:01:59 -07:00
Kevin Walls
f4e1298403
7051189: Need to suppress info message if -xcheck:jni used with libjsig.so
...
Reviewed-by: coleenp, minqi
2011-09-22 16:48:41 +01:00
Tom Rodriguez
52f0eccb24
7092236: java/util/EnumSet/EnumSetBash.java fails
...
Reviewed-by: kvn, twisti, jrose
2011-09-20 23:50:16 -07:00
Vladimir Kozlov
a46128d0dd
7081842: assert(Compile::current()->unique() < (uint)MaxNodeLimit) failed: Node limit exceeded
...
Add missing node limit check in IGVN optimizer
Reviewed-by: iveresov, never
2011-09-20 08:39:40 -07:00
Igor Veresov
9661feecbc
7091764: Tiered: enable aastore profiling
...
Turn on aastore profiling
Reviewed-by: jrose, twisti
2011-09-19 15:21:03 -07:00
Daniel D. Daugherty
55bfd400ca
Merge
2011-09-19 12:18:46 -07:00
John Coomes
e3faa527bd
7091545: hs23 - set hotspot version & build number
...
Reviewed-by: tonyp, never, phh, jmasa
2011-09-16 21:35:06 -07:00
Daniel D. Daugherty
d381d4b0b4
7071904: 4/4 HotSpot: Full Debug Symbols
...
Add support for .debuginfo files for HSX libraries.
Reviewed-by: poonam, dholmes, never
2011-09-16 16:21:20 -07:00
John Coomes
854ad24077
Added tag hs22-b06 for changeset 9de632dc424b
2011-09-15 20:56:24 -07:00
Alejandro Murillo
303c03e2ea
7091255: Bump the hs22 build number to 06
...
Reviewed-by: johnc
2011-09-15 20:56:24 -07:00
John Coomes
86b01d9960
7091294: disable quicksort tests
...
Reviewed-by: jmasa, ysr, kvn
2011-09-15 20:30:12 -07:00
John Coomes
db1c1037b5
Merge
2011-09-15 19:33:39 -07:00
Suchen Chien
c22ae1301d
Added tag jdk8-b05 for changeset 2cdf92088fc8
2011-09-15 18:53:14 -07:00
Igor Veresov
0e0ba86cd8
Merge
2011-09-15 12:44:09 -07:00
Tom Rodriguez
a300a41ea1
7090654: nightly failures after 7086585
...
Reviewed-by: kvn
2011-09-14 13:57:32 -07:00
Bertrand Delsart
bc855ff2e0
7077806: ARM: java.lang.InternalError: bound subword value does not fit into the subword type
...
Shared fix necessary for ARM/PPC
Reviewed-by: twisti, roland
2011-09-14 16:28:39 +02:00
Bertrand Delsart
fcc31d9741
7057978: improve robustness of c1 ARM back-end wrt non encodable constants
...
ARM only, avoid assertion failures for huge constants generated by C1 shared code
Reviewed-by: never, vladidan
2011-09-14 10:40:13 +02:00
Roland Westrelin
9d8e44db59
7077312: Provide a CALL effect for instruct declaration in the ad file
...
Abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers)
Reviewed-by: twisti, never
2011-09-14 09:22:51 +02:00
Christian Thalinger
89d4179a4b
7110058: change default for ScavengeRootsInCode to 2
...
Reviewed-by: kvn, never
2011-11-21 00:57:43 -08:00
Tom Rodriguez
4511ca18de
7110489: C1: 64-bit tiered with ForceUnreachable: assert(reachable(src)) failed: Address should be reachable
...
Reviewed-by: kvn, iveresov, twisti
2011-11-18 10:29:27 -08:00
Christian Thalinger
ed9a60ae02
7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
...
Reviewed-by: kvn, never
2011-11-17 04:07:30 -08:00
Igor Veresov
b6ce13798b
7112085: assert(fr.interpreter_frame_expression_stack_size()==0) failed: only handle empty stacks
...
Move the inlinee invoke notification callback into inlinee preamble
Reviewed-by: kvn, never
2011-11-16 19:42:58 -08:00
Vladimir Kozlov
8d2ee23293
6890673: Eliminate allocations immediately after EA
...
Try to eliminate allocations and related locks immediately after escape analysis.
Reviewed-by: never
2011-11-16 09:13:57 -08:00
Christian Thalinger
81c085a1e2
7003454: order constants in constant table by number of references in code
...
Reviewed-by: kvn, never, bdelsart
2011-11-16 01:39:50 -08:00
Vladimir Kozlov
6b52dbceb0
7105605: Use EA info to optimize pointers compare
...
Optimize pointers compare using EA information.
Reviewed-by: never, twisti
2011-11-14 18:38:03 -08:00
Vladimir Kozlov
157ba53d27
7110586: C2 generates incorrect results
...
Exact limit of empty loop calculated incorrectly.
Reviewed-by: iveresov, never
2011-11-10 20:17:05 -08: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
Igor Veresov
9b101c8ba6
7090069: Java launcher hangs in infinite loop on windows when UseNUMA[Interleaving] is specified
...
Fix _numa_used_node_list array size specification
Reviewed-by: kvn, johnc, jmasa, ysr
2011-09-13 16:58:35 -07:00
Vladimir Kozlov
e756c96259
7089632: assert(machtmp->outcnt() == 1) failed: expected for a MachTemp
...
Replace assert with check to delete MachTemp nodes only when they are really dead.
Reviewed-by: never
2011-09-13 11:46:51 -07:00
Antonios Printezis
7d850203b9
7089625: G1: policy for how many old regions to add to the CSet (when young gen is fixed) is broken
...
When refactoring the code for a previous fix, a condition was not correctly negated which prevents the G1 policy from adding the correct number of old regions to the CSet when the young gen size is fixed. The changeset also fixes a small syntactical issue in g1ErgoVerbose.hpp which is causing compiler warnings.
Reviewed-by: brutisso, ysr
2011-09-13 12:40:14 -04:00
Tom Rodriguez
1f8f1f79be
7089709: type "jushort" not found
...
Reviewed-by: kvn, twisti
2011-09-12 13:51:40 -07:00
Stefan Karlsson
a4523cfc7f
7021322: assert(object_end <= top()) failed: Object crosses promotion LAB boundary
...
Pass the same object size value to both allocate and unallocate_object
Reviewed-by: ysr, brutisso
2011-09-12 16:09:50 +02:00
Antonios Printezis
75685a273a
7097048: G1: extend the G1 SA changes to print per-heap space information
...
Reviewed-by: brutisso, johnc
2011-10-03 19:04:14 -04:00
John Cuthbertson
02e9894454
7097053: G1: assert(da ? referent->is_oop() : referent->is_oop_or_null()) failed: referenceProcessor.cpp:1054
...
During remembered set scanning, the reference processor could discover a reference object whose referent was in the process of being copied and so may not be completely initialized. Do not perform reference discovery during remembered set scanning.
Reviewed-by: tonyp, ysr
2011-10-03 12:49:53 -07:00
John Cuthbertson
bbfe9c6e25
7086533: G1: assert(!_g1->is_obj_dead(obj)): We should not be preserving dead objs: g1CollectedHeap.cpp:3835
...
Some objects may not be marked in the event of an evacuation failure in a partially young GC, during a marking cycle. Avoid this situation by not allowing partially young GCs during a marking cycle.
Reviewed-by: tonyp, ysr, brutisso
2011-09-28 10:36:31 -07:00
Bengt Rutisson
cc177fd515
7091366: re-enable quicksort tests
...
Added extern "C" to make it build with JDK6 compilers
Reviewed-by: jwilhelm, kvn
2011-09-26 10:14:30 +02:00
Antonios Printezis
55c503aea2
7075646: G1: fix inconsistencies in the monitoring data
...
Fixed a few inconsistencies in the monitoring data, in particular when reported from jstat.
Reviewed-by: jmasa, brutisso, johnc
2011-09-23 16:07:49 -04:00
John Cuthbertson
1b62d10b4b
6484982: G1: process references during evacuation pauses
...
G1 now uses two reference processors - one is used by concurrent marking and the other is used by STW GCs (both full and incremental evacuation pauses). In an evacuation pause, the reference processor is embedded into the closures used to scan objects. Doing so causes causes reference objects to be 'discovered' by the reference processor. At the end of the evacuation pause, these discovered reference objects are processed - preserving (and copying) referent objects (and their reachable graphs) as appropriate.
Reviewed-by: ysr, jwilhelm, brutisso, stefank, tonyp
2011-09-22 10:57:37 -07:00
Antonios Printezis
70bb8e788e
7092238: G1: Uninitialized field gc_efficiency in G1PrintRegionLivenessInfo output
...
Reviewed-by: jcoomes, johnc
2011-09-22 07:18:51 -04:00
John Cuthbertson
08bdb35a29
7092245: G1: Wrong format specifier in G1PrintRegionLivenessInfo header output
...
Cast HeapRegion::GrainBytes to size_t in output statement.
Reviewed-by: ysr, brutisso, pbk, tonyp
2011-09-21 15:24:07 -07:00
Antonios Printezis
0f7ff53cce
7091032: G1: assert failure when NewRatio is used
...
The desired min / max heap sizes are miscalculated at initialization when NewRatio is used. The changeset also includes an additional small change to turn a print statement into a warning.
Reviewed-by: johnc, jmasa, ysr, brutisso
2011-09-21 13:36:37 -04:00
John Cuthbertson
2f83b52706
7068215: G1: Print reference processing time during remark
...
Displays the elapsed time taken to perform reference processing during remark as part of the PrintGCDetails output.
Reviewed-by: ysr
2011-09-21 10:04:45 -07:00
Antonios Printezis
c5b2025c02
7045232: G1: pool names are inconsistent with other collectors (don't have 'Space')
...
Make sure the eden and survivor pools have "Space" in their name.
Reviewed-by: jmasa, ysr
2011-09-21 01:27:20 -04:00
John Cuthbertson
3ae9021b59
7092412: G1: Some roots not marked during an initial mark that gets an evacuation failure
...
As a result of the changes for 7080389, an evacuation failure during an initial mark pause may result in some root objects not being marked. Pass whether the caller is a root scanning closure into the evacuation failure handling code so that the thread that successfully forwards an object to itself also marks the object.
Reviewed-by: ysr, brutisso, tonyp
2011-09-20 15:39:17 -07:00
Antonios Printezis
95832db2e5
7059019: G1: add G1 support to the SA
...
Extend the SA to recognize the G1CollectedHeap and implement any code that's needed by our serviceability tools (jmap, jinfo, jstack, etc.) that depend on the SA.
Reviewed-by: never, poonam, johnc
2011-09-20 09:59:59 -04: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
Tom Rodriguez
1ebca30d26
7088020: SEGV in JNIHandleBlock::release_block
...
Reviewed-by: kvn, twisti
2011-09-10 00:11:04 -07:00
John Coomes
d6fd9c2339
Added tag hs22-b05 for changeset 2787676b53cf
2011-09-09 16:33:13 -07:00
Alejandro Murillo
8ad902f1ed
7088991: Bump ths hs22 build number to 05
...
Reviewed-by: johnc
2011-09-09 16:24:12 -07:00
John Coomes
8bc1babb6d
Merge
2011-09-09 16:17:16 -07:00
Vladimir Kozlov
92b2b44b18
7035946: Up to 15% regression on JDK 7 b136 vs b135 on specjvm2008.crypto.rsa on x64
...
Revert changes which caused regression.
Reviewed-by: never
2011-09-09 13:47:11 -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
Antonios Printezis
1a9d9b84f8
7087717: G1: make the G1PrintRegionLivenessInfo parameter diagnostic
...
Reviewed-by: brutisso, ysr
2011-09-09 05:20:58 -04:00
Suchen Chien
58c9fc4526
Added tag jdk8-b04 for changeset fed6cacab5cb
2011-09-08 16:59:27 -07:00
Bengt Rutisson
0be11c915c
6929868: G1: introduce min / max young gen size bounds
...
Make G1 handle young gen size command line flags more consistently
Reviewed-by: tonyp, jwilhelm
2011-09-08 16:29:41 +02:00
Robert Ottenhag
b62fb1de97
Merge
2011-09-08 06:36:31 -07:00
Antonios Printezis
d96de580b6
7084509: G1: fix inconsistencies and mistakes in the young list target length calculations
...
Fixed inconsistencies and mistakes in the young list target length calculations so that a) the calculated target length is optimal (before, it was not), b) other parameters like max survivor size and max gc locker eden expansion are always consistent with the calculated target length (before, they were not always), and c) the resulting target length was always bound by desired min and max values (before, it was not).
Reviewed-by: brutisso, johnc
2011-09-08 05:16:49 -04:00
Roland Westrelin
499732d316
7087453: PhaseChaitin::yank_if_dead() should handle MachTemp inputs
...
PhaseChaitin::yank_if_dead() should be able to handle MachTemp inputs as a special case and yank them.
Reviewed-by: never, kvn
2011-09-08 09:35:41 +02:00
Vladimir Kozlov
42c3c5cb7b
7087947: Add regression test for 7068051
...
Add regression test.
Reviewed-by: never
2011-09-08 12:44:04 -07: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
Bertrand Delsart
6141a568aa
7087445: Improve platform independence of JSR292 shared code
...
Changes necessary for some JSR292 ports
Reviewed-by: jrose, dholmes
2011-09-08 10:12:25 +02:00
Igor Veresov
1940a13d31
7086226: UseNUMA fails on old versions of windows
...
Return correct answers from os::numa_*() for UMA machines or if NUMA API is not supported
Reviewed-by: johnc
2011-09-07 18:58:33 -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
Y. Srinivas Ramakrishna
ec13301b32
Merge
2011-09-07 15:00:13 -07:00
Vladimir Kozlov
61068411fa
7054211: No loop unrolling done in jdk7b144 for a test update() while loop
...
Restore unrolling code for CaffeineMark.
Reviewed-by: never
2011-09-07 12:58:42 -07:00
Igor Veresov
315ec64dce
Merge
2011-09-07 11:52:00 -07:00
Antonios Printezis
24eb07061e
7050392: G1: Introduce flag to generate a log of the G1 ergonomic decisions
...
It introduces ergonomic decision logging in G1 for the following heuristics: heap sizing, collection set construction, concurrent cycle initiation, and partially-young GC start/end. The code has a bit of refactoring in a few places to make the decision logging possible. It also replaces alternative ad-hoc logging that we have under different parameters and switches (G1_DEBUG, G1PolicyVerbose).
Reviewed-by: johnc, ysr
2011-09-07 12:21:23 -04:00
Roland Westrelin
90844ca5dc
7085012: ARM: com/sun/jdi/PopSynchronousTest.java still fails
...
InterpreterRuntime::popframe_move_outgoing_args() is required for the ARM interpreter.
Reviewed-by: kvn, twisti
2011-09-07 14:15:07 +02:00
Roland Westrelin
48ecf5dfe4
7086394: c2/arm: enable UseFPUForSpilling
...
ARM has instructions to move data directly between the fpu and integer registers.
Reviewed-by: kvn, never
2011-09-07 09:35:52 +02:00
Igor Veresov
a9cd50a1c8
7087583: Hotspot fails to allocate heap with mmap(MAP_HUGETLB)
...
Try using small pages when transparent huge pages allocation fails
Reviewed-by: ysr
2011-09-06 21:03:51 -07:00
Tom Rodriguez
edb7b9514a
7051798: SA-JDI: NPE in Frame.addressOfStackSlot(Frame.java:244)
...
Reviewed-by: kvn
2011-09-05 17:09:05 -07:00
Vladimir Kozlov
dece7fbfec
7086560: 7085404 changes broke VM with -XX:-EnableInvokeDynamic
...
Add check that ciEnv::_CallSite_klass is initialized.
Reviewed-by: jrose
2011-09-03 14:03:54 -07:00
Tom Rodriguez
b13890a199
Merge
2011-09-03 09:56:57 -07:00
Tom Rodriguez
d4d5856fd4
7016881: JSR 292: JDI: sun.jvm.hotspot.utilities.AssertionFailure: index out of bounds
...
Reviewed-by: kvn, twisti
2011-09-02 22:00:49 -07:00
John Coomes
4a09997f51
Merge
2011-09-02 21:33:57 -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
John Coomes
c8c58542b3
Added tag hs22-b04 for changeset 741bcb34b337
2011-09-02 15:52:03 -07:00
Vladimir Kozlov
f7d7a6071a
7039731: arraycopy could use prefetch on SPARC
...
Use BIS and prefetch in arraycopy stubs for Sparc (BIS for T4 only).
Reviewed-by: never, iveresov
2011-09-02 12:13:33 -07:00
Christian Thalinger
1038fed51d
7071709: JSR 292: switchpoint invalidation should be pushed not pulled
...
Reviewed-by: never
2011-09-02 04:28:59 -07:00
Alejandro Murillo
096ba80aea
7086589: bump the hs22 build number to 04
...
Reviewed-by: johnc
2011-09-02 03:49:30 -07:00
John Coomes
d42d7de7ff
Added tag hs22-b03 for changeset 52cac2467a60
2011-09-02 15:47:43 -07:00
John Coomes
87501184d9
Added tag hs22-b02 for changeset 7adf55aec150
2011-09-02 15:47:43 -07:00
John Coomes
b57839cc49
Added tag hs22-b01 for changeset 2143c41c2a90
2011-09-02 15:47:42 -07:00
Christian Thalinger
db44acbeb4
7085404: JSR 292: VolatileCallSites should have push notification too
...
Reviewed-by: never, kvn
2011-09-02 00:36:18 -07:00
Suchen Chien
463d10d607
Added tag jdk8-b03 for changeset 52cac2467a60
2011-09-01 13:54:24 -07:00