Commit Graph

7884 Commits

Author SHA1 Message Date
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
Calvin Cheung
701b666284 8065050: vm crashes during CDS dump when very small SharedMiscDataSize is specified
Define minimum required sizes for the ro, rw, and md regions and make sure the specified sizes are not less than the minimum sizes

Reviewed-by: jiangli, dholmes, mseledtsov
2014-12-05 12:24:10 -08:00
Stefan Karlsson
e9b92ce024 8065634: Crash in InstanceKlass::clean_method_data when _method is NULL
Reviewed-by: coleenp, hseigel, poonam
2014-12-05 21:16:45 +01:00
Coleen Phillimore
4b628f1aee 8066171: Out of order with Metaspace allocation lock
Lock resolved_references instead.

Reviewed-by: twisti, sspitsyn
2014-12-05 15:15:13 -05:00
Roland Westrelin
5974dd3005 8066775: opto/node.hpp:355, assert(i < _max) failed: oob: i=1, _max=1
Bad assumption on graph shape in CastIINode::Value if that part of the graph is becoming dead.

Reviewed-by: kvn
2014-12-05 18:03:15 +01:00
Lana Steuck
dde575d755 Merge 2014-12-04 15:21:31 -08:00
Ioi Lam
ea256a978f 8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
In FileMapInfo::fail_continue do not set UseSharedSpaces = false

Reviewed-by: dholmes, ccheung
2014-12-04 15:20:09 -08:00
Igor Ignatyev
36ab0d5c9a 8066713: ignore compiler/types/correctness
Add @ignore to compiler/types/correctness tests

Reviewed-by: kvn
2014-12-04 14:14:09 -08:00
David Katleman
7ef6f7a868 Added tag jdk9-b41 for changeset 47f369e3c69c 2014-12-04 12:58:13 -08:00
David Chase
32897d3cd3 Merge 2014-12-04 17:53:36 +00:00
David Chase
0b7c6dc57c Merge 2014-12-04 11:35:09 -05:00
Kevin Walls
a0b9a703fc Merge 2014-12-04 16:16:01 +00:00
Mikael Gerdin
44dd635112 Merge 2014-12-04 15:09:18 +01:00
Kevin Walls
5c410f0bb5 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: sla, dsamersoff
2014-12-04 12:43:45 +00:00
Roland Westrelin
349669a9de Merge 2014-12-04 11:22:05 +00:00
Bengt Rutisson
902d2139f6 Merge 2014-12-04 09:43:12 +00:00
Jesper Wilhelmsson
9b430f2262 Merge 2014-12-04 10:40:19 +01:00
Goetz Lindenmaier
7a3496218a 8066662: Fix include after 8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
Reviewed-by: mgerdin, brutisso
2014-12-04 10:10:52 +01:00
Tobias Hartmann
f9806ff009 8066448: SmallCodeCacheStartup.java exits with exit code 1
Check for VirtualMachineError in case VM initialization fails.

Reviewed-by: kvn
2014-12-04 09:52:15 +01:00
Yumin Qi
9767fa7cb2 Merge 2014-12-03 20:32:33 -08:00
Kevin Walls
4169c68769 8039995: Test serviceability/sa/jmap-hashcode/Test8028623.java fails on some Linux/Mac machines
Reviewed-by: dsamersoff, allwin, sla
2014-12-03 20:40:00 +00:00
Chris Hegarty
7e65ec970c Merge 2014-12-03 17:48:58 +00:00
Staffan Friberg
4b3a02ee0b 8066441: Add PLAB trace event
Reviewed-by: tschatzl, ehelin, egahlin
2014-12-03 09:27:24 -08:00
Thomas Stuefe
7a2bd82482 8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
2014-12-03 17:12:25 +01:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Vladimir Kozlov
65fe921d3d 8066199: C2 escape analysis prevents VM from exiting quickly
Check for safepoint and block during EA Connection graph construction.

