2235 Commits

Author SHA1 Message Date
Staffan Larsen
a928a2df96 Merge 2012-06-11 10:28:02 +02:00
John Coomes
b549e586b0 Merge 2012-06-08 09:49:49 -07:00
Chris Dennis
27c2e51e67 7172708: 32/64 bit type issues on Windows after Mac OS X port
Reviewed-by: dholmes, coleenp
2012-06-08 02:06:16 -04:00
Frederic Parain
911dcf0f08 7171703: JNI DefineClass crashes client VM when first parameter is NULL
Reviewed-by: acorn, kamg, sspitsyn, dholmes
2012-06-05 06:48:00 -07:00
Keith McGuigan
1ac7879229 7166498: JVM crash in ClassVerifier
Fixed raw pointer being used after potential safepoint/GC

Reviewed-by: acorn, fparain, dholmes
2012-06-04 10:22:37 -04:00
Bengt Rutisson
ee7ac30420 7173460: G1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1
The scope of TraceMemoryManagerStats in G1CollectedHeap need to cover the call to G1MonitoringSupport::update_sizes()

Reviewed-by: johnc, jmasa
2012-06-04 13:29:34 +02:00
Bengt Rutisson
e294a9f5ec 7172388: G1: _total_full_collections should not be incremented for concurrent cycles
Reviewed-by: azeemj, jmasa
2012-06-05 22:30:24 +02:00
Mikael Gerdin
1ae0edb1f1 7172226: HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup
Add "using" keyword to import base class functions from FreeList<T> to fix template name lookup in gcc 4.7

Reviewed-by: brutisso, iveresov
2012-06-04 09:21:53 +02:00
John Coomes
ec1fb16e34 Merge 2012-06-01 10:29:02 -07:00
Bengt Rutisson
212ab5c73a 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering
Simplify code, remove unused code, remove ExitAfterGCNum

Reviewed-by: huntch, johnc
2012-05-31 21:10:33 +02:00
David Holmes
9eb03933dc Merge 2012-05-30 17:45:02 -04:00
John Cuthbertson
057a1b7128 7158682: G1: Handle leak when running nsk.sysdict tests
Place HandleMarks in the code that allocates handles for the pending list lock so that the handles are freed and multiple, unsuccessful, attempts to schedule a GC do not cause an OOM.

Reviewed-by: brutisso
2012-05-30 10:26:24 -07:00
Zhengyu Gu
a9ea9bd20a Merge 2012-05-29 20:06:10 -04:00
Joseph Provino
b6db24abd6 Merge 2012-05-26 08:49:05 -04:00
Bengt Rutisson
b76f6e07ab 7171936: LOG_G incorrectly defined in globalDefinitions.hpp
Removed LOG_G and LOG_K. Moved LOG_M to where it is being used.

Reviewed-by: twisti, johnc
2012-05-25 22:35:13 +02:00
John Cuthbertson
3f38785a0a 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden
Before the last thread to leave a JNI critical region was able to schedule a GCLocker Initiated GC, another thread was attempting an allocation and saw that the GCLocker region was no longer active and successfully scheduled a GC. Stall allocating threads until the GCLocker Initiated GC is performed and then retry the allocation.

Reviewed-by: brutisso, huntch
2012-05-29 10:18:02 -07:00
Vladimir Kozlov
d6d1826ad3 Merge 2012-05-24 18:39:44 -07:00
Zhengyu Gu
6a6296d61b Merge 2012-05-24 20:04:07 -04:00
Zhengyu Gu
4118514eaa Merge 2012-05-22 20:29:05 -04:00
Rickard Bäckman
be3945d9ff 7161732: Improve handling of thread_id in OSThread
Reviewed-by: dholmes, kamg
2012-05-22 10:11:53 +02:00
Jiangli Zhou
31e63d5a3a 7168280: Eliminate the generic signature index slot from field array for field without generic signature
Only allocate the generic signature index slot in the field array for field with generic signature attribute.

Reviewed-by: coleenp, dlong
2012-05-21 14:10:35 -04:00
Krystal Mok
100eb2036d 7170053: crash in C2 when using -XX:+CountCompiledCalls
Reviewed-by: kvn, twisti
2012-05-18 12:20:24 -07:00
John Coomes
2c4e9e718c Merge 2012-05-18 10:27:13 -07:00
Bengt Rutisson
6e3096a0fa 7169062: CMS: Assertion failed with -XX:+ObjectAlignmentInBytes=64
Removed the assert in CompactibleFreeListSpace::check_free_list_consistency() since it was too strict. Simplified CompactibleFreeListSpace::set_cms_values() to reducde the need for asserts.

