Commit Graph

1032 Commits

Author SHA1 Message Date
Kelly O'Hair
d73143f27c Merge 2009-05-15 13:41:04 -07:00
Vassili Igouchkine
9ca52ee60e Added tag jdk7-b59 for changeset ba9ddcebd212 2009-05-14 10:57:58 -07:00
Erik Trimble
a31fce833b Merge 2009-05-13 08:46:58 -07:00
Erik Trimble
236059bc4e Merge 2009-05-13 08:40:46 -07:00
Christian Thalinger
8a262ce04b 6814842: Load shortening optimizations
6797305 handles load widening but no shortening which should be covered here.

Reviewed-by: never, kvn
2009-05-13 00:45:22 -07:00
Igor Veresov
702a13b785 6840196: NUMA allocator: crash in fastdebug during startup on Linux
With libnuma >1.2 explicity use 1.1 symbols

Reviewed-by: ysr
2009-05-12 15:55:56 -07:00
Vladimir Kozlov
e101bdf5df 6836054: java/util/Arrays/CopyMethods.java fails on solaris-sparc with IllegalArgumentException
Do not mark an allocation as scalar replaceable if its actual type in unknown statically.

Reviewed-by: never
2009-05-11 18:30:13 -07:00
Vladimir Kozlov
6202395cb2 6832293: JIT compiler got wrong result in type checking with -server
Check for an object array of interface in CmpPNode::sub().

Reviewed-by: never
2009-05-11 17:59:54 -07:00
Igor Veresov
8c764e214c 6484957: G1: parallel concurrent refinement
6826318: G1: remove traversal-based refinement code

Removed traversal-based refinement code as it's no longer used. Made the concurrent refinement (queue-based) parallel.

Reviewed-by: tonyp
2009-05-11 16:30:56 -07:00
Vassili Igouchkine
c724f6fbe7 Added tag jdk7-b58 for changeset 4b001cb378e2 2009-05-11 12:08:06 -07:00
Kelly O'Hair
09e524e11b Merge 2009-05-08 23:00:08 -07:00
Erik Trimble
7df98bfb6b Merge 2009-05-08 19:50:32 -07:00
Igor Veresov
dacaa6b65d 6838842: NUMA allocator: Segfault during startup on Linux
Restored os::free_memory() semantics

Reviewed-by: apetrusenko
2009-05-08 15:20:10 -07:00
Kelly O'Hair
4ac53f2566 6839151: Add a JPRT default test of -Xshare:dump when new hotspot is built
Reviewed-by: never, kvn
2009-05-08 15:16:38 -07:00
Kelly O'Hair
a3ead33c8d 6839126: Type error found by newer windows compiler
Reviewed-by: never, kvn
2009-05-08 14:33:58 -07:00
Vladimir Kozlov
34ee921399 6788527: Server vm intermittently fails with assertion "live value must not be garbage" with fastdebug bits
Cache Jvmti and DTrace flags used by Compiler.

Reviewed-by: never
2009-05-08 10:44:20 -07:00
Vladimir Kozlov
b5cff6a1a0 Merge 2009-05-08 10:34:31 -07:00
Erik Trimble
67fd924e0e 6838819: Bump the HS16 build number to 03
Update the HS16 build number to 03

Reviewed-by: jcoomes
2009-05-07 21:35:30 -07:00
Erik Trimble
2827b06412 Merge 2009-05-07 21:33:37 -07:00
Vladimir Kozlov
955a453996 Merge 2009-05-07 17:09:48 -07:00
John Coomes
4b2a0a80b5 Merge 2009-05-07 13:54:48 -07:00
Xiomara Jayasena
e53c553749 Merge 2009-05-07 10:30:17 -07:00
Keith McGuigan
e703c7c158 Merge 2009-05-07 11:44:53 -04:00
Christian Thalinger
a7d12b2fbf Merge 2009-05-07 04:16:53 -07:00
Christian Thalinger
1576a9be9e Merge 2009-05-07 00:28:13 -07:00
Tom Rodriguez
21e4bf1052 6838154: make/linux/makefiles/sa.make needs hash-style fix
Reviewed-by: kvn, jrose
2009-05-06 17:52:45 -07:00
Christian Thalinger
96139033e6 6837011: SIGSEGV in PhaseIdealLoop in 32bit jvm
The CR's test crashes with SIGSEGV when running with "-server -Xcomp" using using 32bit jvm.

Reviewed-by: kvn, never, rasbold
2009-05-06 12:04:42 -07:00
Christian Thalinger
e53f13b49f 6837906: compiler tests of 6636138 fail with IllegalAccessException
The compiler tests of 6636138 fail with an IllegalAccessException.

Reviewed-by: kvn
2009-05-06 08:57:24 -07:00
Christian Thalinger
6a270f9f19 6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
These methods can be instrinsified by using bit scan, bit test, and population count instructions.

Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
John Cuthbertson
92afe130d1 6833576: G1: assert illegal index, growableArray.hpp:186
The code that calculates the heap region index for an object address incorrectly used signed arithmetic.

Reviewed-by: jcoomes, ysr
2009-05-05 22:15:35 -07:00
Changpeng Fang
716c78f080 6833879: Assigning positive zero is ignored when old value is negative zero
Don't perform CMOVE identity optimization for floating point types

Reviewed-by: kvn, never
2009-05-05 11:02:10 -07:00
Tom Rodriguez
df05badc49 6837224: libsaproc.so on linux needs version of 6799141
Reviewed-by: kvn
2009-05-04 22:06:47 -07:00
Poonam Bajaj
1e41f46948 6829234: Refix 6822407 and 6812971
Fixes two SA issues 6822407 and 6812971

Reviewed-by: swamyv, acorn, kvn, coleenp
2009-05-04 17:58:10 -07:00
Andrey Petrusenko
907a41e100 Merge 2009-05-04 02:57:39 -07:00
Vladimir Kozlov
3c70cff23a 6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Switch off GCC 4.3.0 optimized compilation for mulnode.o.

Reviewed-by: johnc
2009-04-30 15:57:29 -07:00
John Cuthbertson
55750920b4 6490395: G1: Tidy up command line flags
Change G1 flag names to be more consistent and disable some in 'product' mode.

Reviewed-by: tonyp, iveresov
2009-04-30 15:07:53 -07:00
Xiomara Jayasena
b2a4da69f0 Added tag jdk7-b57 for changeset 86c4409e49f6 2009-04-30 15:04:27 -07:00
Vladimir Kozlov
e329e92190 Merge 2009-04-30 12:09:39 -07:00
John Coomes
cdc2e5a6af Merge 2009-04-30 09:53:20 -07:00
Kelly O'Hair
232190dc7b 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: kvn
2009-04-29 17:30:20 -07:00
John Coomes
e2a126f80d 6834202: Bump the HS16 build number to 02
Reviewed-by: jmasa
2009-04-29 13:27:51 -07:00
John Coomes
f40f23b2f0 Merge 2009-04-29 13:22:09 -07:00
Vladimir Kozlov
2c4602adb3 6834177: Running jsynprog on Solaris Nevada can cause JVM crash
Use CodeCache buffer blob instead of static buffer in AdapterHandlerLibrary.

