Commit Graph

239 Commits

Author SHA1 Message Date
John R Rose
bb7ccea4ff 6652736: well known classes in system dictionary are inefficiently processed
Combine many scalar variables into a single enum-indexed array in SystemDictionary.

Reviewed-by: kvn
2008-04-29 19:45:22 -07:00
John R Rose
b05f95c5a9 6695288: runThese tests expr30303 and drem00301m1 fail when compiled code executes without deopt
Rework Value method for ModD and ModF, to DTRT for infinities

Reviewed-by: sgoldman, kvn, rasbold
2008-04-29 19:40:51 -07:00
Coleen Phillimore
aee4bafd9b 6689523: max heap calculation for compressed oops is off by MaxPermSize
Need to subtract MaxPermSize from the total heap size when determining whether compressed oops is turned on.

Reviewed-by: jmasa, jcoomes, kvn
2008-04-29 19:31:29 -04:00
Keith McGuigan
e6afe110b8 6692246: Regression : JDK 6u4 b01 fails two JCK tests when fallback is switched off
Added a clause to allow null to be an operand to the arraylength bytecode

Reviewed-by: sbohne, coleenp
2008-04-29 11:21:51 -04:00
Chuck Rasbold
e062de361a Merge 2008-04-29 06:52:16 -07:00
Igor Veresov
a24f915b60 6684395: Port NUMA-aware allocator to linux
NUMA-aware allocator port to Linux

Reviewed-by: jmasa, apetrusenko
2008-04-29 13:51:26 +04:00
Chuck Rasbold
cf2288b223 Merge 2008-04-28 08:08:12 -07:00
Chuck Rasbold
088cd1203f 6646019: array subscript expressions become top() with -d64
Stop compilation after negative array allocation

Reviewed-by: never, jrose
2008-04-24 14:02:13 -07:00
Xiomara Jayasena
0584538555 Added tag jdk7-b26 for changeset a00cf1fc28a8 2008-04-24 12:12:10 -07:00
Paul Hohensee
81c6ccf729 6693457: Open-source hotspot linux-sparc support
Move os_cpu/linux_sparc from closed to open

Reviewed-by: kamg
2008-04-24 15:07:57 -04:00
Tom Rodriguez
6f63c6e88b 6663848: assert(i < Max(),"oob") in C2 with -Xcomp
NeverBranchNodes aren't handled properly

Reviewed-by: kvn, sgoldman, rasbold, jrose
2008-04-24 11:13:03 -07:00
Vladimir Kozlov
4e3444d0ce 6625997: CastPP, CheckCastPP and Proj nodes are not dead loop safe
EA and initialization optimizations could bypass these nodes.

Reviewed-by: rasbold, never
2008-04-23 19:09:16 -07:00
Tom Rodriguez
041877583d 6601321: Assert(j == 1 || b->_nodes[j-1]->is_Phi(),"CreateEx must be first instruction in block")
Reviewed-by: kvn, rasbold, sgoldman, jrose
2008-04-23 13:57:14 -07:00
Vladimir Kozlov
69155d87f9 6689060: Escape Analysis does not work with Compressed Oops
64-bits VM crashes with -XX:+AggresiveOpts (Escape Analysis + Compressed Oops)

Reviewed-by: never, sgoldman
2008-04-23 11:20:36 -07:00
Keith McGuigan
14e50a456b Merge 2008-04-23 06:35:28 -04:00
Erik Trimble
0940e9760b Merge 2008-04-22 15:36:18 -07:00
Keith McGuigan
15a1776a30 Merge 2008-04-18 07:51:43 -04:00
Keith McGuigan
f072bc9d3f 6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: acorn, sbohne
2008-04-17 22:18:15 -04:00
Erik Trimble
15b006b37c 6690518: Bump Version to 13 B01
Change Hotspot version and build number for 13b1

Reviewed-by: pbk
2008-04-17 16:29:42 -07:00
Volker Simonis
8ece15fd05 6688137: c++ interpreter fails on 64bit sparc
Misc. 64bit and endian fixes for sparc

