Commit Graph

1676 Commits

Author SHA1 Message Date
Tom Rodriguez
0ecb9e3298 6965815: OptimizeStringConcat: assert(!q->is_MergeMem()) failed with specjbb2000
Reviewed-by: kvn
2010-09-08 20:28:57 -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
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
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
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
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
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