Reviewed-by: never
2009-04-29 12:58:09 -07:00
Igor Veresov
db68fa7326 6819098: G1: reduce RSet scanning times
Added a feedback-driven exponential skipping for parallel RSet scanning.

Reviewed-by: tonyp, apetrusenko
2009-04-27 16:52:18 -07:00
Vladimir Kozlov
9e0929adba Merge 2009-04-27 12:55:28 -07:00
Vladimir Kozlov
a1533dafce 6834142: method->print_codes(): Error: ShouldNotReachHere()
Restore the call to Bytecodes::java_code() in BytecodePrinter::print_attributes().

Reviewed-by: jrose
2009-04-27 12:45:14 -07:00
Andrey Petrusenko
5213d97280 Merge 2009-04-27 12:33:57 -07:00
Tom Rodriguez
8e16f6b5c4 Merge 2009-04-24 18:45:14 -07:00
Tom Rodriguez
60e1a19b44 6833573: C2 sparc: assert(c < 64 && (c & 1) == 0,"bad double float register")
Reviewed-by: twisti
2009-04-24 15:08:30 -07:00
Changpeng Fang
003ca0f848 6833951: Extra ":" Causes Testcase in CR 6589834 "Parse Exception: Invalid tag: summary:"
Remove the colon

Reviewed-by: never
2009-04-24 09:14:39 -07:00
Xiomara Jayasena
57d7af3e23 Added tag jdk7-b56 for changeset 5bef15d9d54a 2009-04-23 15:54:48 -07:00
Changpeng Fang
04fdef79fa 6589834: deoptimization problem with -XX:+DeoptimizeALot
Relocate the stack pointer adjustment to where uncommon_trap is actually inserted for new_array.

Reviewed-by: kvn, jrose
2009-04-23 14:04:24 -07:00
Antonios Printezis
c2578847e2 6829013: G1: set the default value of G1VerifyConcMarkPrintRechable to false
Turn off G1VerifyConcMarkPrintReachable by default to minimize the amount of verbose output we generate by default.

Reviewed-by: jmasa
2009-04-23 16:58:16 -04:00
Erik Trimble
e84d20271d 6833316: jprt.properties not setting values for 6u14 release flag
Fix jprt.properties to do 6u14 tests right

Reviewed-by: ohair
2009-04-22 19:30:54 -07:00
Vladimir Kozlov
273a47426e 6709742: find_base_for_derived's use of Ideal NULL is unsafe causing crashes during register allocation
Create a mach node corresponding to ideal node ConP #NULL specifically for derived pointers.

Reviewed-by: never
2009-04-22 17:03:18 -07:00
Xiaobin Lu
ee78b15d5a Merge 2009-04-22 11:47:26 -07:00
Christian Thalinger
b9f27b5eea Merge 2009-04-22 06:09:24 -07:00
John R Rose
34c1d72421 6655646: dynamic languages need dynamically linked call sites
Invokedynamic instruction (JSR 292 RI)

Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
Erik Trimble
9e2e7197f6 Merge 2009-04-21 15:08:49 -07:00
Coleen Phillimore
2e43a0450f 6830069: UseLargePages is broken on Win64
Making VirtualAlloc/VirtualProtect two calls for PAGE_EXECUTE_READWRITE doesn't work for MEM_LARGE_PAGES.

Reviewed-by: xlu, kvn, jcoomes
2009-04-21 16:12:51 -04:00
Christian Thalinger
57d945fd3d 6822110: Add AddressLiteral class on SPARC
The Address class on SPARC currently handles both, addresses and address literals, what makes the Address class more complicated than it has to be.

Reviewed-by: never, kvn
2009-04-21 11:16:30 -07:00
Tom Rodriguez
fd05c28901 Merge 2009-04-20 14:48:03 -07:00
Tom Rodriguez
425fb8197e 6831604: missing null check in guarantee
Reviewed-by: kvn
2009-04-17 12:22:18 -07:00
Vladimir Kozlov
6615262737 6831323: Use v8plus as minimum required hardware for current Hotspot sources
Use -xarch=v8plus as default for 32-bits VM on sparc.

Reviewed-by: never, twisti
2009-04-17 09:38:32 -07:00
Andrew Haley
ef21b09a71 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:50:12 +01:00
Tom Rodriguez
617835c850 6741757: minor ctw improvements
Reviewed-by: kvn
2009-04-16 21:25:29 -07:00
Tom Rodriguez
88ac170f53 6828024: verification of fixed interval usage is too weak
Reviewed-by: kvn
2009-04-16 15:50:32 -07:00
Xiomara Jayasena
faaab0292b Added tag jdk7-b55 for changeset c7888e8ac47a 2009-04-16 11:22:40 -07:00
Tom Rodriguez
970eb79fc4 6449385: JCK test dup2_x200106m1 fails with Segmentation Fault on x86
Reviewed-by: kvn
2009-04-16 10:40:42 -07:00
Erik Trimble
cdcc52dcab 6830815: jprt.config not setting proper compiler version for use in 6u14
Add the 6u14 option to the jprt.config file in workspace

Reviewed-by: ohair
2009-04-15 21:31:46 -07:00
Tom Rodriguez
1097f94525 6684007: PrintAssembly plugin not available for linux or windows
Reviewed-by: rasbold, jrose, twisti
2009-04-15 09:53:54 -07:00
Tom Rodriguez
62717f091a Merge 2009-04-14 12:25:54 -07:00
Changpeng Fang
08466ce0ca 6829021: tests for 6636138 use UseSuperword instead of UseSuperWord
Remove the wrong flag -XX:+UseSuperword to fix the Nightly failure

Reviewed-by: kvn, never
2009-04-10 15:01:14 -07:00
Xiaobin Lu
87b1e69996 Merge 2009-04-09 13:59:45 -07:00
Xiomara Jayasena
baa83308c5 Added tag jdk7-b54 for changeset c77d20908054 2009-04-09 10:37:18 -07:00
Erik Trimble
1f75d1c6dd 6828076: Fork HS15 to HS16 - renumber Major and build numbers of JVM
Update the Hotspot version number to HS16 B01 for HS16 fork

Reviewed-by: jcoomes
2009-04-08 14:55:38 -07:00
John R Rose
ce0c084720 6655638: dynamic languages need method handles
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)

Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
John R Rose
318da3f68c 6827505: sizing logic for vtable and itable stubs needs self-check
Asserts and comments to help maintain the correct sizing of certain stubs