Reviewed-by: roland, vlivanov, shade
2014-12-02 12:24:31 -08:00
Jaroslav Bachorik
c6b7e46d0d 8067447: Factor out the shared implementation of the VM flags manipulation code
Reviewed-by: sla, dholmes
2014-12-02 19:47:45 +01:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Goetz Lindenmaier
3a8d0b8ce0 8072434: 8064457: introduces performance regressions in 9-b47
Reviewed-by: coleenp, kvn
2015-02-04 16:26:38 +01:00
Staffan Larsen
483815ed11 8072455: Use jtreg's requiredVersion tag in hotspot/test/TEST.ROOT
Reviewed-by: dholmes, ctornqvi
2015-02-05 12:54:34 +01:00
Thomas Stuefe
de0f1ccb86 8072575: Add missing test for 8065895
Reviewed-by: dholmes, gziemski
2015-02-04 21:33:22 -05:00
Thomas Stuefe
3bd56fc1a6 8065895: Synchronous signals during error reporting may terminate or hang VM process
Reviewed-by: dholmes, gziemski
2015-02-04 18:47:42 -05:00
Mikael Auno
5b89870233 8072472: serviceability/dcmd/framework/* should be quarantined
Reviewed-by: jbachorik
2015-02-04 16:09:49 +01:00
Igor Ignatyev
fd0dba3fc7 8066290: Port JDK-8066191 into hotspot
Reviewed-by: kvn
2014-12-02 12:37:01 +03:00
Igor Ignatyev
3a9c14c70a 8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
Reviewed-by: kvn, anoll
2014-12-02 12:36:03 +03:00
Erik Helin
cbe8efabfe 8059066: CardTableModRefBS might commit the same page twice
Reviewed-by: tschatzl, kbarrett, jmasa
2014-12-02 09:53:30 +01:00
Igor Ignatyev
768b1d81a0 Merge 2014-12-01 22:41:16 +03:00
Tatiana Pivovarova
0fccf46ae4 8066141: compiler/whitebox/GetNMethodTest.java: java.lang.RuntimeException: blob_type[MethodProfiled] for 2 level isn't MethodNonProfiled
Reviewed-by: iveresov, iignatyev
2014-12-01 22:38:29 +03:00
David Chase
2080004ef0 8064524: Compiler code generation improvements
Reviewed-by: jrose, acorn, vlivanov
2014-12-01 13:06:20 -05:00
Vladimir Kempik
4e46878062 8058935: CPU detection gives 0 cores per cpu, 2 threads per core in Amazon EC2 environment
Reviewed-by: kvn, dsamersoff
2014-12-01 18:22:45 +04:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Bengt Rutisson
5c41d82d78 8065993: Merge OneContigSpaceCardGeneration with TenuredGeneration
Reviewed-by: mgerdin, kbarrett
2014-12-01 14:37:25 +01:00
Bengt Rutisson
ca3e287e96 8065992: Change CMSCollector::_young_gen to be a ParNewGeneration*
Reviewed-by: mgerdin, kbarrett
2014-12-02 09:51:16 +01:00
Jesper Wilhelmsson
4fafece403 Merge 2014-12-01 12:11:11 +01:00
Roland Westrelin
686e5a0a6f 8064703: crash running specjvm98's javac following 8060252
Uncommon trap between arraycopy and initialization may leave array initialized

Reviewed-by: kvn, vlivanov, goetz
2014-12-01 11:59:56 +01:00
Igor Ignatyev
349a740fef Merge 2014-11-28 18:37:20 +00:00
Igor Ignatyev
0ca96a4047 Merge 2014-11-28 16:59:12 +00:00
Filipp Zhinkin
23b769e30e 8058846: c.o.j.t.Platform::isX86 and isX64 may simultaneously return true
Reviewed-by: iveresov, iignatyev
2014-11-28 19:49:16 +03:00
Tatiana Pivovarova
4e55928faf 8064953: Asserts.assert* should print values
Reviewed-by: sla, dholmes, iignatyev
2014-11-28 19:42:10 +03:00
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Thomas Schatzl
77f5cb9219 Merge 2014-11-28 08:53:48 +00:00
Leonid Mesnik
c8a147b8c7 8065579: WB method to start G1 concurrent mark cycle should be introduced
Add a WhiteBox callback to the VM to start a concurrent mark cycle in G1.

Reviewed-by: tschatzl, sjohanss
2014-11-28 09:33:48 +01:00
Bengt Rutisson
d8635f58cd 8066133: Fix missing reivew changes for JDK-8065972
Reviewed-by: mgerdin, stefank
2014-11-28 08:20:52 +01:00
Bengt Rutisson
0ecc753586 8065972: Remove support for ParNew+SerialOld and DefNew+CMS
Reviewed-by: mgerdin, stefank
2014-11-27 21:02:13 +01:00
David Chase
e7cf10b9eb Merge 2014-11-27 11:33:04 -05:00
Roland Westrelin
6d20d3298a 8066045: opto/node.hpp:355, assert(i < _max) failed: oob: i=1, _max=1
Code in PhaseIterGVN::add_users_to_worklist() from 8054478 makes incorrect assumption about graph shape

Reviewed-by: iveresov
2014-11-27 16:54:49 +01:00
Stefan Johansson
02adde2aac 8065227: Report allocation context stats at end of cleanup
Moved allocation context update from remark to the cleanup phase.

Reviewed-by: mgerdin, jmasa
2014-11-27 11:09:55 +01:00
Evgeniya Stepanova
e635ae96cb 8065865: gc/TestSoftReferencesBehaviorOnOOME.java: Error. Can't find source file: TestSoftReference.java
Reviewed-by: sla
2014-11-27 14:52:01 +04:00
Sangheon Kim
1ffc316e18 8055239: assert(_thread == Thread::current()->osthread()) failed: The PromotionFailedInfo should be thread local
Changed to trace and reset before second use of PromotionFailedInfo.

Reviewed-by: jmasa, brutisso, kbarrett
2014-11-26 21:38:25 -08:00
David Chase
bd885cddf0 Merge 2014-11-26 20:38:10 -05:00
Jesper Wilhelmsson
d4c7f00306 Merge 2014-11-26 20:36:36 +00:00
Yumin Qi
d1c1ac6cd9 Merge 2014-11-26 19:46:33 +00:00
Yumin Qi
bfefbe8ba4 Merge 2014-11-26 18:47:23 +00:00
Yumin Qi
d620b54c63 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Jon Masamitsu
47d94bfc2f Merge 2014-11-26 17:43:48 +00:00
Jesper Wilhelmsson
11267d8d06 Merge 2014-11-26 17:24:57 +00:00
Jesper Wilhelmsson
3c3e60d5be Merge 2014-11-26 18:01:10 +01:00
Erik Helin
09ae36fd33 8065656: Use DWARF debug symbols for Solaris
Reviewed-by: dcubed, huntch, pbk
2014-11-26 17:32:39 +01:00
Filipp Zhinkin
5e21021117 8037968: Add tests on alignment of objects copied to survivor space
Reviewed-by: jmasa, dfazunen
2014-11-26 14:17:06 +04:00
Mikael Gerdin
b5ef32af36 8065358: Refactor G1s usage of save_marks and reduce related races
Stop using save_marks in G1 related code and make setting the replacement field less racy.

Reviewed-by: brutisso, tschatzl
2014-11-26 10:53:31 +01:00
Mikael Gerdin
d65f3c41b7 8065218: Move CMS-specific fields from Space to CompactibleFreeListSpace
Reviewed-by: brutisso, tschatzl, sangheki
2014-11-26 10:51:52 +01:00
Tobias Hartmann
137d39454d 8007993: hotspot.log w/ enabled LogCompilation can be an invalid XML
Open compilation log files in write-mode and close before deletion attempt.

Reviewed-by: vlivanov
2014-11-26 08:06:58 +01:00
David Holmes
26dc1466b7 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Roland Westrelin
15dcd41e87 6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
OOM during reallocation of scalar replaced objects in deoptimization causes crashes

Reviewed-by: kvn, jrose
2014-11-25 17:33:59 +01:00
Niclas Adlertz
53f42d325b Merge 2014-12-05 15:16:01 +01:00
Roland Westrelin
1976f161a5 Merge 2014-12-04 14:11:11 +00:00
Roland Westrelin
07537703cc 8048170: Test closed/java/text/Normalizer/ConformanceTest.java failed
PhaseIdealLoop::split_if_with_blocks_post() shoulnd't reorder range checks adjusted by range check smearing

Reviewed-by: kvn, jrose
2014-12-04 14:34:11 +01:00