Igor Veresov
36303f61b6
6964776: c2 should ensure the polling page is reachable on 64 bit
...
Materialize the pointer to the polling page in a register instead of using rip-relative addressing when the distance from the code cache is larger than disp32.
Reviewed-by: never, kvn
2011-03-27 13:17:37 -07:00
Tom Rodriguez
5387ee459e
7024475: loop doesn't terminate when compiled
...
Reviewed-by: kvn
2011-03-27 00:00:14 -07:00
Roland Westrelin
360a7be9a7
Merge
2011-03-26 08:31:45 -07:00
Tom Rodriguez
e4e3b2b0d7
7022204: LogFile wildcarding should use %p instead of star
...
Reviewed-by: coleenp, jrose
2011-03-25 18:50:10 -07:00
Erik Trimble
f69e8bedea
7031227: Bump the HS21 build number to 06
...
Update the HS21 build number to 06
Reviewed-by: jcoomes
2011-03-25 18:04:51 -07:00
Erik Trimble
3816b1ddf6
Merge
2011-03-25 18:04:45 -07:00
Erik Trimble
65971e6ac0
Added tag hs21-b05 for changeset 0001aa6ce1bf
2011-03-25 17:26:33 -07:00
Tom Rodriguez
9cc2cbba4b
Merge
2011-03-25 18:19:22 -04:00
Volker Simonis
f6a0d5983e
7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together
...
Reviewed-by: never
2011-03-25 11:29:30 -07:00
Roland Westrelin
4171ca786e
7029017: Additional architecture support for c2 compiler
...
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
John Coomes
550ae1eb0c
Merge
2011-03-24 23:49:56 -07:00
John Coomes
5660cdefc9
Merge
2011-03-24 23:06:13 -07:00
Christian Thalinger
09ca02c5b8
Merge
2011-03-24 23:04:40 -07:00
John Coomes
cdd5139d91
Merge
2011-03-24 23:04:36 -07:00
John Coomes
f05b2137b4
Merge
2011-03-24 23:00:27 -07:00
Suchen Chien
6508316baf
Added tag jdk7-b135 for changeset 0001aa6ce1bf
2011-03-24 11:20:35 -07:00
Gary Benson
d31e82c17f
7030207: Zero tweak to remove accidentally incorporated code
...
IcedTea contains a now-unmaintained ARM-specific interpreter and part of that interpreter was accidentally incorporated in one of the webrevs when Zero was initially imported.
Reviewed-by: twisti
2011-03-24 02:11:50 -07:00
Tom Rodriguez
87c2f53c25
7030300: more nightly failures after statics in Class changes
...
Reviewed-by: iveresov, jcoomes, dcubed
2011-03-23 10:55:43 -07:00
Christian Thalinger
efdad520ca
7029805: JSR 292 compiler/6991596/Test6991596.java fails in nightly
...
Both JSR 292 compiler tests were moved with 6839872 to the jdk repository
Reviewed-by: never
2011-03-23 04:19:16 -07:00
Mandy Chung
a5327b368f
7025628: Remove the temporary hack added for jdk modularization in hotspot
...
Removed
Reviewed-by: ohair, coleenp
2011-03-22 18:04:03 -04:00
John Coomes
fe899cc10d
6962931: move interned strings out of the perm gen
...
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
David Holmes
5b717e764a
6535709: interrupt of wait()ing thread isn't triggerring InterruptedException - test intwait3
...
Only clear the interrupt state if we will report that it was set
Reviewed-by: dcubed, alanb, phh, coleenp, dice
2011-03-21 22:16:19 -04:00
John Coomes
1ed31f9194
6962930: make the string table size configurable
...
Reviewed-by: never, phh, stefank, kamg, dholmes, coleenp
2011-03-21 18:38:00 -07:00
Tom Rodriguez
31ac558f3d
7029509: nightly failures after static fields in Class
...
Reviewed-by: kvn
2011-03-21 14:06:50 -07:00
Vladimir Kozlov
3de260da41
7008866: Missing loop predicate for loop with multiple entries
...
Add predicates when loop head bytecode is parsed instead of when back branch bytecode is parsed.
Reviewed-by: never
2011-03-21 11:28:14 -07:00
Christian Thalinger
a3e259c335
7027232: JSR 292: wrong numeric value returned by MH on solaris-sparc
...
Reviewed-by: kvn, never
2011-03-21 02:30:49 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Tom Rodriguez
f5ef48f3b9
7028374: race in fix_oop_relocations for scavengeable nmethods
...
Reviewed-by: kvn
2011-03-18 15:52:42 -07:00
Erik Trimble
a6f5b69e41
7028846: Bump the HS21 build number to 05
...
Update the HS21 build number to 05
Reviewed-by: jcoomes
2011-03-18 13:28:33 -07:00
Erik Trimble
74c7fb6c9d
Merge
2011-03-18 13:28:29 -07:00
John Coomes
0317c7c485
Merge
2011-03-18 09:03:43 -07:00
Christian Thalinger
51f5142db1
Merge
2011-03-18 01:44:15 -07:00
John R Rose
e197657e02
7011865: JSR 292 CTW fails: !THREAD->is_Compiler_thread() failed: Can not load classes with the Compiler thre
...
Reviewed-by: kvn, never
2011-03-17 18:29:18 -07:00
Erik Trimble
5dfa054899
Added tag hs21-b04 for changeset 8f90284bf3fa
2011-03-17 17:25:12 -07:00
Suchen Chien
7e074712eb
Added tag jdk7-b134 for changeset 3cb740be56d2
2011-03-17 14:32:47 -07:00
Tom Deneau
998b726ce7
7028394: Newer AMD Processor Prefetch Defaults
...
This new default has shown improvement across many workloads.
Reviewed-by: kvn
2011-03-17 12:08:01 -07:00
Y. Srinivas Ramakrishna
b4b287e7ac
6668573: CMS: reference processing crash if ParallelCMSThreads > ParallelGCThreads
...
Use _max_num_q = max(discovery_degree, processing_degree), and let balance_queues() redistribute from discovery_degree to processing_degree of queues. This should also allow a more dynamic and flexible parallelism policy in the future.
Reviewed-by: jmasa, johnc
2011-03-17 10:32:46 -07:00
Vladimir Danushevsky
fd79022cd5
Merge
2011-03-16 23:45:04 -04:00
Coleen Phillimore
c912c29690
7019165: Incorrect symbols in pstack output after SymbolTable changes
...
And out lsb which is set for symbols in constant pool slots to distinguish them from strings
Reviewed-by: phh, dholmes, never, dcubed
2011-03-16 14:57:49 -04:00
Y. Srinivas Ramakrishna
7293fabc43
6896099: Integrate CMS heap ergo with default heap sizing ergo
...
6627787: CMS: JVM refuses to start up with -Xms16m -Xmx16m
7000125: CMS: Anti-monotone young gen sizing with respect to maximum whole heap size specification
7027529: CMS: retire CMSUseOldDefaults flag
Simplify CMS heap sizing code, relying on ergonomic initial sizing consistent with other collectors for the most part, controlling only young gen sizing to rein in pause times. Make CMS young gen sizing default statically cpu-dependant. Remove inconsistencies wrt generation sizing and policy code, allowing for the fixing for 6627787 and 7000125. For 7027529, retire the flag CMSUseOldDefaults which had been introduced as a bridge from JDK 5 to JDK 6 a number of years ago.
Reviewed-by: brutisso, poonam
2011-03-16 10:37:08 -07:00
Vladimir Danushevsky
a0ef2fcd8e
Merge
2011-03-16 10:47:45 -04:00
Jesper Wilhelmsson
413f247a65
Merge
2011-03-15 09:07:49 -07:00
Daniel D. Daugherty
7c14db880f
Merge
2011-03-15 06:50:01 -07:00
Daniel D. Daugherty
c4e301bffa
7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
...
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -07:00
Daniel D. Daugherty
0c3498d374
7024234: 2/3 jvmti tests fail assert(!_oops_are_stale) failed: oops are stale on Win-AMD64
...
Move initialization of the '_instance' field to avoid race with ServiceThread start.
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:35:10 -07:00
Y. Srinivas Ramakrishna
a3de65241c
6987703: iCMS: Intermittent hang with gc/gctests/CallGC/CallGC01 and +ExplicitGCInvokesConcurrent
...
Count enable_icms() and disable_icms() events so as to prevent inteference between concurrent calls, which can cause the iCMS thread to be left stranded in icms_wait() with an unserviced request and no young allocations to unwedge it.
Reviewed-by: jcoomes, poonam
2011-03-14 21:52:24 -07:00
Karen Kinnear
b09494b185
Merge
2011-03-14 11:43:56 -07:00
Erik Trimble
593b4b4460
Merge
2011-03-11 22:41:33 -08:00
John R Rose
f6344076f2
7012648: move JSR 292 to package java.lang.invoke and adjust names
...
Package and class renaming only; delete unused methods and classes
Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45
6839872: remove implementation inheritance from JSR 292 APIs
...
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic
Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
John R Rose
c506cb0e5b
Merge
2011-03-11 21:19:15 -08:00
Paul Hohensee
f38a80b837
7023931: PcDescCache::find_pc_desc should not write _last_pc_desc
...
Remove _last_pc_desc and use pcdescs[0] instead.
Reviewed-by: dcubed, coleenp, ysr
2011-03-11 16:09:55 -05:00
Erik Trimble
a187d013ad
Merge
2011-03-11 11:18:56 -08:00
Vladimir Kozlov
4c5f41c72f
7026631: field _klass is incorrectly set for dual type of TypeAryPtr::OOPS
...
Add missing check this->dual() != TypeAryPtr::OOPS into TypeAryPtr::klass().
Reviewed-by: never
2011-03-11 07:50:51 -08:00
Jesper Wilhelmsson
aad948f0e8
6820066: Check that -XX:ParGCArrayScanChunk has a value larger than zero
...
Check that -XX:ParGCArrayScanChunk has a value larger than zero.
Reviewed-by: johnc, jmasa, ysr
2011-03-11 16:35:18 +01:00
Christine Lu
b49c270cc9
Added tag jdk7-b133 for changeset d7dd3e46bc54
2011-03-10 17:10:55 -08:00
Vladimir Danushevsky
594cddaa6b
7011490: Wrong computation results in Test6880034
...
Incorrect handling of c2i deoptimization on little endian architectures
Reviewed-by: never
2011-03-10 14:56:11 -05:00
Bertrand Delsart
4770417e71
7025485: leverage shared x86-only deoptimization code
...
Removed an ifdef IA32 around harmless code useful for some ports
Reviewed-by: chrisphi, never
2011-03-10 17:44:32 +01:00
Vladimir Kozlov
fd6487f201
7025742: Can not use CodeCache::unallocated_capacity() with fragmented CodeCache
...
Use largest_free_block() instead of unallocated_capacity().
Reviewed-by: iveresov, never, ysr
2011-03-09 09:15:16 -08:00
Coleen Phillimore
3471fe3ee4
7024584: Symbol printouts shouldnt be under PrintGCDetails
...
Put symbol printing under Verbose and WizardMode so you can get this information if you really want it.
Reviewed-by: phh, stefank, never, dholmes, jcoomes
2011-03-07 16:03:28 -05:00
Karen Kinnear
224db84b31
Merge
2011-03-07 09:16:08 -08:00
Tom Rodriguez
84ef74286f
6965570: assert(!needs_patching && x->is_loaded(),"how do we know it's volatile if it's not loaded")
...
Reviewed-by: iveresov
2011-03-06 22:09:23 -08:00
Vladimir Kozlov
8f5e126d82
6589823: Error: meet not symmetric
...
Arrays pointers meet must fall to bottom if exact array klasses in upper lattice are not equal or super klass is exact.
Reviewed-by: never
2011-03-05 11:02:04 -08:00
Tom Rodriguez
53d99aff1b
Merge
2011-03-04 22:44:50 -08:00
Tom Rodriguez
dcfa5e385a
7024866: # assert(limit == NULL || limit <= nm->code_end()) failed: in bounds
...
Reviewed-by: kvn, iveresov
2011-03-04 20:01:48 -08:00
Igor Veresov
2114527fec
7020403: Add AdvancedCompilationPolicy for tiered
...
This implements adaptive tiered compilation policy.
Reviewed-by: kvn, never
2011-03-04 15:14:16 -08:00
Erik Trimble
d0c0743b8c
7024814: Bump the HS21 build number to 04
...
Update the HS21 build number to 04
Reviewed-by: jcoomes
2011-03-04 14:06:22 -08:00
Erik Trimble
8ab2d2b22a
Merge
2011-03-04 14:06:16 -08:00
Keith McGuigan
fac0855180
6845426: non-static <clinit> method with no args is called during the class initialization process
...
Only call <clinit> with ACC_STATIC for classfiles with version > 50
Reviewed-by: acorn, dholmes, coleenp
2011-03-04 14:40:46 -05:00
Vladimir Kozlov
d7802369bc
Merge
2011-03-03 23:31:45 -08:00
John Coomes
3a4f0a735e
Merge
2011-03-03 21:02:56 -08:00
Coleen Phillimore
3ebf2446ee
7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
...
Fix compilation error(s)
Reviewed-by: kvn, phh, jcoomes, dholmes
2011-03-03 19:53:03 -05:00
Coleen Phillimore
a411df237d
6512830: Error: assert(tag_at(which).is_unresolved_klass(), "Corrupted constant pool")
...
Redefine classes copies the constant pool while the constant pool may be resolving strings or classes
Reviewed-by: dcubed, dsamersoff, acorn
2011-03-03 19:52:23 -05:00
Coleen Phillimore
c3805bc224
7022999: Can't build with FORCE_TIERED=0
...
Put UseFastLocking test under #ifdef COMPILER1
Reviewed-by: kvn, phh, never, dcubed
2011-03-03 19:51:36 -05:00
Erik Trimble
4fe4b76e30
Added tag hs21-b03 for changeset 36d51765affc
2011-03-03 15:13:18 -08:00
David Katleman
0ee9f71c25
Added tag jdk7-b132 for changeset 802ca1911963
2011-03-03 14:12:59 -08:00
Bengt Rutisson
edb9e105eb
7023747: G1: too strict assert in RefineRecordRefsIntoCSCardTableEntryClosure::do_card_ptr in g1RemSet.cpp
...
Made sure that the assert looks at ParallelGCThreads.
Reviewed-by: stefank, tonyp, jwilhelm, johnc
2011-03-03 11:35:50 +01:00
Bengt Rutisson
a35c7dbfeb
7022943: G1: improve logging to avoid interleaved numbers
...
Introduced buffered loggging to make sure that log lines are logged one line at a time
Reviewed-by: stefank, johnc, dsamersoff
2011-03-03 22:58:46 +01:00
John Coomes
c295eb2515
7018056: large pages not always enabled by default
...
Reviewed-by: phh, kvn
2011-03-06 11:37:18 -08:00
Antonios Printezis
3ff554aec1
7014923: G1: code cleanup
...
Some G1 code cleanup.
Reviewed-by: johnc, jcoomes, jwilhelm
2011-03-04 17:13:19 -05:00
Zhengyu Gu
0e033bed54
Merge
2011-03-02 16:21:47 -08:00
Zhengyu Gu
5b51e2c9aa
7017110: Add /SAFESEH to links on windows 32bit to verify safe exceptions
...
Ensure safe exception handler table is generated on Win32 binaries when compile with VS2010
Reviewed-by: acorn, coleenp, dcubed, sla, ohair
2011-03-02 09:16:18 -05:00
Keith McGuigan
380d90b364
6878713: Verifier heap corruption, relating to backward jsrs
...
Added overflow detection in arena Amalloc methods
Reviewed-by: coleenp, phh
2011-03-02 08:18:35 -05:00
Staffan Larsen
97e74a3862
7023323: Build failure on VS2003: IsDebuggerPresent not found
...
#define _WIN32_WINNT 0x500
Reviewed-by: ohrstrom, hosterda, coleenp
2011-03-02 09:41:26 +01:00
Igor Veresov
90a153aa38
6627983: G1: Bad oop deference during marking
...
Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.
Reviewed-by: jrose, kvn, never
2011-03-01 14:56:48 -08:00
Tom Rodriguez
5432554ecb
6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
...
Reviewed-by: kvn, iveresov
2011-03-01 10:27:15 -08:00
Robert Ottenhag
105b4f734b
Merge
2011-02-28 22:35:01 -08:00
Volker Simonis
d232a8bbdc
7023229: extraneous include of precompiled.hpp in hsdis.c
...
Reviewed-by: never, jrose
2011-02-28 17:12:42 -08:00
Robert Ottenhag
1344f54bde
Merge
2011-02-28 15:35:45 -08:00
Keith McGuigan
ffab67875d
7020118: Alter frame assignability to allow for exception handler coverage of invokespecial <init>
...
Add special rule to allow assignment of frames with uninit flags set.
Reviewed-by: never, coleenp
2011-02-28 16:01:59 -05:00
John Cuthbertson
9babe64b0a
7022200: G1: optimized build broken
...
Make the G1 specific version of is_in_closed_subset() available in all builds.
Reviewed-by: tonyp, jcoomes
2011-02-28 09:10:52 -08:00
Christian Thalinger
cd6c0b147e
7012914: JSR 292 MethodHandlesTest C1: frame::verify_return_pc(return_address) failed: must be a return pc
...
Reviewed-by: never, bdelsart
2011-02-28 06:07:12 -08:00
Staffan Larsen
cc6f461357
7022037: Pause when exiting if debugger is attached on windows
...
Reviewed-by: dsamersoff, kamg, hosterda
2011-02-28 14:19:52 +01:00
Vladimir Kozlov
a74bc73598
6942326: x86 code in string_indexof() could read beyond reserved heap space
...
Copy small (<8) strings on stack if str+16 crosses a page boundary and load from stack into XMM. Back up pointer when loading string's tail.
Reviewed-by: never
2011-02-26 12:10:54 -08:00
Keith McGuigan
52708b0603
7017640: Fix for 6766644 deadlocks on some NSK tests when running with -Xcomp
...
Dynamic-code generated events should be deferred and processed by service thread
Reviewed-by: dsamersoff, dcubed
2011-02-26 13:33:23 -05:00
Erik Trimble
81c907a4b8
7022570: Bump the HS21 build number to 03
...
Update the HS21 build number to 03
Reviewed-by: jcoomes
2011-02-25 12:46:49 -08:00
Erik Trimble
03d633b959
Merge
2011-02-25 12:46:46 -08:00
Erik Trimble
19f730fedf
Added tag hs21-b02 for changeset 70ed6d8368bc
2011-02-25 11:42:03 -08:00
Antonios Printezis
137ea60ce2
Merge
2011-02-25 08:17:30 -08:00
Antonios Printezis
d6cd90e122
Merge
2011-02-25 10:58:03 -05:00
Robert Ottenhag
d284715c15
Merge
2011-02-25 03:29:56 -08:00
David Holmes
e6b07111ea
7021953: Remove flags from globals.hpp inadvertently dragged in by 7016023
...
Removed erroneous flags
Reviewed-by: kvn, dcubed
2011-02-24 21:38:37 -05:00
Christine Lu
15d041a240
Added tag jdk7-b131 for changeset e0205cb94879
2011-02-24 15:15:50 -08:00
Tom Rodriguez
836fd81744
Merge
2011-02-24 14:49:34 -08:00
Tom Rodriguez
83661087ea
7021603: crash in fill_sync_handler with ExtendedDTrace probes
...
Reviewed-by: iveresov
2011-02-24 11:09:16 -08:00
Vladimir Kozlov
afa5d117b7
6812217: Base memory of MergeMem node violates assert during killing expanded AllocateArray node
...
The assert in MergeMemNode::memory_at() misses the case when address is TOP.
Reviewed-by: never
2011-02-24 10:28:20 -08:00
Tom Rodriguez
562aedc884
7012072: CompileTheWorld causes incorrect class initialization
...
Reviewed-by: kvn, twisti
2011-02-23 19:09:16 -08:00
Christine Lu
59d5b2fc13
Merge
2011-02-23 15:48:46 -08:00
Vladimir Kozlov
f9fa6ee530
Merge
2011-02-23 12:28:23 -08:00
Vladimir Kozlov
0ea15ed320
Merge
2011-02-23 11:18:16 -08:00
Igor Veresov
25387df1e0
Merge
2011-02-22 18:13:03 -08:00
Tom Rodriguez
8967db2c35
7021531: lock ordering problems after fix for 6354181
...
Reviewed-by: kvn, jrose
2011-02-22 15:26:36 -08:00
Igor Veresov
1c5e7bf24a
7020521: arraycopy stubs place prebarriers incorrectly
...
Rearranged the pre-barrier placement in arraycopy stubs so that they are properly called in case of chained calls. Also refactored the code a little bit so that it looks uniform across the platforms and is more readable.
Reviewed-by: never, kvn
2011-02-22 15:25:02 -08:00
Robert Ottenhag
c4270e4517
Merge
2011-02-21 04:49:17 -08:00
Stefan Karlsson
46bcea93ef
7020992: jmm_DumpThreads should not allocate system object arrays outside the perm gen
...
Allocate ordinary object arrays
Reviewed-by: ysr, never, mchung
2011-02-21 11:26:45 +01:00
Coleen Phillimore
3899f14f1f
7019557: SharedMiscDataSize too small for 64-bit fastdebug JVM
...
Increase default SharedMiscDataSize
Reviewed-by: dcubed, kamg
2011-02-18 18:26:17 -05:00
Christine Lu
4138cbb7b0
Added tag jdk7-b130 for changeset 70ed6d8368bc
2011-02-18 14:23:37 -08:00
John Cuthbertson
154f0709bd
7020042: G1: Partially remove fix for 6994628
...
Disable reference discovery and processing during concurrent marking by disabling fix for 6994628.
Reviewed-by: tonyp, ysr
2011-02-18 10:07:34 -08:00
Antonios Printezis
f418b77aa6
7027766: G1: introduce flag to dump the liveness information per region at the end of marking
...
Repurpose the existing flag G1PrintRegionLivenessInfo to print out the liveness distribution across the regions in the heap at the end of marking.
Reviewed-by: iveresov, jwilhelm
2011-04-04 14:23:17 -04:00
Antonios Printezis
cec5c20656
7033292: G1: nightly failure: Non-dirty cards in region that should be dirty
...
The epochs on the card cache array are initialized to 0 and our initial epoch also starts at 0. So, until the first GC, it might be possible to successfully "claim" a card which was in fact never initialized.
Reviewed-by: johnc, iveresov, ysr
2011-04-04 13:18:35 -04:00
Antonios Printezis
3e9fe24ddd
7023069: G1: Introduce symmetric locking in the slow allocation path
...
7023151: G1: refactor the code that operates on _cur_alloc_region to be re-used for allocs by the GC threads
7018286: G1: humongous allocation attempts should take the GC locker into account
First, this change replaces the asymmetric locking scheme in the G1 slow alloc path by a summetric one. Second, it factors out the code that operates on _cur_alloc_region so that it can be re-used for allocations by the GC threads in the future.
Reviewed-by: stefank, brutisso, johnc
2011-03-30 10:26:59 -04:00
Antonios Printezis
349d820dd1
7029458: G1: Add newly-reclaimed regions to the beginning of the region free list, not the end
...
What the synopsis says.
Reviewed-by: jwilhelm, iveresov, johnc
2011-03-29 22:36:16 -04:00
John Cuthbertson
c2275649b7
7026932: G1: No need to abort VM when card count cache expansion fails
...
Manage allocation/freeing of the card cache counts and epochs arrays directly so that an allocation failure while attempting to expand these arrays does not abort the JVM. Failure to expand these arrays is not fatal.
Reviewed-by: iveresov, tonyp
2011-03-28 10:58:54 -07:00
Bengt Rutisson
4fd9f5071f
6948149: G1: Imbalance in termination times
...
Changed default value of WorkStealingYieldsBeforeSleep from 1000 to 5000. Added more information to G1 pause logging.
Reviewed-by: jwilhelm, tonyp, jmasa
2011-03-23 14:12:51 +01:00
John Coomes
9c0cc6b6d8
Merge
2011-03-25 17:39:20 -07:00
Y. Srinivas Ramakrishna
3e02204f5d
7029036: Card-table verification hangs with all framework collectors, except G1, even before the first GC
...
When verifying clean card ranges, use memory-range-bounded iteration over oops of objects overlapping that range, thus avoiding the otherwise quadratic worst-case cost of scanning large object arrays.
Reviewed-by: jmasa, jwilhelm, tonyp
2011-03-24 15:47:01 -07:00
Y. Srinivas Ramakrishna
4282af91a0
7030435: Some oop_oop_iterate_m() methods iterate outside of specified memory bounds
...
Filter ref-containing locations through the memory-interval specified in the call.
Reviewed-by: jcoomes, jwilhelm, tonyp
2011-03-24 15:45:27 -07:00
Erik Trimble
8e3541f4fa
Merge
2011-02-16 17:26:20 -08:00
Keith McGuigan
c2ea25db39
7019718: make error reporting flags product instead of diagnostic
...
See synopsis
Reviewed-by: acorn, coleenp
2011-02-16 16:58:24 -08:00
Coleen Phillimore
5cef1a1a84
Merge
2011-02-16 16:25:57 -08:00
Volker Simonis
5e83438315
7019689: Non-dependent name is found in dependent base class although it should be rejected
...
Fix hashtable.hpp to qualify non-dependant name with "this"
Reviewed-by: phh, never, poonam
2011-02-16 17:12:31 -05:00
Kelly O'Hair
cff49a9152
7013964: openjdk LICENSE file needs rebranding
...
Reviewed-by: darcy, katleman, jjg
2011-02-16 13:30:31 -08:00
Coleen Phillimore
9c5679fe53
6840152: JVM crashes when heavyweight monitors are used
...
Turn off biased locking if !UseFastLocking or UseHeavyMonitors options are requested.
Reviewed-by: phh, never, dcubed, dholmes
2011-02-16 11:34:44 -05:00
David Holmes
89f51d79cc
Merge
2011-02-16 01:42:00 -05:00
Daniel D. Daugherty
5d5154fbea
6954420: 2/4 jps shows "process information unavailable" sometimes
...
Make sure the backing store file is flushed in create_sharedmem_resources() and get_user_name_slow() no longer checks the size of the backing store file.
Reviewed-by: briand, swamyv, acorn, poonam
2011-02-15 19:00:22 -08:00
Antonios Printezis
57d8e5b8ba
Merge
2011-02-14 22:21:18 -05:00
David Holmes
74c63197eb
7018429: JPRT: Update Makefile to use ALT_JDK_TARGET_IMPORT_PATH for copying JDK
...
Set JDK_IMPORT_PATH to ALT_JDK_TARGET_IMPORT_PATH if it is defined
Reviewed-by: phh, ohair
2011-02-14 19:27:36 -05:00
Robert Ottenhag
231caaed9b
Merge
2011-02-14 03:19:33 -08:00
Coleen Phillimore
876fbcb9f7
7019157: errorHandler doesn't compile with super old gcc without precompiled headers
...
Old gccs don't support precompiled headers so have to supply includes
Reviewed-by: phh, kamg
2011-02-12 10:28:34 -05:00
Erik Trimble
72ec986b22
7019104: Bump the HS21 build number to 02
...
Update the HS21 build number to 02
Reviewed-by: jcoomes
2011-02-11 15:32:03 -08:00
Erik Trimble
f57a34b353
Merge
2011-02-11 15:31:58 -08:00
Erik Trimble
8c80661027
Added tag hs21-b01 for changeset 251814950cb2
2011-02-11 14:30:27 -08:00
Robert Ottenhag
3447053144
Merge
2011-02-11 05:40:41 -08:00
Stefan Karlsson
311bd2a9a9
7018257: jmm_DumpThreads allocates into permgen
...
Don't allocate in permgen
Reviewed-by: ysr, sla
2011-02-11 14:15:16 +01:00
Christine Lu
97dbe91443
Added tag jdk7-b129 for changeset 251814950cb2
2011-02-10 16:24:29 -08:00
Y. Srinivas Ramakrishna
2c35cde750
7018302: newly added assert related to size of constantPoolOop causes secondary assertions or crashes
...
6912621 used a raw oop in the newly added assert following an allocation attempt that could result in a GC.
Reviewed-by: jmasa
2011-02-10 14:48:07 -08:00
Staffan Larsen
32b46da6e3
7017824: Add support for creating 64-bit Visual Studio projects
...
Updated create.bat and ProjectCreator
Reviewed-by: brutisso, stefank, ohair
2011-02-10 13:03:22 +01:00
Christian Tornqvist
d30b5f01d3
7018366: hotspot/runtime_erro Fix for 7014918 does not build using MVC 2003
...
Looking at API_VERSION_NUMBER define to see what version of dbghelp.h/imagehlp.h is included to determine what MINIDUMP_TYPEs are defined in the header file
Reviewed-by: acorn, brutisso, sla
2011-02-10 12:55:56 +01:00
Tom Rodriguez
4b3ada699d
7016474: string compare intrinsic improvements
...
Reviewed-by: kvn
2011-02-09 15:02:23 -08:00
Tom Rodriguez
477cbff4b6
7019819: bare oop in ciField
...
Reviewed-by: kvn, iveresov
2011-02-15 22:18:33 -08:00
Vladimir Kozlov
ddd4d3ad73
Merge
2011-02-14 14:36:29 -08:00
Tom Rodriguez
a7f9351b5d
7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
...
Reviewed-by: acorn, kvn, dsamersoff
2011-02-14 11:46:58 -08:00
Christian Thalinger
c2b37037c6
7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
...
Reviewed-by: kvn
2011-02-14 03:21:18 -08:00
Tom Rodriguez
add4b5bf69
7018506: CTW swallowing OOMs after symbol changes
...
Reviewed-by: kvn, iveresov, coleenp
2011-02-11 12:05:43 -08:00
Christian Thalinger
01cc76e02d
7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
...
Reviewed-by: kvn, chrisphi, twisti
2011-02-11 03:17:53 -08:00
Vladimir Kozlov
c13062093b
7018849: 7017124 fix broke VM build on some platforms
...
Use atomic load and store in inc_stat_counter() only on SPARC and X86.
Reviewed-by: iveresov
2011-02-10 19:34:48 -08:00
Vladimir Kozlov
5d3ab72d1d
7017746: Regression : C2 compiler crash due to SIGSEGV in PhaseCFG::schedule_early()
...
Add TEMP edges (and KILL projections) before duplicated operands are removed in Expand() methods.
Reviewed-by: never
2011-02-10 14:25:59 -08:00
Christian Thalinger
4c567f5969
7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
...
Test/compiler/6987555/Test6987555.java currently does not compile because the MH return-type syntax has changed.
Reviewed-by: never
2011-02-10 00:47:59 -08:00
Igor Veresov
6782422f01
7017434: Tiered needs to support reprofiling
...
Tiered needs to support proper method reprofiling after deopts.
Reviewed-by: kvn
2011-02-09 16:34:34 -08:00
John Cuthbertson
7334402db5
7017008: G1: Turn on compressed oops by default
...
Normally compressed oops is enabled when the maximum heap size is under a certain limit, except when G1 is also enabled. Remove this limitation. Also re-enable GCBasher testing with G1 on 64 bit windows in jprt.
Reviewed-by: jcoomes, brutisso, tonyp
2011-02-09 09:43:02 -08:00
Christian Tornqvist
237866941a
7014918: Improve core/minidump handling in Hotspot
...
Added Minidump support on Windows, enabled large page core dumps when coredump_filter is present and writing out path/rlimit for core dumps.
Reviewed-by: poonam, dsamersoff, sla, coleenp
2011-02-09 11:08:10 +01:00
Mandy Chung
8ff932b950
Merge
2011-02-08 22:27:57 -08:00
Coleen Phillimore
f5db22169b
Merge
2011-02-08 19:50:41 -05:00
Vladimir Kozlov
287139e5a5
7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
...
Align old gen size down to keep specified heap size.
Reviewed-by: ysr
2011-02-08 16:12:16 -08:00
Keith McGuigan
9acb43fa6d
7003401: Implement VM error-reporting functionality on erroneous termination
...
Add support for distribution-specific error reporting
Reviewed-by: coleenp, phh, jcoomes, ohair
2011-02-08 17:20:45 -05:00
Mandy Chung
9eecf686c5
7017673: Remove setting of the sun.jkernel.DownloadManager as a boot classloader hook
...
Reviewed-by: alanb, dcubed, coleenp
2011-02-08 09:11:37 -08:00
Stefan Karlsson
0c395c7799
7014851: Remove unused parallel compaction code
...
Removed.
Reviewed-by: jcoomes, brutisso
2011-02-08 12:33:19 +01:00
Y. Srinivas Ramakrishna
7eccb460db
6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
...
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.
Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -08:00
Coleen Phillimore
c4ddbc7c87
6472925: OutOfMemoryError fails to generate stack trace as it now ought
...
Print an additional message for OOM during stack trace printing
Reviewed-by: dholmes, phh, acorn, kamg, dcubed
2011-02-07 14:36:26 -05:00
Vladimir Kozlov
b9633d42b4
7017124: Fix some VM stats to avoid 32-bit overflow
...
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.
Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Vladimir Kozlov
e7c3086ed3
7013538: Java memory leak with escape analysis
...
Don't allocate VectorSet iterator on C heap. Reuse resource storage in EA.
Reviewed-by: never
2011-02-07 10:25:39 -08:00
Vladimir Kozlov
c00a50c8e9
7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in comp mode with G1
...
Add ResourceMark into PhaseIdealLoop::build_and_optimize().
Reviewed-by: never
2011-02-07 09:46:01 -08:00
Robert Ottenhag
9cfcb9eda1
Merge
2011-02-07 08:40:30 -08:00
Erik Trimble
f34f98b653
Merge
2011-02-04 16:29:41 -08:00
Erik Trimble
3e40f4947e
Merge
2011-02-03 23:26:25 -08:00
Yasumasa Suenaga
60418bbde3
7015169: GC Cause not always set
...
Sometimes the gc cause was not always set. This caused JStat to print the wrong information.
Reviewed-by: tonyp, ysr
2011-02-03 20:49:09 -08:00
Coleen Phillimore
2fcd065a0d
Merge
2011-02-03 20:30:19 -08:00
Coleen Phillimore
4940eacbf7
7017009: Secondary out of c-heap memory error reporting out of memory
...
Use os::malloc() to allocate buffer to read elf symbols and check for null
Reviewed-by: zgu, phh, dsamersoff, dholmes, dcubed
2011-02-03 21:30:08 -05:00
Christine Lu
924a172085
Added tag jdk7-b128 for changeset 5eecea832c83
2011-02-03 17:22:06 -08:00
Paul Hohensee
5b37c4faec
7016998: gcutil class LinearLeastSquareFit doesn't initialize some of its fields
...
Initialize _sum_x_squared, _intercept and _slope in constructor.
Reviewed-by: bobv, coleenp
2011-02-03 16:06:01 -05:00
Coleen Phillimore
052aed6276
7012088: jump to 0 address because of lack of memory ordering in SignatureHandlerLibrary::add
...
Write method signature handler under lock to prevent race with growable array resizing
Reviewed-by: dsamersoff, dholmes
2011-02-02 18:38:40 -05:00
Keith McGuigan
8a44936bb0
6766644: Redefinition of compiled method fails with assertion "Can not load classes with the Compiler thread"
...
Defer posting events from the compiler thread: use service thread
Reviewed-by: coleenp, dholmes, never, dcubed
2011-02-02 14:38:01 -05:00
John Cuthbertson
3373070e7f
6923430: G1: assert(res != 0,"This should have worked.")
...
7007446: G1: expand the heap with a single step, not one region at a time
Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.
Reviewed-by: brutisso, tonyp
2011-02-02 10:41:20 -08:00
Bob Vandette
b0d545a4e4
Merge
2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98
7016023: Enable building ARM and PPC from src/closed repository
...
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Erik Trimble
d31a60e26f
Merge
2011-02-01 18:57:53 -08:00
Vladimir Kozlov
f743a9db84
7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara should be T series
...
Use substring search instead of compare and convert string to upper case before search.
Reviewed-by: never, phh, iveresov
2011-02-01 10:27:02 -08:00
Coleen Phillimore
cba53708ec
6588413: Use -fvisibility=hidden for gcc compiles
...
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Christian Thalinger
6baa3e1f56
7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
...
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08:00
Bengt Rutisson
1c643e68f0
6789220: CMS: intermittent timeout running nsk/regression/b4796926
...
The reference handler java thread and the GC could dead lock
Reviewed-by: never, johnc, jcoomes
2011-02-01 14:05:46 +01:00
Y. Srinivas Ramakrishna
1046ee088f
6999988: CMS: Increased fragmentation leading to promotion failure after CR#6631166 got implemented
...
Fix calculation of _desired, in free list statistics, which was missing an intended set of parentheses.
Reviewed-by: poonam, jmasa
2011-02-01 10:02:01 -08:00
Christian Thalinger
561c090437
7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug JDK7/b122
...
Reviewed-by: kvn, never
2011-02-01 03:38:44 -08:00
Tom Rodriguez
f78d8f1157
6354181: nsk.logging.stress.threads.scmhml001 fails assertion in "src/share/vm/oops/instanceKlass.cpp, 111"
...
Reviewed-by: jrose, acorn
2011-01-31 17:48:21 -08:00
Antonios Printezis
d18d952e56
7014679: G1: deadlock during concurrent cleanup
...
There's a potential deadlock between the concurrent cleanup thread and the GC workers that are trying to allocate and waiting for more free regions to be made available.
Reviewed-by: iveresov, jcoomes
2011-01-31 16:28:40 -05:00
Christine Lu
d3c6da23e0
Added tag jdk7-b127 for changeset afc10913decb
2011-01-27 17:28:34 -08:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
John Cuthbertson
950858350d
Merge
2011-01-27 13:42:28 -08:00
Christian Thalinger
9208a03ec6
Merge
2011-01-27 14:05:59 -05:00
Christian Thalinger
099978400a
Merge
2011-01-27 08:47:02 -08:00
Daniel D. Daugherty
8275fd92d2
Merge
2011-01-26 21:26:52 -08:00