Jiangli Zhou
e009341957
Merge
2013-05-02 12:16:01 -04: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
Jiangli Zhou
a4ca5b8a49
Merge
2013-04-29 01:58:43 -07: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
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
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
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
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
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04: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
Mikael Gerdin
0393fa9b49
Merge
2013-04-11 16:35:34 +02:00
Niclas Adlertz
09fdc18edc
8011621: live_ranges_in_separate_class.patch
...
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
David Chase
55c4ce1ca1
7104565: trim jprt build targets
...
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources
Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Zhengyu Gu
37fe1421a8
8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
...
Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.
Reviewed-by: dholmes, dlong
2013-04-10 08:55:50 -04:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Bengt Rutisson
4a685f181b
7197666: java -d64 -version core dumps in a box with lots of memory
...
Allow task queues to be mmapped instead of malloced on Solaris
Reviewed-by: coleenp, jmasa, johnc, tschatzl
2013-04-08 07:49:28 +02:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07: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
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +02:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07: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
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
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
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
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
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
Zhengyu Gu
661b263eb2
Merge
2013-03-21 06:53:53 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Ron Durbin
a003234ac8
8010396: checking MallocMaxTestWords in testMalloc() function is redundant
...
Remove redundant checks in testMalloc and add assert.
Reviewed-by: dcubed, coleenp, dholmes
2013-03-20 20:44:54 -07:00
Tao Mao
0268771fc4
7196080: assert(max_heap >= InitialHeapSize) in arguments.cpp
...
Remove the related assertions becasue they do not hold here.
Reviewed-by: jmasa, tschatzl
2013-03-20 12:27:03 -07:00
Zhengyu Gu
b799726f35
8009298: NMT: Special version of class loading/unloading with runThese stresses out NMT
...
8009777: NMT: add new NMT dcmd to control auto shutdown option
Added diagnostic VM option and DCmd command to allow NMT stay alive under stress situation
Reviewed-by: dcubed, coleenp
2013-03-20 09:42:48 -04:00
Coleen Phillimore
e21f2d67e1
8008217: CDS: Class data sharing limits the malloc heap on Solaris
...
In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress. In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address.
Reviewed-by: kvn, dcubed, zgu, hseigel
2013-03-20 08:04:54 -04:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00