Reviewed-by: kvn
2009-04-08 00:12:59 -07:00
Vladimir Kozlov
ca3a3504be 6711117: Assertion in 64bit server vm (flat != TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
Delay a memory node transformation if its control or address on IGVN worklist.

Reviewed-by: never
2009-04-07 19:04:24 -07:00
Vladimir Kozlov
014e5cdefb 6826960: C2 Sparc: assert(bb->_nodes(_bb_end)->is_Proj(),"skipping projections after expected call")
Add the check when a Halt node is placed in a separate block.

Reviewed-by: twisti
2009-04-07 10:05:04 -07:00
Xiaobin Lu
62fa852746 6699669: Hotspot server leaves synchronized block with monitor in bad state
Remove usage of _highest_lock field in Thread so that is_lock_owned won't depend on the correct update of that field.

Reviewed-by: never, dice, acorn
2009-04-06 15:47:39 -07:00
Tom Rodriguez
72afcb0285 6539464: Math.log() produces inconsistent results between successive runs
Reviewed-by: kvn
2009-04-06 11:53:17 -07:00
Erik Trimble
3d480f960f Merge 2009-04-03 20:12:54 -07:00
Erik Trimble
5e68f20160 Merge 2009-04-03 19:54:45 -07:00
Tom Rodriguez
5f10e8e82e 6826261: class file dumping from SA is broken
Reviewed-by: kvn, jcoomes
2009-04-03 18:51:31 -07:00
Y. Srinivas Ramakrishna
e1b2c1c442 Merge 2009-04-03 15:59:19 -07:00
Vladimir Kozlov
090346b4e8 6823453: DeoptimizeALot causes fastdebug server jvm to fail with assert(false,"unscheduable graph")
Use a HaltNode on the fall through path of the AllocateArrayNode to indicate that it is unreachable if the array length is negative.

Reviewed-by: never, jrose
2009-04-03 13:33:32 -07:00
Erik Trimble
73696dd5a4 Merge 2009-04-02 17:37:46 -07:00
Erik Trimble
067a3d9ad6 6825815: Bump HS15 build number to 05 and update copyright date of HOTSPOT_VM_COPYRIGHT
Update the HS15 Build number to 05 and fix copyright date of HOTSPOT_VM_COPYRIGHT

Reviewed-by: jcoomes
2009-04-02 17:37:07 -07:00
Erik Trimble
503abb135a Merge 2009-04-02 17:01:00 -07:00
Xiomara Jayasena
f907f0a9d2 Added tag jdk7-b53 for changeset 94c3ff1a20d0 2009-04-02 16:51:41 -07:00
Karen Kinnear
d4f2196cd0 Merge 2009-04-02 18:17:03 -04:00
Karen Kinnear
1f5324fed4 6825642: nsk sajdi tests fail with NullPointerException
Reviewed-by: xlu, coleenp, kamg, swamyv
2009-04-02 14:26:42 -04:00
Tom Rodriguez
e36afee3bd Merge 2009-04-02 10:49:41 -07:00
Andrey Petrusenko
a8f9284064 Merge 2009-04-02 05:22:02 -07:00
Erik Trimble
0244538b93 Merge 2009-04-01 22:31:26 -07:00
Paul Hohensee
4be7c3c672 6819213: revive sun.boot.library.path
Support multiplex and mutable sun.boot.library.path

Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00
Tom Rodriguez
4d34a77121 6823454: Oop-typed loadP yields invalid pointer (0x1) on SPECjbb2005 at OSRed method entry
Reviewed-by: kvn, jrose
2009-04-01 11:45:01 -07:00
Tom Rodriguez
f3946ad215 Merge 2009-03-31 19:20:34 -07:00
Tom Rodriguez
b857081608 6824463: deopt blob is testing wrong register on 64-bit x86
Reviewed-by: jrose, phh, kvn
2009-03-31 15:09:45 -07:00
Changpeng Fang
c0d62ad9e6 6761600: Use sse 4.2 in intrinsics
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.

Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Vladimir Kozlov
aee9449305 Merge 2009-03-31 10:02:01 -07:00
Vladimir Kozlov
705188bb7b 6821700: tune VM flags for peak performance
Tune C2 flags default values for performance.

Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Karen Kinnear
d37d544754 Merge 2009-03-29 18:19:05 -04:00
Y. Srinivas Ramakrishna
137a679446 6819891: ParNew: Fix work queue overflow code to deal correctly with +UseCompressedOops
When using compressed oops, rather than chaining the overflowed grey objects' pre-images through their klass words, we use GC-worker thread-local overflow stacks.

Reviewed-by: jcoomes, jmasa
2009-03-28 15:47:29 -07:00
Erik Trimble
350ce4d28b 6823377: Bump HS15 build number to 04
Update the HS15 Build number to 04

Reviewed-by: jcoomes
2009-03-27 16:58:30 -07:00
Erik Trimble
e4f3d13dbb Merge 2009-03-27 16:54:56 -07:00
Tom Rodriguez
99aa7292a3 6822333: _call_stub_compiled_return address handling in SA is broken causing jstack to hang occasionally
Reviewed-by: kvn, twisti
2009-03-27 14:37:42 -07:00
Xiomara Jayasena
422ea850e0 Added tag jdk7-b52 for changeset 0d989c04422c 2009-03-27 14:11:35 -07:00
Karen Kinnear
2a7822f94f Merge 2009-03-27 14:35:44 -04:00
Poonam Bajaj
6d21b1e4cd 6822407: heapOopSize lookup is incorrect in Serviceability Agent
HeapOopSize symbol should be declared as constant in vmStructs and should not be looked up in readVMIntConstants().

Reviewed-by: never, swamyv, coleenp
2009-03-27 10:29:54 -07:00
Ivan P Krylov
595ff704c0 6812297: update project creation for Visual Studio 2005-2008
Add 2 news classes to create VC8 and VC9 projects

Reviewed-by: apetrusenko, xlu
2009-03-27 01:35:39 -05:00
Vladimir Kozlov
68cf08d2c3 6810845: Performance regression in mpegaudio on x64
Used the outer loop frequency in frequencies checks in RA.

Reviewed-by: never, twisti
2009-03-26 15:04:55 -07:00
Tom Rodriguez
3b786f8edc Merge 2009-03-26 14:39:39 -07:00
Tom Rodriguez
134debb0ba 6822204: volatile fences should prefer lock:addl to actual mfence instructions
Reviewed-by: kvn, phh
2009-03-26 14:31:45 -07:00
Karen Kinnear
ae0f3167d3 Merge 2009-03-26 16:00:51 -04:00
Igor Veresov
74e0691df5 6822263: G1: JVMTI heap iteration fails
Make object_iterate() traverse the perm gen

Reviewed-by: apetrusenko, tonyp
2009-03-26 08:51:32 -07:00
Andrey Petrusenko
cf2ae8d98d 6543938: G1: remove the concept of popularity
Reviewed-by: iveresov, tonyp
2009-03-25 13:10:54 -07:00
Coleen Phillimore
cec3a034d1 6541756: Reduce executable C-heap
Add executable parameters to reserve_memory and commit_memory to reduce executable memory to only the Code Heap.

Reviewed-by: xlu, kvn, acorn
2009-03-25 14:19:20 -04:00
Karen Kinnear
101468324d 6603316: Improve instrumentation for classes loaded at startup
Reviewed-by: xlu, mchung
2009-03-25 13:09:28 -04:00
Antonios Printezis
cb822b7e10 Merge 2009-03-25 10:36:08 -04:00
Paul Hohensee
ffff71c1cf Merge 2009-03-24 19:05:23 -07:00
Paul Hohensee
5231fcdc40 6810653: Change String cache class used by Hotspot from String to StringValue
Change create_vm() to load and initialize StringValue rather than String.

Reviewed-by: kvn
2009-03-24 21:56:53 -04:00
Tom Rodriguez
a5396e1107 6820510: assertion failure with unloaded class in subnode.cpp
Reviewed-by: kvn
2009-03-24 15:09:52 -07:00
Changpeng Fang
fface2e4ca 6636138: UseSuperWord enabled failure
Fixed SuperWord scheduling of memory operations.

Reviewed-by: kvn, never
2009-03-24 12:19:47 -07:00
Tom Rodriguez
1cafadfd3e 6805522: Server VM fails with assertion (block1->start() != block2->start(),"successors have unique bcis")
Reviewed-by: kvn
2009-03-23 13:58:58 -07:00
Karen Kinnear
472349069b Merge 2009-03-23 10:42:20 -04:00
Antonios Printezis
d5e5e5a3d1 6820321: G1: Error: guarantee(check_nums(total, n, parts), "all seq lengths should match")
Small fixes to sort out some verbosegc-related incorrectness and a failure

Reviewed-by: apetrusenko
2009-03-21 22:53:04 -04:00
John R Rose
cfb08c72ba 6814659: separable cleanups and subroutines for 6655638
Preparatory but separable changes for method handles

Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00
Coleen Phillimore
c8da21faa9 6805748: Assertion "don't reset to 0 -- could be mistaken for never-executed" in CompilationPolicy
Resetting the invocation counter for a method invocation event was setting count to zero for CompileThreshold=1, making it look like a never executed method.

Reviewed-by: phh, kamg, acorn, never
2009-03-20 22:08:48 -04:00
Karen Kinnear
fba4182589 6819853: VM does not detect JDK which supports parallel class loaders
Reviewed-by: coleenp, pbk, xlu, alanb
2009-03-20 11:23:24 -04:00
Xiomara Jayasena
7f88fc4697 Added tag jdk7-b51 for changeset c5c3e5f4accc 2009-03-19 13:25:23 -07:00
Vladimir Kozlov
41463d1d3a Merge 2009-03-19 09:13:24 -07:00
Karen Kinnear
25de21d620 4766230: Hotspot vtable inconsistencies cause core dumps. 6579515. 6582242
Reviewed-by: kamg, coleenp
2009-03-18 17:20:57 -04:00
Vladimir Kozlov
5e66955173 6772368: REGRESSION:tomcat crashed twice with JDK 7
Call make_block_at() with the original handler limits.

Reviewed-by: never
2009-03-18 13:25:02 -07:00
Antonios Printezis
f8c3115e4e Merge 2009-03-18 11:37:48 -04:00
Igor Veresov
736e8a2d4b 6815683: G1: SEGV during marking
We should mark the regions that continue humongous regions as live if the first region is live.

Reviewed-by: tonyp
2009-03-16 17:48:01 -07:00
Vladimir Kozlov
f210928e73 6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003

Reviewed-by: ohair, tbell, jcoomes
2009-03-16 15:06:33 -07:00
Antonios Printezis
217739210d 6816154: G1: introduce flags to enable/disable RSet updating and scanning
Introduces two flags, -XX:-/+G1EnableParallelRSetUpdating and -XX:-/+G1EnableParallelRSetScanning, to turn on/off the "band aid" fix that serializes RSet updating / scanning during GCs.

Reviewed-by: iveresov
2009-03-16 10:52:44 -04:00
Igor Veresov
82619cc8da 6817419: G1: Enable extensive verification for humongous regions
Enabled full verification for humongous regions. Also made sure that the VerifyAfterGC works with deferred updates and G1HRRSFlushLogBuffersOnVerify.

Reviewed-by: tonyp
2009-03-16 08:01:32 -07:00
Karen Kinnear
f9f538c7fd Merge 2009-03-16 08:50:53 -04:00
Antonios Printezis
ecdb99412d 6604422: G1: re-use half-promoted regions
6728271: G1: Cleanup G1CollectedHeap::get_gc_alloc_regions()

It allows the last half-full region to be allocated to during a GC to be reused during the next GC.

Reviewed-by: apetrusenko, jcoomes
2009-03-15 22:03:38 -04:00
Poonam Bajaj
9dff23337b 6812971: SA: re-attaching to process fails
After attaching, de-attaching SA from a process, the second time attach() call fails. This happens because in VM.initialize(), Universe does not get re-initialized before it is accessed.

Reviewed-by: swamyv
2009-03-15 18:11:46 -07:00
John R Rose
b8dbe8d8f6 6813212: factor duplicated assembly code for general subclass check (for 6655638)
Code in interp_masm, stubGenerator, c1_LIRAssembler, and AD files moved into MacroAssembler.

Reviewed-by: kvn
2009-03-13 18:39:22 -07:00
Y. Srinivas Ramakrishna
21b3d4aea0 Merge 2009-03-13 17:06:44 -07:00
Y. Srinivas Ramakrishna
a45005f646 6808322: ParNew, CMS, G1: ParGCAllocBuffer overflow
Correct the overflow check in ParGCAllocBuffer::allocate(); simplify ParGCAllocBuffer::undo_allocation().

Reviewed-by: apetrusenko, jcoomes, jmasa, minqi, phh, tonyp
2009-03-13 13:56:01 -07:00
Antonios Printezis
05a81fae18 Merge 2009-03-13 16:10:21 -04:00
Christian Thalinger
de67e52949 6378821: bitCount() should use POPC on SPARC processors and AMD+10h
BitCount() should use POPC on SPARC processors where POPC is implemented directly in hardware.

Reviewed-by: kvn, never
2009-03-13 11:35:17 -07:00
Erik Trimble
8debef1a64 6816970: Bump HS15 build number to 03
Update the HS15 Build number to 03

Reviewed-by: jcoomes
2009-03-12 18:17:25 -07:00
Erik Trimble
8d6035660e Merge 2009-03-12 18:16:36 -07:00
Igor Veresov
1e875ce562 6816433: Test G1 and ParOld in JPRT
Reviewed-by: jmasa, never, ysr
2009-03-12 14:01:36 -07:00
Vladimir Kozlov
69f9ddee90 6791178: Specialize for zero as the compressed oop vm heap base
Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb.

Reviewed-by: never, twisti, jcoomes, coleenp
2009-03-12 10:37:46 -07:00
Antonios Printezis
e794fff22c Merge 2009-03-12 11:34:44 -04:00
Christian Thalinger
66cecec230 6812587: Use auxv to determine SPARC hardware features on Solaris
A similar function to getisax(2) should be used to determine all possible instruction set extensions.

Reviewed-by: never, kvn
2009-03-11 14:16:13 -07:00
Vladimir Kozlov
7a871160ec Merge 2009-03-10 08:52:16 -07:00
Andrey Petrusenko
13c13c7289 6760309: G1: update remembered sets during Full GCs
Reviewed-by: iveresov, tonyp
2009-03-10 00:47:05 -07:00
Xiomara Jayasena
29a36f3f0e Merge 2009-03-09 13:34:00 -07:00
Xiomara Jayasena
2be2e027b0 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Xiomara Jayasena
76f6f19925 Merge 2009-03-09 11:43:30 -07:00
Antonios Printezis
faf22e51ad Merge 2009-03-09 11:32:57 -04:00
Christian Thalinger
89cea91c48 6797305: Add LoadUB and LoadUI opcode class
Add a LoadUB (unsigned byte) and LoadUI (unsigned int) opcode class so we have these load optimizations in the first place and do not need to handle them in the matcher.

Reviewed-by: never, kvn
2009-03-09 03:17:11 -07:00
Antonios Printezis
e4e765e34e 6814467: G1: small fixes related to concurrent marking verboseness
A few small fixes to remove some inconsistencies in the concurrent mark-related verbose GC output.

Reviewed-by: jmasa
2009-03-07 11:07:37 -05:00
Antonios Printezis
8893530f3a 6812428: G1: Error: assert(ret || obj_in_cs(obj),"sanity")
The length of the fast cset test vector is decided at the beginning of a GC, but more regions can be added during the GC. The simple fix is to set the length of the fast cset test vector to the max.

Reviewed-by: iveresov
2009-03-07 11:07:37 -05:00
Antonios Printezis
e7d899910b 6810698: G1: two small bugs in the sparse remembered sets
The _expanded flag of the sparse RSets is not reset and this can leave a RSet in an inconsistent state if it is expanded more than once. Also, we should be iterating over the _cur, instead of the _next, sparse table

Reviewed-by: apetrusenko, iveresov
2009-03-07 11:07:36 -05:00
John R Rose
26d192003f 6812831: factor duplicated assembly code for megamorphic invokeinterface (for 6655638)
Code in vtableStubs and templateTable moved into MacroAssembler.

Reviewed-by: kvn
2009-03-06 21:36:50 -08:00
Igor Veresov
416d70bf91 6720309: G1: don't synchronously update RSet during evacuation pauses
6720334: G1: don't update RSets of collection set regions during an evacuation pause

Introduced a deferred update mechanism for delaying the rset updates during the collection pause

Reviewed-by: apetrusenko, tonyp
2009-03-06 13:50:14 -08:00
Karen Kinnear
a23cbf5b96 Merge 2009-03-05 22:07:29 -05:00
Xiomara Jayasena
4e52be63fe Added tag jdk7-b50 for changeset 90cbd9088155 2009-03-05 09:49:03 -08:00
John R Rose
07321dec65 6812678: macro assembler needs delayed binding of a few constants (for 6655638)
Minor assembler enhancements preparing for method handles

Reviewed-by: kvn
2009-03-04 09:58:39 -08:00
Vladimir Kozlov
3e2ae68252 6812721: Block's frequency should not be NaN
Set MIN_BLOCK_FREQUENCY block's frequency when calculated block's frequency is NaN

Reviewed-by: never
2009-03-03 18:25:57 -08:00
John Coomes
bc706440bd 6810474: par compact - crash in summary_phase with very full heap
Reviewed-by: tonyp
2009-03-03 14:23:18 -08:00
Y. Srinivas Ramakrishna
ce3f3161da 6824570: ParNew: Fix memory leak introduced in 6819891
Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState.

Reviewed-by: jmasa
2009-04-02 15:57:41 -07:00
Vladimir Kozlov
4b15cdadd3 Merge 2009-03-03 10:34:22 -08:00
Y. Srinivas Ramakrishna
72bfacbd95 6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
Call newly created CollectedHeap::dump_{pre,post}_full_gc before and after every stop-world full collection cycle on GenCollectedHeap and ParallelScavengeHeap. (Support for G1CollectedHeap forthcoming under CR 6810861.) Small modifications to existing heap dumping and class histogram implementation, especially to allow multiple on-the-fly histos/dumps by the VM thread during a single safepoint.

Reviewed-by: jmasa, alanb, mchung
2009-03-02 16:37:04 -08:00
Daniel D. Daugherty
8c0f3ead78 Merge 2009-03-02 16:56:51 -07:00
Daniel D. Daugherty
8aa430beb0 Merge 2009-03-02 14:43:36 -07:00
Daniel D. Daugherty
8aebf28301 6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248]().

