Commit Graph

1368 Commits

Author SHA1 Message Date
Tom Rodriguez
f839a363ca 6879943: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
Reviewed-by: kvn, cfang
2010-01-15 16:15:45 -08:00
Erik Trimble
5ce386d80e 6917463: Bump the HS17 build number to 07
Update the HS17 build number to 07

Reviewed-by: jcoomes
2010-01-15 14:28:16 -08:00
Erik Trimble
a538576b56 Merge 2010-01-15 14:25:44 -08:00
Tom Rodriguez
72d0f638c7 6849984: Value methods for platform dependent math functions constant fold incorrectly
Reviewed-by: kvn, twisti
2010-01-15 11:53:33 -08:00
David Katleman
ea80682a9f Added tag jdk7-b79 for changeset 9b63533d5895 2010-01-14 15:48:26 -08:00
John R Rose
8214fc3a3b 6912065: final fields in objects need to support inlining optimizations for JSR 292
Reviewed-by: twisti, kvn
2010-01-13 23:05:52 -08:00
John Cuthbertson
29a13dc105 6915005: G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001
When enqueuing a completed PtrQueue buffer, cache a local pointer to the buffer and clear the field in the PtrQueue prior to unlocking the mutex referenced by the _lock field and pass the cached local value to the enqueuing routine. This will prevent the same completed buffer being enqueued multiple times, which causes the hang.

Reviewed-by: ysr
2010-01-13 15:45:47 -08:00
Y. Srinivas Ramakrishna
331512606a 6896647: card marks can be deferred too long
Deferred card marks are now flushed during the gc prologue. Parallel[Scavege,OldGC] and SerialGC no longer defer card marks generated by COMPILER2 as a result of ReduceInitialCardMarks. For these cases, introduced a diagnostic option to defer the card marks, only for the purposes of testing and diagnostics. CMS and G1 continue to defer card marks. Potential performance concern related to single-threaded flushing of deferred card marks in the gc prologue will be addressed in the future.

Reviewed-by: never, johnc
2010-01-13 15:26:39 -08:00
Vasanth Venkatachalam
a5e58e8d53 6580131: 3/4 CompiledMethodLoad events don't produce the expected extra notifications to describe inlining
Add support for additional implementation specific info to the JVM/TI CompiledMethodLoad event via the compile_info parameter.

Reviewed-by: never, ohair, tbell, tdeneau
2010-01-13 09:39:46 -07:00
John Cuthbertson
0917ad432e 6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
Remove invalid assert and mangle filler objects in TLABs that are being retired.

Reviewed-by: ysr, jmasa
2010-01-12 14:56:46 -08:00
Changpeng Fang
815db4fcba 6894779: Loop Predication for Loop Optimizer in C2
Loop predication implementation

Reviewed-by: never, kvn
2010-01-12 14:37:35 -08:00
Igor Veresov
ba4994e447 Merge 2010-01-12 13:54:40 -08:00
Y. Srinivas Ramakrishna
c0174fb200 Merge 2010-01-09 09:01:41 -08:00
Tom Rodriguez
96612c6e23 6909839: missing unsigned compare cases for some cmoves in sparc.ad
Reviewed-by: kvn, jrose
2010-01-09 00:59:35 -08:00
John R Rose
48bd193a36 Merge 2010-01-08 18:27:20 -08:00
John R Rose
6fbdf208fc 6912063: inlining parameters need to be adjusted for some uses of the JVM
Put all inline-related switches into product mode, to allow tuning by dynamic language implementors.

Reviewed-by: twisti, kvn
2010-01-08 13:58:49 -08:00
John R Rose
fdbb64ef71 6912062: disassembler plugin needs to produce symbolic information in product mode
More informative disassembly in product mode.  Also, a more consistent CompileCommand syntax.

Reviewed-by: never
2010-01-08 13:47:01 -08:00
Vladimir Kozlov
eca996c10f 6910484: incorrect integer optimization (loosing and op-r in a given example)
Remove AND operation only if mask is equal to shift.

Reviewed-by: never
2010-01-08 09:51:24 -08:00
Kevin Brown
7548b8eed5 6915110: IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp
Check RootNode before check Loop in IfNode::up_one_dom().

Reviewed-by: never
2010-01-08 09:42:31 -08:00
Christian Thalinger
e5fb2ad1c4 6914206: change way of permission checking for generated MethodHandle adapters
Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.

Reviewed-by: kvn, never, jrose
2010-01-08 11:09:46 +01:00
Vladimir Kozlov
8da8433a6f 6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
Add missing check that value is used in memory expression in instructions with embedded load.

Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Gary Benson
5d66f5aca8 6914622: Print values of all flags for product VM
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.

