Commit Graph

813 Commits

Author SHA1 Message Date
Xiomara Jayasena
868fd3b043 Added tag jdk7-b41 for changeset 49f1a8464e11 2008-12-04 11:10:13 -08:00
Jon Masamitsu
7231a4ca3b Merge 2008-12-04 09:04:46 -08:00
Vladimir Kozlov
d9c6682945 Merge 2008-12-04 08:55:34 -08:00
Jon Masamitsu
0320ba0b9e Merge 2008-12-03 14:44:48 -08:00
Igor Veresov
af509dd90d 6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.

Reviewed-by: apetrusenko
2008-12-03 14:18:57 -08:00
Vladimir Kozlov
f2f18a01e5 6775880: EA +DeoptimizeALot: assert(mon_info->owner()->is_locked(),"object must be locked now")
Create new "eliminated" BoxLock node for monitor debug info when corresponding locks are eliminated.

Reviewed-by: never
2008-12-03 13:41:37 -08:00
Y. Srinivas Ramakrishna
16aa57cb4b 6778647: snap(), snap_policy() should be renamed setup(), setup_policy()
Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}()

Reviewed-by: apetrusenko
2008-12-01 23:25:24 -08:00
Poonam Bajaj
569029da79 6743339: Enable building sa-jdi.jar and sawindbg.dll on Windows with hotspot build
These changes enable the SA binaries build with hotspot build on Windows

Reviewed-by: swamyv
2008-11-27 18:19:23 -08:00
Igor Veresov
ed99040266 Merge 2008-11-26 09:24:57 -08:00
Tom Rodriguez
2bba3afabc 6756768: C1 generates invalid code
Reviewed-by: kvn, jrose
2008-11-25 13:14:07 -08:00
Keith McGuigan
180875046c Merge 2008-11-25 15:59:23 -05:00
Coleen Phillimore
f58e193de0 6474243: suspicious jvmti code that uses oop unsafely across GC point
Oop stored in unsafely in Lscratch noticed by visual inspection will not be updated by GC.

Reviewed-by: kamg, never, kvn
2008-11-24 14:45:47 -05:00
Y. Srinivas Ramakrishna
6c53645a84 6774607: SIGSEGV or (!is_null(v),"oop value can never be zero") assertion when running with CMS and COOPs
Use the more permissive set_klass_or_null() and klass_or_null() interfaces in ParNew's workqueue overflow code that manipulates the klass-word.

Reviewed-by: coleenp
2008-11-24 09:53:31 -08:00
Xiaobin Lu
85138023c1 6554406: Change switch UseVMInterruptibleIO default to false (sol)
The default value of UseVMInterruptibleIO is changed to false for JDK 7, but the default isn't changed for JDK 6 and earlier.

Reviewed-by: never, acorn, dholmes, kamg, alanb
2008-11-22 00:16:09 -08:00
Erik Trimble
de0532a7ec 6775176: Bump HS14 build number to 08
Update the Hotspot build number to 08

Reviewed-by: jcoomes
2008-11-21 16:11:18 -08:00
Erik Trimble
658a01dd3f Merge 2008-11-21 16:11:03 -08:00
Keith McGuigan
e64aa947c4 Merge 2008-11-21 15:10:14 -05:00
Coleen Phillimore
50a5499c50 6676175: BigApps crash JVM Client VM (build 10.0-b22, mixed mode, sharing) with SIGSEGV (0xb)
Add test for biased locking epoch before walking own thread stack in case of rare race

Reviewed-by: phh, never
2008-11-21 08:09:11 -08:00
Y. Srinivas Ramakrishna
7d7cf3f8af 6684579: SoftReference processing can be made more efficient
For current soft-ref clearing policies, we can decide at marking time if a soft-reference will definitely not be cleared, postponing the decision of whether it will definitely be cleared to the final reference processing phase. This can be especially beneficial in the case of concurrent collectors where the marking is usually concurrent but reference processing is usually not.

Reviewed-by: jmasa
2008-11-20 16:56:09 -08:00
Y. Srinivas Ramakrishna
db6bef2c70 6722113: CMS: Incorrect overflow handling during precleaning of Reference lists
When we encounter marking stack overflow during precleaning of Reference lists, we were using the overflow list mechanism, which can cause problems on account of mutating the mark word of the header because of conflicts with mutator accesses and updates of that field. Instead we should use the usual mechanism for overflow handling in concurrent phases, namely dirtying of the card on which the overflowed object lies. Since precleaning effectively does a form of discovered list processing, albeit with discovery enabled, we needed to adjust some code to be correct in the face of interleaved processing and discovery.

Reviewed-by: apetrusenko, jcoomes
2008-11-20 12:27:41 -08:00
Xiomara Jayasena
c60ef2ef3b Added tag jdk7-b40 for changeset d9cee294e5e4 2008-11-20 11:39:38 -08:00
Igor Veresov
28b2c4aeaf Merge 2008-11-19 14:20:51 -08:00
Vladimir Kozlov
2f7409dee4 Merge 2008-11-19 09:09:31 -08:00
Jon Masamitsu
a2078f04e8 6771742: Remove duplicate files from G1 merge
Remove duplicate files and add includeDB_gc_g1 file in windows Makefile

Reviewed-by: jcoomes, ysr
2008-11-18 14:52:33 -08:00
Vladimir Kozlov
43051c98f3 6773078: UseCompressedOops: assert(kid == 0L || s->_leaf->in(0) == 0L,"internal operands have no control")
Don't set the control edge of a klass load node.

Reviewed-by: never
2008-11-18 14:47:36 -08:00
Vladimir Kozlov
893d1c4148 6766316: assert(!nocreate,"Cannot build a phi for a block already parsed.")
Don't use the invariant local information if there are irreducible loops.

Reviewed-by: never
2008-11-18 12:40:28 -08:00
Vladimir Kozlov
f2c8d25c73 6772413: code cleanup
Removed lines in adm64.make with interpret.o and moved few constant strings from header files.

Reviewed-by: never
2008-11-18 12:31:53 -08:00
Erik Trimble
a7d5fce367 6771977: Bump HS14 build number to 07
Update the Hotspot build number to 07

Reviewed-by: jcoomes
2008-11-14 19:26:03 -08:00
Erik Trimble
bc9a3dae9e Merge 2008-11-14 19:23:49 -08:00
Igor Veresov
cbf1c89d60 6770608: G1: Mutator thread can flush barrier and satb queues during safepoint
6660573: G1: BigApps Failure : guarantee(satb_mq_set.completed_buffers_num() == 0,"invariant")