Reviewed-by: coleenp, swamyv
2009-03-02 14:05:07 -07:00
Daniel D. Daugherty
da3f81559f 6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.

Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Daniel D. Daugherty
56fe18e375 6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.

Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
Daniel D. Daugherty
74a99e1e82 6700114: 3/4 Assertion (_thread->get_interp_only_mode() == 1,"leaving interp only when mode not one")
Don't create JvmtiThreadState for an exiting JavaThread.

Reviewed-by: coleenp, swamyv
2009-03-02 13:57:17 -07:00
Tom Rodriguez
48d4a43c2a 6811384: MacroAssembler::serialize_memory may touch next page on amd64
Reviewed-by: kvn, phh, twisti
2009-03-01 20:49:46 -08:00
Y. Srinivas Ramakrishna
dd4aaeadd4 Merge 2009-02-27 15:30:47 -08:00
Xiomara Jayasena
dd661ad390 Merge 2009-02-27 15:13:00 -08:00
Christian Thalinger
05d1de7727 6810672: Comment typos
I have collected some typos I have found while looking at the code.

Reviewed-by: kvn, never
2009-02-27 13:27:09 -08:00
Vladimir Kozlov
67a5668b16 6811267: Fix for 6809798 broke linux build
Fix method's declaration.

Reviewed-by: phh, twisti
2009-02-27 08:34:19 -08:00
Lillian Angel
d6cdfde9d9 6778669: Patch from Red Hat -- fixes compilation errors
Some fixes which are required to build on recent GCCs.