Reviewed-by: phh, ysr
2010-01-07 16:24:17 -08:00
Jon Masamitsu
69342d1472 6912018: CMS: guarantee(head() != 0,"The head of the list cannot be NULL")
Block too small to split was not correctly putback to free lists.

Reviewed-by: ysr
2010-01-07 08:14:45 -08:00
Igor Veresov
5bec0d60ab Merge 2010-01-06 22:21:39 -08:00
Tom Rodriguez
ac5dfe00c7 Merge 2010-01-06 14:25:03 -08:00
Tom Rodriguez
98449cf2c2 6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Tom Rodriguez
0998a8591f 6914002: unsigned compare problem after 5057818
Reviewed-by: kvn, twisti
2010-01-05 16:12:26 -08:00
Tom Rodriguez
6c0af1575c Merge 2010-01-05 11:16:09 -08:00
Gary Benson
99b489b4f7 6908267: Zero fails to unlock synchronized native methods on exception
Reviewed-by: never
2010-01-05 11:14:54 -08:00
Christian Thalinger
47f2433a58 6893268: additional dynamic language related optimizations in C2
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.

Reviewed-by: kvn, never
2010-01-05 15:21:25 +01:00
Christian Thalinger
375527d84e 6829187: compiler optimizations required for JSR 292
C2 implementation for invokedynamic support.

Reviewed-by: kvn, never
2010-01-05 13:05:58 +01:00
Vladimir Kozlov
9be2e29930 6913075: EA identifies escape state incorrectly after 6895383 fix
EA incorrectly identifies escape state of an allocation passed as call argument.

Reviewed-by: never
2010-01-04 15:21:09 -08:00
Y. Srinivas Ramakrishna
642d1bc555 6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.

Reviewed-by: coleenp, dholmes, jmasa, poonam
2010-01-04 14:51:26 -08:00
Christian Thalinger
caf28727eb 6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.

Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Jon Masamitsu
1335d16d6e Merge 2010-01-04 07:58:42 -08:00
Christian Thalinger
14305ba3f4 Merge 2010-01-04 07:04:46 -08:00
Christian Thalinger
3a896a1408 6894206: JVM needs a way to traverse method handle structures
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.

Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Gary Benson
3baf653c68 6913869: Zero assert fix
Zero currently won't build on zSeries or PowerPC machines with assertions turned on.

Reviewed-by: twisti
2010-01-04 03:34:40 -08:00
Gary Benson
915d9602fe 6909153: Fix broken options on Zero
Smaller fixes to ensure that Zero still works with non-standard options.

Reviewed-by: twisti
2010-01-04 00:22:57 -08:00
Y. Srinivas Ramakrishna
272a6d47bb 6631166: CMS: better heuristics when combatting fragmentation
Autonomic per-worker free block cache sizing, tunable coalition policies, fixes to per-size block statistics, retuned gain and bandwidth of some feedback loop filters to allow quicker reactivity to abrupt changes in ambient demand, and other heuristics to reduce fragmentation of the CMS old gen. Also tightened some assertions, including those related to locking.

Reviewed-by: jmasa
2009-12-23 09:23:54 -08:00
Erik Trimble
4909043745 Merge 2009-12-23 03:12:16 -08:00
Erik Trimble
286ca964ca Merge 2009-12-23 02:57:31 -08:00
Jon Masamitsu
6494298403 Merge 2009-12-23 00:47:04 -08:00
Jon Masamitsu
9e0ee0f526 Merge 2009-12-22 22:35:08 -08:00
Igor Veresov
f64d1c0216 Merge 2009-12-22 17:56:03 -08:00
Erik Trimble
54542ccadf 6912782: Bump the HS17 build number to 06
Update the HS17 build number to 06

Reviewed-by: jcoomes
2009-12-22 16:35:08 -08:00
Erik Trimble
1b52c50931 Merge 2009-12-22 16:33:46 -08:00
Erik Trimble
113321f4a7 Merge 2009-12-22 16:32:11 -08:00
Michael Wilkerson
1cba1184f3 Added tag jdk7-b78 for changeset c60317f0dfe6 2009-12-17 14:10:24 -08:00
Jon Masamitsu
9610e7e0af Merge 2009-12-17 07:02:39 -08:00
Tom Rodriguez
eb547a56a5 5057818: codecache full and compiler disabled in bigapps fastdebug run
Reviewed-by: kvn
2009-12-16 22:15:12 -08:00
Xiaobin Lu
47f7d77695 Merge 2009-12-16 15:44:08 -08:00
Igor Veresov
1383dc414b 6862387: tune concurrent refinement further
Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes.

