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
John Cuthbertson
58ac605fea
Merge
2011-01-26 09:57:42 -08:00
Erik Trimble
34880c294b
7014711: Fork HS20 to HS21 - renumber Major and build numbers of JVM
...
Update the Major and Build numbers for HS21
Reviewed-by: jcoomes
2011-01-25 15:06:37 -08:00
Antonios Printezis
ded092cb70
7014261: G1: RSet-related failures
...
A race between the concurrent cleanup thread and the VM thread while it is processing the "expanded sparse table list" causes both threads to try to free the same sparse table entry and either causes one of the threads to fail or leaves the entry in an inconsistent state. The solution is purge all entries on the expanded list that correspond go regions that are being cleaned up.
Reviewed-by: brutisso, johnc
2011-01-25 17:58:19 -05:00
Erik Trimble
a0d098f171
Added tag hs20-b07 for changeset c2f2ee35ff81
2011-01-25 14:57:24 -08:00
Igor Veresov
18fcb81cff
7014247: CTW fails when compile sun/misc/AtomicLongCSImpl (REMOVED from JDK7)
...
Use lea to compute field address in AtomicLongCSImpl::attemptUpdate() intrinsic on x86.
Reviewed-by: never, kvn
2011-01-25 14:38:15 -08:00
John Cuthbertson
ecdb5848eb
6608385: G1: need to support parallel reference processing
...
Implement support for ParallelRefProcEnabled in the reference processing that takes place at the end of G1 concurrent marking.
Reviewed-by: tonyp, ysr
2011-01-25 10:56:22 -08:00
David Holmes
5573dccf96
6566340: Restore use of stillborn flag to signify a thread that was stopped before it started
...
Restore use of stillborn flag
Reviewed-by: acorn, alanb
2011-01-25 00:14:21 -05:00
Tom Rodriguez
4739203b6c
7008809: should report the class in ArrayStoreExceptions from compiled code
...
Reviewed-by: iveresov, twisti
2011-01-24 13:34:18 -08:00
Tom Rodriguez
0f21994955
Merge
2011-01-21 13:03:13 -08:00
Tom Rodriguez
84536ec263
6809483: hotspot:::method_entry are not correctly generated for "method()V"
...
Reviewed-by: iveresov, twisti
2011-01-21 13:01:02 -08:00
Antonios Printezis
14f4450d25
7013718: G1: small fixes for two assert/guarantee failures
...
Two small fixes to deal with a guarantee failure (the marking thread should join the SuspendibleThreadSet before calling a method that does pause prediction work so that said method is never called during a pause) and an assert failure (an assert is too strong).
Reviewed-by: iveresov, johnc
2011-01-21 11:30:22 -05:00
Erik Trimble
6fde729219
Merge
2011-01-21 02:07:11 -08:00
Christian Thalinger
32d59f1ed0
Merge
2011-01-21 01:16:13 -08:00
Igor Veresov
9256b1a02a
7013812: C1: deopt blob too far from patching stub
...
Use long jumps to get from patching stubs to deopt blob
Reviewed-by: kvn, never
2011-01-21 00:01:41 -08:00
Erik Trimble
0b70c2b577
Merge
2011-01-20 18:24:04 -08:00
Erik Trimble
ea924f9ff6
Merge
2011-01-20 17:53:38 -08:00
Christine Lu
6083cfa267
Added tag jdk7-b126 for changeset 58ca438889f6
2011-01-20 15:52:05 -08:00
John Cuthbertson
d31ff8a886
Merge
2011-01-20 13:57:12 -08:00
Christian Thalinger
5e35df892d
7011839: JSR 292 turn on escape analysis when using invokedynamic
...
Currently escape analysis is turned off when EnableInvokeDynamic is true.
Reviewed-by: jrose, kvn
2011-01-20 08:25:22 -08:00
Daniel D. Daugherty
9a10ca40d7
Merge
2011-01-19 19:24:34 -08:00
Antonios Printezis
8bce4a6620
6977804: G1: remove the zero-filling thread
...
This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification.
Reviewed-by: jcoomes, johnc
2011-01-19 19:30:42 -05:00
Keith McGuigan
272d7eaffc
7012505: BreakpointWithFullGC.sh fails with Internal Error (src/share/vm/oops/methodOop.cpp:220)
...
Rebuild breakpoint cache at gc_epilogue instead of during oops_do
Reviewed-by: dcubed, ysr, coleenp
2011-01-19 13:51:53 -08:00
John Cuthbertson
9c7b5257f8
Merge
2011-01-19 13:04:37 -08:00
John Cuthbertson
2ad5e5ace5
7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow
...
With recent G1 allocation path changes, the value of StackShadowPages in fast debug builds of the JVM, is no longer large enough to prevent the JVM C++ code from touching the stack guard pages. Increase the value of StackShadowPages to a suitable value.
Reviewed-by: ysr, tonyp, coleenp
2011-01-19 13:01:11 -08:00
Tom Rodriguez
f028816786
7013008: 2/3 assert(method == NULL || check_method(method, bcp)) failed: bcp must point into method
...
The Relocator should pass a NULL methodOop when rewriting since its resource array can never contain breakpoints.
Reviewed-by: dcubed, kvn, coleenp
2011-01-19 08:16:45 -08:00
Daniel D. Daugherty
5dc9441b0a
7012493: 2/2 6849574/Test.java fails with Internal Error (src/share/vm/prims/jvmtiTagMap.cpp:3294)
...
Refine assertion to work before VMThread has started.
Reviewed-by: ysr, never, dholmes, acorn
2011-01-19 07:41:39 -08:00
Daniel D. Daugherty
3f77a1ee13
Merge
2011-01-19 07:15:09 -08:00
Antonios Printezis
05b7df20dd
7011379: G1: overly long concurrent marking cycles
...
This changeset introduces filtering of SATB buffers at the point when they are about to be enqueued. If this filtering clears enough entries on each buffer, the buffer can then be re-used and not enqueued. This cuts down the number of SATB buffers that need to be processed by the concurrent marking threads.
Reviewed-by: johnc, ysr
2011-01-19 09:35:17 -05:00
Igor Veresov
00e24ca7ca
7012766: assert(false) failed: DEBUG MESSAGE in MacroAssembler::debug32
...
Interpreter expects to see methodOop in rbx on method entry, which needs to be restored after call to profile_method.
Reviewed-by: kvn, never
2011-01-18 18:00:06 -08:00
Vladimir Kozlov
d2aac739a8
7012965: Fix failed on sparc for 7009756: volatile variables could be broken throw reflection API
...
Use LDX/STX on v9 and LDD/STD on v8 sparc for volatile long moves.
Reviewed-by: never
2011-01-18 17:10:03 -08:00
Coleen Phillimore
f29b91c7b1
6811367: Fix code in HeapDumper::dump_heap() to avoid buffer overrun
...
Check buffer size before using and use dynamic buffer sizes for subsequent calls.
Reviewed-by: kamg, dholmes
2011-01-14 13:47:53 -05:00
Erik Trimble
6c4c4000d1
Added tag hs20-b06 for changeset abf8b0ea66cb
2011-01-13 22:49:59 -08:00
Tom Rodriguez
423f587b01
4926272: methodOopDesc::method_from_bcp is unsafe
...
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
John Cuthbertson
a484211e0b
Merge
2011-01-13 17:19:21 -08:00
Christine Lu
09910005ac
Added tag jdk7-b125 for changeset abf8b0ea66cb
2011-01-13 16:43:51 -08:00
Y. Srinivas Ramakrishna
597a0cd214
7011940: iCMS: SIGSEGV in SweepClosure::do_already_free_chunk(FreeChunk*)+0x360
...
Revert a (relaxed version of the) bounds-check that was incorrectly removed in the fix for 7008136.
Reviewed-by: jmasa, johnc
2011-01-13 11:33:56 -08:00
Daniel D. Daugherty
1ce36e3055
Merge
2011-01-13 08:32:15 -08:00
Christian Thalinger
6aa9bf4152
Merge
2011-01-13 07:28:47 -08:00
Christian Thalinger
53c79c908e
Merge
2011-01-13 07:20:32 -08:00
Bengt Rutisson
2464e6b369
6941122: G1: UseLargePages does not work with G1 garbage collector
...
Pass the value of UseLargePages instead of false as the "large" parameter when reserving the G1 heap.
Reviewed-by: tonyp, johnc, phh
2011-01-13 04:43:30 -08:00
Igor Veresov
18619a6ed6
7011627: C1: call_RT must support targets that don't fit in wdisp30
...
Make both compilers emit near and far calls when necessary.
Reviewed-by: never, kvn, phh
2011-01-12 18:33:25 -08:00
Coleen Phillimore
8d210c170e
7009828: Fix for 6938627 breaks visualvm monitoring when -Djava.io.tmpdir is defined
...
Change get_temp_directory() back to /tmp and %TEMP% like it always was and where the tools expect it to be.
Reviewed-by: phh, dcubed, kamg, alanb
2011-01-12 13:59:18 -08:00
Antonios Printezis
bc1df68513
6994297: G1: do first-level slow-path allocations with a CAS
...
First attempt to allocate out the current alloc region using a CAS instead of taking the Heap_lock (first level of G1's slow allocation path). Only if that fails and it's necessary to replace the current alloc region take the Heap_lock (that's the second level of G1's slow allocation path).
Reviewed-by: johnc, brutisso, ysr
2011-01-12 16:34:25 -05:00
Antonios Printezis
5f21cb1b9b
7007068: G1: refine the BOT during evac failure handling
...
During evacuation failure handling we refine the BOT to reflect the location of all the objects in the regions we scan. The changeset includes some minor cleanup: a) non-product print_on() method on the G1 BOT class, b) added more complete BOT verification during heap / region verification, c) slight modification to the BOT set up for humongous regions to be more consistent with the BOT set up during evac failure handling, and d) removed a couple of unused methods.
Reviewed-by: johnc, ysr
2011-01-12 13:06:00 -05:00
Kevin Walls
b6d2068ee2
6994753: Implement optional hook to a Java method at VM startup
...
Reviewed-by: mchung, acorn
2011-01-12 15:44:16 +00:00
Vladimir Kozlov
4912ef0e5d
7011386: race in objArrayKlass::array_klass_impl
...
Move _lower_dimension field initialization before _higher_dimension and add storestore barrier.
Reviewed-by: dholmes, iveresov, never
2011-01-11 20:26:13 -08:00
Paul Hohensee
0b5708a12d
Merge
2011-01-11 17:50:26 -05:00
Paul Hohensee
6931aa0a24
7011463: Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument
...
Replaced incr_allocated_bytes() formals var_size_in_bytes and con_size_in_bytes with a single RegisterOrConstant formal.
Reviewed-by: twisti, jcoomes
2011-01-11 17:33:21 -05:00
Keith McGuigan
6308eab4d5
6814943: getcpool001 catches more than one JvmtiThreadState problem
...
Mark field volatile, use membars, and change access order to close race
Reviewed-by: dcubed, dholmes
2011-01-11 10:06:00 -05:00
Igor Veresov
6a80d2126c
4930919: race condition in MDO creation at back branch locations
...
Reuse set_method_data_for_bcp() to setup mdp after MDO creation.
Reviewed-by: kvn, never
2011-01-10 18:46:29 -08:00
Keith McGuigan
ae65c6240f
6458402: 3 jvmti tests fail with CMS and +ExplicitGCInvokesConcurrent
...
Make JvmtiGCMark safe to run non-safepoint and instrument CMS
Reviewed-by: ysr, dcubed
2011-01-10 17:14:53 -05:00
Daniel D. Daugherty
6215ab50b3
Merge
2011-01-10 09:23:20 -08:00
Christian Thalinger
595eda12a4
7010913: JSR 292 ciMethodHandle does not handle MethodHandleCompiler exceptions properly
...
Reviewed-by: kvn, never
2011-01-10 03:58:07 -08:00
Christian Thalinger
b2f607fcb6
7010180: JSR 292 InvokeDynamicPrintArgs fails with: assert(_adapter == NULL) failed: init'd to NULL
...
Reviewed-by: never
2011-01-10 00:56:39 -08:00
David Holmes
5d2936a29c
7010665: Misplaced membar in C1 implementation of Unsafe.get/putXXX
...
Modify membars to match regular volatile variable handling
Reviewed-by: iveresov, kvn, never
2011-01-09 17:16:16 -05:00
Erik Trimble
64115cbb85
Merge
2011-01-07 22:56:35 -08:00
Erik Trimble
f87965dc9e
7011125: Bump the HS20 build number to 06
...
Update the HS20 build number to 06
Reviewed-by: jcoomes
2011-01-07 22:42:10 -08:00
Erik Trimble
45d3cde924
Added tag hs20-b05 for changeset 5f31baaff55b
2011-01-07 19:09:02 -08:00
Daniel D. Daugherty
0c7a73dc8c
Merge
2011-01-07 15:54:32 -08:00
Daniel D. Daugherty
d73624f279
Merge
2011-01-07 13:59:48 -08:00
Bob Vandette
cd9895a49d
Merge
2011-01-07 15:57:02 -05:00
Vladimir Kozlov
5bce844ff6
6876037: CTW fails jdk7/hotspot/src/share/vm/opto/type.cpp:2055. assert(bits,"Use TypePtr for NULL")
...
Add missing 0 value check in TypeRawPtr::add_offset().
Reviewed-by: never
2011-01-07 11:53:24 -08:00
Vladimir Kozlov
afbf71368c
7009756: volatile variables could be broken throw reflection API
...
Use Atomic::load() and Atomic::store() to access a volatile long.
Reviewed-by: iveresov, jrose, dholmes, never
2011-01-07 10:16:57 -08:00
Bob Vandette
c14e8eb4f2
7009268: guarantee(middle - slop > start) failed: need enough space to divide up
...
Codebuffer can overflow on test with large number of calls
Reviewed-by: dholmes, collins
2011-01-07 12:44:54 -05:00
Paul Hohensee
7b0134a7cb
7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
...
Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
2011-01-07 10:42:32 -05:00
Christian Thalinger
26ddf9c14a
Merge
2011-01-07 03:58:11 -08:00
Christian Thalinger
84f5de835b
Merge
2011-01-07 03:41:07 -08:00
Alan Bateman
6f2c2c3272
7009975: Large file support broken in hs20-b04
...
Reviewed-by: phh, acorn, kamg
2011-01-07 03:38:19 -08:00
Y. Srinivas Ramakrishna
d921d72f20
7008136: CMS: assert((HeapWord*)nextChunk <= _limit) failed: sweep invariant
...
The recorded _sweep_limit may not necessarily remain a block boundary as the old generation expands during a concurrent cycle. Terminal actions inside the sweep closure need to be aware of this as they cross over the limit.
Reviewed-by: johnc, minqi
2011-01-06 23:50:02 -08:00
Christine Lu
ebfb6cb15a
Added tag jdk7-b124 for changeset 5f31baaff55b
2011-01-06 20:10:19 -08:00
Igor Veresov
c6f34365c2
7010618: C1: array length should be treated at int on 64bit during array allocation
...
Sign-extend the length argument during array allocation
Reviewed-by: never, kvn
2011-01-06 16:03:20 -08:00
Coleen Phillimore
1f42cca35e
6583275: Hotspot crash in vm_perform_shutdown_actions due to uninitialized TLS during out of memory handling
...
Call get_thread_slow() in vm_perform_shutdown actions and add null check.
Reviewed-by: kvn, dholmes, jcoomes
2011-01-05 21:23:15 -05:00
Erik Trimble
3c6a7c89ff
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Coleen Phillimore
dec384330b
6302804: Hotspot VM dies ungraceful death when C heap is exhausted in various places
...
Enhance the error reporting mechanism to help user to fix the problem rather than making it look like a VM error.
Reviewed-by: kvn, kamg
2011-01-03 14:09:11 -05:00
Igor Veresov
34b0ff28e8
7009849: C1: Incorrect frame size computation
...
Fix frame size computation
Reviewed-by: phh, kvn
2010-12-30 23:44:45 -08:00
Vladimir Kozlov
f02562388c
6928562: Assert(_no_handle_mark_nesting==0,"allocating handle inside NoHandleMark")
...
Reset NoHandleMark before going into VM.
Reviewed-by: iveresov
2010-12-30 09:36:03 -08:00
Vladimir Kozlov
28050800c0
7008325: CodeCache exhausted on sparc starting from hs20b04
...
Remove clear_scratch_buffer_blob and let init_scratch_buffer_blob free and allocate a new blob if required.
Reviewed-by: twisti
2010-12-29 10:41:43 -08:00
Vladimir Kozlov
4286ac7947
7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
...
Bailout StringConcat optimization if null is passed to StringBuffer constructor.
Reviewed-by: iveresov
2010-12-28 17:34:02 -08:00