Reviewed-by: never, kvn
2009-02-27 03:35:40 -08:00
Tom Rodriguez
114da9bcfc 6810855: KILL vs. TEMP ordering restrictions are too strong
Reviewed-by: kvn
2009-02-26 16:57:21 -08:00
Vladimir Kozlov
9b31d58b98 6809798: SafePointScalarObject node placed into incorrect block during GCM
Replace the control edge of a pinned node before scheduling.

Reviewed-by: never
2009-02-26 14:26:02 -08:00
Andrei Pangin
31eeaafbcf Merge 2009-02-26 14:25:55 -08:00
Xiomara Jayasena
6f9ccbbe7f Added tag jdk7-b49 for changeset 2fb28c2f14c0 2009-02-26 10:57:13 -08:00
Erik Trimble
954e8082f6 Merge 2009-02-25 23:16:22 -08:00
Erik Trimble
44091d390c Merge 2009-02-25 22:55:54 -08:00
Tom Rodriguez
f7098831dd 6807963: need tool to make sense of LogCompilaton output
Reviewed-by: kvn
2009-02-25 14:36:27 -08:00
Tom Rodriguez
a82243d887 6805427: adlc compiler may generate incorrect machnode emission code
Reviewed-by: kvn, twisti
2009-02-25 10:53:14 -08:00
Jon Masamitsu
6b78cf8b99 Merge 2009-02-24 22:51:00 -08:00
Jon Masamitsu
b051a23591 6806226: Signed integer overflow in growable array code causes JVM crash
Workaround the overflow by doing the intermediate calculations in an unsigned variable.

