Commit Graph

2950 Commits

Author SHA1 Message Date
Paul Hohensee
8efd785f67 Merge 2012-01-11 17:58:26 -05:00
Markus Gronlund
007126d010 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.

Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Keith McGuigan
5c89631aef Merge 2012-01-10 15:47:19 -05:00
Frederic Parain
849571d5b3 7120511: Add diagnostic commands
Reviewed-by: acorn, phh, dcubed, sspitsyn
2012-01-09 10:27:24 +01:00
Vladimir Kozlov
b93ca70b9b Merge 2012-01-06 20:09:20 -08:00
Daniel D. Daugherty
74c45d049e Merge 2012-01-06 16:18:29 -08:00
Jon Masamitsu
156b0a12aa Merge 2012-01-05 21:02:05 -08:00
Igor Veresov
72f3f7db44 7119294: Two command line options cause JVM to crash
Setup thread register in MacroAssembler::incr_allocated_bytes() on x64

Reviewed-by: kvn
2012-01-05 17:25:58 -08:00
Paul Hohensee
66388c03c9 Merge 2012-01-05 17:16:13 -05:00
Paul Hohensee
2cd87d4e3a 7126480: Make JVM start time in milliseconds since the Java epoch available
Expose existing Management::_begin_vm_creation_time via new accessor Management::begin_vm_creation_time().

Reviewed-by: acorn, dcubed
2012-01-05 17:14:52 -05:00
Frederic Parain
1de4ad84a2 7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
Reviewed-by: sspitsyn, dcubed, mchung, dholmes
2012-01-05 07:26:44 -08:00
Daniel D. Daugherty
743a35d2dc 7127032: fix for 7122253 adds a JvmtiThreadState earlier than necessary
Use JavaThread::jvmti_thread_state() instead of JvmtiThreadState::state_for().

Reviewed-by: coleenp, poonam, acorn
2012-01-05 06:24:52 -08:00
Jiangli Zhou
e6157688b4 Merge 2012-01-04 12:36:07 -05:00
Jon Masamitsu
95b987c3ac Merge 2012-01-04 07:56:13 -08:00
Erik Gahlin
5782866b28 7126185: Clean up lasterror handling, add os::get_last_error()
Add os::get_last_error(), replace getLastErrorString() by os::lasterror() in os_windows.cpp.

Reviewed-by: kamg, dholmes
2012-01-03 15:11:31 -05:00
Jon Masamitsu
d07885c3c6 Merge 2012-01-03 10:22:19 -08:00
Stefan Karlsson
e0ae7fac7c 7125503: Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1
Used uintptr_t and void* for all the casts and checks in test_is_in.

Reviewed-by: tonyp, jmasa
2012-01-02 10:01:46 +01:00
Karen Kinnear
c323bcdca8 7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
Add rdtsc detection and inline generation.

Reviewed-by: kamg, dholmes
2012-01-01 11:17:59 -05:00
Vladimir Kozlov
05ec1c0816 7125879: assert(proj != NULL) failed: must be found
Leave i_o attached to slow allocation call when there are no i_o users after the call.

Reviewed-by: iveresov, twisti
2011-12-30 11:43:06 -08:00
Vladimir Danushevsky
8a8eafcc47 Merge 2011-12-29 20:09:24 -05:00
Vladimir Kozlov
b6828ac542 Merge 2011-12-29 11:37:50 -08:00
Stefan Karlsson
24e4bf6a80 7125516: G1: ~ConcurrentMark() frees incorrectly
Replaced the code with a ShouldNotReachHere

Reviewed-by: tonyp, jmasa
2011-12-29 07:37:23 +01:00
Jiangli Zhou
0671e90755 7123315: instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count should be u2 type
Change instanceKlass::_static_oop_field_count and instanceKlass::_java_fields_count to u2 type.

Reviewed-by: never, bdelsart, dholmes
2011-12-28 12:15:57 -05:00
Aleksey Ignatenko
c7ec06ba8e 7124829: NUMA: memory leak on Linux with large pages
In os::free_memory() use mmap with the same attributes as for the heap space

Reviewed-by: kvn
2011-12-27 16:43:49 -08:00
Vladimir Kozlov
f96f3e5e85 7123954: Some CTW test crash with SIGSEGV
Correct Allocate expansion code to preserve i_o when only slow call is generated.