Reviewed-by: apetrusenko, tonyp
2009-12-16 15:12:51 -08:00
Xiaobin Lu
f42d7fcedb 6895168: JCK api/signaturetest/sigtest.basic.html#basic test fails for jdk 5.0 with HS 16 in nightly build
Reviewed-by: dholmes, acorn, jrose
2009-12-16 14:27:50 -08:00
Xiaobin Lu
ad61b86753 6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Jesse Glick
cef018f382 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:48 -08:00
Paul Hohensee
ce423c9e98 6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes.

Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
Christian Thalinger
fae9c37803 6829192: JSR 292 needs to support 64-bit x86
Changes for method handles and invokedynamic

Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Igor Veresov
bcf018d026 Merge 2009-12-15 17:19:40 -08:00
Daniel D. Daugherty
ab3b12bdbd Merge 2009-12-14 13:26:29 -07:00
Daniel D. Daugherty
ce78944539 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.

Reviewed-by: dholmes, ohair
2009-12-14 10:05:36 -07:00
Daniel D. Daugherty
8dd1b6ace1 6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
Return error on invalid JVMTI_PHASE instead of asserting.

Reviewed-by: dholmes, ohair
2009-12-14 09:51:09 -07:00
Erik Trimble
6f0c95f7a3 Merge 2009-12-11 16:38:37 -08:00
Yumin Qi
4f656a451e 6361589: Print out stack trace for target thread of GC crash
If GC crashed with java thread involved, print out the java stack trace in error report

Reviewed-by: never, ysr, coleenp, dholmes
2009-12-11 11:09:49 -08:00
Jon Masamitsu
1bed5a3ded Merge 2009-12-11 09:30:48 -08:00
Jon Masamitsu
c5b5e2e3a7 Merge 2009-12-11 08:39:30 -08:00
John Cuthbertson
93d5e80a7e 6908215: G1: SEGV with G1PolicyVerbose=2 debug flag
Change CollectionSetChooser::printSortedHeapRegions to handle null entries in _markedRegions growable array.

Reviewed-by: jmasa, tonyp, iveresov
2009-12-09 23:51:38 -08:00
Vladimir Kozlov
00f583219f 6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
Move instance store's memory users to corresponding memory slices when updating its memory edge.

Reviewed-by: never
2009-12-09 19:50:14 -08:00
Vladimir Kozlov
9f5ca0249d 6895383: JCK test throws NPE for method compiled with Escape Analysis
Add missing checks for MemBar nodes in EA.

Reviewed-by: never
2009-12-09 16:40:45 -08:00
Tom Rodriguez
dfbb0bf3e2 6908167: jbb2005, OptimizeStringConcat causes assert in EA
Reviewed-by: kvn
2009-12-08 16:27:21 -08:00
Y. Srinivas Ramakrishna
d090b4fe29 6908208: UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727
In array_size() cast to an unsigned to avoid overflow of intermediate value.

Reviewed-by: kvn, tonyp, jmasa, jcoomes, coleenp
2009-12-08 15:12:17 -08:00
Antonios Printezis
203cd9408a 6904967: G1: some CollectionUsageThreshold tests fail
Ensure that max and committed are non-zero (currently: at least as large as the region size).

Reviewed-by: iveresov, mchung
2009-12-07 14:22:34 -05:00
Antonios Printezis
911a80e5d5 6906565: G1: deal with compilation warning in g1MemoryPool.hpp
Size_t max_size() hides size_t max_size() const.

Reviewed-by: jmasa, ysr
2009-12-04 07:44:41 -05:00
Antonios Printezis
8a125d9913 6880903: G1: G1 reports incorrect Runtime.maxMemory()
G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method

Reviewed-by: ysr, jmasa
2009-12-04 07:44:35 -05:00
Y. Srinivas Ramakrishna
d875a8e0f1 6906727: UseCompressedOops: some card-marking fixes related to object arrays
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).

Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Vladimir Kozlov
d19aa4e217 6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
Use size_t type cast to widen int values in typeArrayKlass::copy_array().

Reviewed-by: never, jcoomes
2009-12-03 14:20:22 -08:00
Michael Wilkerson
740223f03b Added tag jdk7-b77 for changeset 3b5dba03cfd7 2009-12-03 12:52:49 -08:00
David Holmes
baf249687c Merge 2009-12-02 20:32:27 -05:00
Changpeng Fang
8a9580b1a1 6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
Skip the secondary induction variable handling if it is dead

Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Coleen Phillimore
0f3f714a22 Merge 2009-12-02 07:59:49 -08:00
Igor Veresov
b5e3a7a597 Merge 2009-12-01 22:11:01 -08:00
David Holmes
10232cb341 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.

Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05:00
Igor Veresov
7dc1f5f545 Merge 2009-12-01 14:49:41 -08:00
Gary Benson
63cc2211ed 6896043: first round of zero fixes
Reviewed-by: kvn
2009-11-27 07:56:58 -08:00
Changpeng Fang
a3b6bcb4a8 6904191: OptimizeStringConcat should be product instead of experimental
Make OptimizeStringConcat a product VM option(contributed by never)