Reviewed-by: never, kvn, rasbold
2008-04-17 07:16:03 -07:00
Vladimir Kozlov
df8fc19aac 6686791: Side effect in NumberFormat tests with -server -Xcomp
Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control().

Reviewed-by: jrose, sgoldman
2008-04-16 19:19:48 -07:00
John Coomes
fe31c02053 6689788: Bump HSX12 build version number
Update HSX12 build number to 03

Reviewed-by: kvn
2008-04-16 15:34:39 -07:00
Chuck Rasbold
997563be5d Merge 2008-04-16 14:55:36 -07:00
Keith McGuigan
849e0dfc44 6622385: Accessing protected static methods
Protected contraints should only be applied if member is not static

Reviewed-by: acorn, coleenp
2008-04-16 17:36:29 -04:00
Andrey Petrusenko
f784be24d1 Merge 2008-04-16 12:58:03 +04:00
Keith McGuigan
cdc93ea431 Merge 2008-04-15 18:11:33 -04:00
Vladimir Kozlov
e4c9ea9e2d 6692301: Side effect in NumberFormat tests with -server -Xcomp
Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control().

Reviewed-by: jrose, sgoldman
2008-04-15 10:49:32 -07:00
Andrey Petrusenko
5b3080922d Merge 2008-04-14 08:29:41 -07:00
Coleen Phillimore
4a831d45f0 6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv

Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
2008-04-13 17:43:42 -04:00
Keith McGuigan
680ecf1611 Merge 2008-04-11 09:56:35 -04:00
Steve Goldman
4230ecea86 6644928: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Cardtable base can be zero, ExternalAddress can't take a NULL.
2008-04-11 06:18:44 -07:00
Steve Bohne
7ea0891458 6692235: Fix for 6666698 broke -XX:BiasedLockingStartupDelay=0
Stack allocated VM_EnableBiasedLocking op must be marked as such

Reviewed-by: xlu, acorn, never, dholmes
2008-04-10 15:49:29 -04:00
Steve Bohne
0b3a154bf3 6686407: Fix for 6666698 broke -XX:BiasedLockingStartupDelay=0
Stack allocated VM_EnableBiasedLocking op must be marked as such

Reviewed-by: xlu, acorn, never, dholmes
2008-04-10 15:49:16 -04:00
Keith McGuigan
81475bf1a6 6615981: JVM class file parser incorrectly rejects class files with version < 45.2
A check on Code length did not take into account the old sizes of the max_stack, max_locals, and code_length.

Reviewed-by: phh, sbohne
2008-04-10 12:21:01 -04:00
Chuck Rasbold
87c524d47e Merge 2008-04-09 15:10:22 -07:00
Keith McGuigan
c8e6b3d60b 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
Moved makefiles out of build and build/closed into make/

Reviewed-by: kvn, ohair
2008-04-09 14:22:48 -04:00
Xiomara Jayasena
86c8eed0db Added tag jdk7-b25 for changeset 408b55da75b0 2008-04-09 11:18:58 -07:00
Chuck Rasbold
ba411c2466 6684385: Loop unswitching crashes without LoopNode
Without LoopNode, exit early from loop unswitching and partial peeling

Reviewed-by: kvn, never, sgoldman
2008-04-09 09:25:45 -07:00
Keith McGuigan
d63c022d94 Merge 2008-04-09 10:38:30 -04:00
Y. Srinivas Ramakrishna
8b3a19628f 6685160: fix cscope build with hg
Use hg's fstatus instead of teamware's nametable to trigger cscope database rebuild

Reviewed-by: jcoomes, kamg
2008-04-08 12:10:35 -07:00
Steve Goldman
c89e39d40a 6603919: Stackwalking crash on x86 -server with Sun Studio's collect -j on
Rewrite frame::safe_for_sender and friends to be safe for collector/analyzer

Reviewed-by: dcubed, kvn
2008-04-08 12:23:15 -04:00
Chuck Rasbold
bfbfdfa428 6663908: NegativeArraySizeException is not thrown
Don't optimize zero length array allocations at compile time.