Reviewed-by: ysr, jcoomes
2009-02-24 22:12:24 -08:00
Antonios Printezis
f883e6fde8 6804746: G1: guarantee(variance() > -1.0,"variance should be >= 0") (due to evacuation failure)
Under certain circumstances (evacuation failure) the pause time is not communicated to the policy and, as a result, the pause time field is not initialized properly.

Reviewed-by: jmasa
2009-02-24 15:50:23 -05:00
Vladimir Kozlov
decdeea77d Merge 2009-02-24 09:53:20 -08:00
Vladimir Kozlov
b07ac51bf3 6791572: assert("duplicating node that's already been matched")
Mark inputs for an address expression as shared if there are other uses besides address expressions.

Reviewed-by: never
2009-02-23 16:03:19 -08:00
Christian Thalinger
0723dab28b 6808589: Merge vm_version_x86_{32,64}.{cpp,hpp}
There is very much duplicated code in vm_version_x86_{32,64}.{cpp,hpp}.  Refactoring these would help maintainability.

Reviewed-by: kvn, never
2009-02-23 12:02:30 -08:00
Andrei Pangin
6acc244444 Merge 2009-02-22 17:21:13 -08:00
Andrei Pangin
85a47f34c6 Merge 2009-02-22 17:11:56 -08:00
Y. Srinivas Ramakrishna
7efb6ac73a Merge 2009-02-20 11:12:26 -08:00
Vladimir Kozlov
dc3008a513 6802499: EA: assert(false,"unknown node on this path")
Add missing checks for SCMemProj node in Escape analysis code.

Reviewed-by: never
2009-02-19 17:38:53 -08:00
Xiomara Jayasena
f5594e9e8d Added tag jdk7-b48 for changeset 1da7c5c8156d 2009-02-19 14:08:00 -08:00
Ivan P Krylov
6aec7d2ea9 6806046: Hotspot build error when compiled from Visual Studio
Define HOTSPOT_LIB_ARCH in the preprocessor flags of the generated projects

Reviewed-by: kamg, xlu
2009-02-19 04:54:22 -05:00
Erik Trimble
473e5b6e54 6807345: Bump HS15 build number to 02
Update the HS15 Build number to 02

Reviewed-by: jcoomes
2009-02-18 18:20:02 -08:00
Erik Trimble
0a2c842e50 Merge 2009-02-18 18:14:18 -08:00
Vladimir Kozlov
73e8e582ba 6807084: AutoBox elimination is broken with compressed oops
Add checks for DecodeN nodes into AutoBox elimination code.

Reviewed-by: never
2009-02-18 13:53:42 -08:00
Jon Masamitsu
f1847266b7 6786346: intermittent Internal Error (src/share/vm/memory/cardTableModRefBS.cpp:226)
Two assertions were incorrectly composed.

Reviewed-by: tonyp
2009-02-17 15:35:58 -08:00
Vladimir Kozlov
681eb89b31 Merge 2009-02-17 14:30:24 -08:00
Christian Thalinger
f72a09355f 6805950: Typos in andL_rReg_imm instructions in x86_64.ad
There are two typos in andL_rReg_imm instructions in x86_64.ad.

Reviewed-by: kvn
2009-02-17 11:19:31 +01:00
Christian Thalinger
dd25f39709 6805724: ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant
C2, ModLNode::Ideal() generates functionally incorrect graph when divisor is any (2^k-1) constant.

Reviewed-by: rasbold
2009-02-16 07:19:26 -08:00
Andrei Pangin
b4e9e47b74 Merge 2009-02-15 20:09:02 -08:00
Christian Thalinger
a2ed00b650 6800154: Add comments to long_by_long_mulhi() for better understandability
This patch adds a comment pointing to the Hacker's Delight version of the algorithm plus a verbatim copy of it.  Furthermore it adds inline comments.

Reviewed-by: kvn, jrose
2009-02-13 09:09:35 -08:00
Xiomara Jayasena
0982a57615 Added tag jdk7-b47 for changeset e3f44a955240 2009-02-12 14:00:38 -08:00
Erik Trimble
46194466cf Merge 2009-02-10 20:33:36 -08:00
Andrey Petrusenko
a7da5440dd 6700941: G1: allocation spec missing for some G1 classes
Reviewed-by: tonyp
2009-02-10 18:39:09 +03:00
John Coomes
b3e23ac700 Merge 2009-02-09 13:47:26 -08:00
Y. Srinivas Ramakrishna
0badccf962 6800586: -XX:+PrintGCDateStamps is using mt-unsafe localtime function
Replaced localtime() with localtime_r() on Solaris and Linux.

Reviewed-by: apetrusenko, dholmes, jmasa
2009-02-09 12:26:05 -08:00
Andrey Petrusenko
4be1a50ed3 6802413: G1: G1FixedSurvivorSpaceSize should be converted into regions in calculate_survivors_policy()
Reviewed-by: tonyp, jmasa
2009-02-09 17:33:06 +03:00
Jon Masamitsu
3b5d6a04dd 6690928: Use spinning in combination with yields for workstealing termination
Substitute a spin loop for most calls to yield() to reduce the stress on the system.

Reviewed-by: tonyp
2009-02-08 13:18:01 -08:00
Vladimir Kozlov
2f2589d2dc 6791852: assert(b->_nodes[insidx] == n,"got insidx set incorrectly")
Move the CreateEx up before each round of IFG construction

Reviewed-by: never, phh
2009-02-06 13:31:03 -08:00
Xiomara Jayasena
f7ccda2b14 Added tag jdk7-b46 for changeset be9d0d46381d 2009-02-05 16:07:33 -08:00
Vladimir Kozlov
94a461f4cb 6799693: Server compiler leads to data corruption when expression throws an Exception
Use merged memory state for an allocation's slow path.

Reviewed-by: never
2009-02-05 14:43:58 -08:00
Andrey Petrusenko
61181babf1 6484959: G1: introduce survivor spaces
6797754: G1: combined bugfix

Implemented a policy to control G1 survivor space parameters.

Reviewed-by: tonyp, iveresov
2009-02-06 01:38:50 +03:00
Vladimir Kozlov
72b75d1adf 6788376: allow to ignore unrecognized VM options
Add new product flag -XX:+IgnoreUnrecognizedVMOptions

