320 Commits

Author SHA1 Message Date
Xiaobin Lu
bf2763ee4e 6608862: segv in JvmtiEnvBase::check_for_periodic_clean_up()
Reviewed-by: dholmes, dcubed, jcoomes
2008-08-15 10:08:20 -07:00
Y. Srinivas Ramakrishna
57dabb4fcb 6722112: CMS: Incorrect encoding of overflown object arrays during concurrent precleaning
When an object array overflows during precleaning, we should have been marking the entire array dirty, not just its first card.

Reviewed-by: jmasa, poonam, tonyp
2008-08-14 17:58:35 -07:00
Tomas Hurka
27a4da4686 6625846: Export system property java.version via jvmstat
Java.version added to property_counters_ss array

Reviewed-by: swamyv
2008-08-14 21:05:51 +02:00
Chuck Rasbold
1e49d39e6b 6732154: REG: Printing an Image using image/gif doc flavor crashes the VM, Solsparc
Delay transform call until uses of t2 are constructed

Reviewed-by: never
2008-08-14 10:15:29 -07:00
Erik Trimble
8242ae771a Merge 2008-08-10 21:31:42 -07:00
Antonios Printezis
e2b3310cb6 6722565: G1: assert !r->is_on_unclean_list() fires
Under certain circumstances, two cleanup threads can claim and process the same region.

Reviewed-by: apetrusenko, ysr
2008-08-06 11:57:31 -04:00
Jon Masamitsu
b28ffeff6e Merge 2008-08-04 12:15:55 -07:00
Jon Masamitsu
b57ca9ed91 Merge 2008-08-04 12:11:36 -07:00
Vladimir Kozlov
897278fce0 6731641: assert(m->adr_type() == mach->adr_type(),"matcher should not change adr type")
Fixed few addP node type and narrow oop type problems.

Reviewed-by: rasbold, never
2008-08-01 10:06:45 -07:00
Vladimir Kozlov
5e94e3bf69 6732312: Switch off executing Escape Analysis by default
Switch off executing Escape Analysis by default for now

Reviewed-by: rasbold
2008-07-31 15:47:42 -07:00
Vladimir Kozlov
73379adb82 Merge 2008-07-31 13:42:21 -07:00
Jon Masamitsu
74b3de5c3b 6730514: assertion failure in mangling code when expanding by 0 bytes
An expansion by 0 bytes was not anticipated when the assertion was composed.

Reviewed-by: jjh, jcoomes, apetrusenko
2008-07-30 11:54:00 -07:00
Igor Veresov
09fd47bcef 6652160: G1: assert(cur_used_bytes == _g1->recalculate_used(),"It should!") at g1CollectorPolicy.cpp:1425
In attempt_allocation_slow() wait for the concurrent cleanup to complete before modifying _summary_bytes_used.

Reviewed-by: jmasa, apetrusenko
2008-07-30 10:45:52 -07:00
Vladimir Kozlov
6ff4206fe4 Merge 2008-07-30 09:54:21 -07:00
Chuck Rasbold
d35e1bbd88 6730192: expression stack wrong at deoptimization point
Add safepoint before popping expression stack, not after

Reviewed-by: kvn
2008-07-29 14:48:25 -07:00
Vladimir Kozlov
50c4a23cac 6726999: nsk/stress/jck12a/jck12a010 assert(n != null,"Bad immediate dominator info.")
Escape Analysis fixes.

Reviewed-by: never, rasbold
2008-07-28 17:12:52 -07:00
Jon Masamitsu
b8633a3b01 Merge 2008-07-28 15:30:23 -07:00
Keith McGuigan
74faacc945 6721093: -XX:AppendRatio=N not supported
Add mechanism to ignore unsupported flags for a set period of time

Reviewed-by: acorn, never, coleenp
2008-07-28 14:07:44 -04:00
Tom Rodriguez
20de63f383 6700047: C2 failed in idom_no_update
Partial peeling shouldn't place clones into loop

Reviewed-by: kvn
2008-07-25 15:54:23 -07:00
Tom Rodriguez
7b4a7f7bdc 6712835: Server compiler fails with assertion (loop_count < K,"infinite loop in PhaseIterGVN::transform")
Reviewed-by: kvn
2008-07-25 11:32:56 -07:00
Erik Trimble
632c83fb46 6732819: Turn off compressed oops by default for now
Workaround for CompOops bug

Reviewed-by: coleenp
2008-08-01 18:51:27 -07:00
Chuck Rasbold
fcbf2d1245 6726504: handle do_ifxxx calls in parser more uniformly
Make do_ifnull() handling similar to do_if()

Reviewed-by: jrose, kvn
2008-07-21 13:37:05 -07:00
Coleen Phillimore
20dba03e99 6716785: implicit null checks not triggering with CompressedOops
Allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check

Reviewed-by: kvn, jmasa, phh, jcoomes
2008-07-19 17:38:22 -04:00
Igor Veresov
1193f0f9db 6723228: NUMA allocator: assert(lgrp_id != -1, "No lgrp_id set")
6723229: NUMA allocator: assert(lgrp_num > 0, "There should be at least one locality group")

The fix takes care of the assertion triggered during TLAB resizing after reconfiguration. Also it now handles a defect in the topology graph, in which a single leaf node doesn't have memory.

Reviewed-by: jmasa
2008-07-17 10:26:33 -07:00
Vladimir Kozlov
fae39068e8 6723160: Nightly failure: Error: meet not symmetric
Add missing _instance_id settings and other EA fixes.