Reviewed-by: kvn, never
2008-04-07 15:15:16 -07:00
Andrey Petrusenko
0ae0691490 Merge 2008-04-07 09:32:49 -07:00
Keith McGuigan
dcfe7d7fc6 Merge 2008-04-04 10:48:43 -04:00
Tom Rodriguez
3093e354db 6646020: assert(in_bb(n),"must be in block") in -Xcomp mode
Reviewed-by: kvn, rasbold
2008-04-03 21:26:03 -07:00
Chuck Rasbold
21dbe47a30 6624474: Server compiler generates unexpected LinkageError
Fix load_signature_classes to tolerate LinkageErrors

Reviewed-by: kvn, never
2008-04-03 13:33:13 -07:00
Xiaobin Lu
3bc5120d53 6671882: memory access after free in solaris/vm/os_solaris.cpp
Corrected the wrong memory access problem and made some minor clean ups

Reviewed-by: dholmes, jcoomes
2008-04-03 12:21:06 -07:00
Tom Rodriguez
89290f2817 6619271: The -Xprintflags causes the VM to segv
Add null checks

Reviewed-by: jrose, kvn
2008-04-03 10:20:44 -07:00
Chuck Rasbold
1659f11da6 Merge 2008-04-03 06:41:16 -07:00
Vladimir Kozlov
ccaa58c5db 6681577: PIT: some VM tests fails with -XX:+AggressiveOpts in 6u5p b01
C2 spends > 60% in escape analysis code during test nsk/regression/b4675027.

Reviewed-by: never
2008-04-02 16:59:37 -07:00
John R Rose
0d27a8639f 6667042: PrintAssembly option does not work without special plugin
Remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources

Reviewed-by: kvn, rasbold
2008-04-02 12:09:59 -07:00
Vladimir Kozlov
659a8dc7d5 6681646: Relocking of a scalar replaced object during deoptimization is broken
Relocking of a thread-local object during deoptimization is broken

Reviewed-by: kbr, jrose, never
2008-04-01 16:14:18 -07:00
Andrey Petrusenko
252a10cf1a 6539517: CR 6186200 should be extended to perm gen allocation to prevent spurious OOM's from perm gen
Reviewed-by: ysr, jmasa
2008-04-01 15:13:47 +04:00
Vladimir Kozlov
833746644c 6682236: C2 hits ideal nodes limit during IGVN optimization with EA
Missing check in LoadNode::Ideal() causes infinite generation of a value Phi.

Reviewed-by: jrose, never
2008-03-31 18:37:36 -07:00
Tom Rodriguez
1a350ad182 6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts
Incorrect encoding

Reviewed-by: kvn, rasbold, sgoldman, jrose
2008-03-31 16:22:52 -07:00
John Coomes
b63d2cdd27 6679422: networkStream::connect() in ostream.cpp is not 64-bit clean
Reviewed-by: jmasa, xlu
2008-03-28 23:35:42 -07:00
John Coomes
5ac01e984f 6642862: Code cache allocation fails with large pages after 6588638
Reviewed-by: apetrusenko
2008-03-28 23:35:42 -07:00
Vladimir Kozlov
2ea233816f 6680665: bytecode Escape Analyzer produces incorrect escape information for methods without oop arguments
BcEscapeAnalyzer does not analyze methods with no oop arguments.

Reviewed-by: rasbold
2008-03-28 11:52:29 -07:00
Tom Rodriguez
0530e0d854 6680594: Load + Load isn't canonicalized leading to missed GVN opportunities
Reviewed-by: kvn, jrose
2008-03-28 09:00:39 -07:00
Antonios Printezis
6bfbc36dcd Merge 2008-03-27 17:22:06 -07:00
Vladimir Kozlov
fb63e29743 6679854: assert in escape.cpp:397
The assert misses the case CastX2P 'base' for an unsafe field reference