Reviewed-by: never
2009-11-25 12:09:02 -08:00
Mandy Chung
b409d16477 6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization

Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00
Keith McGuigan
c3f175e0d5 Merge 2009-11-25 09:03:42 -05:00
John Cuthbertson
5a239d996b 6899058: G1: Internal error in ptrQueue.cpp:201 in nightly tests
Fixes a race on the dirty card queue completed buffer list between worker thread(s) performing a flush of a deferred store barrier (enqueueing a newly completed buffer) and worker thread(s) in the RSet updating code claiming completed buffers. Removed the routine that removes elements from the completed update buffer queue using a CAS.

Reviewed-by: ysr, tonyp
2009-11-24 15:19:30 -08:00
Changpeng Fang
4a2266601a Merge 2009-11-24 11:49:42 -08:00
Karen Kinnear
8b3ec53033 Merge 2009-11-23 16:24:35 -05:00
Paul Hohensee
4aba621c22 6900899: vm fails to start when -Xmx value is less than OldSize + NewSize
Set minimum heap size to min(OldSize + NewSize, MaxHeapSize) in Arguments::set_heap_size().

Reviewed-by: kvn, ysr, tonyp
2009-11-20 16:22:38 -05:00
Antonios Printezis
9cf0c891d9 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1.

Reviewed-by: mchung, ysr
2009-11-20 14:47:01 -05:00
Vladimir Kozlov
39a98bab1d 6902036: WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required")
Remove the assert.

Reviewed-by: twisti
2009-11-19 14:32:23 -08:00
Y. Srinivas Ramakrishna
b5af9f3408 6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.

Reviewed-by: tonyp
2009-11-19 13:43:25 -08:00
Y. Srinivas Ramakrishna
c54bb4236d 6902701: G1: protect debugging code related to 6898948 with a debug flag
Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error.

Reviewed-by: tonyp
2009-11-19 10:19:19 -08:00
Christian Thalinger
e6547d1b20 6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
Set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos.

Reviewed-by: kvn
2009-11-19 03:41:29 -08:00
Y. Srinivas Ramakrishna
241f0f0cd8 6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation.

Reviewed-by: jcoomes, tonyp
2009-11-13 11:55:26 -08:00
David Katleman
39adc1c2b2 Added tag jdk7-b76 for changeset 02d36709a16f 2009-11-12 15:35:38 -08:00
Tom Rodriguez
9db2092b1b 6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Tom Rodriguez
1fb2423873 6892079: live value must not be garbage failure after fix for 6854812
Reviewed-by: kvn
2009-11-11 23:39:17 -08:00
Karen Kinnear
47748afed5 6893504: LinkageError for bootstrap duplicate class definitions
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05:00
Keith McGuigan
01b706e9f9 Merge 2009-11-11 09:13:12 -05:00
Changpeng Fang
2c40841f3f Merge 2009-11-10 17:00:18 -08:00
Jon Masamitsu
bedf908436 6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
Use CollectorPolicy information instead of MaxNewSize

Reviewed-by: ysr, jcoomes
2009-11-10 11:32:48 -08:00
Keith McGuigan
a3b18775c7 Merge 2009-11-06 16:05:59 -05:00
Keith McGuigan
d98c05b678 Merge 2009-11-06 15:04:26 -05:00
John Cuthbertson
f473d94b9c 6895788: G1: SATB and update buffer allocation code allocates too much space
The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer.

Reviewed-by: ysr, tonyp
2009-11-06 11:10:05 -08:00
Erik Trimble
37c4dee7db Merge 2009-11-06 00:41:40 -08:00
Erik Trimble
61acb34177 6898707: Bump the HS17 build number to 05
Update the HS17 build number to 05

Reviewed-by: jcoomes
2009-11-05 15:58:32 -08:00
Erik Trimble
98ce9a72d2 Merge 2009-11-05 15:44:04 -08:00
Vladimir Kozlov
c5744bd138 6896352: CTW fails hotspot/src/share/vm/opto/escape.cpp:1155
Always call C->get_alias_index(phase->type(address)) during parsing.

Reviewed-by: never
2009-11-04 14:43:50 -08:00
Vladimir Kozlov
9c1321eed3 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
Move DecodeN code outside the memory nodes only code.

Reviewed-by: never
2009-11-04 14:16:20 -08:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Y. Srinivas Ramakrishna
a3e539d0da 6801625: CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
Allow iteration over the shared spaces when using CDS, repealing previous proscription. Deferred further required CDS-related cleanups of perm gen to CR 6897789.