When exiting a mutator thread is removed from the thread list before it has a chance to flush its SATB and barrier queues. If GC happens at this moment the objects that are refererred from these queues can be moved, which will case a crash. The fix is simply to flush the buffers before removing a thread from the list.

Reviewed-by: jcoomes, tonyp
2008-11-14 14:23:05 -08:00
Vladimir Kozlov
ce3f3dd8d3 6767659: Conversion from i486 to x86 missed some entries in makefiles
Fixed missed entries.

Reviewed-by: never
2008-11-13 14:50:04 -08:00
John R Rose
4e2c4fb4bd 6770949: minor tweaks before 6655638
Minor cleanups & tuning of array.hpp, debug.cpp, growableArray.hpp, hashtable.cpp

Reviewed-by: kvn
2008-11-12 23:26:45 -08:00
John R Rose
849e0ffb04 6653858: dynamic languages need to be able to load anonymous classes
Low-level privileged sun.misc.Unsafe.defineAnonymousClass

Reviewed-by: kvn
2008-11-12 22:33:26 -08:00
Vladimir Kozlov
015a08b3e8 6769748: Fix solaris makefiles for the case when "CC -V" produces several lines
Fix solaris makefiles for 5.10 compilers

Reviewed-by: jcoomes
2008-11-12 11:01:31 -08:00
Keith McGuigan
8db365aa80 Merge 2008-11-12 11:23:13 -05:00
Tom Rodriguez
f2143c7bee Merge 2008-11-12 05:42:59 -08:00
Tom Rodriguez
1716627be0 6758445: loop heads that are exception entry points can crash during count_edges/mark_loops
Reviewed-by: kvn, jrose
2008-11-11 23:03:35 -08:00
Tim Bell
12fd79632c 6764892: VS2008 changes required to compile hotspot sources
Minor changes required to build using the Visual Studio 2008 compiler

Reviewed-by: kvn, ohair
2008-11-11 22:01:08 -08:00
Tom Rodriguez
6cea928f70 Merge 2008-11-07 13:55:14 -08:00
John Coomes
98685a4d93 6769128: failure to run generateJvmOffsets is ignored
Reviewed-by: xlu
2008-11-07 12:52:16 -08:00
John Coomes
6fe817326c 6718879: cannot build on solaris nevada
Reviewed-by: xlu
2008-11-11 22:21:13 -08:00
Vladimir Kozlov
7aae40a95f 6462850: generate biased locking code in C2 ideal graph
Inline biased locking code in C2 ideal graph during macro nodes expansion

Reviewed-by: never
2008-11-07 09:29:38 -08:00
Coleen Phillimore
0cecb67ae7 6760773: UseCompressedOops is broken with UseParNewGC
Sparc code for gen_subtype_check was doing an ld for a compressed oop with the sign bit set so not comparing, leading to a ClassCastException.

Reviewed-by: phh, never, acorn, kvn, xlu
2008-11-07 11:03:32 -05:00
Tom Rodriguez
2c3b8ec969 6761594: framesize rounding code rounds using wrong units leading to slightly oversized frames
Reviewed-by: rasbold, kvn
2008-11-06 20:00:03 -08:00
Chuck Rasbold
0e63b7609a 6743900: frequency based block layout
Post-register allocation pass that drives block layout by edge frequencies

Reviewed-by: never, kvn
2008-11-06 14:59:10 -08:00
Xiomara Jayasena
ec8b80fefc Added tag jdk7-b39 for changeset c483fc7ff658 2008-11-06 12:10:20 -08:00
Xiaobin Lu
8eb2e02296 Merge 2008-10-31 10:34:20 -07:00
Tom Rodriguez
7bcfb5965d 6764622: IdealGraphVisualizer fixes
Reviewed-by: rasbold, jrose
2008-10-30 17:08:48 -07:00
Keith McGuigan
7de6d649be 6756528: Bytecodes::special_length_at reads past end of code buffer
Add end-of-buffer indicator for paths used by the verifier

Reviewed-by: acorn, coleenp
2008-10-30 15:48:59 -04:00
Erik Trimble
740031d711 Merge 2008-10-29 19:22:09 -07:00
Erik Trimble
ecbe1aeb4e Merge 2008-10-29 19:18:54 -07:00
John Coomes
401e04572a 6765804: GC "dead ratios" should be unsigned
Reviewed-by: ysr, tonyp
2008-10-29 06:30:02 -07:00
Tom Rodriguez
8537533873 6649622: HotSpot Biased locking needs tuning on latest CPUs
Reviewed-by: rasbold, kvn, kamg
2008-10-28 18:02:09 -07:00
Tom Rodriguez
429a95440a 6754519: don't emit flag fixup for NaN when condition being tested doesn't need it
Reviewed-by: kvn, rasbold
2008-10-28 09:31:30 -07:00
Xiomara Jayasena
3ae2c2ca54 Added tag jdk7-b38 for changeset 2db019fa6029 2008-10-23 10:13:01 -07:00
Xiaobin Lu
107bbcc8f4 Merge 2008-10-22 20:47:00 -07:00
Karen Kinnear
4fa4c137a2 Merge 2008-10-22 15:07:23 -04:00
Karen Kinnear
347534f43b 6761092: jvm crashes when CDS is enabled
CDS hardcoded max c++ virtual method table increased

Reviewed-by: coleenp, xlu, jmasa
2008-10-22 14:48:08 -04:00
Tom Rodriguez
f3a403d0d4 6762004: 6532536 fix contains changes in os_solaris.cpp which were pushed by mistake
Reviewed-by: kvn
2008-10-21 11:23:52 -07:00
Tom Rodriguez
bc7e37f4df Merge 2008-10-21 11:21:45 -07:00
Xiaobin Lu
fa8846d054 Merge 2008-10-17 15:18:02 -07:00
Daniel D. Daugherty
f60d27c8f6 Merge 2008-10-16 11:07:39 -07:00
Erik Trimble
4b983d3b39 Merge 2008-10-15 18:51:04 -07:00
Erik Trimble
1c5962a62c Merge 2008-10-15 18:49:57 -07:00
Mandy Chung
e5e6ca9d62 6306922: Dump dump created by +HeapDumpOnOutOfMemoryError should include stack traces for stack roots
Include stack traces of all threads in the heap dump

