3074 Commits

Author SHA1 Message Date
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
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
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
fd1ead19be 8014044: Spelling error in JDK-8009615: boostrapmethod
Reviewed-by: sspitsyn, coleenp
2013-05-07 14:04:26 +02:00
Staffan Larsen
db19e8b60f Merge 2013-05-07 01:25:21 +02:00
Karen Kinnear
a37bc54517 Merge 2013-05-06 12:36:20 -07: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
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
Daniel D. Daugherty
79f4c78a72 Merge 2013-05-03 15:51:16 -07:00
Zhengyu Gu
5948d45dd8 Merge 2013-05-03 13:00:28 -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
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
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
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
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
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
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
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
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