Commit Graph

6459 Commits

Author SHA1 Message Date
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
Alejandro Murillo
563feb9091 Merge 2014-05-09 08:34:22 -07:00
Christian Tornqvist
3e6986fb58 8042726: [TESTBUG] TEST.groups file was not updated after runtime/6925573/SortMethodsTest.java removal
Removed runtime/6925573/SortMethodsTest.java from TEST.groups

Reviewed-by: gtriantafill, lfoltan, coleenp, dholmes
2014-05-09 17:06:52 +02:00
Christian Tornqvist
20e8dfef53 8042471: Unable to build JDK 9 Hotspot within VS2010
Fixed quoting issue and passing on defines to project file

Reviewed-by: mgronlun, sla
2014-05-09 17:06:17 +02: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
Lana Steuck
e0fa855707 Merge 2014-05-08 15:26:57 -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
016522949f Merge 2014-05-19 13:49:25 -07: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
Igor Ignatyev
1af450a3cb 8032498: compiler/ciReplay tests fail with StatusError: failed to clean up files after test..
Reviewed-by: kvn
2014-05-19 23:52:23 +04: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
David Katleman
9456b3c803 Added tag jdk9-b12 for changeset db0b706c8253 2014-05-08 01:05:13 -07:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Zhengyu Gu
adcde492fa 8041415: remove port.{cpp,hpp} files
Hotspot should use standard headers and types

Reviewed-by: coleenp, kvn
2014-05-07 06:03:31 -07:00
Lois Foltan
eddb53ffb9 8041620: Solaris Studio 12.4 C++ 5.13 change in behavior for placing friend declarations within surrounding scope
Remove adlc's unused class FileBuffRegion.

Reviewed-by: coleenp, dholmes, kvn
2014-05-06 09:56:55 -04:00
Lois Foltan
ee1b91d3f0 8041627: Solaris Studio 12.4 C++ 5.13 compilation error due to lack of "surplus" prototype for binaryTreeDictionary.cpp
Fix C++ compilation error diagnostic for the call of "surplus" within get_better_list() method.

Reviewed-by: coleenp, dholmes
2014-05-06 08:59:57 -04:00
Coleen Phillimore
7e2463ea72 8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Cache detail message when we cache exception for constant pool resolution.

Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Staffan Larsen
a51135b202 8031126: java/lang/management/ThreadMXBean/ThreadUserTime.java fails intermittently
Reviewed-by: coleenp, simonis, goetz, gthornbr
2014-05-05 20:17:19 +02:00
Christian Thalinger
78bfdda141 Merge 2014-05-02 19:00:04 -07:00
Daniel D. Daugherty
0b8b6462e4 Merge 2014-05-02 11:06:26 -07:00
Alejandro Murillo
c202b95c0f Merge 2014-05-02 09:52:17 -07:00
Shrinivas Joshi
d3e5e9eb8d 8042281: compiler/7184394/TestAESMain.java fails with: javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
Added missing -DmsgSize=640 to test's run commands.

Reviewed-by: kvn
2014-05-01 17:57:29 -07:00
Lana Steuck
a4deebf85a Merge 2014-05-01 14:20:19 -07:00
David Katleman
de507c567d Added tag jdk9-b11 for changeset e21de7fd0dd1 2014-05-01 12:50:03 -07:00
Zhengyu Gu
16a3e2f16d 6885993: Named Thread: introduce print() and print_on(outputStream* st) methods
Eliminating duplicated code by introducing print_on(outputStream* st) methods in NamedThread

Reviewed-by: twisti, coleenp, dholmes
2014-05-01 05:52:28 -07:00
Jon Masamitsu
799155b537 Merge 2014-04-30 14:43:00 -07:00
Shrinivas Joshi
c0f886ec65 8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.

Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -07:00
Mikael Vidstedt
c781bb874f 8042059: Various fixes to linux/sparc
Reviewed-by: twisti, kvn
2014-04-29 22:05:10 -07:00
Mikael Vidstedt
e88c91e4c3 8022070: Compilation error in stubGenerator_sparc.cpp with some compilers
Reviewed-by: twisti, kvn
2014-04-29 22:04:09 -07:00
Vladimir Kozlov
d9056b18ee 8041957: -XX:UseAVX=0 cause assert(UseAVX) failed
Temporary set UseAVX=1 and UseSSE=2 in generate_get_cpu_info()

Reviewed-by: twisti
2014-04-29 12:20:53 -07:00
Vladimir Kozlov
5c074b749c 8041959: Skip replay parsing errors with ReplayIgnoreInitErrors
Allow replay compilation with replay file parsing error.

Reviewed-by: twisti, iveresov
2014-04-29 10:29:56 -07:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Albert Noll
3073f25b0d 8042570: Excessive number of tests timing out on nightly testing due to fix for 8040798
Remove unnecessary lock in CompileBroker::mark_on_stack() that causes the deadlock

Reviewed-by: kvn, dcubed
2014-05-07 22:06:42 +02:00
Goetz Lindenmaier
9d479b16de 8042309: Some bugfixes for the ppc64 port
Reviewed-by: kvn
2014-05-02 14:53:06 +02:00
Volker Simonis
142ed91465 8042443: Fix C++-Interpreter after "8036956: remove EnableInvokeDynamic flag"
Insert missing bracket to make the interpreter build again

