2017 Commits

Author SHA1 Message Date
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
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
Tom Rodriguez
423f587b01 4926272: methodOopDesc::method_from_bcp is unsafe
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -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
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
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
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
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
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
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
Christine Lu
ebfb6cb15a Added tag jdk7-b124 for changeset 5f31baaff55b 2011-01-06 20:10:19 -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