Igor Veresov
f5bac56265
6987115: Non-tiered compilation policy creates unnecessary C1 threads
...
Fixed NonTieredCompPolicy::compiler_count() to return correct thread count.
Reviewed-by: twisti, kvn
2010-09-27 15:04:40 -07:00
Roland Westrelin
718b005834
Merge
2010-09-24 13:14:32 -07:00
Christian Thalinger
79847991ad
6986944: JSR 292 assert(caller_nm->is_method_handle_return(caller_frame.pc())) failed: must be MH call site
...
Reviewed-by: never, kvn
2010-09-24 03:51:43 -07:00
Erik Trimble
b7d1b4674b
6987149: Fix incorrect Oracle copyright header in make/templates files
...
Minor fix to first line of template copyright files
Reviewed-by: ohair
2010-09-24 00:52:04 -07:00
Erik Trimble
03f9d08651
Merge
2010-09-24 00:51:15 -07:00
Christine Lu
fcc90d4983
Added tag jdk7-b111 for changeset a8fb6372bee7
2010-09-23 17:33:27 -07:00
Tom Rodriguez
bce771e0fe
6986028: assert(_base == Int) failed: Not an Int in CmpINode::sub
...
Reviewed-by: kvn, twisti
2010-09-22 23:51:03 -07:00
Tom Rodriguez
16efe7ce5c
6972540: sun/nio/ch/SocketChannelImpl compilation crashed when executing CompileTheWorld
...
Reviewed-by: kvn
2010-09-22 21:10:46 -07:00
Tom Rodriguez
f4b4eae617
6982537: Crash in Node*step_through_mergemem
...
Reviewed-by: kvn
2010-09-22 13:01:12 -07:00
Keith McGuigan
9e9551fdd8
Merge
2010-09-22 12:54:51 -04:00
Igor Veresov
0f31511718
6986270: guarantee(*bcp != Bytecodes::_monitorenter || exec_mode != Deoptimization::Unpack_exception) fails
...
Propagate the compiler type of the deopting method to vframeArrayElement::unpack_on_stack()
Reviewed-by: jrose, never
2010-09-21 13:38:35 -07:00
Daniel D. Daugherty
08b41f30d8
6985848: 3/4 fix for 6561870 causes sa-jdi.jar to be rebuilt every time
...
Refine fix for 6561870 to only rebuild sa-jdi.jar when needed
Reviewed-by: never, ohair, coleenp
2010-09-21 06:58:44 -07:00
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
f0108fe6f5
Merge
2010-09-17 09:14:26 -07: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
Christine Lu
d346ecbbb3
Added tag jdk7-b110 for changeset 184ac472c680
2010-09-16 15:12:57 -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
Keith McGuigan
1ab450b848
6974813: JVM needs to use demand loading for its DTrace probes
...
Pass -xlazyload to the 'dtrace -G' invocation
Reviewed-by: phh, ysr
2010-09-15 16:28:19 -04:00
John Coomes
7100220f9b
6985022: update make/jprt.properties for new jdk7 tools
...
Reviewed-by: ohair, kvn
2010-09-15 10:39:13 -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
Tom Rodriguez
e65f42fe5e
6982370: SIGBUS in jbyte_fill
...
Reviewed-by: kvn
2010-09-14 14:09:24 -07:00
Karen Kinnear
7ac64fa594
Merge
2010-09-14 10:15:27 -04: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
Keith McGuigan
b9760f8836
Merge
2010-09-13 07:38:10 -07:00
Igor Veresov
0aba89442c
6984056: C1: incorrect code for integer constant addition on x64
...
Fix add/sub of constants to ints on x64
Reviewed-by: kvn
2010-09-11 15:21:37 -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
Karen Kinnear
218b17b913
6942092: Loader-constraint test is failing
...
Fix test string compare to match source update
Reviewed-by: dcubed, phh
2010-09-10 12:36:47 -04:00
Christine Lu
811a0f0155
Added tag jdk7-b109 for changeset 59327a28f6c0
2010-09-09 15:07:37 -07:00
Christine Lu
f90e336a8f
Merge
2010-09-09 14:27:59 -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
Christian Thalinger
93c9356496
Merge
2010-09-09 01:43:48 -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
Erik Trimble
2077fb46a1
6983320: Fork HS19 to HS20 - renumber Major and build numbers of JVM
...
Update the Major and Build numbers for HS20
Reviewed-by: jcoomes
2010-09-08 18:33:31 -07:00
Erik Trimble
95737d0cbb
Merge
2010-09-08 18:33:04 -07:00
John Coomes
79fbcf5d03
6983296: build sanity checks for jdk7 should require SS12u1
...
Reviewed-by: ohair
2010-09-08 16:10:51 -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
Matthias Klose
059de12e57
6561870: 3/3 Long javac compile lines fail due to command line length issues (agent compiles?)
...
Use javac's @filename construct to avoid long compile lines
Reviewed-by: ohair, twisti, never
2010-09-08 08:34:57 -07:00
Matthias Klose
d0cc3fc376
6983073: fix compiler error with GCC 4.4 or newer on SPARC
...
Reviewed-by: twisti
2010-09-08 04:50:26 -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
Tom Rodriguez
cf8bea660b
6982533: Crash in ~StubRoutines::jbyte_fill with AggressiveOpts enabled
...
Reviewed-by: kvn
2010-09-07 11:31:27 -07:00
Keith McGuigan
06c0a051da
6982851: Add b107 machine classifications to jprt.properties file
...
See synopsis
Reviewed-by: ohair
2010-09-07 11:50:59 -04: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
Christine Lu
aaf5561c57
Added tag jdk7-b108 for changeset 9aa5fae6f446
2010-09-03 12:49:53 -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
6e78f6cb4b
6981773: incorrect fill value with OptimizeFill
...
Reviewed-by: kvn, twisti
2010-09-02 11:40:02 -07:00
Tom Rodriguez
690e6e149c
Merge
2010-09-01 00:40:05 -07:00
Erik Trimble
624d93d4fa
Added tag hs19-b06 for changeset 97604d92cdcf
2010-08-31 17:23:45 -07:00
Erik Trimble
9efc3ebc3f
Merge
2010-08-31 16:48:07 -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
6c64bcc393
Merge
2010-08-27 10:44:06 -07: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
Kevin Walls
2114fddad9
6980392: TEST_BUG: gc/6581734/Test6581734.java has typo
...
Simple correction in testcase
Reviewed-by: mchung
2010-08-27 16:57:04 +01: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
Christine Lu
72ce2b8c22
Added tag jdk7-b107 for changeset ce4b745d5d58
2010-08-26 16:16:49 -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
David Holmes
670922cd27
6978641: Fix for 6929067 introduces additional overhead in thread creation/termination paths
...
Disable stack bounds checks in product mode other than for the initial thread
Reviewed-by: coleenp, jcoomes, aph
2010-08-25 21:29:05 -04: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
Erik Trimble
5530cf1226
6978915: Remove Mercurial tags for Hotspot 19 Build 06
...
Delete the hs19-b06 Hg tag, as it was put on incorrectly
Reviewed-by: jcoomes
2010-08-20 14:24:47 -07:00
Erik Trimble
8a3ced949a
6978889: Remove premature change of build number to Hotspot 19 Build 07
...
Change the build number back to 06
Reviewed-by: jcoomes
2010-08-20 12:57:42 -07:00
Antonios Printezis
ec4173f8cc
Merge
2010-08-20 12:01:10 -07:00
Antonios Printezis
0597c930f1
Merge
2010-08-20 13:17:08 -04:00
Tom Rodriguez
519c627fe5
Merge
2010-08-20 09:55:50 -07:00
Erik Trimble
1a4c564ed2
Merge
2010-08-20 04:08:08 -07:00
Erik Trimble
8a49894619
6978726: Bump the HS19 build number to 07
...
Update the HS19 build number to 07
Reviewed-by: jcoomes
2010-08-20 03:47:09 -07:00
Erik Trimble
3a6039c5be
Added tag hs19-b06 for changeset a5c5892863c7
2010-08-19 18:51:34 -07:00
Erik Trimble
8eb6166ca1
Added tag hs19-b05 for changeset ffcd9ec2df9a
2010-08-19 18:51:24 -07:00
Christine Lu
ce65360838
Added tag jdk7-b106 for changeset 60bd1c133a48
2010-08-19 15:13:01 -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
Antonios Printezis
e886514c96
Merge
2010-08-19 14:08:58 -04:00
John Cuthbertson
846cfeee6e
Merge
2010-08-18 17:44:33 -04:00
Y. Srinivas Ramakrishna
fc61f2721e
6977970: CMS: concurrentMarkSweepGeneration.cpp:7947 assert(addr <= _limit) failed: sweep invariant
...
Allow for the possibility (when the heap is expanding) that the sweep might skip over and past, rather than necessarily step on, the sweep limit determined at the beginning of a concurrent marking cycle.
Reviewed-by: jmasa, tonyp
2010-08-18 11:39:21 -07:00
John Cuthbertson
3b69a96c58
6977924: Changes for 6975078 produce build error with certain gcc versions
...
The changes introduced for 6975078 assign badHeapOopVal to the _allocation field in the ResourceObj class. In 32 bit linux builds with certain versions of gcc this assignment will be flagged as an error while compiling allocation.cpp. In 32 bit builds the constant value badHeapOopVal (which is cast to an intptr_t) is negative. The _allocation field is typed as an unsigned intptr_t and gcc catches this as an error.
Reviewed-by: jcoomes, ysr, phh
2010-08-18 10:59:06 -07:00
Gary Benson
a325f5589a
6977640: Zero and Shark fixes
...
A number of fixes for Zero and Shark.
Reviewed-by: twisti
2010-08-18 01:22:16 -07:00
Abhijit Saha
a3319eba8a
6977952: Test: Sync missing tests from hs16.3 to hs17.x
...
Reviewed-by: wrockett
2010-08-17 22:52:50 -07:00
Erik Trimble
2929434832
Merge
2010-08-18 16:11:21 -07:00
Antonios Printezis
ce2883fbbd
6975964: G1: print out a more descriptive message for evacuation failure when +PrintGCDetails is set
...
We're renaming "evacuation failure" to "to-space overflow". I'm also piggy-backing a small additional change which removes the "Mark closure took..." output.
Reviewed-by: ysr, johnc
2010-08-17 14:40:00 -04:00
Antonios Printezis
7125621712
6974928: G1: sometimes humongous objects are allocated in young regions
...
As the title says, sometimes we are allocating humongous objects in young regions and we shouldn't.
Reviewed-by: ysr, johnc
2010-08-17 14:40:00 -04:00
Antonios Printezis
1f0201f90b
6959014: G1: assert(minimum_desired_capacity <= maximum_desired_capacity) failed: sanity check
...
There are a few issues in the code that calculates whether to resize the heap and by how much: a) some calculations can overflow 32-bit size_t's, b) min_desired_capacity is not bounded by the max heap size, and c) the assrt that fires is in the wrong place. The fix also includes some tidying up of the related verbose code.
Reviewed-by: ysr, jmasa
2010-08-17 14:40:00 -04:00
Erik Trimble
1b2d47b99b
Merge
2010-08-17 09:43:34 -07:00
Y. Srinivas Ramakrishna
77f845359a
6948538: CMS: BOT walkers can fall into object allocation and initialization cracks
...
GC workers now recognize an intermediate transient state of blocks which are allocated but have not yet completed initialization. blk_start() calls do not attempt to determine the size of a block in the transient state, rather waiting for the block to become initialized so that it is safe to query its size. Audited and ensured the order of initialization of object fields (klass, free bit and size) to respect block state transition protocol. Also included some new assertion checking code enabled in debug mode.
Reviewed-by: chrisphi, johnc, poonam
2010-08-16 15:58:42 -07:00
John Cuthbertson
becf7cffb3
Merge
2010-08-14 00:47:52 -07:00
Tom Rodriguez
0f1f7c3b7f
6976372: # assert(_owner == Thread::current()) failed: invariant
...
Reviewed-by: kvn, twisti
2010-08-13 15:14:00 -07:00
Christine Lu
21a5efbe75
Added tag jdk7-b105 for changeset 1b104350a980
2010-08-13 11:38:16 -07:00
Erik Trimble
ba5d36a6d6
6977051: Bump the HS19 build number to 06
...
Update the HS19 build number to 06
Reviewed-by: jcoomes
2010-08-13 10:56:17 -07:00
Erik Trimble
728414c987
Merge
2010-08-13 10:55:42 -07:00
Daniel D. Daugherty
ae38e974f0
Merge
2010-08-13 07:33:20 -07:00
Tom Rodriguez
a96301c84e
6975006: assert(check.is_deoptimized_frame()) failed: missed deopt
...
Reviewed-by: kvn, twisti
2010-08-12 23:34:34 -07:00
Tom Rodriguez
1d736d2851
6974176: ShouldNotReachHere, instanceKlass.cpp:1426
...
Reviewed-by: kvn, twisti
2010-08-12 16:38:23 -07:00
John Coomes
bb7d4b2b35
6976378: ParNew: stats are printed unconditionally in debug builds
...
Reviewed-by: tonyp
2010-08-11 13:12:28 -07:00
Vladimir Kozlov
b092cb33e6
6973329: C2 with Zero based COOP produces code with broken anti-dependency on x86
...
Recompile without subsuming loads if RA try to clone a node with anti_dependence.
Reviewed-by: never
2010-08-11 10:48:20 -07:00
Gary Benson
d7310fb0f7
6976186: integrate Shark HotSpot changes
...
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -07:00
Christian Thalinger
c9ac8cc788
6975855: don't emit deopt MH handler in C1 if not required
...
This CR implements the same for C1 as 6926782 for C2.
Reviewed-by: never
2010-08-11 01:17:27 -07:00
Jeremy Manson
b36bff7dcd
6378314: Bad warning message when agent library not found. local directory is not searched
...
Print a more detailed error message for agent library load failure.
Reviewed-by: jcoomes, never, ohair, coleenp
2010-08-10 19:17:57 -04:00
Y. Srinivas Ramakrishna
7ee29eeb6a
6973570: OrderAccess::storestore() scales poorly on multi-socket x64 and sparc: cache-line ping-ponging
...
Volatile store to static variable removed in favour of a volatile store to stack to avoid excessive cache coherency traffic; verified that the volatile store is not elided by any of our current compilers.
Reviewed-by: dholmes, dice, jcoomes, kvn
2010-08-10 14:53:35 -07:00
Tom Rodriguez
dc37d152e7
6975027: use of movptr to set length of array
...
Reviewed-by: kvn, iveresov
2010-08-10 12:15:10 -07:00
John Coomes
b0e98512a7
6970376: ParNew: shared TaskQueue statistics
...
Reviewed-by: ysr
2010-08-09 18:03:50 -07:00
Tom Rodriguez
68ff9b2b00
Merge
2010-08-09 17:51:56 -07:00
Vladimir Kozlov
2e48a18645
6975078: assert(allocated_on_res_area() || allocated_on_C_heap() || allocated_on_arena()
...
Pass the check in ResourceObj() if _allocation value is already set and object is allocated on stack.
Reviewed-by: dholmes, johnc
2010-08-09 15:17:05 -07:00
John Coomes
7fe1c05c7c
6966222: G1: simplify TaskQueue overflow handling
...
Reviewed-by: tonyp, ysr
2010-08-09 05:41:05 -07:00
Christine Lu
b8117e7869
Added tag jdk7-b104 for changeset 83e5347f5988
2010-08-06 12:51:54 -07:00
Vladimir Kozlov
7895bef72f
6975049: nsk/regression/b4287029 crashes with -Xss64 on solaris-i586
...
Tell C++ to not inline so much by using flag -xspace.
Reviewed-by: ysr
2010-08-06 11:53:28 -07:00
John Cuthbertson
f8eed77f36
6930581: G1: assert(ParallelGCThreads > 1 || n_yielded() == _hrrs->occupied(),"Should have yielded all the .
...
During RSet updating, when ParallelGCThreads is zero, references that point into the collection set are added directly the referenced region's RSet. This can cause the sparse table in the RSet to expand. RSet scanning and the "occupied" routine will then operate on different instances of the sparse table causing the assert to trip. This may also cause some cards added post expansion to be missed during RSet scanning. When ParallelGCThreads is non-zero such references are recorded on the "references to be scanned" queue and the card containing the reference is recorded in a dirty card queue for use in the event of an evacuation failure. Employ the parallel code in the serial case to avoid expanding the RSets of regions in the collection set.
Reviewed-by: iveresov, ysr, tonyp
2010-08-06 10:17:21 -07:00
Erik Trimble
72990b87b1
Added tag hs19-b04 for changeset 9dfa2b7f8640
2010-08-05 02:48:45 -07:00
Vladimir Kozlov
4728aa064a
6974682: CTW: assert(target != NULL) failed: must not be null
...
Add address table size to constant section size.
Reviewed-by: never
2010-08-04 17:42:20 -07:00
Antonios Printezis
b4148f3379
6963209: G1: remove the concept of abandoned pauses
...
As part of 6944166 we disabled the concept of abandoned pauses (i.e., if the collection set is empty, we would still try to do a pause even if it is to update the RSets and scan the roots). This changeset removes the code and structures associated with abandoned pauses.
Reviewed-by: iveresov, johnc
2010-08-04 13:03:23 -04:00
Erik Trimble
169880d486
Merge
2010-08-03 19:01:25 -07:00
Vladimir Kozlov
5bed80aab9
6973963: SEGV in ciBlock::start_bci() with EA
...
Added more checks into ResourceObj and growableArray to verify correctness of allocation type.
Reviewed-by: never, coleenp, dholmes
2010-08-03 15:55:03 -07:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Vladimir Kozlov
f0b6dc4e4f
6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()
...
Set Z = 0 (not equal) before repne_scan() to indicate that class was not found when RCX == 0.
Reviewed-by: never, phh
2010-07-30 10:21:15 -07:00
Erik Trimble
4ce3f156ec
6973381: Bump the HS19 build number to 05
...
Update the HS19 build number to 05
Reviewed-by: jcoomes
2010-07-30 06:56:40 -07:00
Erik Trimble
a4b5c38070
Merge
2010-07-29 23:14:56 -07:00
Christine Lu
5bc757e86c
Added tag jdk7-b103 for changeset 0dc48f97ffd1
2010-07-29 13:33:08 -07:00
Coleen Phillimore
c45761e2a8
6958465: Sparc aten build24.0: openjdk-7.ea-b96 failed Error: Formal argument ... requires an lvalue
...
Fix compilation errors. Made non-const references const so can be assigned with lvalue.
Reviewed-by: phh, xlu
2010-07-28 17:57:43 -04:00
Andrew Haley
d44a3683b1
6888526: Linux getCurrentThreadCpuTime is drastically slower than Windows
...
Reviewed-by: dcubed, dholmes
2010-07-28 17:38:21 +01:00
Tom Rodriguez
b071e2accc
Merge
2010-07-26 15:58:07 -07:00
Andrei Pangin
53ac035768
Merge
2010-07-25 07:31:50 -07:00
Michael Wilkerson
f907666b7c
Added tag jdk7-b102 for changeset e2378fd93633
2010-07-23 16:42:15 -07:00
Y. Srinivas Ramakrishna
27c8e4b84a
Merge
2010-07-23 14:31:15 -07:00
Tom Rodriguez
0ed8a9f6fc
Merge
2010-07-23 10:21:17 -07:00
Vladimir Kozlov
3fbdd52bdf
6969569: assert(is_static() && is_constant()) failed: illegal call to constant_value()
...
Add missing is_static guard.
Reviewed-by: twisti
2010-07-23 10:07:46 -07:00
Tom Rodriguez
762e078636
6970566: runThese fails with SIGSEGV
...
Reviewed-by: kvn
2010-07-22 15:29:22 -07:00
Antonios Printezis
38ab95c64b
6962589: remove breadth first scanning code from parallel gc
...
Remove the breadth-first copying order from ParallelScavenge and use depth-first by default.
Reviewed-by: jcoomes, ysr, johnc
2010-07-22 10:27:41 -04:00
John Cuthbertson
3a2b2b4fd8
6814437: G1: remove the _new_refs array
...
The per-worker _new_refs array is used to hold references that point into the collection set. It is populated during RSet updating and subsequently processed. In the event of an evacuation failure it processed again to recreate the RSets of regions in the collection set. Remove the per-worker _new_refs array by processing the references directly. Use a DirtyCardQueue to hold the cards containing the references so that the RSets of regions in the collection set can be recreated when handling an evacuation failure.
Reviewed-by: iveresov, jmasa, tonyp
2010-08-02 12:51:43 -07:00
Kevin Walls
75c23332be
Merge
2010-07-31 15:10:59 +01:00
Kevin Walls
5fb46fd5a8
6581734: CMS Old Gen's collection usage is zero after GC which is incorrect
...
Management code enabled for use by a concurrent collector.
Reviewed-by: mchung, ysr
2010-07-30 22:43:50 +01:00
Y. Srinivas Ramakrishna
f495cb2581
Merge
2010-07-21 12:45:42 -07:00
Y. Srinivas Ramakrishna
eceef28d8c
Merge
2010-07-21 09:57:21 -07:00
Erik Trimble
54f18dfa74
Merge
2010-07-20 18:13:55 -07:00
Y. Srinivas Ramakrishna
625332a903
Merge
2010-07-20 16:09:44 -07:00
Andrei Pangin
3888d500b9
6964170: Verifier crashes
...
Check if klassOop != NULL rather than klass_part != NULL
Reviewed-by: kamg, never
2010-07-20 08:41:42 -07:00
John Cuthbertson
5c3da1ee7e
6956639: G1: assert(cached_ptr != card_ptr) failed: shouldn't be, concurrentG1Refine.cpp:307
...
During concurrent refinment, filter cards in young regions after it has been determined that the region has been allocated from and the young type of the region has been set.
Reviewed-by: iveresov, tonyp, jcoomes
2010-07-19 11:06:34 -07:00
Andrei Pangin
8ce591cea8
Merge
2010-07-17 21:49:23 -07:00
John Coomes
daf491a814
6962947: shared TaskQueue statistics
...
Reviewed-by: tonyp, ysr
2010-07-16 21:33:21 -07:00
John R Rose
7e34622217
6969574: invokedynamic call sites deoptimize instead of executing
...
Reviewed-by: kvn
2010-07-16 18:14:19 -07:00
Y. Srinivas Ramakrishna
4efdcb87d1
Merge
2010-07-16 10:09:15 -07:00
Tom Rodriguez
734af9cd47
Merge
2010-07-16 08:29:42 -07:00
Alan Bateman
640336ebe6
6649594: Intermittent IOExceptions during dynamic attach on linux and solaris
...
Reviewed-by: dcubed, dholmes
2010-07-16 13:14:03 +01:00
Michael Wilkerson
431a99ccf9
Added tag jdk7-b101 for changeset c8f322bd177e
2010-07-15 20:11:35 -07:00
Erik Trimble
89ddf727ca
Merge
2010-07-15 19:52:58 -07:00
Erik Trimble
374e15fb40
Merge
2010-07-15 19:51:34 -07:00
John R Rose
a4e4149340
6964498: JSR 292 invokedynamic sites need local bootstrap methods
...
Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs.
Reviewed-by: twisti
2010-07-15 18:40:45 -07:00
Tom Rodriguez
ffb15fdb04
Merge
2010-07-15 13:48:01 -07:00
Tom Rodriguez
ea25541820
6968336: VM crash guarantee(!nm->is_zombie()) failed: cannot lock a zombie method
...
Reviewed-by: twisti
2010-07-15 08:54:48 -07:00
Andrei Pangin
6572ca3124
Merge
2010-07-14 17:52:18 -04:00
Vladimir Kozlov
2b339c9319
6968368: SIGSEGV in the BCEscapeAnalyzer::copy_dependencies
...
Use GrowableArray and VectorSet allocated in ciEnv arena.
Reviewed-by: never, twisti
2010-07-14 14:47:34 -07:00
Vladimir Kozlov
7378cf14d9
6968646: JVM crashes with SIGFPE during startup
...
Check that cpuid returns valid values for processor topology (not zeros).
Reviewed-by: never, twisti
2010-07-14 14:29:14 -07:00
Tom Rodriguez
1eabc28737
6968385: malformed xml in sweeper logging
...
Reviewed-by: kvn
2010-07-12 22:27:18 -07:00
Y. Srinivas Ramakrishna
c0b1b0d0e7
Merge
2010-07-12 12:53:52 -07:00
Tom Rodriguez
d3c3800a29
6958668: repeated uncommon trapping for new of klass which is being initialized
...
Reviewed-by: kvn, jrose
2010-07-12 10:58:25 -07:00
Michael Wilkerson
d65cdc272a
Added tag jdk7-b100 for changeset 4670a882996f
2010-07-09 19:18:22 -07:00
Erik Trimble
5cd8be04d6
Merge
2010-07-09 00:35:35 -07:00
Erik Trimble
dcb3877665
Merge
2010-07-09 00:32:48 -07:00
Erik Trimble
cbe3e79eb9
Added tag hs19-b03 for changeset 4670a882996f
2010-07-09 00:31:01 -07:00
Tom Rodriguez
7533d0caf7
6965184: possible races in make_not_entrant_or_zombie
...
Reviewed-by: kvn
2010-07-08 14:29:44 -07:00
Mandy Chung
a20650acd0
6967423: Hotspot support for modules image
...
Add hotspot support for modules image
Reviewed-by: acorn
2010-07-07 15:35:58 -07:00
Tom Rodriguez
ae3ddc1514
Merge
2010-07-07 12:40:01 -07:00
Karen Kinnear
7c19b04e6d
Merge
2010-07-07 14:12:08 -04:00
Vladimir Kozlov
cc513a8564
6966411: escape.cpp:450 assert(base->Opcode() == Op_ConP
...
Execute IGVN optimization before and after Escape Analysis
Reviewed-by: never
2010-07-02 17:30:30 -07:00
Tom Rodriguez
bf1ca00b7c
6965671: fatal error: acquiring lock JNIGlobalHandle_lock/16 out of order with lock CodeCache_lock/1
...
Reviewed-by: kvn, dcubed
2010-07-02 15:01:47 -07:00
Karen Kinnear
13ac5e3af2
6964164: MonitorInUseLists leak of contended objects
...
Fix MonitorInUseLists memory leak and MonitorBound now works
Reviewed-by: chrisphi, dice
2010-07-02 17:23:43 -04:00
Erik Trimble
b4884449a6
6966252: Bump the HS19 build number to 04
...
Update the HS19 build number to 04
Reviewed-by: jcoomes
2010-07-02 01:37:36 -07:00
Erik Trimble
2d9848a160
Merge
2010-07-02 01:36:15 -07:00
John Coomes
e8dbd32204
6957084: simplify TaskQueue overflow handling
...
Reviewed-by: ysr, jmasa
2010-07-01 21:40:45 -07:00
Michael Wilkerson
21eac83406
Merge
2010-06-30 18:57:35 -07:00
Coleen Phillimore
091b24c59d
Merge
2010-06-30 11:52:10 -04:00
Phil Race
a58629198d
6964882: 32 bit JDK does not build on 64 bit Windows platforms
...
Reviewed-by: ohair, valeriep
2010-06-29 16:33:41 -07:00
John R Rose
7b529c7ee7
Merge
2010-06-29 16:09:57 -07:00
Vladimir Kozlov
4bd0381466
6964774: Adjust optimization flags setting
...
Adjust performance flags settings.
Reviewed-by: never, phh
2010-06-29 10:34:00 -07:00
Vladimir Kozlov
448b83e288
6677629: PhaseIterGVN::subsume_node() should call hash_delete() and add_users_to_worklist()
...
Use replace_node() method instead of subsume_node().
Reviewed-by: jrose, never
2010-06-28 14:54:39 -07:00
Antonios Printezis
dfc84e8c89
6944166: G1: explicit GCs are not always handled correctly
...
G1 was not handling explicit GCs correctly in many ways. It does now. See the CR for the list of improvements contained in this changeset.
Reviewed-by: iveresov, ysr, johnc
2010-06-28 14:13:17 -04:00
Antonios Printezis
968deb7658
6962569: assembler_sparc.cpp:1969: assert(false) failed: error
...
Array_overlap_test() fails when the address range crosses the MSB boundary. Thanks to Tom and Vladimir for their help on this one.
Reviewed-by: kvn, never, iveresov
2010-06-28 14:13:18 -04:00
Vladimir Kozlov
8a416b2365
6964479: widen normalization of small int and long values should be symmetric
...
Normalize widen value in xmeet() and xdual() methods for types Int and Long so the type meet will be symmetric.
Reviewed-by: jrose
2010-06-28 10:52:50 -07:00
Coleen Phillimore
52adb9a491
Merge
2010-06-28 12:03:05 -04:00
John R Rose
3c5e7ab5f1
Merge
2010-06-26 00:19:55 -07:00
Michael Wilkerson
d6e7567e90
Added tag jdk7-b99 for changeset f45234b29a80
2010-06-24 20:03:00 -07:00
Jon Masamitsu
36e0024524
Merge
2010-06-24 15:56:12 -07:00
John Coomes
a792499b68
6888573: class data sharing does not always disable large pages
...
Reviewed-by: phh
2010-06-24 15:38:42 -07:00
Jon Masamitsu
80d9f0356a
Merge
2010-06-23 15:17:20 -07:00
Vladimir Kozlov
381c57e0d4
6947341: JVM Crash running Oracle ATG CRMDemo
...
Missing protected page below heap with compressed oops on Linux with large pages use.
Reviewed-by: never, phh, jcoomes
2010-06-23 09:40:11 -07:00
Jon Masamitsu
c443776640
6952853: SIGSEGV with UseAdaptiveGCBoundary on 64b linux running jvm2008
...
Shrinking of a generation and the corresponding card table was causing part of the card table to be uncommitted.
Reviewed-by: jcoomes
2010-06-23 08:35:31 -07:00
Igor Veresov
7a40a76a81
6962980: C1: stub area should take into account method handle deopt stub
...
Reviewed-by: twisti, never
2010-06-22 12:10:07 -07:00
Zhengyu Gu
a59a9f6a2b
Merge
2010-06-22 10:03:12 -04:00
Zhengyu Gu
360fcdc7bd
6939019: Source code adjustments for parfait compilation of hotspot
...
Minor source code adjustments for parfait compilation, since it uses different compiler vs. JDK
Reviewed-by: never, kamg
2010-06-22 09:46:15 -04:00
Tom Rodriguez
fdaa7a673c
6656830: assert((*p)->is_oop(),"expected an oop while scanning weak refs")
...
Reviewed-by: dcubed, kvn, twisti
2010-06-21 14:26:17 -07:00
Tom Rodriguez
338714d4e6
6956958: assert(is_clean() || is_call_to_compiled() || is_call_to_interpreted() || is_optimized() || is_megam
...
Reviewed-by: kvn
2010-06-18 16:51:54 -07:00
Erik Trimble
70eb231ee9
Merge
2010-06-18 00:09:22 -07:00
Erik Trimble
e1ffbcca68
Merge
2010-06-17 23:59:24 -07:00
Michael Wilkerson
e8b11fe509
Added tag jdk7-b98 for changeset cddc74d84e01
2010-06-17 16:27:59 -07:00
Michael Wilkerson
f73401eb46
Merge
2010-06-16 15:48:57 -07:00
Phil Race
f3aeed71d6
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
...
Reviewed-by: ohair, jcoomes
2010-06-16 09:42:20 -07:00
Vladimir Kozlov
21f481e5dd
6959430: Make sure raw loads have control edge
...
Check that raw loads have control edge
Reviewed-by: never, twisti
2010-06-15 18:07:27 -07:00
John R Rose
998865b735
Merge
2010-06-15 15:57:36 -07:00
Tom Rodriguez
32036d6953
Merge
2010-06-15 12:06:52 -07:00
Tom Rodriguez
f6c6028287
6952176: Remove debug flag from adlc makefile for 6Update trains
...
Reviewed-by: kvn, twisti
2010-06-15 12:03:15 -07:00
Gary Benson
729c6246fb
6960550: Missing semicolon in Zero
...
There is a missing semicolon in cppInterpreter_zero.cpp.
Reviewed-by: twisti
2010-06-14 00:52:15 -07:00
John R Rose
c8359c3738
6960865: ldc of unloaded class throws an assert in ciTypeFlow
...
Support java_mirror for unloaded klasses, arrays as well as instances. Simplify ciTypeFlow by removing unused path.
Reviewed-by: kvn
2010-06-12 22:53:43 -07:00
Michael Wilkerson
7a9d90b336
Added tag jdk7-b97 for changeset 3a1d6e247019
2010-06-10 13:58:59 -07:00
Vladimir Kozlov
9c7b430e11
6730276: JDI_REGRESSION tests fail with "Error: count must be non-zero" error on x86
...
Modify assembler code to check for 0 count for all copy routines.
Reviewed-by: never, ysr, jcoomes
2010-06-10 13:04:20 -07:00
Jon Masamitsu
428d02d5d7
Merge
2010-06-10 08:27:35 -07:00
John R Rose
1f4cfb029b
6939203: JSR 292 needs method handle constants
...
Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never
2010-06-09 18:50:45 -07:00
Coleen Phillimore
b82f9f3c1e
Merge
2010-06-09 13:53:58 -04:00
John Cuthbertson
6d8002eb26
6953058: G1: A bigapp crashes with SIGSEGV in compiled code
...
In C2's G1 post write barrier, the loads of the buffer and index fields from the DirtyCardQueue structure may be moved across a safepoint. Use the current value of "control" in the C2 IR to limit how far these loads can move.
Reviewed-by: never, iveresov, kvn
2010-06-07 17:46:04 -07:00
Tom Rodriguez
154ae789ef
6958485: fix for 6879921 was insufficient
...
Reviewed-by: kvn
2010-06-07 14:17:01 -07:00
Coleen Phillimore
d64aeff387
Merge
2010-06-04 17:44:51 -04:00
Erik Trimble
c0ec10188d
Added tag hs19-b02 for changeset 95a32517326e
2010-06-04 11:43:53 -07:00
Igor Veresov
00b75f8353
6958292: C1: Enable parallel compilation
...
Enable parallel compilation in C1
Reviewed-by: never, kvn
2010-06-04 11:18:04 -07:00
Erik Trimble
51ba3f9981
6958458: Bump the HS19 build number to 03
...
Update the HS19 build number to 03
Reviewed-by: jcoomes
2010-06-03 18:18:56 -07:00
Vladimir Kozlov
36f8c82970
6958254: -XX:+VerifyOops is broken on x86
...
Save and restore r10 in verify_oop().
Reviewed-by: never
2010-06-03 14:20:27 -07:00
Michael Wilkerson
e5cdaaa612
Added tag jdk7-b96 for changeset 95a32517326e
2010-06-03 13:30:08 -07:00
Karen Kinnear
f8b167cccd
Merge
2010-06-03 13:34:47 -04:00
Karen Kinnear
9934e0af8e
6852873: Reduce safepoint cleanup time
...
New optional flags to reduce inflated monitor cleanup times
Reviewed-by: chrisphi, dice
2010-06-03 13:21:47 -04:00
John R Rose
d6a9b93b5a
Merge
2010-06-02 22:45:42 -07:00
Tom Rodriguez
3cf74e191f
6930994: Code cache is full warning should be visible in product
...
Reviewed-by: kvn, twisti, ysr
2010-06-02 20:15:33 -07:00
Tom Rodriguez
b26797f892
6956931: assert(SafepointSynchronize::is_at_safepoint()) failed: must be executed at a safepoint
...
Reviewed-by: kvn, dcubed
2010-06-02 14:23:23 -07:00
Vladimir Kozlov
bdef27482c
6957882: nsk/sajdi tests failed with NullPointerException
...
VM.getObjectAlignmentInBytes() accesses intxType before it is created.
Reviewed-by: never
2010-06-02 12:02:49 -07:00
Vladimir Kozlov
a3005a16fc
6954029: Improve implicit null check generation with compressed oops
...
Hoist DecodeN instruction above null check
Reviewed-by: never, twisti
2010-06-02 09:49:32 -07:00
Erik Trimble
98d775ab1f
Merge
2010-06-01 11:48:33 -07:00
Erik Trimble
20118669d1
Merge
2010-06-01 11:28:04 -07:00
John R Rose
be95b163a6
6957080: MethodComparator needs stress testing
...
Add a stress-test flag for running MethodComparator over many inputs. Fix bugs that crop up.
Reviewed-by: kvn
2010-05-29 19:22:32 -07:00
John R Rose
49cbc41c82
6957004: MethodComparator uses the wrong CP index accessor
...
Change two uses of get_index_u2 to get_index_u2_cpcache; also tweak some debugging print functions
Reviewed-by: kvn
2010-05-28 16:23:51 -07:00
Igor Veresov
4da8658b14
6955349: C1: Make G1 barriers work with x64
...
This fixes G1 barriers in c1 on x64.
Reviewed-by: never
2010-05-27 22:01:55 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Vladimir Kozlov
cc18a50e59
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
...
Added new product ObjectAlignmentInBytes flag to control object alignment.
Reviewed-by: twisti, ysr, iveresov
2010-05-27 18:01:56 -07:00