Reviewed-by: sla
2014-05-06 13:08:28 +02:00
Albert Noll
5f49f406c7 Merge 2014-05-06 08:01:14 +00:00
Albert Noll
4eb39cef62 8042428: CompileQueue::free_all() code is incorrect
Free task after getting next pointer of freelist.

Reviewed-by: kvn, adlertz
2014-05-06 09:52:38 +02:00
Tobias Hartmann
85296fec28 8036851: volatile double accesses are not explicitly atomic in C2
The C2 structure is adapted to distinguish between volatile and non-volatile double accesses.

Reviewed-by: twisti, kvn
2014-05-06 09:17:57 +02:00
Tobias Hartmann
ded0d16e25 8042052: assert(t != NULL) failed: must set before get
Added missing call to _gvn.transform to make sure the type of the PhiNode is recorded in the gvn.

Reviewed-by: kvn
2014-05-05 15:10:43 +02:00
Christian Thalinger
d025c1f6ce Merge 2014-05-02 19:10:24 -07:00
Vladimir Kozlov
c909ac41de 8039298: assert(base == NULL || t_adr->isa_rawptr() || !phase->type(base)->higher_equal(TypePtr::NULL_PTR))
Convert the assert into the runtime check to skip IGVN optimizations for problematic memory nodes. Eliminate dead nodes more aggressively.

Reviewed-by: twisti, iveresov
2014-05-02 16:44:54 -07:00
Igor Ignatyev
3e18a6f16d Merge 2014-05-02 09:30:17 +00:00
Igor Ignatyev
fd25edc683 8042214: add @ignore tag to all excluded jtreg tests in test/compiler
Reviewed-by: kvn, ctornqvi
2014-05-02 13:20:42 +04:00
Albert Noll
4865736713 Merge 2014-05-01 21:30:54 -07:00
Severin Gehwolf
a92fee550e 8041992: Fix of JDK-8034775 neglects to account for non-JIT VMs
Allow 0 compiler threads if no JIT is used.

Reviewed-by: kvn, dholmes
2014-05-02 06:24:39 +02:00
Bengt Rutisson
9968a23667 7132678: G1: verify that the marking bitmaps have no marks for objects over TAMS
Co-authored-by: Tony Printezis <tony.printezis@oracle.com>
Reviewed-by: jmasa, tschatzl, ehelin
2014-04-29 09:33:20 +02:00
Albert Noll
b1d07c3707 Merge 2014-04-29 07:14:46 +00:00
Tobias Hartmann
06c26b6f97 8036956: remove EnableInvokeDynamic flag
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.

Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Albert Noll
dab05a3040 8040798: compiler/startup/SmallCodeCacheStartup.java timed out in RT_Baseline
Fixes broken memory freeing of compile queue tasks and makes sure that blocking compiles do not hang the VM if compilation gets disabled due to a full code cache.

Reviewed-by: kvn, iveresov
2014-04-29 07:59:22 +02:00
Morris Meyer
3fddcd2712 8040919: Uninitialised memory in hotspot/src/share/vm/compiler/oopMap.cpp
Parfait refactoring in OopMapSet::update_register_map

Reviewed-by: kvn, twisti
2014-04-28 16:05:12 -07:00
David Chase
cd35f69721 8039407: Regression test needed for JDK-8015396
Converted bug demo into regression test

Reviewed-by: kvn
2014-04-28 15:09:39 -04:00
Tobias Hartmann
856856524e 8041771: C1: remove unused IR::_locals_size
The unused IR::_locals_size is removed.

Reviewed-by: kvn, roland
2014-04-28 14:34:12 +02:00
Albert Noll
7e3f05c6f7 Merge 2014-04-28 03:44:35 -07:00
Albert Noll
ff3717e719 8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache
Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod

Reviewed-by: roland, iveresov
2014-04-28 12:39:12 +02:00
Staffan Larsen
a792009a9f Merge 2014-04-28 09:31:25 +00:00
Staffan Larsen
c1abf998a6 8041980: (hotspot) sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
Reviewed-by: mgronlun, kamg
2014-04-28 09:27:47 +02:00
Peter Allwin
a610e558a5 Merge 2014-04-27 18:57:56 +02:00
Bharadwaj Yadavalli
469f17357c Merge 2014-04-25 14:29:47 -04:00
Alejandro Murillo
dfde2b55a8 Merge 2014-04-25 09:59:44 -07:00
Erik Helin
b5474c811c Merge 2014-04-25 15:50:13 +02:00
Niclas Adlertz
922879d58e 8029302: Performance regression in Math.pow intrinsic
Added special case for x^y where y == 2

Reviewed-by: kvn, roland
2014-04-25 12:48:34 +02:00
Markus Grönlund
3852709df9 8041723: Event Based tracing ids to be reassigned for CDS klasses
Reviewed-by: coleenp, ehelin
2014-04-25 10:08:04 +02:00
Roland Westrelin
633a96c2e3 8041481: JVM crashes with collect_args_for_profiling
Method handle call to c1 intrinsic tries to profile popped argument