Reviewed-by: phh, jmasa
2009-11-03 16:43:16 -08:00
Roland Westrelin
7eea7dcfe4 6769124: various 64-bit fixes for c1
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Xiaobin Lu
f5e722511a Merge 2009-10-30 17:24:14 -07:00
John R Rose
903247cf85 6858164: invokedynamic code needs some cleanup (post-6655638)
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl

Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
Michael Wilkerson
5873c77d42 Added tag jdk7-b75 for changeset ac997bc87110 2009-10-30 10:54:34 -07:00
Antonios Printezis
56b1d0c435 Merge 2009-10-30 13:31:11 -04:00
Changpeng Fang
e3b5580ecc 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
Disable SuperWord optimization for unsafe read/write

Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Vladimir Kozlov
bdd0f44def 6896084: VM does not reserve protected page below heap for compressed oops implicit null checks
Set narrow_oop_base and narrow_oop_use_implicit_null_checks in Universe::preferred_heap_base().

Reviewed-by: twisti, jcoomes
2009-10-29 16:57:55 -07:00
John Cuthbertson
bf0f699b33 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.

Reviewed-by: kvn, twisti
2009-10-29 09:42:26 -07:00
Changpeng Fang
c1eacdef5a Merge 2009-10-29 08:49:31 -07:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Y. Srinivas Ramakrishna
cd43e74d4e 6818264: Heap dumper unexpectedly adds .hprof suffix
Restore old behaviour wrt HeapDumpPath; first dump goes to <file>, <n>th dump goes to <file>.<n-1>, with default value of <file> the same as before.

Reviewed-by: alanb, jcoomes, tonyp
2009-10-28 11:16:42 -07:00
Xiaobin Lu
5e86d923f2 Merge 2009-10-28 10:37:17 -07:00
Christian Thalinger
ad6d07e80b 6893554: SPECjvm2008 mpegaudio fails with SecurityException
The problem occurs with negative numbers, as the 32-bit input values are sign extended into the 64-bit registers.

Reviewed-by: kvn
2009-10-27 03:00:27 -07:00
Andrey Petrusenko
79580cb425 6870843: G1: G1 GC memory leak
The fix addresses two memory leaks in G1 code: (1) _evac_failure_scan_stack - a resource object allocated on the C heap was not freed; (2) RSHashTable were linked into deleted list which was only cleared at full GC.

Reviewed-by: tonyp, iveresov
2009-10-27 02:42:24 -07:00
Xiaobin Lu
bfa076da18 Merge 2009-10-23 18:44:33 -07:00
Erik Trimble
dce55d0f18 Merge 2009-10-23 14:28:47 -07:00
Erik Trimble
c85f6acf41 6894844: Bump the HS17 build number to 04
Update the HS17 build number to 04

Reviewed-by: jcoomes
2009-10-23 14:27:16 -07:00
Andrey Petrusenko
da1b89b746 6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
Reviewed-by: tonyp, ysr
2009-10-22 07:43:49 -07:00
Vladimir Kozlov
022d690049 6892186: SA does not dump debug info for scalar replaced objects
Implement scalar replaced objects debug info dump in SA.

Reviewed-by: twisti
2009-10-21 09:15:33 -07:00
Keith McGuigan
6dfb497d00 6893483: DTrace probe return values for a couple JNI methods are wrong
Fix the shadowing and incorrect macro usages

Reviewed-by: coleenp
2009-10-20 16:34:08 -04:00
Antonios Printezis
e57cedc5ed Merge 2009-10-20 11:28:25 -07:00
Y. Srinivas Ramakrishna
0bb99b44ef 6892749: assert(UseParNewGC || UseSerialGC || UseConcMarkSweepGC, "...") fails
Removed the assert: UseSerialGC is not necessarily always set when serial gc is being used.

Reviewed-by: jcoomes, jmasa, tonyp
2009-10-20 00:00:23 -07:00
Antonios Printezis
9f337f438a Merge 2009-10-19 17:02:19 -04:00
John R Rose
2134a92922 6815692: method handle code needs some cleanup (post-6655638)
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support

Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
Changpeng Fang
9c6f603b85 Merge 2009-10-16 16:14:12 -07:00
Changpeng Fang
35ca20c546 Merge 2009-10-16 14:08:44 -07:00
Y. Srinivas Ramakrishna
928ac69fcd 6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)

Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store  and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().

Reviewed-by: jcoomes, kvn, never
2009-10-16 02:05:46 -07:00
Xiomara Jayasena
89510f5c0b Added tag jdk7-b74 for changeset b95ea007fe67 2009-10-15 16:40:19 -07:00
Tom Rodriguez
8eace255e1 6891750: deopt blob kills values in O5
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Vladimir Kozlov
34324e30c0 6890984: Comparison of 2 arrays could cause VM crash
Restore original null checks.

Reviewed-by: never, cfang
2009-10-14 15:03:32 -07:00
Xiaobin Lu
88d2bc6d8d Merge 2009-10-14 12:40:20 -07:00
Vladimir Kozlov
3d9a536c1a 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
Use -y zip option to preserve symbolic links.

