Commit Graph

23936 Commits

Author SHA1 Message Date
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
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
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
Bharadwaj Yadavalli
469f17357c Merge 2014-04-25 14:29:47 -04: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
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
Bharadwaj Yadavalli
ce3b7871d0 Merge 2014-04-24 17:20:29 -04: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
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
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
Thomas Schatzl
69c3c31317 8040002: Clean up code and code duplication in re-diryting cards for verification
Card re-dirtying code for verification and actual redirtying uses two different, almost completely identical card closures. Also the verification code still assumes a perm gen.

Reviewed-by: brutisso, jmasa
2014-04-16 16:47:02 +02:00
Thomas Schatzl
c5ef16027b 8019342: G1: High "Other" time most likely due to card redirtying
Parallelize card redirtying to decrease the time it takes.

Reviewed-by: brutisso
2014-04-16 16:46:58 +02:00
Thomas Schatzl
0f9e30ad06 8028710: G1 does not retire allocation buffers after reference processing work
G1 does not retire allocation buffers after reference processing work when -XX:+ParallelRefProcEnabled is enabled. This causes wrong calculation of PLAB sizes, as the amount of space wasted is not updated correctly.

Reviewed-by: brutisso
2014-04-16 11:05:37 +02:00
Thomas Schatzl
d9a4d02abe 8039596: Remove HeapRegionRemSet::clear_incoming_entry
The mentioned method is never used and out of date. So it is removed.

Reviewed-by: mgerdin, brutisso
2014-04-16 10:56:17 +02:00
Thomas Schatzl
42e4a6003c 8037344: Use the "next" field to iterate over fine remembered instead of using the hash table
After changes to the PerRegionTable where all these PRTs are linked together in an additional field, simplify iterating over all PRTs by using these links instead of walki

Reviewed-by: mgerdin, jwilhelm, brutisso
2014-04-16 10:55:58 +02:00
Thomas Schatzl
aa00878260 8027553: Change the in_cset_fast_test functionality to use the G1BiasedArray abstraction
Instead of using a manually managed array for the in_cset_fast_test array, use a G1BiasedArray instance.

Reviewed-by: brutisso, mgerdin
2014-04-16 10:55:26 +02:00
Thomas Schatzl
f8088df0b4 8038930: G1CodeRootSet::test fails with assert(_num_chunks_handed_out == 0) failed: No elements must have been handed out yet
The test incorrectly assumed that it had been started with no other previous compilation activity. Fix this by allowing multiple code root free chunk lists, and use one separate from the global one to perform the test.

Reviewed-by: brutisso
2014-04-16 10:14:50 +02:00
Alejandro Murillo
331d26800c Merge 2014-04-15 15:37:36 -07:00
Vladimir Kozlov
8badeecc2c 8039050: Crash in C2 compiler at Node::rematerialize
Added missing calls to record_for_igvn() in loop opts. Added verification of def-use domination.

Reviewed-by: iveresov
2014-04-15 14:34:48 -07:00
Stefan Karlsson
a97ce35fab 8039957: Replace the last few %p usages with PTR_FORMAT in the GC code
Reviewed-by: jwilhelm, sjohanss, jmasa
2014-04-15 20:46:23 +02:00
Christian Tornqvist
ff48970954 8035173: [TESTBUG] runtime/threads/CancellableThreadTest fails with OOM on windows-i586
Test ported to jtreg, thread pairs decreased from 1024 to 128 to avoid OOM on 32 bit Windows

Reviewed-by: sla, dsimms
2014-04-15 19:03:51 +02:00