Reviewed-by: kvn, twisti
2014-04-25 09:22:16 +02:00
Staffan Larsen
0ef4fb7100 8040140: System.nanoTime() is slow and non-monotonic on OS X
Reviewed-by: sspitsyn, shade, dholmes, acorn
2014-04-25 07:40:33 +02:00
Lana Steuck
b7e097c974 Merge 2014-04-24 16:03:50 -07:00
Bharadwaj Yadavalli
ce3b7871d0 Merge 2014-04-24 17:20:29 -04:00
Alejandro Murillo
a162ea836e 8030011: Update Hotspot version string output
Reviewed-by: dholmes, jcoomes, kvn
2014-04-24 14:06:40 -07:00
David Katleman
257f80e7c4 Added tag jdk9-b10 for changeset 41f447bfbbd7 2014-04-24 12:21:02 -07:00
Igor Ignatyev
54479bee2c Merge 2014-04-24 10:32:49 +00:00
Igor Ignatyev
0943a93646 8041497: Compilation of compiler/rtm/cli/TestUseRTMDeoptOption* tests failed
Reviewed-by: kvn, roland
2014-04-24 14:02:48 +04:00
Roland Westrelin
7b1f15e51e 8039960: Unexpected exit from test compiler/profiling/spectrapredefineclass/Launcher.java
The test case doesn't need to change the heap size to reproduce the failure.

Reviewed-by: twisti, kvn
2014-04-24 11:05:07 +02:00
Tobias Hartmann
d16c89c108 8041468: Field nmethod::_lock_count should be declared volatile
The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)

Reviewed-by: kvn, roland
2014-04-24 09:47:34 +02:00
Michal Frajt
bc55ed0b83 8038265: CMS: enable time based triggering of concurrent cycles
Reviewed-by: mgerdin, brutisso
2014-04-23 12:37:36 +02:00
Erik Helin
1e094bab2d Merge 2014-04-23 10:12:34 +02:00
Vladimir Kozlov
26de6296e0 8041351: Crash in src/share/vm/opto/loopnode.cpp:3215 - assert(!had_error) failed: bad dominance
Add missing is_mem() check when we collect load nodes in SuperWord::co_locate_pack().

Reviewed-by: iveresov
2014-04-22 17:45:56 -07:00
Thomas Schatzl
1653234dda 8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.

Reviewed-by: mgerdin, brutisso
2014-04-22 11:10:12 +02:00
Bharadwaj Yadavalli
24be3e5628 Merge 2014-04-18 14:30:58 -04:00
Daniel D. Daugherty
e403797d96 Merge 2014-04-18 10:55:41 -07:00
Alejandro Murillo
16d0213a96 Merge 2014-04-18 10:30:13 -07:00
Harold Seigel
cfa7d828d9 8040018: Remove bad assert in ClassFileParser.cpp
Remove assert that prevent throwing valid exception

Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Roland Westrelin
0acbad17c8 8039975: SIGSEGV in MethodData::next_data(ProfileData*)
Profiling code in interpreter broken when argument profiling is off.

Reviewed-by: iveresov, kvn
2014-04-18 14:25:21 +02:00
Lana Steuck
037f13c39a Merge 2014-04-17 15:22:41 -07:00
Christian Tornqvist
db9dcbd63b 8040887: [TESTBUG] Remove test/runtime/6925573/SortMethodsTest.java
Removed test/runtime/6925573/SortMethodsTest.java

Reviewed-by: coleenp, rdurbin
2014-04-18 00:19:24 +02:00
Bharadwaj Yadavalli
32024b5144 Merge 2014-04-17 13:50:26 -04:00
David Katleman
eeb480a302 Added tag jdk9-b09 for changeset 4b998d7123d6 2014-04-17 10:13:41 -07:00
Per Lidén
820ae7109e 8040245: G1: VM hangs during shutdown
Temporarily disable the shutdown of the concurrent GC threads introduced in JDK-8037112

Reviewed-by: brutisso, tschatzl, jmasa
2014-04-17 18:47:15 +02:00
Lev Priima
a138550830 8039260: c.o.j.t.ProcessTools::createJavaProcessBuilder(boolean, String... ) must also take TestJavaOptions
Reviewed-by: kvn, iignatyev
2014-04-17 18:54:09 +04:00
Bengt Rutisson
5d967f0aea 8040722: G1: Clean up usages of heap_region_containing
Reviewed-by: tschatzl, jmasa
2014-04-17 15:57:02 +02:00
Christian Tornqvist
961a489536 6959423: [TESTBUG] runtime/6925573/SortMethodsTest.java times out
Decreased maximum number methods in generated classes and decreased ratio to make it reproduce more often

Reviewed-by: coleenp, lfoltan
2014-04-17 00:03:58 +02:00
Richard Reingruber
728ea561aa 8038048: assert(null_obj->escape_state() == PointsToNode::NoEscape,etc) runThese -full
Use correct set_escape_state() method.

Reviewed-by: kvn, iignatyev
2014-04-16 14:49:03 -07:00