Reviewed-by: alanb
2008-10-14 15:16:38 -07:00
Vladimir Kozlov
55925534ec 6532536: Optimize arraycopy stubs for Intel cpus
Use SSE2 movdqu in arraycopy stubs on newest Intel's cpus

Reviewed-by: rasbold
2008-10-14 15:10:26 -07:00
Coleen Phillimore
d1aacc7cdf 6700107: java/lang/Class/forName/TooManyDimensions.java crashes with SIGSEGV in c2 compiler with fastdebug
ObjArrayKlass::compute_modifier_flags was unnecessarily recursive

Reviewed-by: kamg
2008-10-14 10:15:33 -04:00
Chuck Rasbold
0dac6431d2 6717150: improper constant folding of subnormal strictfp multiplications and divides
Suppress constant folding of double divides and multiplications on ia32

Reviewed-by: never
2008-10-14 06:58:58 -07:00
Igor Veresov
bc9f364917 6758633: G1: SEGV with GCOld on Linux
Avoid growth of a GrowableArray backend of HeapRegionSeq.

Reviewed-by: tonyp, jcoomes
2008-10-13 21:41:42 -07:00
Chuck Rasbold
e585263735 6752257: Use NOT instead of XOR -1 on x86
Add match rule for xor -1

Reviewed-by: never, kvn
2008-10-10 09:47:56 -07:00
Xiomara Jayasena
8f0558c530 Added tag jdk7-b37 for changeset 5eb97f366a6a 2008-10-09 11:13:12 -07:00
Antonios Printezis
04b0ebb9c1 Merge 2008-10-09 12:06:22 -04:00
Kumar Srinivasan
3a72f5c241 6755845: JVM_FindClassFromBoot triggers assertions
Fixes assertions caused by one jvm_entry calling another, solved by refactoring code and modified gamma test.

Reviewed-by: dholmes, xlu
2008-10-08 08:10:51 -07:00
Erik Trimble
50964694fe Merge 2008-10-07 11:01:35 -07:00
Igor Veresov
d80199b403 6753547: NUMA allocator: Invalid chunk size computation during adaptive resizing
The per-lgrp chuck size can be incorrectly computed (causing an assertion failure) because of the non-associativity of the floating point operations. The fix is to rearrange the operations.

Reviewed-by: ysr
2008-10-06 20:59:16 -07:00
Tom Rodriguez
7633aaa177 Merge 2008-10-06 13:11:32 -07:00
Xiaobin Lu
fe28b4f768 6673124: Runtime.availableProcessors / os::active_processor_count wrong if unused processor sets exist
Reviewed-by: acorn, dholmes
2008-10-06 11:39:34 -07:00
Antonios Printezis
6f5e28aca1 6752248: G1: introduce parallel heap verification
Introduce parallel heap verification in G1.

Reviewed-by: jcoomes, apetrusenko
2008-10-06 13:16:35 -04:00
Tom Rodriguez
043fde10e5 6743188: incomplete fix for 6700047 C2 failed in idom_no_update
Reviewed-by: rasbold, kvn
2008-10-03 13:58:20 -07:00
Xiomara Jayasena
76df5ec473 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:19 -07:00
Erik Trimble
b089627fe8 6755406: minor mistakes in copyright notices
Mismatch in some header copyrights from standard templates

Reviewed-by: jcoomes
2008-10-02 14:11:33 -07:00
Jon Masamitsu
6c19542a36 6660681: Incrementally reserve pages on win server 2003 for better large page affinity
For windows server 2003 added option to reserve large pages individually.

Reviewed-by: alanb, jcoomes, tonyp, apetrusenko
2008-10-02 12:01:08 -07:00
Vladimir Kozlov
adce6fc49a 6667595: Set probability FAIR for pre-, post- loops and ALWAYS for main loop
Fix loop's probability. Add optimizations to avoid spilling. Change InlineSmallCode to product flag.

Reviewed-by: never
2008-10-02 08:37:44 -07:00
Daniel D. Daugherty
7eacf5061e Merge 2008-10-02 06:54:46 -07:00
Karen Kinnear
5b60edebb8 Merge 2008-10-01 20:15:03 -04:00
Erik Trimble
bd1d9eea88 Merge 2008-10-01 16:57:40 -07:00
Erik Trimble
59f2891c07 6754998: Update Hotspot version for hs14 b06
Bump Hotspot build number to 06

Reviewed-by: jcoomes
2008-10-01 16:57:19 -07:00
Antonios Printezis
c8006a68d5 Merge 2008-10-01 15:05:06 -04:00
Chuck Rasbold
453d1a42b0 Merge 2008-09-30 15:53:55 -07:00
John Coomes
e98b7ce059 6729594: par compact - remove unused block table implementation
Reviewed-by: tonyp, jmasa, apetrusenko
2008-09-30 13:15:27 -07:00
John Coomes
f2851186bb 6725697: par compact - rename class ChunkData to RegionData
Reviewed-by: iveresov, tonyp
2008-09-30 12:20:22 -07:00
Tom Rodriguez
d40b6daac9 6753795: HotSpot crash in strlen() when JVMTI is used
Test for null instead of strlen

Reviewed-by: rasbold
2008-09-30 11:56:01 -07:00
John Coomes
2e52e9dff2 6716466: par compact - remove VerifyParallelOldWithMarkSweep code
Reviewed-by: jmasa
2008-09-30 11:49:31 -07:00
Karen Kinnear
056f3ea7aa Merge 2008-09-30 12:24:27 -04:00
Igor Veresov
4204f82a1a 6740923: NUMA allocator: Ensure the progress of adaptive chunk resizing
Treat a chuck where the allocation has failed as fully used.

Reviewed-by: ysr
2008-09-27 00:33:13 -07:00
Coleen Phillimore
32addb490d 6719149: Wrong "java/lang/String should not be loaded yet" assertion in fastdebug bits with UseStringCache
Assertion is invalid because java.lang.String may be initialized just before this assertion.

Reviewed-by: phh
2008-09-26 13:33:15 -04:00
Xiomara Jayasena
20563e146d Added tag jdk7-b36 for changeset c347afc55218 2008-09-25 12:53:55 -07:00
Volker Simonis
ac161a1e17 6744783: HotSpot segfaults if given -XX options with an empty string argument
Reviewed-by: kamg, kvn
2008-09-25 12:50:51 -07:00
Chuck Rasbold
42be28cece 6750588: assert(lrg._area >= 0,"negative spill area") running NSK stmp0101 test
Handle NaN costs more carefully