Reviewed-by: never, jcoomes, kamg
2009-10-14 11:42:59 -07:00
Tom Rodriguez
6af1a61656 6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
Reviewed-by: jrose, kvn, cfang, twisti
2009-10-14 10:36:57 -07:00
Vladimir Kozlov
998bcbaf4b 6889300: assert(i != k || is_new || i->outcnt() > 0, "don't return dead nodes")
PhiNode::Ideal() should return TOP for Phi node with no users.

Reviewed-by: never, jrose
2009-10-13 22:32:31 -07:00
Vladimir Kozlov
9a22acef05 6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce
Restore the original code: uint i = _hi_degree.

Reviewed-by: never, jrose
2009-10-13 20:54:13 -07:00
Tom Rodriguez
9ecd8e48ca 6889302: TraceExceptions output should include detail message
Reviewed-by: twisti, jrose, kvn
2009-10-13 16:29:31 -07:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Erik Trimble
19fcbc7c3e 6890293: Bump the HS17 build number to 03
Update the HS17 build number to 03

Reviewed-by: jcoomes
2009-10-09 15:21:07 -07:00
Erik Trimble
8cea3ed3b4 Merge 2009-10-09 15:18:52 -07:00
Antonios Printezis
a67426faf8 6866190: Remove SIMPLE_STACK code from TaskQueue
What the title says. We don't use SIMPLE_STACK any more.

Reviewed-by: ysr
2009-10-07 19:01:55 -04:00
Tom Rodriguez
9b306d03ee 6885584: A particular class structure causes large allocation spike for jit
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Vladimir Kozlov
ba951dbf36 6875959: CTW fails hotspot/src/share/vm/opto/reg_split.cpp:1087
To break spill ties choose bound live range over unbound to free register or one with smaller cost to spill.

Reviewed-by: never, jrose
2009-10-07 12:43:50 -07:00
Bob Vandette
9681f68f38 6888847: TaskQueue needs release_store() for correctness on RMO machines
See title.

Reviewed-by: jmasa, ysr, jcoomes, iveresov, tonyp
2009-10-07 09:48:42 -04:00
Antonios Printezis
9288a18639 6888619: G1: too many guarantees in concurrent marking
Change more guarantees in concurrent marking into asserts.

Reviewed-by: apetrusenko, iveresov
2009-10-07 10:09:57 -04:00
Antonios Printezis
0835f0c4df 6888316: G1: has_aborted() || _cm->region_stack_empty() fails
Remove incorrect guarantee.

Reviewed-by: apetrusenko, iveresov
2009-10-07 09:42:18 -04:00
Volker Simonis
930f3d4570 6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
Fix problem with the double register encodings in sparc.ad

Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Christian Thalinger
e4541dcd08 6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.

Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Antonios Printezis
31de6adee9 6847956: G1: crash in oopDesc*G1ParCopyHelper::copy_to_survivor_space(oopDesc*)
When we copy objects to survivors during marking, we incorrectly set NTAMS to bottom, which causes marking to miss visiting some of those objects.

Reviewed-by: apetrusenko, iveresov
2009-10-05 12:05:48 -04:00
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04:00
Antonios Printezis
2684c3a431 6882730: G1: parallel heap verification messes up region dump
It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure.

Reviewed-by: johnc, jmasa
2009-10-02 16:20:42 -04:00
Antonios Printezis
99a529bb86 6885041: G1: inconsistent thread dump
When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly.

Reviewed-by: ysr, johnc
2009-10-02 16:12:07 -04:00
John Coomes
e379759e1b 6887948: test/gc/6845368/bigobj.java fails due to timeout
Reviewed-by: iveresov
2009-10-05 05:51:22 -07:00
Xiomara Jayasena
f174a87b09 Added tag jdk7-b73 for changeset 2248859f89d4 2009-10-02 11:26:25 -07:00
John Cuthbertson
7f1cf79e6d 6887186: G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
Modify operand passed to C1 pre-barrier to be the operand representing the address of the object field that is being stored.

Reviewed-by: never
2009-10-01 15:56:19 -07:00
John R Rose
f34acd6601 Merge 2009-09-30 13:25:39 -07:00
Antonios Printezis
2c2a8ae8b1 6890137: G1: revamp reachable object dump
Revamp the reachable object dump debugging facility.

Reviewed-by: jmasa, apetrusenko
2009-09-30 14:50:51 -04:00
Antonios Printezis
7c9b6d8d16 6886024: G1: assert(recent_avg_pause_time_ratio() < 1.00,"All GC?")
The assert is incorrect and can fire incorrectly due to floating point inaccuracy.