Reviewed-by: never, jrose
2008-03-27 09:12:54 -07:00
Tom Rodriguez
50bc5573a8 6679708: No_Safepoint_Verifier and BacktraceBuilder have uninitialized fields
Fix or remove uninitialized fields

Reviewed-by: kvn, rasbold
2008-03-26 12:25:06 -07:00
Chuck Rasbold
446895de2d Merge 2008-03-21 08:32:17 -07:00
Vladimir Kozlov
c58e0f9c95 6678377: Update build number for HS12
B01 -> b02

Reviewed-by: kvn
2008-03-21 00:49:06 -07:00
Vladimir Kozlov
cdd27962da 6674600: (Escape Analysis) Optimize memory graph for instance's fields
EA gives opportunite to do more aggressive memory optimizations.

Reviewed-by: never, jrose
2008-03-20 15:11:44 -07:00
Vladimir Kozlov
1ba2523386 6259129: (Escape Analysis) scalar replacement for not escaping objects
Use scalar replacement with EA to remove allocations for objects which do not escape the compiled method.

Reviewed-by: rasbold, never, jrose
2008-03-20 13:51:55 -07:00
Tom Rodriguez
a2b4f55757 6663621: JVM crashes while trying to execute api/java_security/Signature/SignatureTests.html#initSign tests
Alignment expression with secondary induction variables is sometimes wrong

Reviewed-by: kvn, rasbold
2008-03-20 10:43:42 -07:00
Keith McGuigan
c2c3f0fe72 Merge 2008-03-20 09:17:30 -05:00
Vladimir Kozlov
b71360f557 6662967: Optimize I2D conversion on new x86
Use CVTDQ2PS and CVTDQ2PD for integer values conversions to float and double values on new AMD cpu.

Reviewed-by: sgoldman, never
2008-03-19 15:33:25 -07:00
Tom Rodriguez
d200260fe5 6661247: Internal bug in 32-bit HotSpot optimizer while bit manipulations
Copy elimination of a constant value results in incorrect execution

Reviewed-by: kvn, sgoldman, rasbold
2008-03-19 15:14:36 -07:00
Steve Bohne
bf559c6dce 6667833: Remove CacheTimeMillis
Remove -XX:+CacheTimeMillis option and associated functionality

Reviewed-by: acorn, never
2008-03-19 09:58:01 -04:00
Tom Rodriguez
49434b6bad 6659207: access violation in CompilerThread0
Split_thru_phi produces top on a non-dead path

Reviewed-by: kvn, rasbold, sgoldman
2008-03-18 23:54:17 -07:00
Tom Rodriguez
8e1624d88c 6676841: ClearArrayNode::Identity is incorrect for 64-bit
ClearArrayNode::Identity should use TypeX instead of TypeInt

Reviewed-by: jrose, kvn, sgoldman
2008-03-18 23:44:46 -07:00
Tom Rodriguez
641bce6847 6666343: Compile::has_loops not always set correctly
Compile::has_loops() should be set from inlined methods

Reviewed-by: kvn, rasbold
2008-03-18 11:17:37 -07:00
Y. Srinivas Ramakrishna
f2b6ac989e 6634032: CMS: Need CMSInitiatingPermOccupancyFraction for perm, divorcing from CMSInitiatingOccupancyFraction
The option CMSInitiatingPermOccupancyFraction now controls perm triggering threshold. Even though the actual value of the threshold has not yet been changed, so there is no change in policy, we now have the infrastructure in place for dynamically deciding when to collect the perm gen, an issue that will be addressed in the near future.

Reviewed-by: jmasa
2008-03-16 21:57:25 -07:00
Vladimir Kozlov
20046c1a18 6672848: (Escape Analysis) improve lock elimination with EA
Remove lock/unlock MemBar nodes and specify locks in debug info for deoptimization.

Reviewed-by: never
2008-03-14 16:40:42 -07:00
Vladimir Kozlov
fc0117cb9a 6674588: (Escape Analysis) Improve Escape Analysis code
Current EA code has several problems which have to be fixed.

