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
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Niclas Adlertz
340226f16a
8006016: Memory leak at hotspot/src/share/vm/adlc/output_c.cpp
...
Reviewed-by: kvn, roland
2013-04-05 11:09:43 +02:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Mikael Gerdin
c17d80e53d
Merge
2013-04-04 19:07:32 +02:00
Niclas Adlertz
5548661d72
8006014: Memory leak in hotspot/src/share/vm/adlc/dfa.cpp
...
Reviewed-by: kvn, roland
2013-04-04 09:30:06 +02:00
Niclas Adlertz
0f3a43e318
8006008: Memory leak in hotspot/src/share/vm/adlc/archDesc.cpp
...
Reviewed-by: roland, kvn
2013-04-04 09:18:47 +02:00
Chuck Rasbold
93c40233d6
8010437: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
...
Fix shorten_branches() to accurately count an initial nop that may be inserted in a block that starts with a safepoint.
Reviewed-by: kvn
2013-04-03 15:00:55 -07:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +02:00
Zhengyu Gu
5fda3f38d9
Merge
2013-04-02 07:40:52 -07:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Thomas Schatzl
45cc7f61db
8005857: assert in GC_locker from PSOldGen::expand with -XX:+PrintGCDetails and Verbose
...
Use GC_locker::is_active_and_needs_gc() instead of GC_locker::is_active() for providing information about the reason of heap expansion.
Reviewed-by: jmasa, johnc
2013-04-02 10:03:02 +02:00
Ioi Lam
ba2c11a93a
8011048: Possible reading from unmapped memory in UTF8::as_quoted_ascii()
...
Pass utf_length parameter to UTF8::as_quoted_ascii()
Reviewed-by: dcubed, minqi
2013-04-01 14:05:41 -07:00
Krystal Mo
214b7d9dcf
8011009: Use do-while(0) instead of while(0) in EC_TRACE and RC_TRACE* macros
...
Improve EC_TRACE and RC_TRACE* to use the do-while(0) trick for statement-like macro
Reviewed-by: sspitsyn, dcubed
2013-03-30 08:01:05 -07:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07:00
Roland Westrelin
3c586e8f26
8010934: assert failure in c1_LinearScan.cpp: "asumption: non-Constant instructions have only virtual operands"
...
Incorrect code to skip some ArrayLength instructions in LIRGenerator
Reviewed-by: kvn
2013-03-29 17:25:27 +01:00
Ioi Lam
cbe728a9bd
8010723: fatal error: acquiring lock Metaspace allocation lock/5 out of order
...
Avoid holding SystemDictionary_lock while calling Klass::remove_unshareable_info
Reviewed-by: coleenp, acorn
2013-03-31 21:43:10 -04:00
Daniel D. Daugherty
2484584e6d
Merge
2013-03-29 08:38:00 -07:00
Bengt Rutisson
fe88c92e9e
Merge
2013-03-28 09:07:44 +01:00
Yumin Qi
2c04384107
Merge
2013-03-28 00:44:15 -07:00
Zhengyu Gu
bd7432ce0b
Merge
2013-03-27 22:05:21 -07:00
Yumin Qi
76cc94fb99
2178143: JVM crashes if the number of bound CPUs changed during runtime
...
Supply a new flag -XX:+AssumeMP to workaround the problem. With the flag is turned on, assume VM run on MP platform so is_MP() will return true that sync calls will not skip away.
Reviewed-by: dholmes, acorn, dcubed, jmasa
2013-03-27 17:03:19 -07:00
Karen Kinnear
8e1f6dce02
Merge
2013-03-27 16:31:00 -07:00
Zhengyu Gu
58042e4651
Merge
2013-03-27 13:07:41 -07:00
Zhengyu Gu
7363c58e32
8010474: [parfait] Undefined return value of the functions in hotspot/src/share/vm/services/memTracker.hpp
...
Fixed functions that miss return values
Reviewed-by: coleenp, acorn, kvn
2013-03-27 15:41:53 -04:00
Karen Kinnear
b79e2c6803
8009731: Confusing error message for loader constraint violation
...
Fix text, overwritten type and holder for resolved method
Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Coleen Phillimore
878c7e4cd0
8009531: Crash when redefining class with annotated method
...
Neglected to copy the annotations in clone_with_new_data when they were moved to ConstMethod.
Reviewed-by: acorn, sspitsyn, dcubed
2013-03-27 08:19:50 -04:00
Erik Helin
cf6d13410c
8010818: NPG: Remove metaspace memory pools
...
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Vladimir Kozlov
848ccdbdfe
8004640: C2 assert failure in memnode.cpp: NULL+offs not RAW address
...
Always transform AddP nodes in IdealKit by calling _gvn.transform().
Reviewed-by: roland, twisti
2013-03-26 12:55:26 -07:00
Harold Seigel
a96ab956fa
Merge
2013-03-26 12:43:32 -07:00
Joel Borggren-Franck
ee3ea81f65
8009382: Add JVM_Get{Field|Method}TypeAnnotations
...
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00
Harold Seigel
feec2af7b4
8009595: The UseSplitVerifier option needs to be deprecated
...
Put UseSplitVerifier option on the deprecated list.
Reviewed-by: dcubed, kmo, acorn
2013-03-26 09:06:16 -04:00
Niclas Adlertz
143a0039a3
8010281: Remove code that is never executed
...
Reviewed-by: kvn, roland
2013-03-26 10:05:33 +01:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Harold Seigel
41f0004e4f
8010667: Non-zero padding is not allowed in splitverifier for tableswitch/lookupswitch instructions
...
Don't check the padding bits if class file version is >= 51.
Reviewed-by: kvn, dholmes, coleenp
2013-03-25 08:37:28 -04:00
Stefan Karlsson
bed324d7f9
Merge
2013-03-25 11:00:19 +01:00
Morris Meyer
e4b1cf5f02
Merge
2013-03-24 12:43:13 -07:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07:00
Morris Meyer
981e9c35c9
8009026: [parfait] Null pointer deference in hotspot/src/share/vm/code/nmethod.cpp
...
Add guarantee() to nmethod constructor and checks to ensure CodeCache has space before allocation
Reviewed-by: kvn
2013-03-23 06:22:07 -07:00
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07:00
Thomas Schatzl
bb5bd507d7
7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
...
Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao
2013-03-27 19:21:18 +01:00
Mikael Gerdin
89120e7827
7014552: gc/lock/jni/jnilockXXX works too slow on 1-processor machine
...
Keep a counter of how many times we were stalled by the GC locker, add a diagnostic flag which sets the limit.
Reviewed-by: brutisso, ehelin, johnc
2013-03-28 10:27:28 +01:00
Vladimir Danushevsky
85009b165f
Merge
2013-03-22 17:23:31 -07:00
Stefan Karlsson
85a6adbce2
Merge
2013-03-22 12:32:09 -07:00
Bharadwaj Yadavalli
69a1275cf2
Merge
2013-03-22 13:35:31 -04:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Bharadwaj Yadavalli
6132db352d
8009539: JVM crash when run lambda testng tests
...
Ensure class pointer is non-null before dereferencing it to check if it is loaded.
Reviewed-by: kvn
2013-03-22 07:58:55 -07:00
Joseph Provino
7db9e6c7cc
Merge
2013-03-22 10:09:47 -04:00