Reviewed-by: kvn, never
2008-09-24 15:56:36 -07:00
Andrey Petrusenko
fe4cab6eeb Merge 2008-09-24 15:34:06 -04:00
Vladimir Kozlov
b15796424e 6747051: Improve code and implicit null check generation for compressed oops
Push DecodeN node below the Null check to the non-null path to use the mach node without 0 test.

Reviewed-by: rasbold, never
2008-09-23 12:29:06 -07:00
Antonios Printezis
c03ab32ab5 6742641: G1: NullPointerException during GCOld
An update buffer is not processed correctly, which causes roots into the collection set not to be scanned and, hence, for the heap to be corrupted. The cause is that an object is accessed after it has been explicitly deleted, which causes a race.

Reviewed-by: jcoomes, ysr
2008-09-22 09:56:49 -04:00
Erik Trimble
0dc0bf82b2 6749707: Update build number for HS14 B05
Bump the build number for hs14 b05

Reviewed-by: jcoomes
2008-09-17 18:11:40 -07:00
Erik Trimble
ff12384283 Merge 2008-09-17 18:02:38 -07:00
Tom Rodriguez
4b1e242299 6384206: Phis which are later unneeded are impairing our ability to inline based on static types
Reviewed-by: rasbold, jrose
2008-09-17 12:59:52 -07:00
Andrey Petrusenko
1d67e1d25c Merge 2008-09-17 19:59:35 +04:00
Chuck Rasbold
eee15b163e 6711100: 64bit fastdebug server vm crashes with assert(_base == Int,"Not an Int")
Insert CastII nodes to narrow type of load_array_length() node

Reviewed-by: never, kvn
2008-09-17 08:29:17 -07:00
Andrey Petrusenko
b6aabd98fc Merge 2008-09-17 16:49:18 +04:00
Chuck Rasbold
2cd5cbcaca Merge 2008-09-15 09:58:26 -07:00
Daniel D. Daugherty
c8a7806d4f Merge 2008-09-12 07:04:34 -07:00
Xiomara Jayasena
3477036199 Added tag jdk7-b35 for changeset cd4deb70bf5e 2008-09-11 11:25:43 -07:00
Kelly O'Hair
68141df565 6745363: Add ability to run packtest to hotspot/test/makefile
Reviewed-by: ksrini
2008-09-11 11:04:55 -07:00
Karen Kinnear
da33a7de28 Merge 2008-09-11 09:02:02 -04:00
Vladimir Kozlov
9812da470c 6746907: Improve implicit null check generation
Add missing implicit null check cases.

Reviewed-by: never
2008-09-10 20:44:47 -07:00
Vladimir Kozlov
659ca734bb 6706829: Compressed Oops: add debug info for narrow oops
Add support for narrow oops in debug info to avoid decoding.

Reviewed-by: rasbold, never
2008-09-10 18:23:32 -07:00
Vladimir Kozlov
63c98ed888 6746892: Register Allocator does not process a data phi with one unique input correctly
Always look for the existing phi for a processed live_range.

Reviewed-by: rasbold
2008-09-10 14:29:32 -07:00
Karen Kinnear
de1b872a4e Merge 2008-09-10 12:31:26 -04:00
Chuck Rasbold
647d4a829d Merge 2008-09-10 06:15:02 -07:00
Tom Rodriguez
ae1dc3db15 6746320: Hotspot regression test for 6512111 fails in -Xmixed mode
Reviewed-by: kvn
2008-09-09 12:56:51 -07:00
Vladimir Kozlov
8174b8b497 6676462: JVM sometimes would suddenly consume significant amount of memory
Add asserts with dead loop checks in AddNode::Ideal().

Reviewed-by: never
2008-09-05 13:33:55 -07:00
Erik Trimble
d971ab32c3 Merge 2008-09-04 18:40:43 -07:00
Erik Trimble
f76aa54270 6745064: Update Hotspot build number for HS14
Bump build number for hs14-b04

Reviewed-by: jcoomes
2008-09-04 18:40:08 -07:00
Jon Masamitsu
6358686351 6743059: Error in spaceDecorator.cpp "optimized" build
Changed the guard on the definition of the method value in HeapWord from ASSERT to not PRODUCT.

Reviewed-by: iveresov, apetrusenko
2008-09-04 14:49:08 -07:00
Chuck Rasbold
d1de009d84 Merge 2008-09-04 09:03:16 -07:00
Tom Rodriguez
29440e8636 6744422: incorrect handling of -1 in set_jump_destination
Reviewed-by: rasbold
2008-09-03 14:57:00 -07:00
Tom Rodriguez
3d9b153464 6738933: assert with base pointers must match with compressed oops enabled
Reviewed-by: kvn, rasbold
2008-09-02 15:03:05 -07:00
Coleen Phillimore
83e7d32161 6741004: UseLargePages + UseCompressedOops breaks implicit null checking guard page
Turn off c2 implicit null checking on windows and large pages specified.

Reviewed-by: jrose, xlu
2008-09-02 15:18:26 -04:00
Daniel D. Daugherty
b6b71da22d Merge 2008-09-02 08:30:41 -07:00
Chuck Rasbold
e4e8777d6b Merge 2008-09-02 06:55:23 -07:00
Andrei Pangin
1d328ffab8 Merge 2008-08-31 15:24:54 -07:00
Tom Rodriguez
aba715ae04 6732698: crash with dead code from compressed oops in gcm
Reviewed-by: rasbold
2008-08-28 23:03:55 -07:00
Poonam Bajaj
f47678e4ab Merge 2008-08-28 18:17:56 -07:00
Xiomara Jayasena
9da2b45a82 Added tag jdk7-b34 for changeset fff241969646 2008-08-28 11:05:17 -07:00
Chuck Rasbold
bdd62705f2 6611837: block frequency is zero
Insert_goto_at should set frequency for newly created blocks

Reviewed-by: never
2008-08-28 10:22:12 -07:00
Poonam Bajaj
b640b025c8 6731958: Include all the SA classes into sa-jdi.jar
Sa-jdi.jar bundled with JDK should include all the SA classes.

Reviewed-by: swamyv
2008-08-27 22:45:38 -07:00
Vladimir Kozlov
8ab0a4d7a9 6732732: CTW with EA: assert(n != 0L,"Bad immediate dominator info.")
Missing edge to a call's return value in EA Connection Graph.