Reviewed-by: iveresov
2011-12-27 15:08:43 -08:00
Jon Masamitsu
3c164a7525 Merge 2011-12-27 12:38:49 -08:00
Vladimir Danushevsky
2b6f4a741d Merge 2011-12-26 20:36:01 -05:00
Alejandro Murillo
059e06b49f 7123810: new hotspot build - hs23-b10
Reviewed-by: jcoomes
2011-12-23 15:29:34 -08:00
Alejandro Murillo
b928899267 Added tag hs23-b09 for changeset 1020a9a071b7 2011-12-23 15:24:44 -08:00
Alejandro Murillo
e1c4fbda9a Merge 2011-12-23 15:24:43 -08:00
Vladimir Kozlov
6c38bc48ca 7110832: ctw/.../org_apache_avalon_composition_util_StringHelper crashes the VM
Distance is too large for one short branch in string_indexofC8().

Reviewed-by: iveresov
2011-12-23 15:24:36 -08:00
Roland Westrelin
59b883333b 7123253: C1: in store check code, usage of registers may be incorrect
Fix usage of input register in assembly code for store check.

Reviewed-by: never
2011-12-23 09:36:23 +01:00
Christine Lu
80a5e57301 Added tag jdk8-b18 for changeset c1d8be9305ad 2011-12-22 19:00:20 -08:00
Daniel D. Daugherty
c210a09fdf 7122253: Instrumentation.retransformClasses() leaks class bytes
Change ClassFileParser::parseClassFile() to use the instanceKlass:_cached_class_file_bytes field to avoid leaking the cache.

Reviewed-by: coleenp, acorn, poonam
2011-12-22 12:50:42 -08:00
Vladimir Danushevsky
6446da199d Merge 2011-12-22 12:01:46 -05:00
Roland Westrelin
c10042bc68 7123108: C1: assert(if_state != NULL) failed: states do not match up
In CEE, ensure if and common successor state are at the same inline level

Reviewed-by: never
2011-12-22 10:55:53 +01:00
Coleen Phillimore
5232221c68 Merge 2011-12-21 18:22:14 -08:00
Thomas Wuerthinger
a4f6289b4f 7064927: retransformClasses() does not pass in LocalVariableTable of a method
Handle LVT attribute in the class file reconstitutor.

Reviewed-by: phh, coleenp
2011-12-21 16:41:15 -05:00
Bengt Rutisson
056282a67b 7113021: G1: automatically enable young gen size auto-tuning when -Xms==-Xmx
Use a percentage of -Xms as min and another percentage of -Xmx as max for the young gen size

Reviewed-by: tonyp, johnc
2011-12-21 22:13:31 +01:00
Erik Gahlin
5657eb0c6c 7091417: recvfrom's 6th input should be of type socklen_t
Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, dholmes
2011-12-21 15:48:16 -05:00
Jon Masamitsu
a9c2b784c2 Merge 2011-12-20 12:27:31 -08:00
Roland Westrelin
97439fb4ff 7121140: Allocation paths require explicit memory synchronization operations for RMO systems
Adds store store barrier after initialization of header and body of objects.

Reviewed-by: never, kvn
2011-12-20 16:56:50 +01:00
Bertrand Delsart
82a0e26723 7116216: StackOverflow GC crash
GC crash for explicit stack overflow checks after a C2I transition.

Co-authored-by: Yang Wang <yang02.wang@sap.com>
Reviewed-by: coleenp, never
2011-12-20 12:33:05 +01:00
Paul Hohensee
577403d2ca Merge 2011-12-19 21:38:51 -08:00
Paul Hohensee
2c192911dd 7122880: Extend vendor-specific command interface to include manageable switches
Add Flag::external_ext()/writable_ext(), both return false.

Reviewed-by: coleenp, zgu
2011-12-19 15:50:47 -05:00
Volker Simonis
f49894d78c 7122939: TraceBytecodes broken with UseCompressedOops
Disable verify_heapbase on sparc if TraceBytecodes because the latter uses r12 as a temp register

Reviewed-by: coleenp, phh
2011-12-19 15:34:09 -05:00
John Cuthbertson
870bea622a 7117303: VM uses non-monotonic time source and complains that it is non-monotonic
Replaces calls to os::javaTimeMillis(), which does not (and cannot) guarantee monotonicity, in GC code to an equivalent expression that uses os::javaTimeNanos(). os::javaTimeNanos is guaranteed monotonically non-decreasing if the underlying platform provides a monotonic time source. Changes in OS files are to make use of the newly defined constants in globalDefinitions.hpp.

Reviewed-by: dholmes, ysr
2011-12-19 10:02:05 -08:00
Jiangli Zhou
6e894d5474 Merge 2011-12-16 17:33:08 -05:00
Alejandro Murillo
106a949bb5 7122001: new hotspot build - hs23-b09
Reviewed-by: jcoomes
2011-12-16 12:46:17 -08:00
Alejandro Murillo
8fa69349e2 Added tag hs23-b08 for changeset 40104529a61f 2011-12-16 12:37:38 -08:00