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
Coleen Phillimore
dd59086fcc
Merge
2010-12-28 09:54:09 -05:00
Igor Veresov
43280aa63e
7009231: C1: Incorrect CAS code for longs on SPARC 32bit
...
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit.
Reviewed-by: kvn
2010-12-27 21:51:31 -08:00
Zhengyu Gu
358c39b12e
Merge
2010-12-27 09:56:29 -05:00
Zhengyu Gu
ab1c0a938e
6975480: VS2010 says _STATIC_CPPLIB is deprecated, may need to change this usage
...
Disabled the warning message during compiling.
Reviewed-by: coleenp, dholmes
2010-12-27 09:30:20 -05:00
Erik Trimble
e02ff5e906
7008759: Bump the HS20 build number to 05
...
Update the HS20 build number to 05
Reviewed-by: jcoomes
2010-12-24 07:59:50 -08:00
John Cuthbertson
65e391e30e
Merge
2010-12-23 12:19:57 -08:00
Daniel D. Daugherty
336f6c2576
6987812: 2/3 SAJDI: "gHotSpotVMTypes was not initialized properly in the remote process"
...
Change ExportDirectoryTableImpl to return the 'Export RVA' field without modification. Read 'Base Of Data' field in optional header when PE32 format COFF file is read. Refine search for dbgeng.dll and dbghelp.dll. Other cleanups.
Reviewed-by: swamyv, poonam
2010-12-23 07:58:35 -08:00
Erik Trimble
088fd232f9
Added tag hs20-b04 for changeset 5d1dc8153960
2010-12-22 19:20:47 -08:00
Christine Lu
edd7bbf239
Added tag jdk7-b123 for changeset 5d1dc8153960
2010-12-22 15:57:14 -08:00
Coleen Phillimore
be59fe6c5f
Merge
2010-12-22 16:52:02 -05:00
Coleen Phillimore
1b618f6415
Merge
2010-12-22 12:24:40 -05:00
Zhengyu Gu
489367a961
Merge
2010-12-22 11:52:12 -05:00
Zhengyu Gu
7098ab98d5
6961186: Better VM handling of unexpected exceptions from application native code
...
Trap uncaught C++ exception on Windows and Solaris and generate hs_err report.
Reviewed-by: coleenp, bobv, dholmes
2010-12-22 11:24:21 -05:00
Christian Thalinger
a8a98509e7
7007377: JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
...
Reviewed-by: kvn, jrose
2010-12-22 02:02:53 -08:00
Igor Veresov
ef4ac58dde
7008466: Tiered: Enable testing of tiered compilation in JPRT
...
Add running specjvm98 and specjbb2005 with tiered compilation enabled with JPRT.
Reviewed-by: kvn
2010-12-21 22:57:17 -08:00
David Holmes
b5542c1c40
7008444: Remove unnecessary include of stdint.h in java_md.c
...
Remove unnecessary include of stdint.h in java_md.c
Reviewed-by: brutisso, kvn
2010-12-21 23:39:42 -05:00
Vladimir Kozlov
85dd279283
7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph
...
Bump CG_BUILD_ITER_LIMIT to 20
Reviewed-by: iveresov
2010-12-21 13:56:40 -08:00
Christian Thalinger
e970ef6182
7008165: Garbage in ClassFormatError message
...
When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage.
Reviewed-by: iveresov
2010-12-21 04:37:30 -08:00
Bob Vandette
178b7bb4c1
7007769: VM crashes with SIGBUS writing PerfData if tmp space is full
...
Fill perfdata file with zeros to verify available disk space
Reviewed-by: coleenp, kamg
2010-12-20 14:30:24 -05:00
Antonios Printezis
2aa9ac1177
6896624: G1: hotspot:::gc and hotspot:::mem-pool-gc probes are not fired
...
Fire the gc-begin and gc-end probes for G1.
Reviewed-by: kamg, ysr, jcoomes
2010-12-19 20:57:16 -05:00
Christian Thalinger
af3cf83d37
Merge
2010-12-18 08:38:07 -08:00
Tom Rodriguez
6b9f32c382
Merge
2010-12-18 06:40:56 -08:00
Christian Thalinger
135eaf7e21
6990933: assert(sender_cb) failed: sanity in frame::sender_for_interpreter_frame
...
Reviewed-by: never
2010-12-18 01:15:01 -08:00
Y. Srinivas Ramakrishna
41bf31bff4
6807801: CMS: could save/restore fewer header words during scavenge
...
Age bits need not enter the mark-word preservation calculus; also affected, in addition to CMS, per CR synopsis above, were ParNew (but not DefNew), ParallelScavenge and G1, albeit to a lesser degree than CMS.
Reviewed-by: tonyp, johnc
2010-12-17 23:41:31 -08:00
Tom Rodriguez
ecddc15f7c
6579789: Internal error "c1_LinearScan.cpp:1429 Error: assert(false,"")" in debuggee with fastdebug VM
...
Reviewed-by: kvn, iveresov
2010-12-17 15:55:32 -08:00
John Cuthbertson
b2fa4708ad
7006113: G1: Initialize ReferenceProcessor::_is_alive_non_header field
...
Initialize the _is_alive_non_header field of G1's reference processor with an instance of the G1CMIsAliveClosure. This will stop adding reference objects with live referents to the discovered reference lists unnecessarily.
Reviewed-by: tonyp, ysr, jwilhelm, brutisso
2010-12-17 11:26:53 -08:00
Kevin Walls
2540ccd05f
7003487: clhsdbproc stacktrace fails on x64
...
Reviewed-by: phh
2010-12-17 12:14:48 +00:00
Erik Trimble
6083a2c670
Merge
2010-12-16 20:48:11 -08:00
Erik Trimble
c3bc769347
Merge
2010-12-16 20:35:33 -08:00
Erik Trimble
070f8fc0a1
Merge
2010-12-16 20:32:43 -08:00
Christine Lu
1c1adc7c03
Added tag jdk7-b122 for changeset c601f7238c18
2010-12-16 18:17:52 -08:00
David Holmes
156ee8c453
7003707: need to remove (some) system include files from the HotSpot header files
...
Move socket_available into os_linux.cpp to avoid inclusion of ioctl.h in os_linux.inline.hpp
Reviewed-by: coleenp, stefank, ikrylov
2010-12-16 20:57:03 -05:00
Vladimir Kozlov
9fd396ce55
7006505: Use kstat info to identify SPARC processor
...
Read Solaris kstat data to get more precise CPU information
Reviewed-by: iveresov, never, twisti, dholmes
2010-12-16 14:15:12 -08:00
Y. Srinivas Ramakrishna
7c3fda39e6
Merge
2010-12-16 12:56:51 -08:00
Tom Rodriguez
b80ad03e3f
6839888: Array overrun in vm adlc
...
Reviewed-by: kvn, iveresov
2010-12-16 12:47:52 -08:00
Y. Srinivas Ramakrishna
771994b0dc
Merge
2010-12-16 09:14:34 -08:00
Coleen Phillimore
b2bc7d218f
Merge
2010-12-16 09:31:55 -05:00
Igor Veresov
4c405911ef
Merge
2010-12-16 01:46:02 -08:00
Igor Veresov
a4b8804ae0
Merge
2010-12-15 23:38:10 -08:00
Igor Veresov
3ccd57dac4
7007229: Fix warnings with VS2010 in compressedStream.cpp
...
An interference between a fix for 6993125 and disabled optimization in compressedStream.cpp produces a warning with VS2010. Disable the warning for the code fragment for which the optimizations are disabled.
Reviewed-by: kvn
2010-12-15 20:43:36 -08:00
Staffan Larsen
5ba47f538b
Merge
2010-12-15 08:03:54 -08:00
Staffan Larsen
c299b4709f
7006354: Updates to Visual Studio project creation and development launcher
...
Updates to Visual Studio project creation and development launcher
Reviewed-by: stefank, coleenp
2010-12-15 07:11:31 -08:00
Stefan Karlsson
c7842c2550
7006659: temporary adlc files are added to the build variables
...
Don't recurse into sub-directories when looking for source files.
Reviewed-by: never, brutisso
2010-12-15 05:43:54 -08:00
Tom Rodriguez
e738b0097a
6765546: Wrong sscanf used to parse CompilerOracle command >= 32 characters could lead to crash
...
Reviewed-by: kvn, iveresov
2010-12-14 23:17:00 -08:00
Antonios Printezis
727333a1a3
7000559: G1: assertion failure !outer || (full_collections_started == _full_collections_completed + 1)
...
The concurrent marking thread can complete its operation and increment the full GC counter during a Full GC. This causes the nesting of increments to the start and end of Full GCs that we are expecting to be wrong. the fix is for the marking thread to join the suspendible thread set before incrementing the counter so that it's blocked until the Full GC (or any other safepoint) is finished. The change also includes some minor code cleanup (I renamed a parameter).
Reviewed-by: brutisso, ysr
2010-12-14 16:19:44 -05:00
Christian Thalinger
0563626b3c
7006044: materialize cheap non-oop pointers on 64-bit SPARC
...
After 6961690 we load non-oop pointers for the constant table which could easily be materialized in a few instructions.
Reviewed-by: never, kvn
2010-12-14 12:44:30 -08:00
Coleen Phillimore
18324204ef
7006471: fix for 6988439 crashes when pending list lock is null
...
Missing null check in owns_pending_list_lock() because this can be called before pending_list_lock is initialized.
Reviewed-by: never, kvn
2010-12-14 15:10:52 -05:00
Tom Rodriguez
a5f501c021
7004940: CTW: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG
...
Reviewed-by: kvn, twisti
2010-12-13 22:41:03 -08:00
Coleen Phillimore
d2481f01f0
Merge
2010-12-13 14:46:51 -08:00
Zhengyu Gu
86f7ad735d
Merge
2010-12-11 13:46:36 -05:00
Zhengyu Gu
61a4658b22
7003748: Decode C stack frames when symbols are presented (PhoneHome project)
...
Implemented in-process C native stack frame decoding when symbols are available.
Reviewed-by: coleenp, never
2010-12-11 13:20:56 -05:00
Erik Trimble
72a4a57a9e
7006221: Bump the HS20 build number to 04
...
Update the HS20 build number to 04
Reviewed-by: jcoomes
2010-12-10 18:05:39 -08:00
Erik Trimble
3ba0ee979e
Merge
2010-12-10 17:59:46 -08:00
Erik Trimble
3d041302d0
Merge
2010-12-10 15:46:59 -08:00
Vladimir Kozlov
19a01fed97
6993125: runThese crashes with assert(Thread::current()->on_local_stack((address)this))
...
Add another ResourceObj debug field to distinguish garbage
Reviewed-by: dholmes, coleenp
2010-12-10 14:14:02 -08:00
Coleen Phillimore
aa521ed9cd
6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pending List Lock
...
Don't acquire methodData_lock while holding pending list lock
Reviewed-by: kvn, never, ysr
2010-12-10 12:13:03 -05:00
Y. Srinivas Ramakrishna
874098b1c6
Merge
2010-12-09 21:47:58 -08:00
David Katleman
06759914a2
Added tag jdk7-b121 for changeset 355804dc2e5e
2010-12-09 21:25:25 -08:00
David Holmes
83c72a434a
7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
...
Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH
Reviewed-by: acorn, ohair
2010-12-09 20:12:06 -05:00
Keith McGuigan
de27a1608c
7004582: Add GetThisObject() function to JVMTI 1.2
...
Add 'GetThisObject' function
Reviewed-by: never, coleenp
2010-12-09 15:04:26 -05:00
Y. Srinivas Ramakrishna
8baafdfd45
7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
...
Relaxed the assert by allowing NULL referents when discovery may be concurrent.
Reviewed-by: johnc, jcoomes
2010-12-09 09:22:57 -08:00
Dmitry Samersoff
d344b51209
6989076: JVM crashes in klassItable::initialize_itable_for_interface
...
Hotspot should check protection attribute besides the name and signature of the method when constructing vtable.
Reviewed-by: dcubed
2010-12-09 17:53:22 +03:00
Igor Veresov
a9bee9ec34
Merge
2010-12-08 17:50:49 -08:00
Kevin Walls
03a1ccfef2
7003789: PTRACE_GETREGS problems with SA on Linux
...
Ifdef definitions for PTRACE_GETREGS_REQ clarified
Reviewed-by: dholmes
2010-12-08 04:50:35 -08:00
Igor Veresov
eafb22164b
7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
...
Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1.
Reviewed-by: kvn, never
2010-12-08 02:36:36 -08:00
Y. Srinivas Ramakrishna
544b475fc5
7001033: assert(gch->gc_cause() == GCCause::_scavenge_alot || !gch->incremental_collection_failed())
...
7002546: regression on SpecJbb2005 on 7b118 comparing to 7b117 on small heaps
Relaxed assertion checking related to incremental_collection_failed flag to allow for ExplicitGCInvokesConcurrent behaviour where we do not want a failing scavenge to bail to a stop-world collection. Parameterized incremental_collection_will_fail() so we can selectively use, or not use, as appropriate, the statistical prediction at specific use sites. This essentially reverts the scavenge bail-out logic to what it was prior to some recent changes that had inadvertently started using the statistical prediction which can be noisy in the presence of bursty loads. Added some associated verbose non-product debugging messages.
Reviewed-by: johnc, tonyp
2010-12-07 21:55:53 -08:00
John Cuthbertson
4aaa89ea60
Merge
2010-12-07 16:44:34 -08:00
John Cuthbertson
8f4579fe60
6994628: G1: Test gc/gctests/FinalizeTest05 fails (one live object is finalized)
...
The Solaris Studio 12 update 1 C++ compiler was incorrectly re-ordering the reads of an object's mark word in oopDesc::forward_to_atomic(). This opened a small window where one thread could execute the successful CAS path even though another thread had already successfully forwarded the object. This could result in an object being copied twice. The code in oopDesc::forward_to_atomic() was changed to read the mark word once.
Reviewed-by: ysr, tonyp
2010-12-07 16:18:45 -08:00
Antonios Printezis
edcfaf0f84
6994056: G1: when GC locker is active, extend the Eden instead of allocating into the old gen
...
Allow the eden to the expanded up to a point when the GC locker is active.
Reviewed-by: jwilhelm, johnc, ysr, jcoomes
2010-12-07 16:47:42 -05:00
Vladimir Kozlov
797fb02b41
7004925: CTW: assert(nbits == 32 || -(1 << nbits-1) <= x && x < ( 1 << nbits-1)) failed: value out of range
...
Set offset in register if it does not fit 13 bits.
Reviewed-by: iveresov
2010-12-07 11:00:02 -08:00
Staffan Larsen
1765b0fbf0
6539281: -Xcheck:jni should validate char* argument to ReleaseStringUTFChars
...
Tag allocated memory with a magic value and verify when releasing.
Reviewed-by: phh, stefank
2010-12-07 03:15:45 -08:00
Keith McGuigan
dd62e29b29
7003782: Update JVMTI version to 1.2 for jdk7
...
Update minor version to 1.2 for jdk7
Reviewed-by: phh, dcubed
2010-12-06 20:21:15 -05:00
Coleen Phillimore
faf320aede
Merge
2010-12-06 15:37:00 -05:00