Reviewed-by: rasbold
2008-07-16 16:04:39 -07:00
Chuck Rasbold
a8fc1db8c1 6707044: uncommon_trap of ifnull bytecode leaves garbage on expression stack
Remove call to repush_if_args()

Reviewed-by: kvn, jrose
2008-07-16 10:08:57 -07:00
John Coomes
26625ab7f5 6724367: par compact could clear less young gen summary data
Reviewed-by: jmasa, apetrusenko
2008-07-11 16:11:50 -07:00
John Coomes
038a30dde3 6483129: par compact assertion failure (new_top > bottom)
Avoid computing the dense prefix if a space is empty

Reviewed-by: pbk, tonyp
2008-07-11 16:11:43 -07:00
John Coomes
398aa66a77 6718283: existing uses of *_FORMAT_W() were broken by 6521491
Reviewed-by: ysr, pbk
2008-07-11 16:11:34 -07:00
Vladimir Kozlov
c5b951e990 Merge 2008-07-11 12:19:29 -07:00
Erik Trimble
2d6f42d18c Merge 2008-07-11 01:14:44 -07:00
Igor Veresov
2703662478 6723570: G1: assertion failure: p == current_top or oop(p)->is_oop(),"p is not a block start" (revisited!)
Fixed the incorrect assigment to G1OffsetTableContigSpace::_gc_time_stamp. Also added a little more paranoia to operations on a global timestamp.

Reviewed-by: tonyp
2008-07-10 09:29:54 -07:00
Jon Masamitsu
18dbebd143 6672698: mangle_unused_area() should not remangle the entire heap at each collection
Maintain a high water mark for the allocations in a space and mangle only up to that high water mark.

Reviewed-by: ysr, apetrusenko
2008-07-09 15:08:55 -07:00
Vladimir Kozlov
696e17c0ba 6684714: Optimize EA Connection Graph build performance
Switch on EA by default, optimize Connection Graph construction

Reviewed-by: rasbold, never
2008-07-03 18:02:47 -07:00
Igor Veresov
07198ddeda 6702387: G1: assertion failure: assert(p == current_top || oop(p)->is_oop(),"p is not a block start")
Do not coalesce dead and moved objects when removing self-forwarding pointers during the evacuation failure. Also fixed a issue in a BOT refinement code for TLABs.

Reviewed-by: tonyp, jcoomes
2008-07-03 03:17:29 -07:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Coleen Phillimore
2a68d0757b Merge 2008-07-02 15:38:47 -04:00
Y. Srinivas Ramakrishna
74ee57a572 Merge 2008-07-01 11:59:44 -07:00
Y. Srinivas Ramakrishna
d44be8e3a0 6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
Experimental() flags will protect features of an experimental nature that are not supported in the regular product build. Made UseG1GC an experimental flag.

Reviewed-by: jmasa, kamg, coleenp
2008-06-30 17:04:59 -07:00
Coleen Phillimore
289ca864cd Merge 2008-06-27 18:19:29 -04:00
Xiaobin Lu
2c9fd9172b 6718830: Hotspot fails to build with gcc 4.3
Fixed linux make file and couple adlc code to meet the changes of gcc 4.3

Reviewed-by: kamg, igor
2008-06-26 14:15:01 -07:00
Vladimir Kozlov
4213e62fb7 6716441: error in meet with +DoEscapeAnalysis
Set instance_id to InstanceBot for InstPtr->meet(AryPtr) when types are not related.

Reviewed-by: jrose, never
2008-06-26 13:34:00 -07:00
Y. Srinivas Ramakrishna
a0b0fb42fd 6718811: Mismerge of 6680469:macro.cpp
Fixed the mismerge by deleting the lines that were inadvertently left in place.

Reviewed-by: iveresov
2008-06-26 11:43:34 -07:00
Tom Rodriguez
873da1efe8 6718676: putback for 6604014 is incomplete
Reviewed-by: kvn, jrose
2008-06-24 16:00:14 -07:00
Y. Srinivas Ramakrishna
f521ab4f1a Merge 2008-06-24 13:20:34 -07:00
Vladimir Kozlov
a671e7c7b5 6710487: More than half of JDI Regression tests hang with COOPs in -Xcomp mode
Remove DecodeNNode::decode() and EncodePNode::encode() methods.

Reviewed-by: rasbold, never
2008-06-24 10:43:29 -07:00
Tom Rodriguez
2d64a7a369 6604014: add support for ideal graph visualizer
Reviewed-by: kvn, jrose
2008-06-23 18:21:18 -07:00
Y. Srinivas Ramakrishna
b6c292d65d 6718086: CMS assert: _concurrent_iteration_safe_limit update missed
Initialize the field correctly in ContiguousSpace's constructor and initialize() methods, using the latter for the survivor spaces upon initial construction or a subsequent resizing of the young generation. Add some missing Space sub-class constructors.

Reviewed-by: apetrusenko
2008-06-23 16:49:37 -07:00
Shrinivas Joshi
5106cf17a3 6708714: Optimize long LShift on 32-bits x86
For small (1-3 bits) left long shifts in 32-bits VM use sets of add+addc instructions instead of shld+shl on new AMD cpus.

Reviewed-by: never
2008-06-23 14:11:12 -07:00
Poonam Bajaj
1f819855d5 6694099: Hotspot vm_exit_out_of_memory should dump core
This fix enables the generation of core file when process runs out of C-heap.

Reviewed-by: sbohne
2008-06-22 20:07:58 -07:00