1316 Commits

Author SHA1 Message Date
Bharadwaj Yadavalli
32b042e285 Merge 2013-04-26 10:52:26 -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
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
Igor Ignatyev
0a434e425b 8011675: adding compilation level to replay data
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -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
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
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
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
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
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