Reviewed-by: never
2008-08-27 16:33:34 -07:00
John Coomes
99ff6e5eb2 6742207: jdk7 32-bit windows build failed running pack200
6730514 inadvertently disabled perm gen expansion; reenable

Reviewed-by: ysr
2008-08-27 15:41:58 -07:00
Vladimir Kozlov
3c4879eb9a 6741738: TypePtr::add_offset() set incorrect offset when the add overflows
Set offset to OffsetBot when the add overflows in TypePtr::add_offset()

Reviewed-by: jrose, never
2008-08-27 14:47:32 -07:00
Y. Srinivas Ramakrishna
d9929c525b Merge 2008-08-27 11:20:46 -07:00
Y. Srinivas Ramakrishna
86e3d89e57 Merge 2008-08-27 10:56:33 -07:00
Vladimir Kozlov
37306315b2 6736417: Fastdebug C2 crashes in StoreBNode::Ideal
The result of step_through_mergemem() and remove_dead_region() is not checked in some cases.

Reviewed-by: never
2008-08-27 09:15:46 -07:00
Tom Rodriguez
26c780da72 5108146: Merge i486 and amd64 cpu directories
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up

Reviewed-by: kvn
2008-08-27 00:21:55 -07:00
Matthias Klose
2697216f3a 6741642: bad enum definition in ciTypeFlow.hpp
Reviewed-by: rasbold, martin
2008-08-26 15:49:40 -07:00
Y. Srinivas Ramakrishna
aa6165d767 6722116: CMS: Incorrect overflow handling when using parallel concurrent marking
Fixed CMSConcMarkingTask::reset() to store the restart address upon a marking stack overflow and to use it as the base, suitably aligned, for restarting the scan in CMSConcMarkingTask::do_scan_and_mark().

Reviewed-by: jcoomes, tonyp
2008-08-26 14:54:48 -07:00
Antonios Printezis
cd9045f4e8 6740930: G1: compilation failure with latest gcc
Include DB fix to resolve a compilation issue with the latest gcc.

Reviewed-by: iveresov, ysr
2008-08-26 00:46:03 -04:00
Xiaobin Lu
ec7f8bf1cb 6740526: sun/management/HotspotThreadMBean/GetInternalThreads.java test failed
Reviewed-by: dholmes, dcubed
2008-08-25 13:52:13 -07:00
Y. Srinivas Ramakrishna
5e6c038292 Merge 2008-08-25 12:16:34 -07:00
Igor Veresov
48d3ec1660 6735416: G1: runThese javasoft.sqe.tests.lang.thrd011.thrd01101.thrd01101 fails
6622418: G1: assert(false,"Non-balanced monitor enter/exit!") fails

The mark-sweep compact (which we use for full gc) wrapper did not save the mark words for biased locked objects.  The fix is to trivially call the appropriate methods.

Reviewed-by: tonyp, ysr
2008-08-22 11:48:25 -07:00
Antonios Printezis
70202307c0 Merge 2008-08-21 23:38:19 -04:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Chuck Rasbold
fe1d1630dc Merge 2008-08-21 05:49:06 -07:00
Jon Masamitsu
befe056b42 6728478: Assertion at parallel promotion from young to old generation
The fix avoids a call to address_for_index() in this particular situation where it is not known if the passed index is in bounds.

Reviewed-by: tonyp
2008-08-20 23:05:04 -07:00
Erik Trimble
a08096e862 Merge 2008-08-20 20:24:00 -07:00
Y. Srinivas Ramakrishna
6804a4e8ef 6739357: CMS: Switch off CMSPrecleanRefLists1 until 6722113 can be fixed
Temporarily switch off the precleaning of Reference lists completely until related issues are fixed in 6722113.

Reviewed-by: jmasa, poonam, tonyp
2008-08-20 15:41:36 -07:00
Andrei Pangin
f0d12afc79 Merge 2008-08-20 12:24:29 -07:00
Y. Srinivas Ramakrishna
b298e3e210 Merge 2008-08-20 11:23:58 -07:00
Y. Srinivas Ramakrishna
1d45ee2056 Merge 2008-08-20 01:30:32 -07:00
Antonios Printezis
b00baea4a1 6736341: PermGen size is insufficient for jconsole
Removing two buggy methods that should not be used, but ended up being used due to a re-organization in the class hierarchy.

Reviewed-by: jmasa, ysr, kamg, coleenp
2008-08-19 17:55:15 -04:00
Chuck Rasbold
ae4e755124 6730716: nulls from two unrelated classes compare not equal
Check for not-nullness after proving that types are unrelated

Reviewed-by: kvn, never
2008-08-19 07:25:02 -07:00
Andrei Pangin
059e448264 Merge 2008-08-19 06:02:07 -07:00
Tom Rodriguez
45f8e241e3 6732194: Data corruption dependent on -server/-client/-Xbatch
Rematerializing nodes results in incorrect inputs

Reviewed-by: rasbold
2008-08-18 23:17:51 -07:00
Xiaobin Lu
cf5e518aff 6459085: naked pointer subtractions in class data sharing code
Reviewed-by: jcoomes
2008-08-18 14:53:36 -07:00
Swamy Venkataramanappa
9129869b7b Merge 2008-08-15 12:05:41 -07:00
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
Tomas Hurka
ff511fc3b1 Merge 2008-08-15 05:55:22 +02: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
Kelly O'Hair
0e04930c24 6724668: Hotspot: Official change to Sun Studio 12 compilers on Solaris
Moving to SS12. Builds with SS11 still work, the compiler comes from your PATH when building hotspot.

Reviewed-by: tbell
2008-08-14 11:18:53 -07: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
Xiomara Jayasena
932d8f3242 Added tag jdk7-b33 for changeset 58918025243a 2008-08-14 09:26:23 -07:00
Keith McGuigan
f60907fd0a 6736718: more copyright headers wrong
Changed license headers to GPL

Reviewed-by: tonyp, rasbold
2008-08-13 08:56:44 -04:00
Swamy Venkataramanappa
14b6adc782 6718125: SA: jmap prints negative size for MaxNewHeap
Fixed printing of negative value for MaxNewHeap.

Reviewed-by: jjh
2008-08-12 12:44:22 -07:00
Erik Trimble
6144fe8e3e 6735720: Bump the HS14 build number to 03
Update Hotspot 14 build number to 03

