Commit Graph

7961 Commits

Author SHA1 Message Date
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Alejandro Murillo
1f33087085 Merge 2015-01-27 10:11:22 -08:00
Christian Tornqvist
fa47cc3e21 8071530: Update OS detection code to reflect Windows 10 version change
Reviewed-by: sla, mgronlun
2015-01-27 05:51:00 -08:00
Alejandro Murillo
71a6555ee3 Merge 2015-01-26 17:00:39 -08:00
Serguei Spitsyn
4326ee324a 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined

Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Ed Nevill
9682ac5e3a 8071563: AARCH64 staging fail to build
Fixed build problem after merge 8064457 changes.

Reviewed-by: kvn, goetz
2015-01-26 09:50:48 -08:00
Pavel Chistyakov
fb6e6379b0 8069125: compiler/codecache/stress tests timeout in nightlies
Added timeout between one of test threads iterations, adjusted hole test execution time

Reviewed-by: kvn
2015-01-26 19:01:50 +03:00
Pavel Chistyakov
28c5919585 8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
Disable background compilation

Reviewed-by: kvn
2015-01-26 18:59:09 +03:00
Zoltan Majo
1da8218179 8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
Change the way VM handles CompileThresholdScaling==0, update test

Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Erik Helin
be4035c60a 8030646: track collection set membership in one place
Reviewed-by: tschatzl, jwilhelm
2015-01-26 10:32:35 +01:00
Lana Steuck
f37ca1ae24 Merge 2015-01-24 23:24:33 -08:00
Dean Long
b7eaaba943 8031064: build_vm_def.sh not working correctly for new build cross compile
Move nm and awk code into vm.make

Reviewed-by: dsamersoff, dholmes
2015-01-23 22:39:24 -05:00
David Katleman
9150f5e5cc Added tag jdk9-b47 for changeset c54bf921b2ce 2015-01-23 18:50:44 -08:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Dean Long
eb08f7cb70 Merge 2015-01-22 18:23:54 -05:00
Igor Veresov
82cedcaad3 Merge 2015-01-22 21:02:24 +00:00
Igor Veresov
903cbcb4df 8071302: assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo], def)) failed: after block local
Add merge nodes to node to block mapping

Reviewed-by: kvn, vlivanov
2015-01-22 11:25:23 -08:00
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01:00
Nils Eliasson
a43e328b4a 8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
Fixed whitespace handling and added test cases

Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Tobias Hartmann
21e2e5ffc0 8069580: String intrinsic related cleanups
Small cleanup of string intrinsic related code.

