Vladimir Kozlov
adc8d722f0
Merge
2013-06-07 11:43:53 -07:00
Tao Mao
1ddf2378db
7122222: GC log is limited to 2G for 32-bit
...
Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation
Reviewed-by: tbell, mgerdin, dcubed
2013-06-07 09:46:58 -07:00
Alejandro Murillo
6b2c468c35
8016078: new hotspot build - hs25-b37
...
Reviewed-by: jcoomes
2013-06-07 09:33:01 -07:00
Alejandro Murillo
8030137fd5
Added tag hs25-b36 for changeset 0403dabe9186
2013-06-07 09:25:19 -07:00
Alejandro Murillo
d43d80543c
Merge
2013-06-07 09:25:18 -07:00
Morris Meyer
690abe1b20
8015437: SPARC cbcond branch offset out of 10-bit range
...
Forced SPARC MacroAssembler eden_alloate to use long branch to slow case
Reviewed-by: kvn, twisti
2013-06-07 07:33:35 -07:00
Vladimir Kozlov
e62cfbfd5f
Merge
2013-06-06 11:02:25 -07:00
David Katleman
7c89126c98
Added tag jdk8-b93 for changeset 2b7343cbcbbf
2013-06-06 09:54:16 -07:00
Albert Noll
aa61dce719
8014246: remove assert to catch access to object headers in index_oop_from_field_offset_long
...
Reviewed-by: twisti, jrose
2013-06-06 09:29:38 -07:00
Daniel D. Daugherty
7771d30db3
Merge
2013-06-06 05:56:33 -07:00
Gerard Ziemski
2fad2249a2
8009302: Mac OS X: JVM crash on infinite recursion on Appkit Thread
...
Use SA_ONSTACK flag to ensure signal gets delivered properly.
Reviewed-by: dholmes, coleenp
2013-06-05 14:12:49 -04:00
Nils Loodin
b46e7f76d5
Merge
2013-06-05 09:47:27 -07:00
Erik Helin
74f190f320
8015972: Refactor the sending of the object count after GC event
...
Reviewed-by: brutisso, pliden
2013-06-05 09:44:03 +02:00
Volker Simonis
9fbd8582b4
8015252: Enable HotSpot build with Clang
...
Reviewed-by: twisti, dholmes, kvn
2013-06-04 22:16:15 -07:00
Daniel D. Daugherty
f3fb3c4777
8010257: remove unused thread-local variables _ScratchA and _ScratchB
...
Remove dead code.
Reviewed-by: twisti, coleenp
2013-06-04 19:39:21 -07:00
John Cuthbertson
e8c0cab6ac
Merge
2013-06-04 14:00:16 -07:00
Morris Meyer
a28a9d6551
8010724: [parfait] Null pointer dereference in hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
...
Added guarantee()
Reviewed-by: kvn
2013-06-04 12:06:54 -07:00
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
Serguei Spitsyn
e609456b0e
8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'
...
Newly added test has an issue: the main class must be public
Reviewed-by: kvn, jbachorik, coleenp
2013-06-04 01:06:50 -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
Alejandro Murillo
f488447acc
8015690: new hotspot build - hs25-b36
...
Reviewed-by: jcoomes
2013-05-31 10:04:00 -07:00
Alejandro Murillo
43fb923d1b
Added tag hs25-b35 for changeset 02ffee063e24
2013-05-31 09:37:49 -07:00
Alejandro Murillo
4690e29e88
Merge
2013-05-31 09:37:48 -07: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
David Katleman
e907274506
Added tag jdk8-b92 for changeset b34bf6985a14
2013-05-30 10:57:57 -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
Daniel D. Daugherty
f52e6781ee
Merge
2013-05-28 11:35:57 -07:00
Zhengyu Gu
4aab037d71
Merge
2013-05-28 08:54:55 -07:00
Aleksey Shipilev
0793ab7e65
8015493: runtime/contended/OopMaps.java fails with OutOfMemory
...
Limit the memory footprint to dodge OutOfMemory errors.
Reviewed-by: dcubed, ctornqvi, iignatyev
2013-05-28 19:54:18 +04: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
Alejandro Murillo
ddea5b012c
8015305: new hotspot build - hs25-b35
...
Reviewed-by: jcoomes
2013-05-24 09:35:10 -07:00
Alejandro Murillo
e6a52ec48e
Added tag hs25-b34 for changeset e12c800cd4a8
2013-05-24 09:25:43 -07:00
Alejandro Murillo
5c658c0c7e
Merge
2013-05-24 09:25:42 -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
David Katleman
09facbd2ef
Added tag jdk8-b91 for changeset 7083a5fec809
2013-05-23 10:47:40 -07:00
Jiangli Zhou
82a87a5af6
Merge
2013-05-23 13:40:15 -04:00
Christian Tornqvist
bd53fa8370
8009576: Test returns ClassNotFoundException
...
Small classpath fix and move tests into open
Reviewed-by: mgerdin, zgu
2013-05-23 17:39:32 +02: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
Bengt Rutisson
67fdf410da
Merge
2013-05-21 10:39:09 +02:00
Bengt Rutisson
8d3d35b861
7066063: CMS: "Conservation Principle" assert failed
...
Add call to coalBirth() in CompactibleFreeListSpace::reset()
Reviewed-by: ysr, jmasa
2013-05-21 08:50:20 +02:00
Jon Masamitsu
c7a9104bb7
8014862: Add fast Metasapce capacity and used per MetadataType
...
Reviewed-by: ehelin, stefank
2013-05-20 22:34:24 -07:00
Aleksey Shipilev
a462587e4b
8014878: Clean up class field layout code
...
Rename/remove local variables, re-arrange instance_size calculation, more comments.
Reviewed-by: kvn, coleenp
2013-05-20 23:41:27 +04:00
Tao Mao
47c64fb0c3
7186737: Unable to allocate bit maps or card tables for parallel gc for the requested heap
...
Print helpful error message when VM aborts due to inability of allocating bit maps or card tables
Reviewed-by: jmasa, stefank
2013-05-20 10:44:33 -07:00
Jiangli Zhou
fff011fa0f
Merge
2013-05-20 13:13:29 -04:00
Aleksey Shipilev
7efa591bee
8014871: Move @Contended regression tests to the same place
...
Move the missing test to appropriate location.
Reviewed-by: dholmes, sla
2013-05-20 15:43:50 +04:00
Jesper Wilhelmsson
ed64a49836
Merge
2013-05-19 20:31:30 +02:00
Ioi Lam
f9ae3b46de
8014262: PrintStringTableStatistics should include more footprint info
...
Added info for the string/symbol objects and the hash entries
Reviewed-by: coleenp, rbackman
2013-05-18 20:41:01 -07:00
Daniel D. Daugherty
4410135e9e
Merge
2013-05-17 17:52:07 -07:00
Daniel D. Daugherty
9a6dfe1c55
Merge
2013-05-17 11:36:43 -07:00
Alejandro Murillo
dbe27b6d39
8014760: new hotspot build - hs25-b34
...
Reviewed-by: jcoomes
2013-05-17 09:10:04 -07:00
Alejandro Murillo
2a9739589d
Added tag hs25-b33 for changeset b00c73d51b8a
2013-05-17 08:59:19 -07:00
Alejandro Murillo
2a65b5efb6
Merge
2013-05-17 08:59:18 -07:00
Daniel D. Daugherty
48caf5fe52
Merge
2013-05-17 08:56:51 -07:00
Ron Durbin
441dc7c79b
7145527: sscanf must use a length in the format string
...
Remove dead code containing last call to scanf with no string length specifier
Reviewed-by: dcubed, coleenp
2013-05-17 08:51:46 -07:00
Erik Helin
0f9e2457c5
8014277: Remove ObjectClosure as base class for BoolObjectClosure
...
Reviewed-by: brutisso, tschatzl
2013-05-17 11:57:05 +02:00
Jesper Wilhelmsson
df1556095b
Merge
2013-05-17 08:00:01 +02:00
Jesper Wilhelmsson
262b1413c1
Merge
2013-05-17 06:01:10 +02:00
David Holmes
658e624c4b
Merge
2013-05-16 22:11:05 -04:00
Aleksey Shipilev
efe96b1343
8014509: @Contended: explicit default value behaves differently from the implicit value
...
Treat the empty string as the default value tag
Reviewed-by: kvn, twisti
2013-05-17 01:58:32 +04:00
Thomas Schatzl
b8276670c2
8014765: VM exits if MaxTenuringThreshold is set below the default InitialTenuringThreshold, and InitialTenuringThreshold is not set
...
The VM exits when the condition in the subject line applies. The fix sets InitialTenuringThreshold to MaxTenuringThreshold if it is larger than MaxTenuringThreshold and InitialTenuringThreshold has not been set (is default).
Reviewed-by: jwilhelm, jmasa, brutisso, johnc
2013-05-16 23:51:51 +02:00
Aleksey Shipilev
2fd72e202f
8012939: @Contended doesn't work correctly with inheritance
...
Fix instance_size miscalculation.
Reviewed-by: jrose, kvn
2013-05-17 01:43:48 +04:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07:00
David Katleman
f878730150
Added tag jdk8-b90 for changeset c0cc3acd917d
2013-05-16 12:14:19 -07:00
John Cuthbertson
5838d847a1
8010738: G1: Output for full GCs with +PrintGCDetails should contain perm gen size/meta data change info
...
Include metaspace information (used, allocated, reserved) in the PrintGCDetails output for full GCs.
Reviewed-by: poonam, jmasa, brutisso
2013-05-16 09:24:26 -07:00
Mikhailo Seledtsov
bb4af57bdd
8014511: runtime/RedefineObject/TestRedefineObject.java has incorrect classname in @run tag
...
Corrected the class name
Reviewed-by: coleenp, ctornqvi, hseigel
2013-05-16 17:54:11 +02:00
Albert Noll
114b578228
8012371: Adjust Tiered compile threshold according to available space in code cache
...
Added command line parameter to define a threshold at which C1 compilation threshold for is increased.
Reviewed-by: kvn, iveresov
2013-05-16 15:46:49 +02:00
Mikhailo Seledtsov
172cc0a06e
8008169: test/runtime/7158804/Test7158804.sh has bad copyright header
...
Re-wrote test in Java in addition to fixing the Copyright notice. Also reviewed by leonid.mesnik@oracle.com
Reviewed-by: coleenp, ctornqvi
2013-05-16 15:31:00 +02:00
Kevin Walls
aa8c580561
6313816: SA: jstack -m fails on Win32 : UnalignedAddressException
...
Reviewed-by: sla, poonam
2013-05-16 12:40:27 +01:00
Thomas Schatzl
5ebe77bb6b
8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo
...
Improve the output of G1PrintRegionLivenessInfo by adding a per-region remembered set size information column
Reviewed-by: jwilhelm, johnc
2013-05-16 13:02:33 +02:00
Chris Hegarty
99f427d2c5
Merge
2013-05-16 11:44:33 +01:00
John Cuthbertson
d583cdc253
8014408: G1: crashes with assert assert(prev_committed_card_num == _committed_max_card_num) failed
...
Mismatch in the card number calculation between next and previous committed sizes of the card counts table.
Reviewed-by: jmasa, tschatzl
2013-05-15 22:35:36 -07:00
Bill Pittore
ccb50f749f
8014669: arch specific flags not passed to some link commands
...
EXTRA_CFLAGS does not propagate to saproc and jsig makefiles
Reviewed-by: dholmes, tbell, collins
2013-05-15 23:06:04 -04:00
Igor Ignatyev
bf1380cc77
8014068: TEST_BUG: compiler/ciReplay/TestSA.sh fails on Windows: core wasn't generated
...
Reviewed-by: kvn
2013-05-15 22:44:52 +04:00
Tao Mao
87b3317478
8007763: Refactoring: split up compute_generation_free_space() into two functions for class PSAdaptiveSizePolicy
...
Split up compute_generation_free_space() into two functions: compute_eden_space_size() + compute_old_gen_free_space(), each of which (if needed) can be reused without executing an overhead of the other.
Reviewed-by: jmasa, tschatzl
2013-05-15 10:41:22 -07:00
Rickard Bäckman
cd5cf59bae
4965252: JvmtiExport::post_raw_field_modification jni ref handling is odd
...
Reviewed-by: coleenp, sspitsyn
2013-05-15 11:30:54 +02:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Yumin Qi
8218671461
Merge
2013-05-14 17:33:07 +00:00
Yumin Qi
98151c30c8
8012902: remove use of global operator new - take 2
...
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07:00
Thomas Schatzl
9ce9586188
8014489: tests/gc/arguments/Test(Serial|CMS|Parallel|G1)HeapSizeFlags jtreg tests invoke wrong class
...
Some jtreg tests reference unknown classes in the @run and @build lines. This change fixes them.
Reviewed-by: stefank, ehelin
2013-05-14 17:08:31 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
David Holmes
4661adb2d0
8014460: Need to check for non-empty EXT_LIBS_PATH before using it
...
Reviewed-by: tbell, collins, sla, coleenp
2013-05-14 07:24:50 -04:00
Aleksey Shipilev
b3675a00d9
8014448: Purge PrintCompactFieldsSavings
...
Remove obsolete debugging code.
Reviewed-by: dholmes, kvn
2013-05-14 11:34:30 +04:00
Vladimir Kozlov
2ed62e808c
8014286: failed java/lang/Math/DivModTests.java after 6934604 changes
...
Corrected escape state for the result of boxing method. Added force inlining executed boxing methods.
Reviewed-by: twisti
2013-05-13 14:36:39 -07:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Yumin Qi
9a1cd52a0f
Merge
2013-05-13 18:08:13 +00:00
Bengt Rutisson
d3a0a48fbb
8014339: Improve assert and remove some dead code from parMarkBitMap.hpp/cpp
...
Reviewed-by: stefank, tschatzl
2013-05-13 14:09:05 +02:00
Thomas Schatzl
9cfde1acc3
8014058: Regression tests for 8006088
...
The patch for 8006088 misses regression tests after a merge error, this CR provides them.
Reviewed-by: jwilhelm, tamao, jmasa
2013-05-13 09:45:33 +02:00
Rickard Bäckman
2d6560721c
Merge
2013-05-13 07:53:45 +02:00
Yumin Qi
9b052f6f3e
Merge
2013-05-10 19:30:12 +00:00
Alejandro Murillo
e732ebaa3e
8014279: new hotspot build - hs25-b33
...
Reviewed-by: jcoomes
2013-05-10 11:27:55 -07:00
Alejandro Murillo
0c58bd4bfd
Added tag hs25-b32 for changeset bc27a3d4b35f
2013-05-10 11:14:09 -07:00
Alejandro Murillo
711e6b8bd8
Merge
2013-05-10 11:14:08 -07:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Stefan Karlsson
4562f6539d
Merge
2013-05-10 09:24:20 +02:00
Vladimir Kozlov
d7176bf7f8
8014189: JVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()
...
Add NULL checks and asserts for Type::make_ptr() returned value.
Reviewed-by: twisti
2013-05-09 17:28:04 -07:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00
John Cuthbertson
c38f8fc543
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
...
Refactor G1's hot card cache and card counts table into their own files. Simplify the card counts table, including removing the encoding of the card index in each entry. The card counts table now has a 1:1 correspondence with the cards spanned by heap. Space for the card counts table is reserved from virtual memory (rather than C heap) during JVM startup and is committed/expanded when the heap is expanded. Changes were also reviewed-by Vitaly Davidovich.
Reviewed-by: tschatzl, jmasa
2013-05-09 11:16:39 -07:00
David Katleman
02ee113df6
Added tag jdk8-b89 for changeset 67f1ddecad67
2013-05-09 10:03:35 -07:00
Jesper Wilhelmsson
3d6c526864
Merge
2013-05-09 12:23:43 +02:00
David Holmes
8d3d80dbc9
Merge
2013-05-08 21:06:46 -04:00
Jon Masamitsu
bbff951f67
8013184: CMS: Call reset_after_compaction() only if a compaction has been done
...
Reviewed-by: mgerdin, johnc, tschatzl
2013-05-08 17:12:52 -07:00
David Holmes
49173becc7
Merge
2013-05-08 19:38:41 -04:00
Aleksey Shipilev
c24b224166
8006997: ContendedPaddingWidth should be range-checked
...
Constrain between zero and 8K
Reviewed-by: dholmes, rbackman
2013-05-08 19:28:54 -04:00
Jon Masamitsu
973d0400c4
8013032: CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
...
Reviewed-by: tschatzl, mgerdin, johnc
2013-05-08 16:28:03 -07:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Bharadwaj Yadavalli
6b031570b6
8013875: Incorrect vtable index being set during methodHandle creation for static
...
Set vtable index as appropriate for static interface methods and for interface methods invoked via invokespecial. To be improved in a later enhancement to CallInfo.
Reviewed-by: jrose, twisti
2013-05-08 14:18:03 -07:00
Chris Hegarty
b22f700cdc
Merge
2013-05-08 15:25:08 +01:00
Staffan Larsen
3ea303118f
Merge
2013-05-08 10:14:57 -04:00
Staffan Larsen
7a1ccbc48a
8013591: compiler/ciReplay/TestSA.sh fails in nightly
...
Reviewed-by: coleenp, rbackman, dholmes
2013-05-08 15:37:18 +02:00
Harold Seigel
dc96e028d2
8007018: RFE: -XX:+UseLargePages does not work with CDS
...
Remove command line restriction. It should just work.
Reviewed-by: ctornqvi, coleenp, dholmes
2013-05-08 08:20:45 -04:00
Rickard Bäckman
654953bc9a
8008255: jvmtiExport.cpp::post_to_env() does not check malloc() return
...
Reviewed-by: coleenp, dholmes, sla
2013-05-08 11:21:56 +02:00
Coleen Phillimore
83b5203953
Merge
2013-05-07 18:46:47 -07:00
Coleen Phillimore
c7e1bd3c28
Merge
2013-05-07 16:17:43 -07:00
Coleen Phillimore
32df114e2a
8014024: NPG: keep compiled ic methods from being deallocated in redefine classes
...
Walk the compiledIC relocation records to keep Method* from being deallocated.
Reviewed-by: dlong, kvn
2013-05-07 18:51:31 -04:00
Coleen Phillimore
c4285d8505
Merge
2013-05-07 14:30:11 -07:00
Christian Tornqvist
601071bc6d
8009577: Test test/closed/runtime/classunload broken
...
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from
Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Eric McCorkle
32fa61ad54
8009729: Refix hotspot jni_<cpu>.h JNIEXPORT and JNIIMPORT definitions to match jdk version
...
Update JNIEXPORT and JNIIMPORT to work with other compilers that don't necessarily have the __attribute__ type qualifier
Reviewed-by: dholmes, dcubed, coleenp
2013-05-07 13:45:59 -04:00
Vladimir Danushevsky
287a1617db
Merge
2013-05-07 10:36:20 -04:00
Bill Pittore
de01ed0a09
8013633: Cleanup platform ifdefs in unsafe.cpp
...
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file
Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Coleen Phillimore
8320660846
8013063: nsk/jvmti/RetransformClasses/retransform001 failed debug version on os::free
...
Clear out class_file_bytes so they aren't deallocated twice
Reviewed-by: dcubed, sspitsyn
2013-05-07 09:46:15 -04:00
Staffan Larsen
edf88d3db7
8005038: remove crufty '_g' support from SA
...
Reviewed-by: coleenp, mgronlun, rbackman
2013-05-07 14:33:09 +02:00
Staffan Larsen
fd1ead19be
8014044: Spelling error in JDK-8009615: boostrapmethod
...
Reviewed-by: sspitsyn, coleenp
2013-05-07 14:04:26 +02:00
Jiangli Zhou
7f4ae06bdb
Merge
2013-05-06 20:11:18 -07:00
Christian Thalinger
7c367a6025
8008772: remove gamma launcher
...
Reviewed-by: kvn, neliasso, ctornqvi
2013-05-06 19:49:23 -07:00
Jiangli Zhou
ba80b3e045
8013067: Zero builds are broken after 8010862
...
Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn
2013-05-06 19:57:35 -04:00
Staffan Larsen
db19e8b60f
Merge
2013-05-07 01:25:21 +02:00
Christian Thalinger
149097fbb7
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
...
Reviewed-by: jrose, kvn
2013-05-06 13:53:13 -07:00
Karen Kinnear
a37bc54517
Merge
2013-05-06 12:36:20 -07:00
Bengt Rutisson
a8ad116e49
8013872: G1: HeapRegionSeq::shrink_by() has invalid assert
...
Refactored shrink_by() to only use region counts and not byte sizes
Reviewed-by: johnc, tschatzl
2013-05-06 21:30:34 +02:00
Staffan Larsen
f4c589b895
8009615: JvmtiClassFileReconstituter does not create BootstrapMethod attributes
...
Reviewed-by: coleenp, sspitsyn
2013-05-06 19:49:18 +02:00
Karen Kinnear
409e738a07
Merge
2013-05-06 10:20:18 -07:00
Zhengyu Gu
ce1df81ab9
Merge
2013-05-06 08:49:38 -07:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Harold Seigel
768a1b55cf
8013648: Guarantee(VerifyBeforeGC || VerifyDuringGC || VerifyBeforeExit || VerifyAfterGC) failed: too expensive
...
Fix code to call correct version of function find_class().
Reviewed-by: coleenp, rdurbin, dcubed
2013-05-06 09:10:21 -04:00
Jesper Wilhelmsson
0c4933f5b0
Merge
2013-05-06 13:03:46 +02:00
Bengt Rutisson
36c195270d
8013791: G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
...
Make sure max alignemnt is at least as large as min alignment
Reviewed-by: johnc, jmasa, tschatzl
2013-05-06 09:16:14 +02:00
Daniel D. Daugherty
79f4c78a72
Merge
2013-05-03 15:51:16 -07:00
Vladimir Kozlov
1763afaec5
Merge
2013-05-03 15:35:30 -07:00
Zhengyu Gu
5948d45dd8
Merge
2013-05-03 13:00:28 -07:00
Alejandro Murillo
5e8becfa39
8013800: new hotspot build - hs25-b32
...
Reviewed-by: jcoomes
2013-05-03 08:19:38 -07:00
Alejandro Murillo
73a8b2719a
Added tag hs25-b31 for changeset 62f2a12da171
2013-05-03 08:10:11 -07:00
Alejandro Murillo
ec847be4fa
Merge
2013-05-03 08:10:10 -07:00
Frederic Parain
7e7edc4cfa
Merge
2013-05-03 05:17:15 -07:00
Frederic Parain
7c2fb49608
8004095: Add support for JMX interface to Diagnostic Framework and Commands
...
Reviewed-by: acorn, sla
2013-05-03 05:05:31 -07:00
Staffan Larsen
1f2075c0e4
8013785: Respect EXTRA_CFLAGS on windows
...
Reviewed-by: mgronlun, rbackman, kvn
2013-05-03 12:26:15 +02:00
Staffan Larsen
cd65b9e32e
8008453: JvmtiClassFileReconstituter does not recognize default methods
...
Reviewed-by: acorn, sspitsyn
2013-05-03 12:24:11 +02:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Calvin Cheung
f88c429a69
8012641: Perf_CreateLong creates perf counter of incorrect type
...
Reviewed-by: mchung, hseigel, coleenp
2013-05-02 16:55:00 -07:00
Mikael Gerdin
94677d4faf
Merge
2013-05-02 16:41:09 -07:00
Bengt Rutisson
d08bf8d1be
8013574: PrintMalloc conflicts with the command line parsing
...
Make sure that _num_jvm_args is not updated until the new entry to _jvm_args_array has been added
Reviewed-by: johnc, tamao, tschatzl
2013-05-02 22:35:15 +02:00
David Katleman
31e3e6051a
Added tag jdk8-b88 for changeset e6d52b5fe8d1
2013-05-02 13:35:00 -07:00
Jiangli Zhou
668be30ae1
Merge
2013-05-02 13:12:33 -07:00
Mikael Gerdin
67b238b12d
Merge
2013-05-02 19:28:59 +02:00
Jiangli Zhou
e009341957
Merge
2013-05-02 12:16:01 -04:00
Karen Kinnear
570af5a3dd
8010783: assert(s->refcount() != 0) failed: for create_overpasses
...
Reviewed-by: kvn, dcubed
2013-05-02 10:58:04 -04:00
Albert Noll
317f9c229e
8013532: Remove unused parameter "compiler" from DTRACE_METHOD_COMPILE* macros
...
Remove unused parameter in dtrace macros
Reviewed-by: kvn, roland
2013-05-02 10:27:15 +02:00
Bharadwaj Yadavalli
dc96841053
Merge
2013-05-01 09:00:39 -07:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07:00
Vladimir Danushevsky
cd7d5cba42
Merge
2013-05-01 10:10:57 -04:00
Chris Hegarty
7040795490
Merge
2013-05-01 14:11:01 +01:00
Staffan Larsen
04fdba24b5
Merge
2013-05-01 01:07:50 +02:00
Vladimir Danushevsky
867c30e1bd
8013398: Adjust number of stack guard pages on systems with large memory page size
...
Auto adjust number of stack guard pages on systems with large memory page size
Reviewed-by: bobv, coleenp
2013-04-30 17:36:01 -04:00
Staffan Larsen
e8848553b1
8013364: SA-JDI exceptions caused by lack of permissions on OSX should be more verbose about issue cause
...
Reviewed-by: coleenp, rbackman
2013-04-30 21:47:02 +02:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Erik Helin
10be07bb9d
8008541: Remove old code in HotSpot that supported the jmap -permstat functionality
...
Reviewed-by: sla, brutisso
2013-04-30 16:36:24 +02:00
Zhengyu Gu
a2f5f4ca1b
8013214: BigApps fails due to 'fatal error: Illegal threadstate encountered: 6'
...
Grab and drop SR_lock to get the thread to honor the safepoint protocol
Reviewed-by: dcubed, coleenp
2013-04-30 09:17:06 -04:00
Staffan Larsen
c8db53ce50
Merge
2013-04-30 02:28:42 -07:00
Staffan Larsen
60a56c2f06
8013466: SA crashes when attaching to a process on OS X
...
Reviewed-by: coleenp, rbackman, minqi
2013-04-30 10:53:58 +02:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Harold Seigel
c108e3a79f
Merge
2013-04-29 16:36:17 -04:00
Harold Seigel
2a692f80bf
8011773: Some tests on Interned String crashed JVM with OOM
...
Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
2013-04-29 16:13:57 -04:00
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02:00
Mikael Gerdin
40531b2009
8013129: Possible deadlock with Metaspace locks due to mixed usage of safepoint aware and non-safepoint aware locking
...
Change Metaspace::deallocate to take lock with _no_safepoint_check_flag
Reviewed-by: coleenp, jmasa, dholmes
2013-04-29 13:07:27 +02:00
Jiangli Zhou
a4ca5b8a49
Merge
2013-04-29 01:58:43 -07:00
Mikael Gerdin
fa84ba4ba9
Merge
2013-04-29 09:31:59 +02:00
Carlos Lucasius
ab42e2c0ca
8010428: Special -agentpath checks needed with minimal VM to produce proper error message
...
Reviewed-by: dholmes, alanb, cjplummer, olagneau
2013-04-28 18:24:04 -04:00
Chris Hegarty
ebbd969118
Merge
2013-04-28 08:15:33 +01:00
Jiangli Zhou
ffaac42580
Merge
2013-04-26 14:41:10 -07:00
Jiangli Zhou
b769cd296f
Merge
2013-04-26 16:58:18 -04:00
Jiangli Zhou
955b42848e
8013036: vm/runtime/simpleThresholdPolicy.cpp: assert(mcs != NULL)
...
Change the assert to if check as MethodCounters could be NULL under TieredCompilation.
Reviewed-by: kvn, twisti
2013-04-26 16:21:03 -04:00
Bharadwaj Yadavalli
2c55e61e3a
Merge
2013-04-26 14:50:23 -04:00
John Cuthbertson
fefd60fcfd
8011898: gc/TestVerifyBeforeGCDuringStartup.java: java.lang.RuntimeException: '[Verifying' missing from stdout/stderr: [Error: Could not find or load main class]
...
System.getProperty("test.java.opts") can return NULL, which gets converted to to the empty string, and the child java command then interprets that as the name of the main class.
Reviewed-by: jmasa, brutisso
2013-04-26 10:57:57 -07:00
Bharadwaj Yadavalli
32b042e285
Merge
2013-04-26 10:52:26 -07:00
Daniel D. Daugherty
6a4aa00cc1
Merge
2013-04-26 08:40:24 -07:00
Vladimir Ivanov
ddcc43f4b5
Merge
2013-04-26 08:33:39 -07:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Eric McCorkle
287d1c2caa
8007154: Remove support for u4 MethodParameter flags fields
...
Remove support for parsing class files with four-byte flags fields in MethodParameters attributes
Reviewed-by: jrose, coleenp
2013-04-26 07:34:02 -04:00
Stefan Karlsson
ad20a6bd76
8013160: NPG: Remove unnecessary mark stack draining after CodeCache::do_unloading
...
Reviewed-by: coleenp, mgerdin
2013-04-26 10:40:36 +02:00
Bengt Rutisson
a6a565abdf
8012915: ReservedSpace::align_reserved_region() broken on Windows
...
Remove unused constructors and helper methods for ReservedHeapSpace and ReservedSpace
Reviewed-by: mgerdin, jmasa, johnc, tschatzl
2013-04-26 09:53:22 +02:00
Alejandro Murillo
94ea3eeac2
8013227: new hotspot build - hs25-b31
...
Reviewed-by: jcoomes
2013-04-26 00:40:22 -07:00
Alejandro Murillo
dcb3f25f45
Added tag hs25-b30 for changeset 18be17ecfd6c
2013-04-26 00:29:12 -07:00
Alejandro Murillo
70e4fcb88c
Merge
2013-04-26 00:29:11 -07:00
Bharadwaj Yadavalli
adf181d9c3
Merge
2013-04-25 13:10:03 -07:00
Ioi Lam
4e19360f89
8008962: NPG: Memory regression: One extra Monitor per ConstantPool
...
Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn
2013-04-25 12:55:49 -07:00
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Igor Ignatyev
5733943877
8012337: Change Whitebox implementation to make absence of method in Whitebox.class not fatal
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:04:36 -07:00
Vladimir Ivanov
f26c1a6c88
8012260: ciReplay: Include PID into the name of replay data file
...
Reviewed-by: kvn, twisti
2013-04-25 11:02:32 -07:00
David Katleman
5863dae579
Added tag jdk8-b87 for changeset b6607ce9fa8d
2013-04-25 09:24:00 -07:00
Serguei Spitsyn
333cf9a756
8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
...
References from operands to CP entries and back must be correct after CP merge
Reviewed-by: coleenp, twisti
2013-04-25 03:58:53 -07:00
Dean Long
9c966207ef
Merge
2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Coleen Phillimore
db8bc15dd2
Merge
2013-04-24 15:57:17 -07:00
Jiangli Zhou
670aea401a
8013041: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
...
Change jmpb() to jmp().
Reviewed-by: coleenp, rdurbin, dcubed
2013-04-24 18:20:04 -04:00
Coleen Phillimore
cd7d504d54
8011803: release_C_heap_structures is never called for anonymous classes
...
Call this function from the ClassLoaderData destructor instead of the system dictionary walk.
Reviewed-by: stefank, mgerdin
2013-04-24 16:19:35 -04:00
Zhengyu Gu
3a817dc8b4
8011218: Kitchensink hanged, likely NMT is to blame
...
Made NMT query safepoint aware.
Reviewed-by: dholmes, coleenp
2013-04-24 14:55:04 -04:00
Stefan Karlsson
f0ae855b07
8013132: Add a flag to turn off the output of the verbose verification code
...
Reviewed-by: johnc, brutisso
2013-04-24 20:13:37 +02:00
Martin Doerr
19d99e3d92
8012715: G1: GraphKit accesses PtrQueue::_index as int but is size_t
...
In graphKit INT operations were generated to access PtrQueue::_index which has type size_t. This is 64 bit on 64-bit machines. No problems occur on little endian machines as long as the index fits into 32 bit, but on big endian machines the upper part is read, which is zero. This leads to unnecessary branches to the slow path in the runtime.
Reviewed-by: twisti, johnc
2013-04-24 14:48:43 -07:00
Mikael Gerdin
316993b3db
8013136: NPG: Parallel class loading tests fail after fix for JDK-8011802
...
Move initialization of dependencies to before allocation of CLD
Reviewed-by: stefank, coleenp
2013-04-24 19:55:02 +02:00
Harold Seigel
d567edd809
8012695: Assertion message displays %u and %s text instead of actual values
...
USe err_msg() to create a proper assertion message.
Reviewed-by: twisti, coleenp, iklam
2013-04-24 09:00:04 -04:00
Gilles Duboscq
34da1742ef
8012292: optimized build with GCC broken
...
Some #ifndef PRODUCT should be #ifdef ASSERT
Reviewed-by: kvn, twisti
2013-04-24 14:26:09 +02:00
Roland Westrelin
20b5d3aa4f
8012037: Test8009761.java "Failed: init recursive calls: 7224. After deopt 58824"
...
Test shouldn't be run with a modified CompileThreshold
Reviewed-by: kvn
2013-05-03 09:32:50 +02:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Albert Noll
34f8be0bc9
8013496: Code cache management command line options work only in special order. Another order of arguments does not deliver the second parameter to the jvm
...
Moved check that ReservedCodeCacheSize >= InitialCodeCacheSize to Arguments::check_vm_args_consistency(). As a result, the ordering in which the two parameters are given to the VM is not relevant. Added a regression test.
Reviewed-by: kvn, twisti
2013-05-31 06:41:50 +02:00
Vladimir Kozlov
ff008d0615
8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity
...
Relax the assert to accept any raw ptr types.
Reviewed-by: roland
2013-05-31 13:54:47 -07:00
Roland Westrelin
6a17746b6c
8009981: nashorn tests fail with -XX:+VerifyStack
...
Nmethod::preserve_callee_argument_oops() must take appendix into account.
Reviewed-by: kvn, twisti
2013-05-31 14:40:26 +02:00
Christian Thalinger
337a9c1432
8015266: fix some -Wsign-compare warnings in adlc
...
Reviewed-by: kvn
2013-05-30 08:37:08 -07:00
Roland Westrelin
2e5f473752
8015585: Missing regression test for 8011771
...
Missing regression test
Reviewed-by: kvn
2013-05-30 11:21:01 +02:00
Chris Hegarty
a438830cd8
Merge
2013-04-24 10:17:40 +01:00
Roland Westrelin
95ce391b51
8011771: runThese crashed with EAV
...
Array bound check elimination's in block motion doesn't always reset its data structures from one step to the other.
Reviewed-by: kvn, twisti
2013-04-24 09:42:08 +02:00
Jiangli Zhou
8c2c17a067
8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization
...
Change br_null_short() to br_null().
Reviewed-by: coleenp, hseigel
2013-04-23 12:32:17 -04:00
Albert Noll
0bfc34cfd5
8012157: removed unused code in SharedRuntime::handle_wrong_method
...
Reviewed-by: kvn, roland, rbackman
2013-04-23 18:06:54 +02:00
Bharadwaj Yadavalli
cadadd73c2
8012961: Do not restrict static interface methods to be private
...
Lambda changes; spec 0.6.2 - remove the restriction that was added as part of recent changes made to support upcoming changes to compilation of lambda methods.
Reviewed-by: dholmes, acorn
2013-04-23 08:12:14 -07:00
Albert Noll
ca3a625f1e
8010332: removed unused method: ciMethod::uses_monitors
...
Reviewed-by: twisti, roland
2013-04-23 13:48:02 +02:00
Sean Mullan
1fc6a72e9d
8011896: Add check for invalid offset for new AccessControlContext isAuthorized field
...
Reviewed-by: acorn
2013-04-22 08:33:12 -04:00
Daniel D. Daugherty
2cb874268e
Merge
2013-04-21 21:05:02 -07:00
Daniel D. Daugherty
138bab2963
8012907: anti-delta fix for 8010992
...
Anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
2013-04-21 20:41:04 -07:00
Peter Allwin
a5c3cd8ee3
6729929: I18N - Taking Heap Dump failed if project path contains multibyte characters
...
Reviewed-by: dholmes, rbackman
2013-04-20 19:02:11 +02:00
Serguei Spitsyn
87f3086e13
8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition
...
Lazily create and maintain the MemberNameTable to be able to update MemberName's
Reviewed-by: coleenp, jrose, dholmes
2013-04-20 04:07:08 -07:00
Daniel D. Daugherty
46b3969016
Merge
2013-04-19 16:51:27 -07:00
Daniel D. Daugherty
dec02ae201
Merge
2013-04-19 13:48:54 -07:00
Yumin Qi
735ab2cd1c
8010992: Remove calls to global ::operator new[] and new
...
Disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
2013-04-19 11:08:52 -07:00
Alejandro Murillo
94d9107a7b
8012559: new hotspot build - hs25-b30
...
Reviewed-by: jcoomes
2013-04-19 10:09:11 -07:00
Alejandro Murillo
3f90a08c13
Added tag hs25-b29 for changeset 4beed8bc9715
2013-04-19 09:58:06 -07:00
Alejandro Murillo
d60d7014ed
Merge
2013-04-19 09:58:05 -07:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
824a51963f
Merge
2013-04-18 16:04:33 -07:00
Jiangli Zhou
a86e7e948c
Merge
2013-04-18 17:00:16 -04:00
Bharadwaj Yadavalli
8206331fb9
Merge
2013-04-18 14:03:37 -04:00
David Katleman
28c4fc4666
Added tag jdk8-b86 for changeset b1cf5aefa461
2013-04-18 10:30:11 -07:00
Bharadwaj Yadavalli
f63b13e379
8006267: InterfaceMethod_ref should allow invokestatic and invokespecial
...
Lambda changes; spec 0.6.2 - Allow static invokestatic and invokespecial calls to InterfaceMethod_ref
Reviewed-by: dholmes, acorn
2013-04-18 08:05:35 -07:00
Zhengyu Gu
cfaea9fe7d
8012464: NMT: classes should not derive from _ValueObj, use VALUE_OBJ_CLASS_SPEC instead
...
NMT value objects should use VALUE_OBJ_CLASS_SPEC instead of deriving from _ValueObj
Reviewed-by: coleenp, hseigel, dholmes
2013-04-18 10:04:44 -04:00
Mikael Gerdin
f01ea84a24
Merge
2013-04-18 14:38:31 +02:00
Bengt Rutisson
687b6a8d44
8012455: Missing time and date stamps for PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime
...
Also reviewed by: kirk@kodewerk.com , brandon@twitter.com
Reviewed-by: tschatzl, stefank, johnc
2013-04-18 06:50:35 +02:00
David Katleman
738e12d844
Merge
2013-04-17 12:38:58 -07:00
Martin Doerr
d61a4656e4
8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
...
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.
Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Harold Seigel
54b7ae1ff9
8009928: PSR:PERF Increase default string table size
...
Increase default string table size to 60013 for 64-bit platforms.
Reviewed-by: coleenp, dholmes
2013-04-17 08:20:02 -04:00
Ron Durbin
2b3d514995
Merge
2013-04-16 08:59:29 -07:00
Roland Westrelin
bad6728ea4
8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
...
Instruct xaddL_no_res shouldn't allow 64 bit constants.
Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
David Katleman
fd2735329e
Merge
2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312
8012048: JDK8 b85 source with GPL header errors
...
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Alejandro Murillo
6aa1ba2f50
8011949: new hotspot build - hs25-b29
...
Reviewed-by: jcoomes
2013-04-11 21:54:46 -07:00
Alejandro Murillo
2a029f80ad
Added tag hs25-b28 for changeset cd2648ba846b
2013-04-11 21:45:21 -07:00
Alejandro Murillo
f70baf4c46
Merge
2013-04-11 21:45:20 -07:00
Jiangli Zhou
9ce964ad38
8012052: java/lang/invoke/6987555/Test6987555.java crashes with assert(mcs != NULL) failed: MethodCounters cannot be NULL
...
Skip counter decay if the MethodCounters is NULL in NonTieredCompPolicy::delay_compilation().
Reviewed-by: kvn, dholmes
2013-04-11 23:06:33 -04:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00