Reviewed-by: jcoomes
2008-08-10 21:58:54 -07:00
Erik Trimble
8242ae771a Merge 2008-08-10 21:31:42 -07:00
Erik Trimble
9d5ff382c1 Merge 2008-08-10 13:13:55 -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
Xiomara Jayasena
071bdf5302 Added tag jdk7-b32 for changeset 49e709107aec 2008-08-04 13:44:48 -07: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
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
Xiaobin Lu
12198cdafd 6618886: Anonymous objects can be destructed immediately and so should not be used
Reviewed-by: dholmes, kamg
2008-08-01 15:18:14 -07:00
Xiaobin Lu
3da24841be 6719981: Update Hotspot Windows os_win32 for windows XP 64 bit and windows 2008
Reviewed-by: dholmes, kamg
2008-08-01 15:12:34 -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
Daniel D. Daugherty
d748c0e679 Merge 2008-07-31 22:40:47 -07:00
Daniel D. Daugherty
64a14d6a9b Merge 2008-07-31 22:34:40 -07:00
Hiroshi Yamauchi
bea7a516fb 6731726: jmap -permstat reports only 50-60% of permgen memory usage
Reviewed-by: swamyv, martin
2008-07-31 18:50:37 -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
Daniel D. Daugherty
fe81f4fc03 Merge 2008-07-30 14:41:55 -07:00
Coleen Phillimore
d1eae8a7fe Merge 2008-07-30 15:06:29 -04: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
Swamy Venkataramanappa
91e177bfd9 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
Removed maf-1_0.jar and jlfg-1_0.jar files.

Reviewed-by: poonam, jjh
2008-07-29 13:54:27 -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
Vladimir Kozlov
2d1fcda0d7 6729552: jvm98 crashes with SS12 built jdk on Solaris X64 fastdebug version
SS12 C++ tripped over new templates usage in instanceKlass.cpp.

Reviewed-by: never
2008-07-25 16:03:40 -07: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
1de8ce55c1 Merge 2008-07-25 11:29:03 -07:00
Tom Rodriguez
97c80b8c84 6717457: Internal Error (src/share/vm/code/relocInfo.hpp:1089)
Reviewed-by: kvn
2008-07-25 09:07:29 -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
Xiomara Jayasena
c04b76a222 Added tag jdk7-b31 for changeset e1baa9c8f16f 2008-07-17 11:28:34 -07: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
Igor Veresov
e9e432633b 6720130: NUMA allocator: The linux version should search for libnuma.so.1
Search for libnuma.so.1 on Linux and liblgrp.so.1 on Solaris.

Reviewed-by: jmasa
2008-07-14 04:12:47 -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
Kelly O'Hair
cb53036f17 Merge 2008-07-08 15:46:31 -07:00
Kelly O'Hair
16cd6c7922 6723762: Fix shell command that gets java version (uses 2>1)
Reviewed-by: pbk
2008-07-08 15:23:04 -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
Xiomara Jayasena
63688d86ae Added tag jdk7-b30 for changeset ddf3e9583f2f 2008-07-03 11:01:32 -07:00
Kelly O'Hair
3ec1c6f108 6695777: Queens.class should be built from source, not put in source repo
Reviewed-by: kvn
2008-07-03 10:46:50 -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
Erik Trimble
0d9452401c Merge 2008-06-27 19:12:11 -07:00
Coleen Phillimore
289ca864cd Merge 2008-06-27 18:19:29 -04:00
Tom Rodriguez
d497f81f84 Merge 2008-06-27 11:11:27 -07: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
Swamy Venkataramanappa
510a97ebed 6620329: jstack prints double native methods on Solaris/sparc
Fixed stack walking code in sparc to start frame walk from last_java_sp.

Reviewed-by: sgoldman
2008-06-24 21:37:10 -07:00
Xiaobin Lu
1755a59451 6717128: Using relative path for ALT_OUTPUTDIR does not work properly
Import the absolute output directory when launching sub make process and avoid including defs.make in rules.make

Reviewed-by: kamg, kvn
2008-06-24 16:52:31 -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
Tom Rodriguez
d69fdc9d5b Merge 2008-06-21 10:03:31 -07:00
John Coomes
f719ed43a0 Merge 2008-06-20 13:59:55 -07:00
Erik Trimble
f457ac179a 6717462: Update build number for HS14 B01
Change Hotspot version and build number for opening of HS14

Reviewed-by: jcoomes
2008-06-20 11:47:53 -07:00
Vladimir Kozlov
0a077d276e 6715633: when matching a memory node the adr_type should not change
Verify the adr_type of a mach node was not changed

Reviewed-by: rasbold, never
2008-06-20 11:10:05 -07:00
Vladimir Kozlov
694776b297 6714694: assertion in 64bit server vm (store->find_edge(load) != -1,"missing precedence edge") with COOPs
The method raise_LCA_above_marks() terminates LCA search early.

Reviewed-by: rasbold, never
2008-06-20 10:17:09 -07:00
Xiomara Jayasena
915e0d1ee4 Added tag jdk7-b29 for changeset 3c247f90db8c 2008-06-20 08:44:58 -07:00
Daniel D. Daugherty
406292fee7 Merge 2008-06-19 09:59:52 -07:00
Lev Serebryakov
77e87e05ad Merge 2008-06-19 06:02:20 -07:00
John Coomes
93584b3060 6676016: ParallelOldGC leaks memory
Ensure that GCTask threads release resource and handle memory

Reviewed-by: jmasa, chrisphi
2008-06-18 18:36:47 -07:00
Erik Trimble
97a1041327 Merge 2008-06-17 15:27:05 -07:00
Kumar Srinivasan
69eb2b72c6 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
Adds JVM_FindClassFromBootLoader entry point, for jdk's use

Reviewed-by: dholmes, acorn
2008-06-17 13:08:15 -07:00
Tom Rodriguez
31d647daea Merge 2008-06-17 11:32:42 -07:00
Xiaobin Lu
cb8502a58c 6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6
Fixed the cast from char* to const char* and tried to use const char* as much as possible