Reviewed-by: jrose, sgoldman
2008-03-14 15:26:33 -07:00
Steve Bohne
387f42921b 6204603: Modify hotspot to use new Solaris mmap semantics for class data archive file
Os::attempt_reserve_memory_at() now passes an address hint to mmap

Reviewed-by: kamg, dice
2008-03-14 10:43:02 -04:00
Vladimir Kozlov
30dc0edfc8 6673473: (Escape Analysis) Add the instance's field information to PhiNode
Avoid an infinite generation of instance's field values Phi nodes.

Reviewed-by: never
2008-03-13 16:31:32 -07:00
Vladimir Kozlov
000ac830a0 6671807: (Escape Analysis) Add new ideal node to represent the state of a scalarized object at a safepoint
Values of non-static fields of a scalarized object should be saved in debug info to reallocate the object during deoptimization.

Reviewed-by: never
2008-03-13 16:06:34 -07:00
Daniel D. Daugherty
0745d10694 Merge 2008-03-13 14:17:48 -07:00
Chuck Rasbold
1931e94bad Merge 2008-03-13 05:40:44 -07:00
Daniel D. Daugherty
63a8cc420e 6667089: 3/3 multiple redefinitions of a class break reflection
Use instanceKlass::method_with_idnum() instead of slot() to work with RedefineClasses().

Reviewed-by: sspitsyn
2008-03-12 18:39:05 -07:00
Daniel D. Daugherty
2927815658 6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
(for Serguei) Allow for Linux builds with Sun Studio Linux compilers

Reviewed-by: sspitsyn, ohair
2008-03-12 18:37:03 -07:00
Daniel D. Daugherty
454bce8993 6453355: 4/4 new No_Safepoint_Verifier uses fail during GC
(for Serguei) Clean up use of No_Safepoint_Verifier in JVM TI

Reviewed-by: dcubed
2008-03-12 18:09:34 -07:00
Daniel D. Daugherty
f813016add 6599425: 4/3 OopMapCache::lookup() can cause later crash or assert() failure
Add should_not_be_cached() to markOop and methodOop and query that status inOopMapCache::lookup()

Reviewed-by: coleenp, sspitsyn, jmasa
2008-03-12 18:07:46 -07:00
Daniel D. Daugherty
0f1d30354a 6497639: 4/3 Profiling Swing application caused JVM crash
Make RedefineClasses() interoperate better with class sharing.

Reviewed-by: sspitsyn, jmasa
2008-03-12 18:06:50 -07:00
John Coomes
1e62d37cc0 Merge 2008-03-12 16:31:37 -07:00
Vladimir Kozlov
b64d5e4209 6667615: (Escape Analysis) extend MDO to cache arguments escape state
Use MDO to cache arguments escape state determined by the byte code escape analyzer.

Reviewed-by: never
2008-03-11 19:00:38 -07:00
Jon Masamitsu
3bf59e9c0a 6673975: Disable ZapUnusedHeapArea to reduce GC execution times of debug JVM's
Mangling the unused space is having an adverse affect on testing with fastdebug builds so turn it off by default.

Reviewed-by: ysr, tonyp
2008-03-11 14:19:53 -07:00
Vladimir Kozlov
96e8bcb6aa 6667620: (Escape Analysis) fix deoptimization for scalar replaced objects
Deoptimization code for reallocation and relocking scalar replaced objects has to be fixed.

Reviewed-by: rasbold, never
2008-03-11 11:25:13 -07:00
Vladimir Kozlov
50708126d4 6623167: C2 crashed in StoreCMNode::Value
C2 crashed in StoreCMNode::Value because n->in(MemNode::OopStore) is 0.

Reviewed-by: rasbold, never
2008-03-11 11:04:40 -07:00
John Coomes
a39a588efa Merge 2008-03-10 17:21:56 -07:00
Vladimir Kozlov
9ec574b7e6 6667605: (Escape Analysis) inline java constructors when EA is on
Java constructors should be inlined to be able scalar replace a new object