Reviewed-by: kvn, roland
2015-01-22 09:07:41 +01:00
Andrew Haley
b6546c2b92 8069593: Changes to JavaThread::_thread_state must use acquire and release
Reviewed-by: kvn, dlong
2015-01-21 14:38:48 -08:00
Kim Barrett
826e1b9739 8069230: Remove unused G1PostBarrierStub::byte_map_base and friends
Reviewed-by: brutisso, tschatzl
2015-01-21 19:36:18 +01:00
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Andrew Haley
117205a41f 8068053: AARCH64: C1 and C2 compilers
Add src/cpu/aarch64/vm/* C1 and C2 files

Reviewed-by: kvn, roland
2015-01-20 12:47:43 -08:00
Andrew Haley
9c458decf5 8068054: AARCH64: Assembler interpreter, shared runtime
Add src/cpu/aarch64/vm/* interpreter, shared runtime files.

Reviewed-by: kvn, roland, coleenp, twisti
2015-01-20 11:34:17 -08:00
Alejandro Murillo
5aea4e6239 Merge 2015-01-20 10:22:43 -08:00
Erik Joelsson
e1bfe8762e 8067479: verify-modules fails in bootcycle build
Reviewed-by: dholmes, sla
2015-01-20 13:56:57 +01:00
Zoltan Majo
3d814126c2 8069162: quarantine serviceability/dcmd/compiler/CompilerQueueTest.java
Added '@ignore 8069160' to the test.

Reviewed-by: anoll, kvn
2015-01-20 09:45:11 +01:00
Filipp Zhinkin
1249ca93f9 8069126: compiler/rtm/locking/TestRTMTotalCountIncrRate.java nightly failure
Reviewed-by: kvn
2015-01-20 11:26:20 +03:00
Igor Veresov
aca3a19f56 8068881: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Use MachMerge to hook together defs of the same multidef value in a block

Reviewed-by: kvn, vlivanov
2015-01-19 12:29:50 -08:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Vladimir Ivanov
30035ee76f Merge 2015-01-19 14:14:05 +00:00
Tobias Hartmann
e40b9593ca Merge 2015-01-19 11:35:45 +00:00
Stefan Johansson
3a11c1d75c 8069011: gc/TestSmallHeap.java failing in nightly
Using @requires to avoid running with AggressiveOpts turned on.

Reviewed-by: jwilhelm, brutisso
2015-01-19 10:08:07 +01:00
Stefan Johansson
d508c520f0 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Reviewed-by: brutisso, kbarrett
2015-01-19 10:06:14 +01:00
Ivan Gerasimov
878f630fe0 8069048: (process) Suspend finishing threads when process exits [win]
Reviewed-by: dholmes, dcubed
2015-01-19 11:35:15 +03:00
Zoltan Majo
eb5be4c2fe 8066312: Add new Node* Node::find_out(int opc) method
Added methods find_user_with() and has_user_with() for searching for a particular out type.

Reviewed-by: kvn, jrose
2015-01-19 09:32:40 +01:00
Yumin Qi
08c8e0bd31 Merge 2015-01-18 11:49:22 -08:00
Kevin Walls
3d112a8dc3 8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Lana Steuck
147fa267a8 Merge 2015-01-16 12:33:47 -08:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Axel Siebenborn
0520df8a92 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Pavel Chistyakov
0b17d19f48 8068231: Several tests are still excluded
Reviewed-by: kvn, iignatyev
2015-01-16 15:08:20 +03:00
Dmitrij Pochepko
427f25366e 8068385: [TESTBUG] hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java sometimes fails(unstable behaviour)
Fixing unstable behaviour of 2 tests

Reviewed-by: iignatyev
2015-01-16 20:59:23 +04:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Dean Long
2bd7efd60e Merge 2015-01-16 05:02:11 -05:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +01:00
Andrew Haley
781a793ed9 6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Alejandro Murillo
1062cfee7b Merge 2015-01-15 19:23:48 -08:00
Christian Tornqvist
4f3c9fccb7 8062961: [TESTBUG] Spurious timeout for runtime/ErrorHandling/ProblematicFrameTest
Reviewed-by: coleenp, gtriantafill
2015-01-15 14:10:49 -08:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
David Katleman
17e982a08f Added tag jdk9-b46 for changeset a41296327b3d 2015-01-15 13:09:39 -08:00
Andrew Haley
50c0c29004 8068055: AARCH64: os_cpu
Add src/os_cpu/linux_aarch64/vm/* files

Reviewed-by: kvn, roland, dholmes
2015-01-15 11:17:47 -08:00
Goetz Lindenmaier
71d4cfb1ad 8068026: [TESTBUG] Check for -client in gc/g1/TestHumongousCodeCacheRoots.java
Skip test if -client is not supported.

Reviewed-by: jwilhelm, simonis
2015-01-15 16:05:20 +01:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01:00
Paul Sandoz
582c3c193b Merge 2015-01-15 12:43:14 +00:00
Dmitry Samersoff
1e02ce5071 Merge 2015-01-15 12:02:55 +00:00
Zoltan Majo
9d6b3c1d71 8067374: Use %f instead of %g for LogCompilation output
Changed format string from %g to %f.

Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Paul Sandoz
bfe8fc7433 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Stefan Johansson
6606238d9b 8067368: TestConcMarkCycleWB.java crashed at G1CollectedHeap::heap()+0xb
Added the test to needs_g1gc group in TEST.groups to avoid running when G1 is not available.

Reviewed-by: jwilhelm, dholmes
2015-01-15 11:10:03 +01:00
Vladimir Kozlov
834ff91cc5 8068864: C2 failed: modified node is not on IGVN._worklist
Use igvn.replace_input_of() instead of set_req().

Reviewed-by: iveresov, vlivanov
2015-01-14 17:27:00 -08:00
Vladimir Kozlov
bdccde66c1 8069021: Exclude compiler/codecache/stress tests from JPRT runs
Reviewed-by: iveresov
2015-01-14 16:00:51 -08:00
Dmitry Samersoff
4550ca8d71 Merge 2015-01-14 17:22:28 +00:00
Erik Joelsson
a7a169d75f Merge 2015-01-14 15:25:13 +00:00
Vladimir Ivanov
8cfbe74d7c Merge 2015-01-14 15:13:39 +00:00
Dmitry Samersoff
885e6ddf67 7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.

Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00
Erik Joelsson
92b1732031 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 15:57:59 +01:00
Harold Seigel
4e980350ca 8055146: Split Verifier incorrectly throws VerifyError for getstatic of an array field
Allow fieldClass for getstatic and putstatic to be an array

Reviewed-by: dholmes, acorn
2015-01-14 08:14:23 -05:00
Kim Barrett
77f22c1241 8068396: Rename assert() to vmassert()
Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Alejandro Murillo
51fa4bbe69 Merge 2015-01-13 08:58:06 -08:00
Matthias Baesken
21cd501d27 8069590: AIX port of "8050807: Better performing performance data handling"
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: simonis, goetz
2015-01-13 16:09:52 +01:00
Johannes Scheerer
508b9a0a1f 8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.

Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7 8027829: CompileCommand does not accept all JLS-conformant class/method names
Fix parsing and updated comments

Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Filipp Zhinkin
b850617243 8049355: compiler/rtm/locking/TestRTMLockingThreshold test may fail if transaction was aborted by interrupt
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:08 +03:00
Filipp Zhinkin
251b4df764 8059342: Add test to cover JDK-8030976
Reviewed-by: kvn, iignatyev
2015-01-14 09:54:45 +03:00
Filipp Zhinkin
fc66edfd51 8068269: RTM tests that assert on non-zero lock statistics are too strict in RTMTotalCountIncrRate > 1 cases
Reviewed-by: kvn, iignatyev
2015-01-14 09:53:36 +03:00
Roland Westrelin
3e42c387f6 Merge 2015-01-12 15:50:30 +00:00
Stefan Johansson
7a8a19d1d9 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Making sure committed memory is cleared when re-committed, even if using large pages.

Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Zoltan Majo
b5909f6d03 8065894: CodeHeap::next_free should be renamed
Rename next_free() to next_used()

Reviewed-by: thartmann, iveresov
2015-01-12 09:55:20 +01:00
Martin Doerr
53821ffdfa 8068724: ppc64: update assembler: SPR access, CR logic, HTM
Fix bug in encoding of special purpose registers. Provide more convenient version of condition register logic instructions. Enhance support for hardware transactional memory.

Reviewed-by: kvn, goetz
2015-01-12 11:14:49 +01:00
Mattias Tobiasson
4e84bf1e93 8068584: Compiler attach tests should be quarantined
Quarantine tests

Reviewed-by: ctornqvi
2015-01-12 09:27:52 +01:00
Goetz Lindenmaier
2ffd52f306 8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
Reviewed-by: coleenp, sla
2015-01-12 09:16:06 +01:00
Christian Tornqvist
2c2593b757 8069207: [TESTBUG] Exception thrown for java.lang.NoSuchMethodError: sun.misc.Unsafe.monitorExit
Reviewed-by: gtriantafill, dholmes
2015-01-23 11:44:21 -08:00
Lois Foltan
5f8b5ceaee 8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.

Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00
Yumin Qi
d4fd7377f4 Merge 2015-01-10 12:35:44 -08:00
Dean Long
c041b882e3 8068746: Exclude hotspot/test/compiler/codecache/jmx/PoolsIndependenceTest.java from nightly runs
Add @ignore to PoolsIndependenceTest.java

Reviewed-by: kvn
2015-01-09 17:43:02 -05:00
Dean Long
7002708d14 Merge 2015-01-09 13:28:02 -05:00
Christian Tornqvist
90c58f1cc9 8068733: [TESTBUG] runtime/Unsafe/Reallocate.java sometimes fails when running with -Xcomp
Reviewed-by: coleenp, gtriantafill
2015-01-09 08:34:32 -08:00
Kim Barrett
2a73208887 8067306: Improve STATIC_ASSERT
New improved implementation

Reviewed-by: ehelin, stefank
2015-01-09 11:33:48 -05:00
Goetz Lindenmaier
1b1ac860df 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-09 05:45:13 -08:00
Albert Noll
b49c74e7fc Merge 2015-01-09 09:06:24 +00:00
Albert Noll
dad0da797d 8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
The test is unstable and is therefore removed from nightly testing

Reviewed-by: kvn, drchase
2015-01-09 09:52:00 +01:00
Zoltan Majo
8467a04feb 8068505: interpreter profiling incorrect on PPC64
Reviewed-by: simonis, goetz
2015-01-09 09:26:58 +01:00
Bengt Rutisson
24d3bb517b 8068653: TestSmalllHeap.java fails when the page size is 64k
Reviewed-by: tschatzl
2015-01-09 08:38:23 +01:00
Alejandro Murillo
6d246a337a Merge 2015-01-08 17:11:49 -08:00
Dean Long
f5750b67fd Merge 2015-01-08 17:45:10 -05:00
David Katleman
e6f1e3d210 Added tag jdk9-b45 for changeset b1b945e3c9b1 2015-01-08 12:08:22 -08:00
Christian Tornqvist
c5853aabdd 8060219: [TESTBUG] runtime/7194254/Test7194254.java fails to find jstack with modular image build
Reviewed-by: gtriantafill, lfoltan, hseigel
2015-01-08 11:42:05 -08:00
Christian Tornqvist
6173a83d5d 8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08:00
Jesper Wilhelmsson
7c43a226b4 Merge 2015-01-08 15:44:46 +01:00
Claes Redestad
8d30377d50 8068037: Remove dead code in G1CollectedHeap
Reviewed-by: stefank, tschatzl
2015-01-08 14:13:03 +01:00
Roland Westrelin
d2891a37e7 8027626: assert(Opcode() != Op_If || outcnt() == 2) failed: bad if #1
IGVN encounters IfNode with single projection when optimizing dying subgraph

Reviewed-by: kvn
2015-01-08 11:00:38 +01:00
Bengt Rutisson
9fd9fffd10 Merge 2015-01-07 16:24:58 +00:00
Roland Westrelin
3b3dd985de 8063086: Math.pow yields different results upon repeated calls
C2 treats x^2 as a special case and computes x * x while the interpreter and c1 don't have special case code for X^2.

Reviewed-by: kvn
2015-01-07 16:40:02 +01:00
Thomas Schatzl
afb458ef0e 8048179: Early reclaim of large objects that are referenced by a few objects
Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.

Reviewed-by: brutisso, jmasa, dfazunen
2015-01-07 15:15:37 +01:00
Bengt Rutisson
b8f42f53da 8067868: Add GCOld as a JTreg test
Reviewed-by: kbarrett, dfazunen, ehelin
2015-01-07 15:02:00 +01:00
Bengt Rutisson
5203f2c751 8067676: Add applicable closed gc jtreg tests to run in JPRT
Reviewed-by: ehelin
2015-01-07 10:19:00 +01:00
Goetz Lindenmaier
dd5f249290 8068503: ppc64: Encode/Decode nodes for disjoint cOops mode
Reviewed-by: simonis
2015-01-07 08:37:49 +01:00
Jiangli Zhou
ab5fb22cdb Merge 2015-01-14 16:35:58 -05:00
Jiangli Zhou
f3c99841f9 8067982: Some jcmd /gc/heap_dump tests failed: hprof output contains warning or error
Include shared symbols in SymbolTable::symbols_do(SymbolClosure).

Reviewed-by: minqi, farvidsson, coleenp
2015-01-14 16:35:00 -05:00
George Triantafillou
f7241915b4 8068540: [TESTBUG] Exclude failing nightly tests
Reviewed-by: ctornqvi, coleenp
2015-01-06 16:44:53 -08:00
Severin Gehwolf
e13c212339 8067331: Zero: Atomic::xchg and Atomic::xchg_ptr need full memory barrier
Reviewed-by: dholmes, coleenp
2015-01-07 16:43:04 +01:00
Coleen Phillimore
27a1ed85b6 8067836: The Universe::flush_foo methods belong in CodeCache
Move this code to CodeCache.

Reviewed-by: kbarrett, kvn
2015-01-06 19:30:28 -05:00
Coleen Phillimore
2b871d6987 6583051: crash when adding non-static methods to java.lang.Object class
Stop the JVM if java.lang.Object is incorrectly defined rather than crashing.

Reviewed-by: ctornqvi, dholmes
2015-01-05 22:50:59 -05:00
Goetz Lindenmaier
1c18aef92c 8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling
Introduce compressed oops mode disjoint base and improve compressed heap handling.

Reviewed-by: kvn, coleenp
2015-01-05 12:07:37 -05:00
Jesper Wilhelmsson
8575f889ee Merge 2015-01-05 15:00:30 +01:00
Lana Steuck
e84a970833 Merge 2015-01-01 16:11:49 -08:00
Lana Steuck
3164dce0e0 Merge 2014-12-30 13:19:30 -08:00
Harold Seigel
5b8ee4c102 8064335: Null pointer dereference in hotspot/src/share/vm/classfile/verifier.cpp
Use correct CHECK macro in call to load_class()

Reviewed-by: coleenp, lfoltan, gziemski
2014-12-30 12:59:20 -05:00
David Katleman
1b649e3374 Added tag jdk9-b44 for changeset 44060bbba6ce 2014-12-30 09:44:15 -08:00
Harold Seigel
0efeffc5e2 Merge 2014-12-27 13:26:41 -05:00
Lana Steuck
0e46853dd6 Merge 2014-12-25 19:45:11 -08:00
Yumin Qi
13548bcc63 Merge 2014-12-23 19:04:23 -08:00
Vladimir Kozlov
0936c21af6 Merge 2014-12-23 16:42:48 -08:00
Lana Steuck
c3df76a96c Merge 2014-12-23 13:57:53 -08:00
Jesper Wilhelmsson
a2b3cf3583 Merge 2014-12-23 14:03:15 +01:00
Vladimir Kozlov
832167be7f 8067985: merging hs-comp to hs blocked by some tests not updated in 8054892
Reviewed-by: iveresov
2014-12-22 14:35:40 -08:00
Vladimir Kozlov
8bd2d4db6f Merge 2014-12-22 10:41:57 -08:00
Jesper Wilhelmsson
79439ff560 8067947: Regression test for JDK-6522873
Added a regression test that will fail if we allow extra characters after flag names

Reviewed-by: ctornqvi, tschatzl
2014-12-22 17:33:29 +01:00
Thomas Schatzl
52a4823950 8068018: Clean up friends of G1CollectedHeap
Remove unnecessary friend class declaration in the G1CollectedHeap class.

Reviewed-by: jwilhelm, jmasa
2014-12-23 15:48:32 +01:00
Yumin Qi
ef9d3aa2a7 Merge 2014-12-19 22:52:02 -08:00
Vladimir Ivanov
5fd1e54fc1 8067338: compiler/debug/TraceIterativeGVN.java segfaults
Reviewed-by: kvn
2014-12-19 16:42:40 -08:00
Volker Simonis
f36d8eb8f3 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
Reviewed-by: goetz
2014-12-19 18:33:55 +01:00
Lana Steuck
cce553e64c Added tag jdk9-b43 for changeset c12e49897c5a 2014-12-18 19:57:49 -08:00
Coleen Phillimore
feb09bc118 8067713: Move clean_weak_method_links for redefinition out of class unloading
Do this work during class redefinition, only verify clean during class unloading in debug mode.

Reviewed-by: sspitsyn, roland, kbarrett
2014-12-18 16:15:21 -05:00
Kim Barrett
57198d2b63 8067499: G1SATBCardTableModRefBS should not inherit from CardTableModRefBSForCTRS
G1SATBCardTableModRefBS inherits from CardTableModRefBS

Reviewed-by: mgerdin, brutisso, tschatzl
2014-12-18 13:26:37 -05:00
Jesper Wilhelmsson
12797a11c0 Merge 2014-12-22 17:40:46 +00:00
Thomas Schatzl
d530b1da99 8068036: assert(is_available(index)) failed in G1 cset
Some verification code iterated over the heap using the region mapping array. This is not allowed. Changed to use the regular iteration method with closure.

Reviewed-by: jwilhelm, brutisso
2014-12-22 16:49:24 +01:00
Thomas Schatzl
1be86b3412 8060025: Object copy time regressions after JDK-8031323 and JDK-8057536
Evaluate and improve object copy time by micro-optimizations and splitting out slow and fast paths aggressively.

Co-authored-by: Tony Printezis <tprintezis@twitter.com>
Reviewed-by: kbarrett, mgerdin, jmasa
2014-12-19 09:21:06 +01:00
Volker Simonis
97f5022f02 8067865: Changes 8066780/8066782 broke the non-PCH build
Reviewed-by: kvn
2014-12-18 16:53:13 +01:00
Goetz Lindenmaier
e176c66ae5 8067823: CheckCompileThresholdScaling.java throws RuntimeException
Reviewed-by: kvn, iignatyev
2014-12-19 16:42:16 +01:00
Jesper Wilhelmsson
1584f4cfc2 Merge 2014-12-18 16:15:49 +01:00
Jesper Wilhelmsson
dfc952b138 Merge 2014-12-18 16:15:49 +01:00
Jiangli Zhou
de70286a0a Merge 2014-12-18 04:56:27 +00:00
Jiangli Zhou
b0ad035af4 8059510: Compact symbol table layout inside shared archive
Use separate compact table for shared symbols.

Reviewed-by: iklam, gziemski, shade, sla, jrose
2014-12-17 23:34:52 -05:00
Kim Barrett
093d2698fc 8066827: Remove ReferenceProcessor::clean_up_discovered_references()
Abandon rather than clean up discovered references.

Reviewed-by: jmasa, ysr
2014-12-17 22:32:44 -05:00
Bengt Rutisson
c40b1dd803 Merge 2014-12-18 13:30:00 +00:00
Bengt Rutisson
d418f56e60 8067873: gc/TestSmallHeap.java does not compile
Reviewed-by: mgerdin, jwilhelm
2014-12-18 13:37:02 +01:00
Thomas Schatzl
c079059456 Merge 2014-12-18 11:23:18 +00:00
Thomas Schatzl
f2e110fe77 8067469: G1 ignores AlwaysPreTouch
Factor out pretouch code of the various virtual space management classes and use them everywhere including in G1.

Reviewed-by: stefank, ehelin, dholmes
2014-12-18 09:37:02 +01:00
Mandy Chung
d57a134a2b 8067366: Allow java.{endorsed,ext}.dirs property be set to empty string
Reviewed-by: alanb, hseigel
2014-12-17 12:29:27 -08:00
Maynard Johnson
675f6c191d 8049716: PPC64: Implement SA on Linux/PPC64
Reviewed-by: simonis, dsamersoff
2014-12-17 18:20:10 +01:00
Derek White
12273757f7 8061611: Remove deprecated command line flags
Reviewed-by: jwilhelm, brutisso
2014-12-17 18:09:24 +01:00
Bengt Rutisson
eec8524e84 8067438: Add test to verify minimal heap size
Reviewed-by: dfazunen, ehelin
2014-12-17 09:47:14 +01:00
Max Ockner
51bda75a8f 8064319: Need to enable -XX:+TraceExceptions in release builds
"-XX:+TraceExceptions" is now supported in product builds.

Reviewed-by: sla, ccheung, coleenp
2014-12-16 19:00:24 -05:00
Roland Westrelin
5494b45a7a 8067647: [TESTBUG] compiler/rangechecks/TestRangeCheckSmearing.java uses wrong path to Whitebox API
Whitebox test library was moved

Reviewed-by: kvn
2014-12-16 20:09:29 +01:00
Roland Westrelin
2e82794bfa 6700100: optimize inline_native_clone() for small objects with exact klass
Optimize small instance clones as loads/stores

Reviewed-by: kvn, iveresov
2014-12-16 13:49:36 +01:00
Roland Westrelin
186ca57447 8055530: assert(_exits.control()->is_top() || !_gvn.type(ret_phi)->empty()) failed: return value must be well defined
Concurrent class loading causes return phi to become top

Reviewed-by: kvn
2014-12-22 11:21:20 +01:00
Filipp Zhinkin
add1e857d7 8050486: compiler/rtm/ tests fail due to monitor deflation at safepoint synchronization
Reviewed-by: kvn, iignatyev
2014-12-30 11:09:42 +03:00
Filipp Zhinkin
398f9958d6 8068272: Extend WhiteBox API with methods that check monitor state and force safepoint
Reviewed-by: kvn, iignatyev
2014-12-30 11:07:49 +03:00
Dmitrij Pochepko
ea23edb88a 8059625: JEP-JDK-8043304: Test task: DTrace- tests for segmented codecache feature
Reviewed-by: sspitsyn, twisti, fzhinkin, iignatyev
2014-12-25 15:57:38 +03:00
Pavel Chistyakov
583d750b3d 8066497: Update c.o.j.t.ByteCodeLoader to be able really reload given class
Reviewed-by: drchase, fzhinkin, iignatyev
2014-12-26 14:47:35 +03:00
Filipp Zhinkin
f70b5b2e9c 8059623: JEP-JDK-8043304: Test task: command line options tests
Reviewed-by: twisti, thartmann, goetz, iignatyev
2014-12-26 14:33:23 +03:00
Filipp Zhinkin
80613b8656 8068183: Add isTieredSupported method to c.o.j.t.Platforms
Reviewed-by: kvn, iignatyev
2014-12-24 19:32:13 +03:00
Evgeniya Stepanova
2e085fa4b3 8066864: remove ctw-test from testlibrary/
Reviewed-by: kvn, iignatyev
2014-12-23 12:40:13 +03:00
Tatiana Pivovarova
c9213782f3 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-16 17:26:42 +03:00
Pavel Chistyakov
5ed29142e5 8066896: Update c.o.j.t.InfiniteLoop to skip zero timeout
Reviewed-by: kvn, iignatyev
2014-12-23 16:36:44 +03:00
Tatiana Pivovarova
df2b7b1934 8062012: test/compiler/ciReplay/TestSA.sh should be updated to work w/ modular image build
Reviewed-by: kvn, fzhinkin, iignatyev
2014-12-19 14:12:22 +03:00
Evgeniya Stepanova
29f7c15af9 8054892: Improve compiler's CLI tests error reporting
Reviewed-by: roland, twisti
2014-12-16 14:52:57 +03:00
Igor Ignatyev
e71ea0c5a9 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by: kvn
2014-12-16 17:56:24 +03:00
Erik Helin
ccc800dedb 8067452: Rename hotspot_all in hotspot/test/TEST.groups
Reviewed-by: dholmes, ctornqvi, iignatyev
2014-12-16 12:52:04 +01:00
Jesper Wilhelmsson
3e9edcd457 Merge 2014-12-16 02:14:03 +01:00
Dmitrij Pochepko
57ac8bbd17 8065279: Remove testlibrary_tests from compact profile in jtreg
Reviewed-by: kvn
2014-12-16 02:14:11 +03:00
Tatiana Pivovarova
561c9140d8 8067211: rewrite Utils::fileAsString
Reviewed-by: kvn
2014-12-16 02:13:13 +03:00
Filipp Zhinkin
df6c67eeeb 8066143: [TESTBUG] New tests in gc/survivorAlignment/ fails
Reviewed-by: jmasa
2014-12-15 18:11:51 +04:00
Severin Gehwolf
396b5aa20f 8067231: Zero builds fails after JDK-6898462
Interpreter::remove_activation_entry() is not defined for the C++ interpreter

Reviewed-by: roland, coleenp
2014-12-15 09:36:46 +01:00
Yasumasa Suenaga
bd3ea105b9 8059586: hs_err report should treat redirected core pattern
Reviewed-by: dholmes, sla, stuefe
2014-12-14 20:18:17 -05:00
Yumin Qi
c4978df7aa Merge 2014-12-14 23:03:00 +00:00
Coleen Phillimore
2a7612efba Merge 2014-12-14 21:20:26 +00:00
Coleen Phillimore
f486fa7c1e 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:04:03 -05:00
Yumin Qi
e4961abb71 Merge 2014-12-12 20:49:14 -08:00
Pavel Chistyakov
ca033e9cde 8066473: Port timeout utils from jdk test library into hotspot
Reviewed-by: kvn, iignatyev
2014-12-13 01:24:10 +03:00
Pavel Punegov
c39c3b01be 8059575: JEP-JDK-8043304: Test task: Tiered Compilation level transition tests
Reviewed-by: iveresov, thartmann
2014-12-13 01:24:07 +03:00
Dmitrij Pochepko
e42d9168db 8059613: JEP-JDK-8043304: Test task: JMX- tests
Reviewed-by: thartmann, twisti
2014-12-13 00:13:05 +03:00
Dmitrij Pochepko
3b00992919 8066440: Various changes in testlibrary for JDK-8059613
Reviewed-by: thartmann, twisti
2014-12-13 00:54:22 +03:00
Filipp Zhinkin
fb36c6cbbe 8066862: TestMutuallyExclusivePlatformPredicates fails on all platforms
Reviewed-by: iignatyev, kvn
2014-12-12 21:37:37 +03:00
Igor Ignatyev
e3b0d6d069 Merge 2014-12-12 21:32:43 +03:00
Coleen Phillimore
24201272d6 Merge 2014-12-12 18:13:22 +00:00
Coleen Phillimore
4250926e07 8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
Stop native stack walk when we get to compiled or stub frame.

Reviewed-by: hseigel, lfoltan, ctornqvi
2014-12-12 13:19:33 -05:00
Albert Noll
7613da167b Merge 2014-12-12 08:40:19 -08:00
Ivan Gerasimov
ff0ca0af12 8066863: bigapps/runThese/nowarnings fails: Java HotSpot(TM) 64-Bit Server VM warning: WaitForMultipleObjects
Limit the number of thread handles to MAXIMUM_WAIT_OBJECTS

Reviewed-by: dholmes, dcubed
2014-12-12 17:24:17 +03:00
Tobias Hartmann
4d7b50bd51 8067337: Remove Whitebox API from hotspot repository
Remove Whitebox API from hotspot repository after it was moved to top level repository.

Reviewed-by: iignatyev
2014-12-12 13:13:01 +01:00
Tobias Hartmann
a7e0bdf47c Merge 2014-12-12 09:58:37 +00:00
Tobias Hartmann
bf022cf7dc 8066433: Move Whitebox test library to top level repository
Moved Whitebox test library to top level repository.

Reviewed-by: iignatyev, sla, mr
2014-12-12 09:37:38 +01:00
Tobias Hartmann
7a70e63c71 Merge 2014-12-12 08:15:30 +00:00
Tobias Hartmann
09aa6561da 8066763: fatal error "assert(false) failed: unexpected yanked node" in postaloc.cpp:139
Check for dead input nodes after replacing compare node with implicit null check.

Reviewed-by: kvn
2014-12-12 09:07:54 +01:00
Alejandro Murillo
e6d32333f4 Merge 2014-12-11 23:06:14 -08:00
Coleen Phillimore
b9c0d0abd9 Merge 2014-12-12 02:51:07 +00:00
Max Ockner
1d76295d70 8047290: Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
Ensure consistent safepoint checking in Mutex/Monitor locking methods.

Reviewed-by: dholmes, dcubed, coleenp
2014-12-11 21:34:43 -05:00
Albert Noll
a9e4d723c1 Merge 2014-12-11 16:22:47 -08:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Lana Steuck
dd6e6feb3d Merge 2014-12-11 12:28:03 -08:00
David Katleman
c12ade4fa2 Added tag jdk9-b42 for changeset b1cf5f128493 2014-12-11 11:44:00 -08:00
Jesper Wilhelmsson
da4a88d5f9 Merge 2014-12-11 20:39:25 +01:00
Kim Barrett
284e23e67e 8066822: Remove PSMarkSweep::set_reference_processor
Reviewed-by: brutisso, tschatzl
2014-12-11 19:44:32 +01:00
Dmitry Samersoff
2e3ffa9c5d 8028773: warnings from b116 for hotspot.agent.src.share.native: JNI exception pending
Added couple of missed exception checks

Reviewed-by: sla, sspitsyn
2014-12-11 09:15:10 -08:00
Stefan Johansson
2aea48249d 8062672: JVM crashes during GC on various asserts which checks that HeapWord ptr is an oop
Crashes were caused by not disabling UseMemSetInBOT as should be done on sparc. Added support for picking up blkinit as a platform feature if available on Linux sparc. This is needed to avoid enabling UseMemSetInBOT when running on this platform.

Reviewed-by: jwilhelm, brutisso
2014-12-11 09:56:57 +01:00
Jesper Wilhelmsson
ac1c0ee5d2 Merge 2015-02-23 18:40:04 +01:00
Stefan Karlsson
cd997db44d 8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
2015-02-20 13:54:42 +01:00
Goetz Lindenmaier
5cc358251f 8071822: [TEST_BUG] Adapt collectorPolicy internal tests to support 64K pages
This fixes jtreg test ExecuteInternalVMTests.java for OSes with bigger default page sizes.

Reviewed-by: jmasa
2015-02-20 22:22:39 +01:00
Stefan Karlsson
40d3ed0921 Merge 2015-02-20 17:08:48 +00:00
Stefan Karlsson
4cd34ffd21 Merge 2015-02-20 15:47:22 +00:00
Thomas Schatzl
cb05b8a496 8058446: G1 Hot card cache should use ArrayAllocator to allocate the cache array
Allocate large hot card caches using OS functions instead of the C heap to avoid native memory exhaustion.

Reviewed-by: mgerdin, jwilhelm
2015-02-20 16:07:12 +01:00
Stefan Karlsson
ccb2f23f08 8073554: Remove unnecessary includes of markSweep[.inline].hpp
Reviewed-by: tschatzl, coleenp
2015-02-20 15:23:01 +01:00
Mikael Gerdin
12c46a210f 8073532: jmap -heap fails after generation array removal
Fix field accessor code in the SA

Reviewed-by: jwilhelm, brutisso
2015-02-20 12:43:46 +01:00
Stefan Karlsson
d40f08d0a3 8073389: Remove the include of resourceArea.hpp from classFileParser.hpp
Reviewed-by: coleenp, dholmes
2015-02-18 10:28:27 +01:00
Jesper Wilhelmsson
f101b30199 6522873: Java not print "Unrecognized option" when it is invalid option
Introduced a new version of match_option() that don't allow a tail after the flag name and used it for flags without extra arguments

Reviewed-by: dholmes, dcubed
2014-12-11 02:43:50 +01:00
Volker Simonis
7d42a4167f 8067015: Implement os::pd_map_memory() on AIX
Reviewed-by: dholmes
2014-12-10 19:12:27 +01:00
Staffan Friberg
912fb05672 8066442: Add PS and ParOld support for promotion event
Reviewed-by: tschatzl, ehelin
2014-12-10 10:10:43 -08:00
Bengt Rutisson
7bde8bebfb 8067115: Add jtreg gc tests to Hotspot JPRT jobs
Reviewed-by: tschatzl, jwilhelm, ehelin
2014-12-11 07:32:24 +01:00
Roland Westrelin
0dbf9d7161 8067144: SIGSEGV with +TraceDeoptimization in Deoptimization::print_objects
-XX:+TraceDeoptimization tries to print realloc'ed objects even when there are none

Reviewed-by: kvn
2014-12-10 16:45:55 +01:00
Michail Chernov
56db4f28c9 8064909: FragmentMetaspace.java got OutOfMemoryError
Increased heap size to prevent "java.lang.OutOfMemoryError: Java heap space" exception

Reviewed-by: jmasa, dfazunen, jwilhelm
2014-12-10 13:58:30 +00:00
Bengt Rutisson
bdb2636f9e 8066782: Move common code from CMSGeneration and TenuredGeneration to CardGeneration
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:32:22 +01:00
Bengt Rutisson
b26180dfe9 8066781: Minor cleanups to TenuredGeneration
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:31:43 +01:00
Bengt Rutisson
ef7d6c3b9d 8066780: Split CardGeneration out to its own file
Reviewed-by: kbarrett, tschatzl
2014-12-10 11:30:46 +01:00
Igor Veresov
f4a9c05895 Merge 2014-12-09 21:33:51 +00:00
Igor Veresov
5af5b25f98 8066900: Array Out Of Bounds Exception causes variable corruption
Fix FP registers save/restore during exception handling

Reviewed-by: kvn, vlivanov
2014-12-09 12:25:38 -08:00
Roland Westrelin
caa8dcea64 8066103: C2's range check smearing allows out of bound array accesses
Range check smearing uncorrectly adjust first range check in a list of range checks to cover all of them

Reviewed-by: jrose, kvn, iveresov
2014-12-09 18:49:13 +01:00
Igor Ignatyev
d1220c8dee Merge 2014-12-09 14:49:27 +00:00
Tatiana Pivovarova
79ed4de1e1 8065134: Need WhiteBox::allocateCodeBlob(long, int) method to be implemented
Reviewed-by: kvn, dholmes, iignatyev
2014-12-09 17:31:40 +03:00
Thomas Schatzl
5d868d4e0f 8066102: Clean up HeapRegionRemSet files
Remove dead code, tighten public interfaces and improve documentation in the HeapRegionRemSet implementation.

Reviewed-by: mgerdin, kbarrett
2014-12-09 12:47:19 +01:00
Goetz Lindenmaier
46714a7809 8066964: ppc64: argument and return type profiling, fix problem with popframe
Reviewed-by: roland, kvn
2014-12-09 11:57:46 +01:00
Mikael Gerdin
cc786b287d 8067655: Clean up G1 remembered set oop iteration
Pass on the static type G1ParPushHeapRSClosure to allow oop_iterate devirtualization

Reviewed-by: jmasa, kbarrett
2014-12-08 18:57:33 +01:00
Jesper Wilhelmsson
b14eca8aac Merge 2014-12-08 18:52:03 +01:00
Tatiana Pivovarova
a7ebb442cf 8066250: compiler/dependencies/MonomorphicObjectCall/TestMonomorphicObjectCall.java fails product
Reviewed-by: kvn, thartmann
2014-12-08 18:21:02 +03:00
Stefan Karlsson
81f94a04b9 Merge 2014-12-08 15:17:39 +00:00
Yumin Qi
bb30bd7e0a Merge 2014-12-08 00:15:55 -08:00
Mikael Vidstedt
aab03b0768 Merge 2014-12-06 04:30:00 +00:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Chris Plummer
8bb3ef2ca0 8066508: JTReg tests timeout on slow devices when run using JPRT
Fixed by increasing timeoutFactor from 1 to 4 as is done already in jdk/test/Makefile.

Reviewed-by: dholmes, dcubed
2014-12-05 15:41:51 -08:00
Coleen Phillimore
d1414caa19 Merge 2014-12-05 23:21:29 +00:00