4463 Commits

Author SHA1 Message Date
Roland Westrelin
bdb8050bbf 8043413: REGRESSION: Hotspot causes segmentation fault in jdk8ux, but not in jdk7ux
Long series of lambda form calls trigger stack overflow in c2

Reviewed-by: kvn, vlivanov
2014-06-02 10:01:15 +02:00
Tobias Hartmann
2a0815a55e 8034812: remove IDX_INIT macro hack in Node class
The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly.

Reviewed-by: kvn, jrose, iveresov, goetz
2014-06-02 08:07:29 +02:00
Igor Ignatyev
b053fa4c48 Merge 2014-05-30 20:01:11 +00:00
Igor Ignatyev
f99eed3f24 8038756: new WB API :: get/setVMFlag
Reviewed-by: vlivanov, sla
2014-05-30 17:20:48 +04:00
Albert Noll
a3b9ebba8d 8011646: SEGV in compiled code with loop predication
Remove control edge of load node to ensure that castPP removal sets the control edge correctly

Reviewed-by: kvn, roland
2014-05-30 06:50:38 +02:00
Peter Allwin
09afb7b210 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method
Reviewed-by: dholmes, sspitsyn
2014-05-22 09:12:29 +02:00
Coleen Phillimore
b2989563ad Merge 2014-05-21 19:08:08 +00:00
Coleen Phillimore
ead7a2760b 8042727: nsk/jdb/unwatch/unwatch001 crash in InstanceKlass::methods_do(void (*)(Method*))
Only walk methods in instanceklass if the class is loaded

Reviewed-by: dholmes, fparain
2014-05-21 14:36:18 -04:00
Chuck Rasbold
1bf7f2b9a6 8043354: 8043354: Make is_return_allocated() respect allocated objects than can method-escape
In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.

Reviewed-by: kvn
2014-05-21 10:54:59 -07:00
Erik Helin
8876554e3c 8043639: Backout JDK-8034852: Shrinking of Metaspace high-water-mark causes incorrect OutOfMemoryErrors or back-to-back GCs
Reviewed-by: stefank, tschatzl
2014-05-21 16:11:04 +02:00
Nils Eliasson
506db6a0ea 8031475: Missing oopmap in patching stubs
Add patch test for lir_checkcast in compute_oop_map

Reviewed-by: roland, twisti
2014-05-21 11:25:25 +02:00
Staffan Larsen
7f721c111b 8043314: Fix for JDK-8041934 causes assert(is_interpreted_frame()) failed: interpreted frame expected
Back out fix for JDK-8041934

Reviewed-by: coleenp, sspitsyn
2014-05-20 20:35:39 +02:00
Per Lidén
eddf95338d 8039042: G1: Phantom zeros in cardtable
Reviewed-by: tschatzl, mgerdin
2014-05-20 10:24:30 +02:00
Jon Masamitsu
92baa3214c Merge 2014-05-19 08:09:35 -07:00
Coleen Phillimore
024bb79ec8 Merge 2014-05-17 19:34:38 -04:00
Krystal Mok
e8c1213b23 8043264: hsdis library not picked up correctly on expected paths
Fix file separator issue on Windows

Reviewed-by: sla, sspitsyn
2014-05-17 01:59:43 -07:00
Serguei Spitsyn
7f2b064e43 8042796: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Relax the guaranty for deleted methods

Reviewed-by: dcubed, coleenp
2014-05-16 15:05:44 -07:00
Yumin Qi
ec3e742de1 8042885: java does not take hexadecimal number as vm option
Java does not take number with hexadecimal format as options, fix enable hexadecimal format number can be used as vm option.

Reviewed-by: coleenp, lfoltan, ctornqvi, hseigel, mseledtsov
2014-05-15 20:16:14 -07:00
Coleen Phillimore
c336175c94 8038212: Method::is_valid_method() check has performance regression impact for stackwalking
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.

Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Yuri Gaevsky
cc3c656cf1 8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.

Reviewed-by: coleenp, hseigel
2014-05-15 17:38:50 -04:00
Christian Thalinger
115d44f61b Merge 2014-05-15 11:35:26 -07:00
Lois Foltan
ca501f6b00 8041918: BootstrapMethods attribute cannot be empty
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.

Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Igor Veresov
d7b76028a4 8043063: Code aging should allocate MethodCounters when flushing a method
Make sure that MethodCounters are present when the method is flushed for the first time to switch on code aging