Reviewed-by: ysr, xlu
2009-02-05 13:38:52 -08:00
Tom Rodriguez
275a0bfb42 6793828: G1: invariant: queues are empty when activated
Reviewed-by: jrose, kvn
2009-02-05 11:42:10 -08:00
Tom Rodriguez
67f20d82c9 6442502: assert(bits,"Use TypePtr for NULL") on linux-x86
Reviewed-by: kvn
2009-02-04 23:17:38 -08:00
Y. Srinivas Ramakrishna
61c259aeb5 Merge 2009-02-04 15:42:52 -08:00
Tom Rodriguez
a70da64c72 6798785: Crash in OopFlow::build_oop_map: incorrect comparison of 64bit pointers
Reviewed-by: phh, kvn
2009-02-04 11:44:57 -08:00
Tom Rodriguez
c46f747070 6782260: Memory leak in CodeBuffer::create_patch_overflow
Reviewed-by: phh, kvn
2009-02-03 18:05:19 -08:00
Christian Thalinger
17d35f31a2 6799452: HotSpot tests Makefile should take care of ALT_SLASH_JAVA
The HotSpot tests Makefile has a hardcoded SLASH_JAVA which makes it difficult to run the tests on non-Sun build machines which do not have a /java infrastructure.

Reviewed-by: kamg
2009-02-03 08:10:28 -08:00
Christian Thalinger
ecbdf3bb83 6795362: 32bit server compiler leads to wrong results on solaris-x86
The C2 compiler leads to wrong results on solaris-i486 (32-bit) for a testcase given in the CR.

Reviewed-by: never, rasbold
2009-02-03 01:39:12 -08:00
Kelly O'Hair
09010fe0a7 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
Reviewed-by: tbell
2009-01-31 17:19:42 -08:00
Jon Masamitsu
39b23ff0a0 6792421: assert(_bitMap->isMarked(addr+size-1),inconsistent Printezis mark)
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.

Reviewed-by: ysr, tonyp
2009-01-31 00:15:00 -08:00
Erik Trimble
50d5d6cd86 Merge 2009-01-30 15:28:00 -08:00
Y. Srinivas Ramakrishna
d981bd442b 6787254: Work queue capacity can be increased substantially on some platforms
Increased the default and maximum size of the CMS marking stack and the size of the parallel workers' work queues in 64-bit mode. The latter was accomplished by an increase in the width of the Taskqueue's Age struct and its Tag field in 64-bit mode.

Reviewed-by: jmasa, tonyp
2009-01-30 14:17:52 -08:00
Y. Srinivas Ramakrishna
34b247f068 Merge 2009-01-29 21:25:42 -08:00
Xiomara Jayasena
49f97d10c8 Added tag jdk7-b45 for changeset 6b84304c8b89 2009-01-29 13:20:56 -08:00
Igor Veresov
da292a7197 6783381: NUMA allocator: don't pretouch eden space with UseNUMA
Moved pretouching to MutableSpace. Also MutableSpace now turns on page interleaving for the region it covers.

Reviewed-by: jmasa, jcoomes
2009-01-27 18:13:59 -08:00
Y. Srinivas Ramakrishna
f031c45430 6786503: Overflow list performance can be improved
Avoid overflow list walk in CMS & ParNew when it is unnecessary. Fix a couple of correctness issues, including a C-heap leak, in ParNew at the intersection of promotion failure, work queue overflow and object array chunking. Add stress testing option and related assertion checking.

Reviewed-by: jmasa
2009-01-26 12:47:21 -08:00
Xiaobin Lu
5ee6e7f6ed 6795913: A few remaining wrong casts need to be fixed for building hotspot successfully on Mac OS
Use NULL_WORD in the places where intptr_t is expected due to incompatible types between intptr_t & int32_t

Reviewed-by: phh, coleenp, never
2009-01-26 12:07:54 -08:00
Christian Thalinger
3b8452da93 6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI.

Reviewed-by: phh, kvn
2009-01-26 16:22:12 +01:00
Coleen Phillimore
91dd5dcbe4 Merge 2009-01-23 10:41:28 -05:00
Xiomara Jayasena
9933a50bf3 Added tag jdk7-b44 for changeset ec694d49c4be 2009-01-22 14:42:01 -08:00
John Coomes
8109aa4a16 Merge 2009-01-21 13:40:10 -08:00
Vladimir Kozlov
ae8aa00398 6794939: assert(_base == OopPtr,"subclass must override cast_to_ptr_type")
Fix the assert in TypeKlassPtr::cast_to_ptr_type().

Reviewed-by: never
2009-01-21 11:18:38 -08:00
Paul Hohensee
73aaa40e09 6792705: Add JAR file to bootclasspath when using AggressiveOpts
During argument processing, add alt-rt.jar to the bootclasspath between bootclasspath/p and default elements.

Reviewed-by: xlu, coleenp
2009-01-21 11:14:19 -05:00
Vladimir Kozlov
a23ea7296a 6790209: server VM fails with assert(will_link,"_new: typeflow responsibility")
Add missing code for reflection class loader in SystemDictionary::find().

Reviewed-by: never, jrose
2009-01-16 11:23:10 -08:00
Antonios Printezis
5d486c3a66 6484956: G1: improve evacuation pause efficiency
A bunch of performance optimizations to decrease GC pause times in G1.

Reviewed-by: apetrusenko, jmasa, iveresov
2009-01-16 13:02:20 -05:00
Swamy Venkataramanappa
3cc490850d Merge 2009-01-15 13:30:09 -08:00
Xiomara Jayasena
58317112cf Added tag jdk7-b43 for changeset a0e6196f0e90 2009-01-15 11:46:26 -08:00
Coleen Phillimore
455ba2dcdf Merge 2009-01-15 12:44:03 -05:00
Swamy Venkataramanappa
b15aadf61d 6786948: SA on core file fails on solaris-amd64 if vm started with -XX:+StartAttachListener
Reviewed-by: jjh, dcubed
2009-01-14 19:45:01 -08:00
Coleen Phillimore
f79090efe7 6793825: Missing include dependancies for GCC without predefined headers
With predefined headers off for gcc, some .inline.hpp files aren't included to make definition visible for inline functions

Reviewed-by: jcoomes, xlu
2009-01-14 20:14:19 -05:00
John Coomes
2ba0d5b055 Merge 2009-01-14 14:12:55 -08:00
Tom Rodriguez
532cc3cef8 6788347: C2Compiler crash 6u7
Reviewed-by: kvn
2009-01-14 14:12:00 -08:00
Xiaobin Lu
74a472983b 6792301: StackAlignmentInBytes not honored for compiled native methods
Fixed the stack misalignment when generate_native_wrapper is called.

Reviewed-by: never, kamg, kvn, phh
2009-01-13 17:39:03 -08:00
Xiaobin Lu
8187896320 Merge 2009-01-13 14:49:07 -08:00
Tom Rodriguez
d9a391aad9 Merge 2009-01-13 14:02:19 -08:00
Xiaobin Lu
31acc39bf9 Merge 2009-01-13 12:14:38 -08:00
Xiaobin Lu
aae30d753f 6791815: Fix for 6471657 can cause deadlock on non-Solaris platforms when initializing direct buffer support
Place the state transition inside the loop so that the VMThread could proceed for safepoint