Reviewed-by: rasbold
2008-03-07 11:09:13 -08:00
Vladimir Kozlov
37b9a97e08 6670459: Fix Node::dump() performance
Dump full ideal graph takes forever.

Reviewed-by: never, rasbold
2008-03-06 20:58:16 -08:00
Vladimir Kozlov
277c3322f6 6667612: (Escape Analysis) disable loop cloning if it has a scalar replaceable allocation
Cloning an allocation will not allow scalar replacement since memory operations could not be associated with one allocation.

Reviewed-by: rasbold
2008-03-06 10:53:33 -08:00
Vladimir Kozlov
bf7f5e1887 6667610: (Escape Analysis) retry compilation without EA if it fails
During split unique types EA could exceed nodes limit and fail the method compilation.

Reviewed-by: rasbold
2008-03-06 10:30:17 -08:00
John Coomes
1e10db0d6a Merge 2008-03-05 17:37:04 -08:00
Vladimir Kozlov
17458c9660 6671250: In Parse::do_if() old Cmp node 'c' should be replaced with new one after BoolNode transformation
In Parse::do_if() 'c' (CmpNode) node may be changed during BoolNode transformation so 'c' may became dead but the node is referenced later in the code.

Reviewed-by: never
2008-03-05 11:33:31 -08:00
Steve Bohne
c953a1e7b8 6666698: EnableBiasedLocking with BiasedLockingStartupDelay can block Watcher thread
Enqueue VM_EnableBiasedLocking operation asynchronously

Reviewed-by: never, xlu, kbr, acorn
2008-03-04 09:44:24 -05:00
Steve Bohne
59cc274f16 6655385: Disable frame pointer omission in jvm.dll on Windows for better crash logs
Add /Oy- C++ compiler option on Windows

Reviewed-by: phh, never, ysr
2008-03-03 14:47:02 -05:00
Jon Masamitsu
6c0c606249 6557851: CMS: ergonomics defaults are not set with FLAG_SET_ERGO
Default values set by cms ergonomics are set with FLAG_SET_DEFAULT so down stream the values look like the default values and affect how later parameters are set.  Set these values with FLAG_SET_ERGO instead and adjust how later parameters are interpreted.

Reviewed-by: iveresov, apetrusenko, pbk, ysr
2008-03-02 16:10:12 -08:00
Mark Reinhold
1559ee2a70 6669216: Add jcheck configuration directories
Reviewed-by: ohair, xdono
2008-02-29 20:03:58 -08:00
Vladimir Kozlov
dc6ad19d70 6667618: disable LoadL->ConvL2I ==> LoadI optimization
This optimization causes problems (sizes of Load and Store nodes do not match) for objects initialization code and Escape Analysis

Reviewed-by: jrose, never
2008-02-29 19:57:41 -08:00
Vladimir Kozlov
09d7f4bbcf 6667588: Don't generate duplicated CMP for float/double values
Float CMove generation add duplicated CMPF if there are more then one Move depending on the condition.

Reviewed-by: jrose, never, rasbold
2008-02-29 19:07:15 -08:00
Y. Srinivas Ramakrishna
a6d8fca876 6668743: CMS: Consolidate block statistics reporting code
Reduce the amount of related code replication and improve pretty printing.

Reviewed-by: jmasa
2008-02-29 14:42:56 -08:00
Vladimir Kozlov
7ec44373b5 6667581: Don't generate initialization (by 0) code for arrays with size 0
Generate_arraycopy() does not check the size of allocated array.

Reviewed-by: jrose, never
2008-02-29 11:22:27 -08:00
Vladimir Kozlov
c223fed084 6667580: Optimize CmpP for allocations
CmpP could be optimized out if it compares new allocated objects.

Reviewed-by: jrose, never, rasbold
2008-02-29 09:57:18 -08:00
Vladimir Kozlov
9a4ccf8a06 6667573: Use set_req_X() in AddPNode::Ideal() for Iterative GVN
Set_req_X() puts dependent nodes on IGVN worklist which allows to improve graph and gives more opportunities for EA scalar replacement.

