John Cuthbertson
c3d6abc4e1
8015244: G1: Verification after a full GC is incorrectly placed
...
In a full GC, move the verification after the GC to after RSet rebuilding. Verify RSet entries during a full GC under control of a flag.
Reviewed-by: tschatzl, brutisso
2013-06-04 10:04:06 -07:00
Tao Mao
07ed2c141f
6976350: G1: deal with fragmentation while copying objects during GC
...
Create G1ParGCAllocBufferContainer to contain two buffers instead of previously using one buffer, in order to hold the first priority buffer longer. Thus, when some large objects hits the value of free space left in the first priority buffer it has an alternative to fit in the second priority buffer while the first priority buffer is given more chances to try allocating smaller objects. Overall, it will improve heap space efficiency.
Reviewed-by: johnc, jmasa, brutisso
2013-06-03 14:37:13 -07:00
Serguei Spitsyn
6d485348e1
8014052: JSR292: assert(end_offset == next_offset) failed: matched ending
...
A call to the finalize_operands_merge() must be unconditional
Reviewed-by: kvn, twisti
2013-06-03 14:28:37 -07:00
Vladimir Kozlov
56e8f83652
Merge
2013-06-03 14:02:05 -07:00
Niclas Adlertz
f4682b75e5
8005956: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
...
Disable re-materialization of reaching definitions (which have live inputs) for phi nodes when spilling.
Reviewed-by: twisti, kvn
2013-06-03 12:39:33 -07:00
Harold Seigel
02a27e2824
8015385: Remove RelaxAccessControlCheck for JDK 8 bytecodes
...
Check bytecode versions along with RelaxAccessControlCheck version
Reviewed-by: dholmes, acorn
2013-06-03 10:00:10 -04:00
Albert Noll
d6efb99686
8013329: File leak in hotspot/src/share/vm/compiler/compileBroker.cpp
...
Added calling of the destructor of CompileLog so that files are closed. Added/moved memory allocation/deallocation of the string that contains the name of the log file to class CompileLog.
Reviewed-by: kvn, roland
2013-06-03 08:52:20 +02:00
Daniel D. Daugherty
54b7fa892a
Merge
2013-06-01 09:28:26 -07:00
Mikhailo Seledtsov
6a7e90e362
6726963: multi_allocate() call does not CHECK_NULL and causes crash in fastdebug bits
...
Using CHECK_NULL when calling multi_allocate() from the corresponding reflection code; added test for this condition
Reviewed-by: dholmes, minqi
2013-05-31 20:24:58 +02:00
Joel Borggren-Franck
6d51346158
8014709: Constructor.getAnnotatedReturnType() returns empty AnnotatedType
...
Reviewed-by: stefank, rbackman
2013-05-31 13:02:24 +02:00
Chris Hegarty
a8432ef7c5
Merge
2013-05-31 10:27:12 +01:00
Jesper Wilhelmsson
43ff2913a7
Merge
2013-05-31 09:55:35 +02:00
Serguei Spitsyn
a246da16d1
8015436: compiler/ciReplay/TestSA.sh fails with assert() index is out of bounds
...
The InstanceKlass _initial_method_idnum value must be adjusted if overpass methods are added.
Reviewed-by: twisti, kvn
2013-05-30 11:46:39 -07:00
Jiangli Zhou
69a86594a2
Merge
2013-05-30 13:19:06 -04:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Joseph Provino
eb9735b7b8
Merge
2013-05-28 15:24:44 -04:00
Zhengyu Gu
4aab037d71
Merge
2013-05-28 08:54:55 -07:00
Joseph Provino
8d4061812f
8011064: Some tests have failed with SIGSEGV on arm-hflt on build b82
...
NMT_detail is only supported when frame pointers are not omitted (-fno-omit-frame-pointer).
Reviewed-by: dholmes, cjplummer
2013-05-28 11:32:46 -04:00
Joseph Provino
b0dcc34e06
8013461: There is a symbol AsyncGetCallTrace in libjvm.symbols that does not exist in minimal/libjvm.a when DEBUG_LEVEL == release
...
AsyncGetCallTrace is needed in libjvm.symbols so that programs which reference it can build correctly.
Reviewed-by: dholmes, bobv
2013-05-28 11:17:16 -04:00
Christian Tornqvist
7f2a2f1460
8015329: Print reason for failed MiniDumpWriteDump() call
...
Printing both result from GetLastError and text representation of error. Also changed so that we produce dumps by default on client versions of Windows when running with a debug build. Also reviewed by peter.allwin@oracle.com
Reviewed-by: sla, dholmes
2013-05-28 15:08:57 +02:00
Thomas Schatzl
54964edefa
8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
...
Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary.
Reviewed-by: johnc, jwilhelm
2013-05-28 09:32:06 +02:00
Jesper Wilhelmsson
44d99cc5e3
Merge
2013-06-01 10:00:56 +02:00
Stefan Karlsson
c39235c377
8015486: PSScavenge::is_obj_in_young is unnecessarily slow with UseCompressedOops
...
Compare compressed oops to a compressed young gen boundary instead of uncompressing the oops before doing the young gen boundary check.
Reviewed-by: brutisso, jmasa
2013-05-30 10:58:16 +02:00
John Coomes
de314e391b
6725714: par compact - add a table to speed up bitmap searches
...
Reviewed-by: jmasa, tschatzl
2013-05-30 13:04:51 -07:00
Aleksey Shipilev
375e12feb9
8015270: @Contended: fix multiple issues in the layout code
...
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts
Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Stefan Karlsson
c13149ab8d
8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge
...
Combine the calls to StringTable::unlink and StringTable::oops_do in Parallel Scavenge.
Reviewed-by: pliden, coleenp
2013-05-27 12:58:42 +02:00
Stefan Karlsson
8b7d3c5d3b
8015428: Remove unused CDS support from StringTable
...
The string in StringTable is not used by CDS anymore. Remove the unnecessary code in preparation for 8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge
Reviewed-by: pliden, tschatzl, coleenp
2013-05-27 12:56:34 +02:00
Stefan Karlsson
2ccd92e927
8015268: NPG: 2.5% regression in young GC times on CRM Sales Opty
...
Split SystemDictionary and ClassLoaderDataGraph root processing to help load balancing.
Reviewed-by: tschatzl, johnc
2013-05-27 15:22:59 +02:00
Serguei Spitsyn
fb0022c7b1
8013945: CMS fatal error: must own lock MemberNameTable_lock
...
The "delete mnt" needs to grab MemberNameTable_lock if !SafepointSynchronize::is_at_safepoint()
Reviewed-by: sla, mgerdin, dholmes, jmasa
2013-05-24 17:36:12 -07:00
Calvin Cheung
7cb20773ad
8015265: revise the fix for 8007037
...
Reviewed-by: sspitsyn, dholmes, dcubed
2013-05-24 17:19:56 -07:00
Daniel D. Daugherty
85761dd2b8
Merge
2013-05-24 10:21:12 -07:00
Jesper Wilhelmsson
7c176c9678
Merge
2013-05-24 14:16:41 +02:00
Jesper Wilhelmsson
f698761da5
Merge
2013-05-24 09:29:57 +02:00
Serguei Spitsyn
b2e43ed612
8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes
...
The fix of perf regression is to use method_idnum() for direct indexing into NMT
Reviewed-by: twisti, kvn, coleenp, dholmes
2013-05-23 23:04:33 -07:00
Christian Thalinger
262aacf9e5
Merge
2013-05-23 15:30:16 -07:00
Albert Noll
6c30b71448
8014430: JRE crashes instead of stop compilation on full Code Cache. Internal Error (c1_Compiler.cpp:87)
...
Disable client compiler and switch to interpreter if there is not enough free space in the code cache.
Reviewed-by: kvn, twisti
2013-05-23 14:11:09 +02:00
Chris Hegarty
988a08a49f
Merge
2013-05-23 12:44:18 +01:00
Vladimir Kozlov
47a5d851ad
8010927: Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy
...
Changed gen_write_ref_array_post_barrier() code on x64 to pass start address and number of copied oop elements. In generate_checkcast_copy() skip post barrier code if no elements are copied.
Reviewed-by: roland
2013-05-22 18:25:43 -07:00
Vladimir Kozlov
aa653eba44
Merge
2013-05-22 17:39:47 -07:00
Christian Thalinger
7d02ff5c23
Merge
2013-05-22 11:44:17 -07:00
Coleen Phillimore
6ed8c8fcea
8003421: NPG: Move oops out of InstanceKlass into mirror
...
Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
2013-05-22 14:37:49 -04:00
Tao Mao
1e80919f4c
8007762: Rename a bunch of methods in size policy across collectors
...
Rename: compute_generations_free_space() = compute_eden_space_size() + compute_old_gen_free_space(); update related logging messages
Reviewed-by: jmasa, johnc, tschatzl, brutisso
2013-05-22 11:11:47 -07:00
Vladimir Kozlov
ea54d8f3f0
8014811: loopTransform.cpp assert(cmp_end->in(2) == limit) failed
...
Stop current iteration of loop opts if partial_peel() failed and it created node clones outside processed loop.
Reviewed-by: roland
2013-05-22 09:02:43 -07:00
Albert Noll
d4f4c29b95
8012312: hsdis fails to compile with binutils-2.23.2
...
Added <config.h> to header file to make hsdis compile with binutils 2.23.*
Reviewed-by: kvn, twisti
2013-05-22 10:28:20 +02:00
Bengt Rutisson
0be2f273c7
8014971: Minor code cleanup of the freelist management
...
Reviewed-by: jwilhelm, jmasa, tschatzl
2013-05-22 08:04:58 +02:00
David Holmes
a1b903879f
Merge
2013-05-21 19:52:01 -07:00
Tao Mao
a50a5688af
8015007: Incorrect print format in error message for VM cannot allocate the requested heap
...
Correct the wrong print format in error message for VM cannot allocate the requested heap; and clean up the error message call in check_alignment()
Reviewed-by: brutisso, tschatzl
2013-05-21 16:43:41 -07:00
Bharadwaj Yadavalli
19da55568f
8014059: JSR292: Failed to reject invalid class cplmhl00201m28n
...
Restrict reference of interface methods by invokestatic and invokespecial to classfile version 52 or later.
Reviewed-by: kvn, hseigel
2013-05-21 16:17:51 -07:00
Mikael Vidstedt
de93893f4e
8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size'
...
Fix regression test to work on all platforms
Reviewed-by: ctornqvi, dholmes
2013-05-21 09:43:23 -07:00
Thomas Schatzl
b33547e347
8014405: G1: PerRegionTable::fl_mem_size() calculates size of the free list using wrong element sizes
...
Instead of using a simple sizeof(), ask the PerRegionTable class about its size when iterating over the free list.
Reviewed-by: jwilhelm, brutisso
2013-05-21 11:30:14 +02:00