Reviewed-by: apetrusenko, ysr, jcoomes
2009-10-23 14:34:27 -04:00
Changpeng Fang
9640e8148d 6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot

Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Karen Kinnear
1a46b05dd4 Merge 2009-09-28 12:27:52 -04:00
Vladimir Kozlov
7e942d79d0 6883468: C2 compiler enters infinite loop in PhaseIterGVN::transform
Avoid ideal transformation ping-pong between AddPNode::Ideal() and CastX2PNode::Ideal().

Reviewed-by: cfang
2009-09-25 13:26:02 -07:00
Erik Trimble
3cb09cdcfc 6885900: Bump the HS17 build number to 02
Update the HS17 build number to 02

Reviewed-by: jcoomes
2009-09-25 12:19:19 -07:00
Erik Trimble
652ccb8d21 Merge 2009-09-25 12:17:06 -07:00
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -07:00
Xiaobin Lu
89aa7fcef6 6880029: JDK 1.6.0_u14p Application crashed very early
Reviewed-by: never, ysr, acorn
2009-09-24 12:10:46 -07:00
John R Rose
eb73cf4739 6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
After mechanically merging changes, some by-hand adjustments are needed.

Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6 Merge 2009-09-23 23:56:15 -07:00
Andrew John Hughes
a6a41760f1 6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port

Reviewed-by: ysr, jcoomes
2009-09-23 11:36:06 -07:00
Daniel D. Daugherty
f6523d1043 6876794: 4/4 sp07t002 hangs very intermittently
Remove over locking by VMThread on "is thread suspended?" check

Reviewed-by: dholmes, acorn, andrew
2009-09-22 21:12:37 -06:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Karen Kinnear
4e453ff713 Merge 2009-09-21 18:10:22 -04:00
Daniel D. Daugherty
2a4f284029 6419370: 4/4 new jmethodID code has tiny holes in synchronization
Fix races in jmethodID cache and JNI itable index cache.

Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Karen Kinnear
73672d44db Merge 2009-09-18 15:14:50 -04:00
Vladimir Kozlov
25296d001b 6820514: meet not symmetric failure in ctw
Add missing instance_id meet.

Reviewed-by: never
2009-09-18 09:57:47 -07:00
Andrey Petrusenko
0b2a3eda9c Merge 2009-09-18 06:02:17 -07:00
Xiomara Jayasena
fc5a3ad2a8 Added tag jdk7-b72 for changeset 0fa11a27fb57 2009-09-17 13:46:45 -07:00
Karen Kinnear
9ed976194b 6879572: SA fails _is_marked_dependent not found
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Tom Rodriguez
7437f0b825 6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
2009-09-16 11:06:10 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
John R Rose
47c425506d Merge 2009-09-15 22:50:12 -07:00
John R Rose
e261aecad8 6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops.

Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Erik Trimble
ca3fd330c5 Merge 2009-09-15 20:44:24 -07:00
Vladimir Kozlov
c89a572b3e 6879362: assert(!klass_is_exact(),"only non-exact klass")
Do nothing for AddP node which has type not related to the type of allocated object.

Reviewed-by: never
2009-09-15 19:03:39 -07:00
Y. Srinivas Ramakrishna
8c18990964 6861557: G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
Druing heap shrinking, check for emptiness of a region before modifying its ZF status.

Reviewed-by: tonyp
2009-09-15 16:50:50 -07:00
Karen Kinnear
ffb85ff832 Merge 2009-09-15 16:28:57 -04:00
Changpeng Fang
1cf5b7ae11 6879921: CTW failure jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Filter out non-primitives before deciding whether two ops can be packed

Reviewed-by: kvn, never
2009-09-15 11:09:34 -07:00
Vladimir Kozlov
243514d483 6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2

Modify String intrinsic methods to pass char[] pointers instead of string oops.

Reviewed-by: never
2009-09-14 12:14:20 -07:00
Vladimir Kozlov
5e31e14ea4 Merge 2009-09-14 11:45:03 -07:00
Changpeng Fang
c492f4cde5 6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Vladimir Kozlov
e0519e7bbd 6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object.

Reviewed-by: never
2009-09-10 18:18:06 -07:00
Y. Srinivas Ramakrishna
e42ca11cd1 6872136: CMS: confusing message may be printed when a collector is switched off implicitly
Fix CDS/CMS option overrides related to iCMS option CMSIncrementalMode; explicate overrides to error stream.

Reviewed-by: coleenp
2009-09-10 16:46:17 -07:00
Vladimir Kozlov
515f68b637 6880574: C2 assert in escape.cpp:445 on linux-amd64
Look through chained AddP nodes in get_addp_base().

Reviewed-by: jrose
2009-09-10 10:36:24 -07:00
Karen Kinnear
ab1485b385 Merge 2009-09-10 09:04:41 -04:00
Vladimir Kozlov
75e90c9027 6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: never
2009-09-09 16:28:03 -07:00
Vladimir Kozlov
f0f6f93143 6880052: SIGSEGV in GraphKit::null_check_common()
Check that a klass is not NULL before the is_loaded() call.