Reviewed-by: kvn
2014-05-14 14:28:09 -07:00
Rickard Backman
f0baee0a2c 8041934: com/sun/jdi/RepStep.java fails in RT_Baseline on all platforms with assert(_cur_stack_depth == count_frames()) failed: cur_stack_depth out of sync
Missing call to jvmti_method_exit from native wrapper code

Reviewed-by: twisti, dcubed, sspitsyn
2014-05-14 20:44:33 +02:00
David Chase
ac6a099ed7 8043164: Format warning in traceStream.hpp
Added cast to placate gcc

Reviewed-by: kvn, zgu
2014-05-14 22:54:45 -04:00
Volker Simonis
397abe646b 8043029: Change 8037816 breaks HS build with older GCC versions which don't support diagnostic pragmas
Added conditions around macro definitions for pragmas.

Reviewed-by: kvn
2014-05-14 12:09:13 -04:00
Per Lidén
04341bfffb 8040804: G1: Concurrent mark stuck in loop calling os::elapsedVTime()
Reviewed-by: brutisso, tschatzl
2014-05-14 14:32:23 +02:00
Per Lidén
3f35cb0ca0 8040803: G1: Concurrent mark hangs when mark stack overflows
Reviewed-by: brutisso, ehelin
2014-05-14 13:32:44 +02:00
David Holmes
7ddc1c7f4e Merge 2014-05-12 20:25:53 -04:00
David Holmes
24cbe2a44d 8032551: Remove UsePPCLWSYNC from globals.hpp
Reviewed-by: lfoltan, zgu
2014-05-12 20:20:19 -04:00
Harold Seigel
976e7c8aa7 8040292: Annotation attributes must not appear more than once
Add checks for duplicate attributes.

Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04:00
Lois Foltan
fc1a61a3df Merge 2014-05-12 15:50:20 +00:00
Volker Simonis
693f28c012 8039805: Fix the signature of the global new/delete operators in allocation.cpp
Reviewed-by: dholmes, lfoltan
2014-05-12 09:59:56 -04:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
Jon Masamitsu
c69251b879 Merge 2014-05-09 19:47:41 -07:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Erik Helin
8629eeb403 8034852: Shrinking of Metaspace high-water-mark causes incorrect OutOfMemoryErrors or back-to-back GCs
Reviewed-by: jmasa, pliden, stefank
2014-05-09 09:59:39 +02:00
Jon Masamitsu
39154726de Merge 2014-05-08 18:22:22 -07:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268 8042737: Introduce umbrella header prefetch.inline.hpp
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Yuri Gaevsky
5ec44ad8e9 6883953: java -client -XX:ValueMapInitialSize=0 crashes
Added lower bound check for ValueMapInitialSize

Reviewed-by: kvn
2014-05-20 09:35:05 +02:00
Bharadwaj Yadavalli
c66bd8445c 6563994: assert(wf.check_method_context(ctxk, m), "proper context") failed
Check for redefined method before finding unique concrete method

Reviewed-by: twisti, kvn
2014-05-19 20:28:35 +00:00
Christian Thalinger
12a085f587 Merge 2014-05-16 14:38:42 -07:00
Christian Thalinger
43ba79fce3 Merge 2014-05-16 14:35:37 -07:00
Vladimir Kozlov
5109884dec Merge 2014-05-16 12:06:36 -07:00
Vladimir Kozlov
6bfc0288f3 8042786: Proper fix for 8032566
Check for overflow cases in range checks and collapse it if we can.

Reviewed-by: jrose, iveresov
2014-05-16 12:05:14 -07:00
Igor Veresov
a2eea4770a 8043180: SIGSEGV in Events::log_deopt_message
Added missing deopt reason name Reason_tenured

Reviewed-by: kvn, twisti
2014-05-15 10:37:52 -07:00
Roland Westrelin
7ef690b2c7 8026694: New type profiling points break compilation replay
Fixes compilation replay with new profiling points

Reviewed-by: kvn, twisti
2014-05-15 09:09:28 +02:00
Andreas Sjoberg
09c2deeb5a 8042474: Clean up duplicated code in RSHashTable
Removed duplicate code in RSHashTable to fetch SparsePRTEntries

Reviewed-by: tschatzl, brutisso
2014-05-08 10:29:17 +02:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00