Reviewed-by: dholmes, never, acorn
2009-01-13 12:08:43 -08:00
Tom Rodriguez
a3d528cc30 6791132: bad control in autobox split code
Reviewed-by: kvn
2009-01-13 11:43:20 -08:00
Coleen Phillimore
a1442ea7ff 6791168: Fix invalid code in bytecodeInterpreter that can cause gcc ICE
Fix compilation errors from latest gcc in CC_INTERP including offending missing void* cast.

Reviewed-by: xlu
2009-01-13 14:41:44 -05:00
Vladimir Kozlov
78f5dc395e 6784930: server jvm fails with assert(!n->is_SpillCopy(),"")
Set minimum block frequency MIN_BLOCK_FREQUENCY 1.e-35f.

Reviewed-by: never, rasbold
2009-01-13 11:10:00 -08:00
Jon Masamitsu
c2ff9781c7 6692899: CMS: many vm.parallel_class_loading tests fail with assert "missing Printezis mark"
The CMS concurrent precleaning and concurrent marking phases should work around classes that are undergoing redefinition.

Reviewed-by: ysr, dcubed
2009-01-11 16:58:24 -08:00
Coleen Phillimore
76f79d82ad Merge 2009-01-09 14:39:07 -05:00
Karen Kinnear
9bf4545843 6791656: nsk defclass0 asserts handles.hpp
Reviewed-by: phh, xlu
2009-01-08 16:27:28 -05:00
Vladimir Kozlov
1ff1bdc3e6 6790182: matcher.cpp:1375: assert(false,"bad AD file")
Add a match rule for regD_low in regD definition.

Reviewed-by: never
2009-01-07 11:23:28 -08:00
Vladimir Kozlov
49ee6acaa2 6782232: assert("CreateEx must be first instruction in block" )
Add the missing check for CreateEx. Add new notproduct flag VerifyRegisterAllocator.

Reviewed-by: never
2009-01-07 11:04:45 -08:00
Tom Rodriguez
956dc037db Merge 2009-01-06 16:10:11 -08:00
Jon Masamitsu
3474623106 6689653: JMapPerm fails with UseConcMarkSweepIncGC and compressed oops off
Added safe_object_iterate() for use by JMapPerm.

Reviewed-by: tonyp
2009-01-06 07:05:05 -08:00
Karen Kinnear
315de68fc0 4670071: loadClassInternal is too restrictive
VM support for deadlock fix. Library fix in 4735126. See API proposal.

Reviewed-by: dholmes, blacklion
2009-01-05 13:44:03 -05:00
Xiaobin Lu
f05b009ce8 6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2

Reviewed-by: jcoomes, acorn, phh, never
2008-12-24 19:13:53 -08:00
Xiaobin Lu
1362b9fd1d 6787106: Hotspot 32 bit build fails on platforms having different definitions for intptr_t & int32_t
Avoid casting between int32_t and intptr_t specifically for MasmAssembler::movptr in 32 bit platforms.

Reviewed-by: jrose, kvn
2008-12-24 13:06:09 -08:00
Erik Trimble
1880943a7f 6788797: Fork HS14 to HS15 - renumber Major and build numbers of JVM
Fork Hotspot 15 - redo verisoning numbers

Reviewed-by: jcoomes
2008-12-23 19:28:18 -08:00
Coleen Phillimore
d80f5c0265 4997835: RFE: crash dump will only be created when running w/ -XX:+ShowMessageBoxOnError
Using UseOSErrorReporting will provide both an hs_err file and a crash dump or debug launch and works better.

Reviewed-by: xlu, acorn, poonam
2008-12-23 06:16:53 -08:00
Lillian Angel
1ad664c0c9 6778662: fixes 64-bits libraries directory search paths on linux
Fixes 64-bits libraries directory search paths.

Reviewed-by: never
2008-12-22 16:53:34 -08:00
Gary Benson
347b8afe5b 6778657: Casts in SharedRuntime::f2i, f2l, d2i and d2l rely on undefined C++ behaviour
Replaces SharedRuntime::f2i et al with versions that should work

Reviewed-by: never
2008-12-22 15:43:02 -08:00
Erik Trimble
b5743bd6e9 6787832: Bump Hotspot build number to 08
Update the HS14 build number to 08

Reviewed-by: jcoomes
2008-12-20 09:59:01 -08:00
Erik Trimble
ac1f463988 Merge 2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a Merge 2008-12-20 09:57:03 -08:00
Xiaobin Lu
34c4172bfe Merge 2008-12-20 00:45:18 -08:00
Xiaobin Lu
74d9cf0fb8 6784100: getTimeNanos - CAS reduction
Get rid of the CAS loop in getTimeNanos to reduce coherence traffic on Solaris.

Reviewed-by: acorn, kvn, ysr
2008-12-19 14:40:28 -08:00
Jon Masamitsu
91caa3b23f Merge 2008-12-19 12:15:34 -08:00
Xiomara Jayasena
22a73d8b7d Added tag jdk7-b42 for changeset a0dd9009e992 2008-12-18 21:34:02 -08:00
Poonam Bajaj
0f5687c1eb 6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
Fixes the nsk-jdi PIT failures introduced by fix for 6739363

Reviewed-by: kvn, coleenp
2008-12-18 17:28:41 -08:00
Vladimir Kozlov
dc2957bef6 Merge 2008-12-18 13:59:59 -08:00
Vladimir Kozlov
744c80add4 6787050: assert(n->in(0) == 0L,"no control") with UseCompressedOops on sparcv9
Relax the assert for Sparc.

Reviewed-by: never
2008-12-18 11:26:22 -08:00
John Coomes
f3c34ce9b6 6786188: par compact - "SplitALot" stress mode should fill to_space
Reviewed-by: jmasa, tonyp
2008-12-18 10:54:01 -08:00
John Coomes
f90394b6fb 6784849: par compact - can fail when to_space is non-empty
Reviewed-by: jmasa, tonyp
2008-12-18 10:53:35 -08:00
John Coomes
a88e734cac 6786195: many nsk.monitoring tests fail with -server -Xcomp
Remove Universe::_fillerArrayKlassObj and associated code

Reviewed-by: jmasa, tonyp
2008-12-18 01:27:04 -08:00
Vladimir Kozlov
4d2c491b2b Merge 2008-12-17 14:09:39 -08:00
Vladimir Kozlov
29488f1216 6782820: Server VM fails with "unhandled implicit exception in compiled code"
Restore the code which sets a control edge for a klass load node.

Reviewed-by: never
2008-12-16 12:23:39 -08:00
Xiomara Jayasena
99f0eac1a2 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Swamy Venkataramanappa
06e37c03fb 6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Tom Rodriguez
baa4663714 6758234: if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs
Reviewed-by: kvn, jrose
2008-12-12 19:55:26 -08:00
Tom Rodriguez
40a81c63b8 6757316: load_constant() produces a wrong long constant, with high a low words swapped
Reviewed-by: rasbold, jrose, kvn
2008-12-12 19:54:46 -08:00
Tom Rodriguez
552c37000d 6767587: missing call to make_not_entrant after deoptimizing for patching volatiles
Reviewed-by: rasbold, kvn
2008-12-12 19:53:25 -08:00