Reviewed-by: never
2009-09-08 16:56:31 -07:00
Vladimir Kozlov
d486b5f5fd 6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method.

Reviewed-by: never
2009-09-08 10:42:50 -07:00
Andrew John Hughes
361f8360c0 Merge 2009-09-08 09:02:48 +01:00
Andrew John Hughes
9cbfcde9a7 6879689: Fix warning about ignored return value when compiling with -O2
Store the return value of fwrite and check it matches the size of the array.

Reviewed-by: twisti, dholmes
2009-09-08 09:01:16 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e Merge 2009-09-04 05:31:37 -07:00
John Coomes
928d5f78a4 6879076: disable jprt sync after builds are done
Reviewed-by: kamg, dholmes
2009-09-03 19:21:55 -07:00
Xiomara Jayasena
c5819893e7 Added tag jdk7-b71 for changeset 8e014ad9c233 2009-09-03 10:52:51 -07:00
Poonam Bajaj
c04761e799 6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.

Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Tom Rodriguez
57a92290f4 6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Changpeng Fang
457be8ad49 6876276: assert(!is_visited,"visit only once")
Schedule the superword loads based on dependence constraints

Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Christian Thalinger
6ef69eb7c3 6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never
2009-08-31 02:24:21 -07:00
Andrei Pangin
13516fe398 Merge 2009-08-30 15:33:14 -07:00
Daniel D. Daugherty
be978406f7 Merge 2009-08-28 15:03:15 -07:00
Daniel D. Daugherty
2357edfa00 Merge 2009-08-28 12:32:06 -06:00
Daniel D. Daugherty
779247f1cb 6875393: 2/3 JNI itable index cache is broken
Add missing initialization of cache size.

Reviewed-by: tbell
2009-08-28 12:25:46 -06:00
Vladimir Kozlov
343b5b0bef 6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Fix do_null_check to check for unloaded klass for all oop pointers.

Reviewed-by: never, cfang
2009-08-28 11:19:33 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Christian Thalinger
b357ca3ad1 6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.

Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Vladimir Kozlov
15d404c6c6 Merge 2009-08-25 13:08:40 -07:00
Tom Rodriguez
9966801c6c 6875329: fix for 6795465 broke exception handler cloning
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Vladimir Kozlov
2a362d8b87 6873800: enable compressed oops by default
Enable compressed oops by default

Reviewed-by: never, ysr
2009-08-24 11:13:46 -07:00
Erik Trimble
13f64cfc51 Merge 2009-08-21 20:39:41 -07:00
Erik Trimble
3356fa9895 6873236: Fork HS16 to HS17 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS17 fork

Reviewed-by: jcoomes
2009-08-21 20:38:36 -07:00
Erik Trimble
3b812e4892 Merge 2009-08-21 20:16:58 -07:00
Changpeng Fang
ff9a1bddb5 6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams

Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Xiomara Jayasena
8d3b392ec7 Added tag jdk7-b70 for changeset 0caafb54c87f 2009-08-20 11:20:09 -07:00
Vladimir Kozlov
15b6cdf897 6873799: enable escape analysis by default
Enable escape analysis by default

Reviewed-by: never
2009-08-19 19:05:18 -07:00
Tom Rodriguez
0217f432c2 6873777: FPU control word optimization still performed with SSE
Reviewed-by: kvn
2009-08-19 18:54:35 -07:00
Andrei Pangin
6d98918342 Merge 2009-08-19 15:46:22 -07:00
Andrei Pangin
ab4b4a6433 Merge 2009-08-17 15:03:39 -07:00
Tom Rodriguez
cc01c0f4f6 6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd 6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
Delay dead code elimination in set_req_X to make it safe

Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Changpeng Fang
f6f2d510b9 6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
Make sure the control word is correct in deopt_blob after restore_result_registers

Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Tom Rodriguez
61d82b75be Merge 2009-08-14 22:11:18 -07:00
Erik Trimble
343d7a9ab6 Merge 2009-08-14 17:14:07 -07:00
Tom Rodriguez
7d0158d27f Merge 2009-08-14 15:55:26 -07:00
Tom Rodriguez
398fffa232 6862863: C2 compiler fails in elide_copy()
Reviewed-by: kvn
2009-08-14 15:53:46 -07:00
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -07:00
Vladimir Kozlov
6f927f1578 6869822: assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
Replace the assert with narrow_oop_shift set to 0.

Reviewed-by: never, jcoomes
2009-08-14 12:23:11 -07:00
Tim Bell
65e1007b58 Merge 2009-08-14 08:50:00 -07:00
Tom Rodriguez
c94a076d34 6862956: PhaseIdealLoop should have a CFG verification mode
Reviewed-by: kvn, twisti
2009-08-14 00:02:12 -07:00