Commit Graph

4623 Commits

Author SHA1 Message Date
Vladimir Danushevsky
cd7d5cba42 Merge 2013-05-01 10:10:57 -04: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
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
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
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
Alejandro Murillo
8a2ec195f6 Merge 2013-04-11 16:35:19 -07:00
Vladimir Ivanov
9e673d1cc1 Merge 2013-04-11 11:42:41 -07:00
David Katleman
3a62b96673 Added tag jdk8-b85 for changeset 462779762d8a 2013-04-11 09:39:57 -07:00
Vladimir Ivanov
50821686b5 8011972: Field can be erroneously marked as contended when @Contended annotation isn't present
Reviewed-by: kvn, kmo, shade
2013-04-11 09:08:15 -07:00
Mikael Gerdin
0393fa9b49 Merge 2013-04-11 16:35:34 +02:00
Krystal Mo
fe4b74edc7 8011952: Missing ResourceMarks in TraceMethodHandles
Add missing ResourceMark under TraceMethodHandles in LinkResolver

Reviewed-by: dholmes
2013-04-11 07:12:09 -07:00
Nils Eliasson
92ef5fe748 8006952: Slow VM due to excessive code cache freelist iteration
Remove continous free block requirement

Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Igor Ignatyev
33e3f6b59b 8011971: WB API doesn't accept j.l.reflect.Constructor
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
Nils Eliasson
23e34191a6 Merge 2013-04-16 10:37:16 -04:00
Niclas Adlertz
09fdc18edc 8011621: live_ranges_in_separate_class.patch
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
Roland Westrelin
115caa72a0 Merge 2013-04-15 18:42:42 -07:00
Christian Thalinger
fbdab16d85 7172922: export_ makefile targets do not work unless all supported variants are built
Reviewed-by: dholmes, kvn
2013-04-15 16:20:05 -07:00
Roland Westrelin
9f96eb3ed5 8011648: C1: optimized build is broken after 7153771
Missing #ifdef ASSERT

Reviewed-by: kvn
2013-04-15 17:17:11 +02:00
Roland Westrelin
361d401c11 8011582: assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range
C1 runtime's predicate_failed_trap should use jump_to on sparc

Reviewed-by: kvn
2013-04-15 09:42:46 +02:00