Keith McGuigan
bc7a44e595
6975210: java.lang.VerifyError in some of JCK tests
...
Naked oop in verificationType::is_reference_assignable_from()
Reviewed-by: never, kvn, coleenp
2010-09-20 15:38:04 -04:00
Keith McGuigan
de088dd719
Merge
2010-09-17 19:45:12 -04:00
Zhengyu Gu
f9eb9cccb9
6981753: Rebrand vm vendor property settings
...
Uses JDK_Version to determinate to set vm vendor to "Oracle Corporation" for JDK7 and later.
Reviewed-by: kamg, ohair, coleenp
2010-09-17 09:45:32 -04:00
Vladimir Kozlov
5e98ce13ab
Merge
2010-09-16 16:48:40 -07:00
John Cuthbertson
3af63c10ab
Merge
2010-09-16 13:45:55 -07:00
Tom Rodriguez
2e4e2602d7
6984979: OptimizeFill misses some cases with an odd memory graph
...
Reviewed-by: kvn
2010-09-15 20:25:37 -07:00
Vladimir Kozlov
7df5e956d1
6984368: Large default heap size does not allow to use zero based compressed oops
...
Take into account HeapBaseMinAddress and round down MaxPermSize
Reviewed-by: never
2010-09-14 17:19:35 -07:00
John R Rose
52e3d262a1
6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions
...
Reviewed-by: never
2010-09-13 23:24:30 -07:00
Vladimir Kozlov
7be7d19ba5
6984346: Remove development code in type.hpp
...
Remove code which use UseNewCode in type.hpp
Reviewed-by: never
2010-09-13 16:45:00 -07:00
Igor Veresov
aa21a39d97
6919069: client compiler needs to capture more profile information for tiered work
...
Added profiling of instanceof and aastore.
Reviewed-by: kvn, jrose, never
2010-09-13 12:10:49 -07:00
John Cuthbertson
2b0e8a56df
6981746: G1: SEGV with -XX:+TraceGen0Time
...
Pass correct value for length to NumberSeq constructor. Guard dereferences of "body_summary" pointer with a NULL check.
Reviewed-by: tonyp, ysr
2010-09-13 10:00:24 -07:00
Y. Srinivas Ramakrishna
2cb284f394
Merge
2010-09-11 11:42:09 -07:00
Tomas Hurka
ce872b40fb
6765718: Indicate which thread throwing OOME when generating the heap dump at OOME
...
Emit a fake frame that makes it look like the thread is in the OutOfMemoryError zero-parameter constructor
Reviewed-by: dcubed
2010-09-11 08:18:31 +02:00
Y. Srinivas Ramakrishna
f53d569221
6983930: CMS: Various small cleanups ca September 2010
...
Fixed comment/documentation typos; converted some guarantee()s to assert()s.
Reviewed-by: jmasa
2010-09-10 17:07:55 -07:00
Pavel Tisnovsky
af2548723c
6934483: GCC 4.5 errors "suggest parentheses around something..." when compiling with -Werror and -Wall
...
These are minor changes fixing compile failure when -Wall -Werror flags are used under gcc 4.5.
Reviewed-by: twisti, kvn, rasbold
2010-09-09 05:24:11 -07:00
Tom Rodriguez
0ecb9e3298
6965815: OptimizeStringConcat: assert(!q->is_MergeMem()) failed with specjbb2000
...
Reviewed-by: kvn
2010-09-08 20:28:57 -07:00
Jon Masamitsu
28e56b8970
6984287: Regularize how GC parallel workers are specified
...
Associate number of GC workers with the workgang as opposed to the task.
Reviewed-by: johnc, ysr
2010-09-20 14:38:38 -07:00
Tom Rodriguez
cf8bea660b
6982533: Crash in ~StubRoutines::jbyte_fill with AggressiveOpts enabled
...
Reviewed-by: kvn
2010-09-07 11:31:27 -07:00
Igor Veresov
34b016cb42
6982921: assert(_entry_bci != InvocationEntryBci) failed: wrong kind of nmethod
...
Assertion fails during print compilation because nmethod::print_on() calls osr_entry_bci() without checking that the method is an osr method. The fix adds an appropriate check.
Reviewed-by: never, twisti
2010-09-07 14:16:50 -07:00
Keith McGuigan
5c3276599b
Merge
2010-09-07 11:38:09 -04:00
Igor Veresov
2c66a6c3fd
6953144: Tiered compilation
...
Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
2010-09-03 17:51:07 -07:00
Keith McGuigan
c5ccd42ac0
6870851: Bad frame_chop in StackMapTable crashes JVM
...
Must check locals for null when processing chop frame
Reviewed-by: dholmes, dcubed
2010-09-03 14:47:05 -04:00
Tom Rodriguez
690e6e149c
Merge
2010-09-01 00:40:05 -07:00
Ivan P Krylov
5d5bcb4bca
6979444: add command line option to print command line flags descriptions
...
Implementation of a nonproduct boolean flag XX:PrintFlagsWithComments
Reviewed-by: kamg, dholmes, dsamersoff
2010-08-31 03:14:00 -07:00
Tom Rodriguez
84aedee955
6969586: OptimizeStringConcat: SIGSEGV in LoadNode::Value()
...
Reviewed-by: kvn
2010-08-30 17:27:35 -07:00
Vladimir Kozlov
3f7bac73fe
6980978: assert(mt == t->xmeet(this)) failed: meet not commutative
...
Fix code in TypeAryPtr::xmeet() for constant array.
Reviewed-by: never
2010-08-30 11:02:53 -07:00
Antonios Printezis
8098787972
Merge
2010-08-30 10:58:13 -07:00
Antonios Printezis
4b9d7640a7
Merge
2010-08-30 13:00:51 -04:00
Daniel D. Daugherty
d7850a0df7
Merge
2010-08-27 21:31:15 -07:00
Tom Rodriguez
150ca9b5b1
Merge
2010-08-27 17:35:08 -07:00
Tom Rodriguez
08d9e03b81
4809552: Optimize Arrays.fill(...)
...
Reviewed-by: kvn
2010-08-27 17:33:49 -07:00
Keith McGuigan
6247222cf6
6980262: Memory leak when exception is thrown in static initializer
...
Use resource memory instead of c-heap for the exception message
Reviewed-by: phh, jmasa
2010-08-27 15:05:28 -04:00
Antonios Printezis
b513e518d2
6980206: G1: assert(has_undefined_max_size, "Undefined max size");
...
An assert in the management.cpp is too strong and assumes the max size is always defined on memory pools, even when we don't need to use it.
Reviewed-by: mchung, johnc
2010-08-27 13:34:14 -04:00
Christian Thalinger
6a0c40f1fe
6961697: move nmethod constants section before instruction section
...
This is a preparation for 6961690.
Reviewed-by: kvn, never
2010-08-27 01:51:27 -07:00
Vladimir Kozlov
45d90a7775
6976400: "Meet Not Symmetric"
...
Use NULL as klass for TypeAryPtr::RANGE. Add klass verification into TypeAryPtr ctor.
Reviewed-by: never
2010-08-26 11:05:25 -07:00
John Coomes
be6d973a49
6978300: G1: debug builds crash if ParallelGCThreads==0
...
Reviewed-by: tonyp, ysr
2010-08-25 14:39:55 -07:00
Tom Rodriguez
d486ceec9f
Merge
2010-08-25 10:31:45 -07:00
Antonios Printezis
1456a4c423
6941275: G1: The MemoryPools are incorrectly supported for G1
...
The way we were caluclating the max value meant that it might fluctuate during the run and this broke some assumptions inside the MBeans framework. This change sets the max value of each pool to -1, which means undefined according to the spec.
Reviewed-by: mchung, johnc
2010-08-25 08:44:58 -04:00
Christian Thalinger
a4b2fe3b1c
6978355: renaming for 6961697
...
This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
2010-08-25 05:27:54 -07:00
Antonios Printezis
bb23e30511
6974966: G1: unnecessary direct-to-old allocations
...
This change revamps the slow allocation path of G1. Improvements include the following: a) Allocations directly to old regions are now totally banned. G1 now only allows allocations out of young regions (with the only exception being humongous regions). b) The thread that allocates a new region (which is now guaranteed to be young) does not dirty all its cards. Each thread that successfully allocates out of a young region is now responsible for dirtying the cards that corresponding to the "block" that just got allocated. c) allocate_new_tlab() and mem_allocate() are now implemented differently and TLAB allocations are only done by allocate_new_tlab(). d) If a thread schedules an evacuation pause in order to satisfy an allocation request, it will perform the allocation at the end of the safepoint so that the thread that initiated the GC also gets "first pick" of any space made available by the GC. e) If a thread is unable to allocate a humongous object it will schedule an evacuation pause in case it reclaims enough regions so that the humongous allocation can be satisfied aftewards. f) The G1 policy is more careful to set the young list target length to be the survivor number +1. g) Lots of code tidy up, removal, refactoring to make future changes easier.
Reviewed-by: johnc, ysr
2010-08-24 17:24:33 -04:00
Y. Srinivas Ramakrishna
23ee6aa5f6
6910183: CMS: assert(_index < capacity(),"_index out of bounds")
...
Weakened a too-strong, off-by-one assert; added code to keep track of and report any overflows at appropriate level of verbosity.
Reviewed-by: jcoomes, tonyp
2010-08-23 17:51:10 -07:00
Vladimir Kozlov
3756a7daa9
6896381: CTW fails share/vm/ci/bcEscapeAnalyzer.cpp:99, assert(_stack_height < _max_stack,"stack overflow")
...
Check constant Tag type instead of calling get_constant().
Reviewed-by: never
2010-08-23 09:09:36 -07:00
Daniel D. Daugherty
11da6c2e2a
Merge
2010-08-23 08:44:03 -07:00
John R Rose
c7e50e8305
6912064: type profiles need to be exploited more for dynamic language support
...
Reviewed-by: kvn
2010-08-20 23:40:30 -07:00
Antonios Printezis
ec4173f8cc
Merge
2010-08-20 12:01:10 -07:00
Tom Rodriguez
519c627fe5
Merge
2010-08-20 09:55:50 -07:00
Tom Rodriguez
a54b1ff70e
6978249: spill between cpu and fpu registers when those moves are fast
...
Reviewed-by: kvn
2010-08-19 14:51:47 -07:00
Y. Srinivas Ramakrishna
500e68f0b1
6978533: CMS: Elide BOT update asserts until 6977974 is fixed correctly
...
Reviewed-by: jcoomes, jmasa, tonyp
2010-08-19 12:02:10 -07:00
Pavel Tisnovsky
b002fe5992
6885308: The incorrect -XX:StackRedPages, -XX:StackShadowPages, -XX:StackYellowPages could cause VM crash
...
Test minimal stack sizes given (also fixed linux compilation error)
Reviewed-by: never, phh, coleenp
2010-08-19 14:23:59 -04:00
John Cuthbertson
846cfeee6e
Merge
2010-08-18 17:44:33 -04:00