Reviewed-by: jrose, never
2008-02-28 15:40:09 -08:00
Vladimir Kozlov
7be6246821 6590177: jck60019 test assert(!repeated,"do not walk merges twice")
A mergemem node could be not in worklist_store but in should_not_repeat vectorset since it was processed and removed from worklist_store before.

Reviewed-by: jrose, never
2008-02-28 10:45:15 -08:00
Coleen Phillimore
f235d989d0 6549844: Wording problems in "An unexpected error ..."
Changed wording to "A fatal error.." also don't claim it's not VM bug if in hotspot compilers (Java thread in native).

Reviewed-by: jjh, sbohne, jrose, never
2008-02-27 13:55:58 -05:00
John R Rose
73fa03eafc 6610906: inexplicable IncompatibleClassChangeError
Dependency check must treat polymorphic interfaces consistently

Reviewed-by: kvn, never, sgoldman
2008-02-27 00:23:37 -08:00
Y. Srinivas Ramakrishna
51bf19209d 6621728: Heap inspection should not crash in the face of C-heap exhaustion
Deal more gracefully with situations where C-heap scratch space cannot be had

Reviewed-by: jmasa
2008-02-26 15:57:49 -08:00
Vladimir Kozlov
9f1a8ede80 6633953: type2aelembytes{T_ADDRESS} should be 8 bytes in 64 bit VM
T_ADDRESS size is defined as 'int' size (4 bytes) but C2 use it for raw pointers and as memory type for StoreP and LoadP nodes.

Reviewed-by: jrose
2008-02-25 15:05:44 -08:00
Vladimir Kozlov
0dd8f3e8c0 6650373: Assert in methodOopDesc::make_adapters()
AdapterHandlerLibrary::get_create_adapter_index() returns incorrect value (-2) when CodeCache is full.

Reviewed-by: sgoldman
2008-02-22 17:55:13 -08:00
Jon Masamitsu
63f1de52fc 6362677: Change parallel GC collector default number of parallel GC threads
Use the same default number of GC threads as used by ParNewGC and ConcMarkSweepGC (i.e., the 5/8th rule).

Reviewed-by: ysr, tonyp
2008-02-22 17:17:14 -08:00
Vladimir Kozlov
e06dedd2f1 6498878: client compiler crashes on windows when dealing with breakpoint instructions
_is_compilable check prevents breakpoint bytecodes reversion when loading bytecodes for ciMethod.

Reviewed-by: never
2008-02-21 19:03:44 -08:00
Vladimir Kozlov
b8789d9c9a 6621084: ciMethodBlocks::split_block_at() is broken for methods with exception handler
After an exception handler block is split the exception information is not moved to the new block which starts in exception handler BCI.

Reviewed-by: jrose
2008-02-21 14:03:41 -08:00
Y. Srinivas Ramakrishna
74f243990c 6642634: Test nsk/regression/b6186200 crashed with SIGSEGV
Use correct allocation path in expand_and_allocate() so object's mark and p-bits are set as appropriate.

Reviewed-by: jmasa, pbk
2008-02-21 11:03:54 -08:00
Vladimir Kozlov
26097e9848 6621094: PrintOptoAssembly is broken for oops information in DebugInfo
OopMapValue and VMRegImpl classes miss the virtual method print_on(st).

Reviewed-by: rasbold, jrose, never
2008-02-20 17:23:43 -08:00
Vladimir Kozlov
5ade869e8c 6614330: Node::dump(n) does not print full graph for specified depth
A node is not processed in dump_nodes() if it was visited during processing previous inputs.

Reviewed-by: rasbold
2008-02-20 16:19:43 -08:00
Jon Masamitsu
9c36dab8c4 6665445: Backout change to CardTableModRefBS::resize_covered_region()
Backed out part of cahnge for 6624765 because of nightly testing regressions.  Reviewers below were for 6624765.