Reviewed-by: jcoomes, stefank
2012-05-17 21:53:40 +02:00
Vladimir Kozlov
72c30e6568 Merge 2012-05-17 09:50:59 -07:00
Joseph Provino
df5c45b99f Merge 2012-05-16 13:33:30 -04:00
Bengt Rutisson
eba9965d54 7166894: Add gc cause to GC logging for all collectors
Reviewed-by: mgerdin, johnc
2012-05-15 10:25:06 +02:00
Bengt Rutisson
b2d4591455 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit()
Reviewed-by: jwilhelm, johnc, dholmes
2012-05-15 22:26:37 +02:00
John Cuthbertson
73636f80f0 7168294: G1: Some Full GCs incorrectly report GC cause as "No GC"
GC cause was not being set by the VM_G1CollectForAllocation VM operation.

Reviewed-by: jmasa, ysr, brutisso
2012-05-15 09:49:18 -07:00
Roland Westrelin
b305cf722e 7133857: exp() and pow() should use the x87 ISA on x86
Use x87 instructions to implement exp() and pow() in interpreter/c1/c2.

Reviewed-by: kvn, never, twisti
2012-05-15 10:10:23 +02:00
John Cuthbertson
4935ae09b8 Merge 2012-05-14 21:07:28 -07:00
Mikael Vidstedt
c23595da74 7158457: division by zero in adaptiveweightedaverage
Add ceiling to AdaptiveWeightedAverage

Reviewed-by: ysr, iveresov
2012-05-15 00:56:06 +02:00
Vladimir Kozlov
eb4a860bc3 6924259: Remove String.count/String.offset
Allow a version of String class that doesn't have count and offset fields.

Reviewed-by: never, coleenp
2012-05-14 09:36:00 -07:00
Bengt Rutisson
b68794be17 7161545: G1: Minor cleanups to the G1 logging
Rename "to-space-overflow" to "to-space-exhausted", Introduce one decimal point in the size format, Add Sum to the aggregate and re-order the entries, Add number of GC workers to the log output

Reviewed-by: johnc, jwilhelm
2012-05-14 17:32:17 +02:00
Gary Collins
bfa3402f16 7167625: Adjustments for SE-Embedded build process
Simple change to the SE-Embedded build rules that should not affect any other OpenJDK users.

Reviewed-by: kvn, dholmes
2012-05-11 11:30:03 -07:00
John Coomes
8fe245a2ba Merge 2012-05-11 06:37:47 -07:00
Nils Loodin
7d82c13142 7165755: OS Information much longer on linux than other platforms
Reviewed-by: sla, dholmes
2012-05-10 15:44:19 +02:00
Bengt Rutisson
831d61ffee 7167069: 6 VM flags crash the VM when queried via jinfo
Added missing double format to Flag::print_as_flag()

Reviewed-by: dholmes, stefank, coleenp
2012-05-10 14:16:34 +02:00
Stefan Karlsson
efb4e7d77d 7167437: Can't build on linux without precompiled headers
Reviewed-by: brutisso, mgerdin
2012-05-10 11:27:10 +02:00
Vladimir Kozlov
65e294a51d Merge 2012-05-09 10:54:29 -07:00
Vladimir Kozlov
904f53db88 7160610: Unknown Native Code compilation issue
When constructing input vector use type of vector's operation which use it since element's sizes should match.

Reviewed-by: never, twisti
2012-05-07 12:37:46 -07:00
Joseph Provino
e897b69d19 Merge 2012-05-05 10:24:55 -04:00
John Coomes
05bee5dc82 Merge 2012-05-04 10:46:32 -07:00
Jiangli Zhou
2fa131f8db 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support
Change the _host_klass to be conditionally created embedded instanceKlass field.

Reviewed-by: jrose, coleenp, dholmes
2012-05-02 13:21:36 -04:00
Bengt Rutisson
93bfefecfe 7163848: G1: Log GC Cause for a GC
Reviewed-by: johnc, jwilhelm, jmasa
2012-04-25 12:36:37 +02:00
Jon Masamitsu
9d991480e9 Merge 2012-04-25 15:51:10 -07:00
John Cuthbertson
377a04fe57 7143490: G1: Remove HeapRegion::_top_at_conc_mark_count
Removed the HeapRegion::_top_at_conc_mark_count field. It is no longer needed as a result of the changes for 6888336 and 7127706. Refactored the closures that finalize and verify the liveness counting data so that common functionality was placed into a base class.

Reviewed-by: brutisso, tonyp
2012-04-25 10:23:12 -07:00
Jon Masamitsu
b63f7f3a18 7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary*
Fix naming style to be consistent with the predominant hotspot style.

Reviewed-by: ysr, brutisso
2012-04-25 09:55:55 -07:00
Daniel D. Daugherty
1feb712387 Merge 2012-04-23 11:03:30 -07:00
John Cuthbertson
b2ab93cc7b Merge 2012-04-20 11:41:49 -07:00