Reviewed-by: never, kamg
2008-06-17 09:59:59 -07:00
Daniel D. Daugherty
41e5133d1b Merge 2008-06-17 09:33:34 -07:00
Y. Srinivas Ramakrishna
c201c739e4 Merge 2008-06-17 08:40:48 -07:00
Daniel D. Daugherty
b532bd21dc Merge 2008-06-16 13:38:17 -07:00
Daniel D. Daugherty
ac37ae8c22 Merge 2008-06-14 21:53:42 -07:00
Vladimir Kozlov
6978df8f5d 6714406: Node::dominates() does not always check for TOP
Add missed checks for TOP and missed checks for non-dominating cases

Reviewed-by: rasbold, jrose, never
2008-06-13 15:08:56 -07:00
Kelly O'Hair
20fcec5d31 Merge 2008-06-13 14:53:24 -07:00
Kelly O'Hair
aed0736fe3 6714043: Minor fix to SS12 makefile changes
Reviewed-by: sspitsyn
2008-06-13 14:52:30 -07:00
Vladimir Kozlov
afbdf29629 6714404: Add UseStringCache switch to enable String caching under AggressiveOpts
Poke String.stringCacheEnabled during vm initialization

Reviewed-by: never
2008-06-13 14:49:07 -07:00
Tom Rodriguez
9a3b5642cf 6697238: missing dependencies for precompiled headers with platform dependent includes
Reviewed-by: kvn
2008-06-12 16:13:01 -07:00
Jon Masamitsu
d5ded29055 Merge 2008-06-12 14:23:34 -07:00
Y. Srinivas Ramakrishna
07ef2f8f38 Merge 2008-06-12 14:02:35 -07:00
Y. Srinivas Ramakrishna
ac061d0424 Merge 2008-06-12 13:50:55 -07:00
Tom Rodriguez
b381148ebe 6697236: missing Identity for "(X+Y) - X" into Y
Reviewed-by: kvn
2008-06-12 09:47:55 -07:00
Igor Veresov
a82afd549a 6710665: G1: guarantee(_cm->out_of_regions() && _cm->region_stack_empty() && _task_queue->size() == 0, ...)
Remove the incorrect assumptions from guarantee()s.

Reviewed-by: ysr, tonyp
2008-06-11 05:12:19 -07:00
Xiaobin Lu
98b9988c29 6647068: libjvm.so is not built PIC
Remove the preferred base address built with libjvm.so and unified the PIC approach on Solaris & Linux.

Reviewed-by: never, kamg
2008-06-10 16:39:20 -07:00
John Coomes
762f7c8f2b Merge 2008-06-10 11:14:27 -07:00
Xiomara Jayasena
2885519cea Added tag jdk7-b28 for changeset 4fffe2012767 2008-06-10 10:22:49 -07:00
Tom Rodriguez
01130cd21c Merge 2008-06-10 09:57:24 -07:00
Jon Masamitsu
0568ea9ed4 6688799: Second fix for Guarantee failure "Unexpected dirty card found"
Expand cardtable without committing over existing regions.

Reviewed-by: apetrusenko
2008-06-10 07:26:42 -07:00
Coleen Phillimore
a2d6036a4d 6687581: Make CMS work with compressed oops
Make FreeChunk read markword instead of LSB in _klass pointer to indicate that it's a FreeChunk for compressed oops.

Reviewed-by: ysr, jmasa
2008-06-09 11:51:19 -04:00
Igor Veresov
ed4e9a5d5c 6711930: NUMA allocator: ParOld can create a hole less than minimal object size in the lgrp chunk
The fix takes care of three issues that can create a hole less a minimal object in the lgrp chunk

Reviewed-by: ysr, apetrusenko
2008-06-09 07:18:59 -07:00
Tom Rodriguez
2144ccf2f1 Merge 2008-06-06 14:34:24 -07:00
Chuck Rasbold
4cce21039e 6711701: disable compressed oops by default
Comment out code that turns on compressed oops

Reviewed-by: never, phh
2008-06-06 11:47:26 -07:00
Keith McGuigan
d58beaefde Merge 2008-06-06 13:43:36 -04:00
Tom Rodriguez
4760698435 6614100: EXCEPTION_ACCESS_VIOLATION while running Eclipse with 1.6.0_05-ea
Reviewed-by: kvn, jrose, rasbold
2008-06-05 21:44:53 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Tom Rodriguez
952b45f6b6 6711083: 64bit JVM crashes with Internal Error (type.cpp:763) - ShouldNotReachHere() with enabled COOPs
Add NarrowOop to various xmeet routines

Reviewed-by: kvn, sgoldman, jrose, rasbold
2008-06-05 15:43:18 -07:00
Coleen Phillimore
1562d78080 6695819: verify_oopx rax: broken oop in decode_heap_oop
Code in gen_subtype_check was encoding rax as an oop on a path where rax was not an oop.

Reviewed-by: never, kvn
2008-06-05 17:02:54 -04:00
Vladimir Kozlov
dbdeade3b7 6709093: Compressed Oops: reduce size of compiled methods
Exclude UEP size from nmethod code size and use narrow klass oop to load prototype header.

Reviewed-by: jrose, never
2008-06-05 13:02:51 -07:00
Tom Rodriguez
54eeffff83 6709165: Tests hang or misbahve with HS 13.0-b01 on solaris-sparcv9
Reviewed-by: kvn, jrose
2008-06-04 21:56:27 -07:00
Vladimir Kozlov
00bce59c67 6710654: SAJDI failures with Compressed Oops
Use correct offset for the java.lang.Class _klass field in SA.

Reviewed-by: jrose, never
2008-06-04 14:03:48 -07:00
Jon Masamitsu
39463bb3fc 6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong
The assertion can failure due to race conditions.

Reviewed-by: never
2008-06-04 13:51:09 -07:00
Chuck Rasbold
1f0f6c2277 Merge 2008-06-03 15:38:31 -07:00
Chuck Rasbold
d10912d513 6709972: runThese failed with assert(false,"bad AD file")
Guard AryEqNode construction with has_match_rule() test, set SpecialArraysEquals default off

Reviewed-by: kvn, never
2008-06-03 13:14:44 -07:00
Erik Trimble
835c7a9ddb 6709213: Update Build number for HS13 b02
Bump up build number to 02

Reviewed-by: jcoomes
2008-05-30 14:50:19 -07:00
Erik Trimble
694a069581 Merge 2008-05-30 14:31:11 -07:00
Chuck Rasbold
8f5e42a671 Merge 2008-05-30 07:22:22 -07:00
Igor Veresov
7f2d0f1318 Merge 2008-05-30 03:53:31 -07:00
Chuck Rasbold
2e672ac9bf 6695049: (coll) Create an x86 intrinsic for Arrays.equals
Intrinsify java/util/Arrays.equals(char[], char[])