Reviewed-by: ysr, apetrusenko
2008-02-20 08:40:31 -08:00
Y. Srinivas Ramakrishna
ae065e6290 6621144: CMS: assertion failure "is_cms_thread == Thread::current()->is_ConcurrentGC_thread()"
Take lock conditionally (in asynchronous mode only) when updating the dead-object map.

Reviewed-by: jmasa
2008-02-16 22:41:20 -08:00
Jon Masamitsu
38fdc8ab98 6624765: Guarantee failure "Unexpected dirty card found"
In verification take into account partial coverage of a region by a card and expansion of the card table.

Reviewed-by: ysr, apetrusenko
2008-02-15 07:01:10 -08:00
Vladimir Kozlov
90815abd51 6621098: "* HeapWordSize" for TrackedInitializationLimit is missing
'* HeapWordSize' is missing in GraphKit::set_output_for_allocation()

Reviewed-by: rasbold, jrose, never
2008-02-12 18:37:50 -08:00
Y. Srinivas Ramakrishna
41895dc06d 6659981: +ParallelRefProcEnabled crashes on single core platform
Disable parallel reference processing when there are no worker threads

Reviewed-by: apetrusenko, pbk, jmasa, tonyp
2008-02-12 16:07:46 -08:00
Jon Masamitsu
527390207c 6624782: Bigapps crashes during CMS precleaning
Lowered optimization level for files instanceKlass.cpp and objArrayKlass.cpp

Reviewed-by: ysr
2008-02-11 15:40:07 -08:00
Xiaobin Lu
f804a7e9f9 6610420: Debug VM crashes during monitor lock rank checking
Make SerializePage lock as raw lock and add name for mutex locks

Reviewed-by: never, dice, dholmes
2008-02-05 23:21:57 -08:00
Steve Bohne
f7eb451719 6598190: JPRT tests fail when run with -XX:+CheckUnhandledOops
Work around Sun Studio C++ compiler bug 6629277 in dependencies.cpp

Reviewed-by: kamg, sgoldman, pbk
2008-01-31 14:56:50 -05:00
Keith McGuigan
f54eceace3 6631248: Memory problem when doing invalid type cast
Changed memory allocation method for exception method

Reviewed-by: ysr, never
2008-01-31 09:41:34 -05:00
Coleen Phillimore
218615259d 6646946: Kernel installation failed on Japanese and Chinese XP SP2 (VM part)
Convert strings from Download Manager into native encoding in the VM

Reviewed-by: sbohne, never, phh, kamg, xlu
2008-01-17 13:38:17 -08:00
John Coomes
1bfa153ebe 6635560: segv in reference processor on t1000
Revert back to using the default page size for the card table

Reviewed-by: pbk, phh
2007-12-06 13:59:28 -08:00
Paul Hohensee
4576d7abf7 6629887: 64-bit windows should not restrict default heap size to 1400m
Reviewed-by: jmasa, sbohne, ikrylov, xlu
2007-12-05 09:04:00 -08:00
Chuck Rasbold
b3b837074b 6614036: REGRESSION: Java server x86 VM intermittently crash with SIGSEGV (0xb)
Restore destination address in x86 32-bit checkcast_arraycopy stub

Reviewed-by: jrose, kvn, never
2007-12-05 09:03:00 -08:00
Paul Hohensee
4abbae1fc2 6621621: HashMap front cache should be enabled only with AggressiveOpts
Reviewed-by: sbohne, xlu
2007-12-05 09:02:00 -08:00
Tom Rodriguez
10c473e425 6395208: Elide autoboxing for calls to HashMap.get(int) and HashMap.get(long)
Reviewed-by: kvn, rasbold
2007-12-05 09:01:00 -08:00
Daniel D. Daugherty
5fa349cc42 6664627: Merge changes made only in hotspot 11 forward to jdk 7
Reviewed-by: jcoomes
2007-12-05 09:00:00 -08:00
Xiomara Jayasena
dcbf4ea9ee Added tag jdk7-b24 for changeset 489c9b5090e2 2007-12-04 16:28:18 -08:00
J. Duke
8153779ad3 Initial load 2007-12-01 00:00:00 +00:00