Reviewed-by: kvn, never
2008-05-29 16:22:09 -07:00
Vladimir Kozlov
a1f50998ae 6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops
Generate addresses and implicit null checks with narrow oops to avoid decoding.

Reviewed-by: jrose, never
2008-05-29 12:04:14 -07:00
Keith McGuigan
319d956145 6706604: Copyright headers need to be changed to GPL
Update the copyrights

Reviewed-by: ohair
2008-05-29 14:06:30 -04:00
Coleen Phillimore
646ceb4a45 6696264: assert("narrow oop can never be zero") for GCBasher & ParNewGC
Decouple set_klass() with zeroing the gap when compressed.

Reviewed-by: kvn, ysr, jrose
2008-05-28 21:06:24 -07:00
Andrew Hughes
1f9e095ee3 6707485: bytecodeInterpreterWithChecks.xsl is malformed
Xsl output tag not at top level

Reviewed-by: never, kvn, rasbold
2008-05-28 12:42:34 -07:00
Kelly O'Hair
f73b1b78d7 6703308: Fix jprt.properties to allow for jdk6 and jdk7 builds
Allows for jprt submit -release option to select jdk version and proper build targets.

Reviewed-by: jcoomes
2008-05-28 10:16:33 -07:00
Jon Masamitsu
831ee085f0 6706662: Remove workaround introduced in fix for 6624782
Remove workaround compiler options for instanceKlass.cpp and objArrayKlass.cpp.

Reviewed-by: ysr, jcoomes
2008-05-27 11:46:44 -07:00
Kelly O'Hair
5d322a1edf 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles)
Allows for building with SS12, no longer requires SS11, warns if not SS11 for now. Once SS12 is validated and performance measurements look ok, SS12 will be the validated compiler.

Reviewed-by: sspitsyn, ikrylov
2008-05-27 09:47:18 -07:00
Keith McGuigan
c966634470 6705523: Fix for 6695506 will violate spec when used in JDK6
Make max classfile version number dependent on JDK version

Reviewed-by: acorn, never
2008-05-22 13:03:52 -04:00
Xiomara Jayasena
6346f4b62b Added tag jdk7-b27 for changeset 9ba36c07dcee 2008-05-22 09:37:40 -07:00
Vladimir Kozlov
e53e767d88 6703888: Compressed Oops: use the 32-bits gap after klass in a object
Use the gap also for a narrow oop field and a boxing object value.

Reviewed-by: coleenp, never
2008-05-21 16:31:35 -07:00
Vladimir Kozlov
76035424de 6703890: Compressed Oops: add LoadNKlass node to generate narrow oops (32-bits) compare instructions
Add LoadNKlass and CMoveN nodes, use CmpN and ConN nodes to generate narrow oops compare instructions.

Reviewed-by: never, rasbold
2008-05-21 13:46:23 -07:00
Vladimir Kozlov
757229db71 6695810: null oop passed to encode_heap_oop_not_null
Fix several problems in C2 related to Escape Analysis and Compressed Oops.

Reviewed-by: never, jrose
2008-05-21 10:45:07 -07:00
Erik Trimble
e5e433a94c Merge 2008-05-20 19:50:32 -07:00
Daniel D. Daugherty
7c478e3028 Merge 2008-05-20 09:47:05 -07:00
Chuck Rasbold
dbf60cec88 Merge 2008-05-20 06:32:58 -07:00
Daniel D. Daugherty
e03f944292 Merge 2008-05-16 13:42:07 -07:00
Vladimir Kozlov
60c74ba115 6701887: JDK7 server VM in endless loop in Node::dominates
The method Node::dominates loops in the dead code which does not have a Region node.

Reviewed-by: jrose, never
2008-05-15 22:43:11 -07:00
Vladimir Kozlov
9bcba384cb 6700102: c2 assertion "counter_changed,"failed dependencies, but counter didn't change")" with AggressiveOpts
Bytecode Escape Analyzer does not have the check for the case described in 6389127.

Reviewed-by: never
2008-05-15 22:40:43 -07:00
Chuck Rasbold
3d93819395 Merge 2008-05-14 15:01:08 -07:00
John R Rose
3a4ea9a986 6701024: SAJDI functionality is broken
Back out sa-related changes to 6652736, use concrete expressions for WKK names in the SA

Reviewed-by: never, sundar
2008-05-14 00:41:06 -07:00
Daniel D. Daugherty
a55c15f436 Merge 2008-05-09 09:11:34 -07:00
Daniel D. Daugherty
a2a49ae8de 6670684: 4/5 SA command universe did not print out CMS space information
Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified the port was correct.

Reviewed-by: dcubed
2008-05-09 08:55:13 -07:00
Igor Veresov
1689a5ecba 6697534: Premature GC and invalid lgrp selection with NUMA-aware allocator
Don't move tops of the chunks in ensure_parsibility(). Handle the situation with Solaris when a machine has a locality group with no memory.

Reviewed-by: apetrusenko, jcoomes, ysr
2008-05-09 16:34:08 +04:00
Chuck Rasbold
2cd3a90782 Merge 2008-05-09 05:26:59 -07:00
Chuck Rasbold
72313bcf20 6603011: RFE: Optimize long division
Transform long division by constant into multiply

Reviewed-by: never, kvn
2008-05-07 08:06:46 -07:00
Y. Srinivas Ramakrishna
9b2d755745 6662086: 6u4+, 7b11+: CMS never clears referents when -XX:+ParallelRefProcEnabled
Construct the relevant CMSIsAliveClosure used by CMS during parallel reference processing with the correct span. It had incorrectly been constructed with an empty span, a regression introduced in 6417901.

Reviewed-by: jcoomes
2008-05-06 15:37:36 -07:00
Igor Veresov
035662396c Merge 2008-05-04 03:29:31 -07:00
Steve Bohne
92cdc5a2e2 Merge 2008-05-02 08:22:11 -07:00
Steve Bohne
4cfac3990e Merge 2008-05-01 09:38:23 -04:00
Keith McGuigan
0bbb786728 6695506: JVM should accept classfiles with classfile version 51
Increase class file parser's acceptable max to 51

Reviewed-by: sbohne, ikrylov
2008-04-30 10:58:37 -04:00
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