Commit Graph

9614 Commits

Author SHA1 Message Date
Coleen Phillimore
4e9f2d1db2 Merge 2015-11-05 05:31:57 +00:00
Coleen Phillimore
b1f62059ba Merge 2015-11-05 03:42:04 +00:00
Christoph Langer
b6230a727d 8140244: Port fix of JDK-8075773 to AIX and possibly MacOSX
Reviewed-by: stuefe, dcubed
2015-11-04 16:23:08 -08:00
Coleen Phillimore
2806c4a7f8 Merge 2015-11-04 23:02:46 +00:00
Rachel Protacio
54f5cc46d7 8138916: Logging write function does not allow for long enough messages
The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.

Reviewed-by: coleenp, dsamersoff, mlarsson
2015-11-04 17:18:59 -05:00
Kim Barrett
63f370152d Merge 2015-11-04 20:02:54 +00:00
Coleen Phillimore
c72a8bae03 Merge 2015-11-04 19:52:04 +00:00
Rachel Protacio
e54bd838f9 8140348: Convert TraceSafepoint to Unified Logging
The former -XX:+TraceSafepoint flag is updated to the unified logging framework and is now replaced with -Xlog:safepoint in product mode.

Reviewed-by: coleenp, hseigel
2015-11-04 14:32:51 -05:00
Ivan Galkin
3d2c024ea4 8135318: CMS wrong max_eden_size for check_gc_overhead_limit
Reviewed-by: jmasa, simonis
2015-11-04 10:12:37 -08:00
Thomas Schatzl
35f9a7ac32 Merge 2015-11-04 18:10:18 +00:00
Kim Barrett
b256989eb3 6899049: G1: Clean up code in ptrQueue.[ch]pp and ptrQueue.inline.hpp
Simplify indexing, address obsolete code, improve access/type checking.

Reviewed-by: tschatzl, pliden
2015-11-04 13:09:57 -05:00
Thomas Schatzl
a6231d3f70 8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe
2015-11-04 17:36:29 +01:00
Mikael Gerdin
f25b7859ef 8141422: G1 eager reclaim card dirtying may dirty outside of allocated objects
Reviewed-by: sjohanss, tschatzl, ehelin
2015-11-04 16:42:11 +01:00
Andrew Haley
7ac4628585 8138966: Intermittent SEGV running ParallelGC
Add necessary memory fences so that the parallel threads are unable to observe partially filled block tables.

Reviewed-by: tschatzl
2015-11-04 13:38:38 +01:00
Thomas Stuefe
9adaaa0c96 8140648: Clean up remnants of fork1() from non-solaris platforms
Clean up any remnants of fork1() from Non-Solaris platforms

Reviewed-by: dholmes, goetz
2015-11-03 19:53:10 -05:00
Dmitrij Pochepko
df5a5904ce 8141331: Test hotspot/compiler/oracle/MethodMatcher.java fails with NPE
Reviewed-by: iignatyev
2015-11-04 00:59:44 +03:00
Mikael Gerdin
d281188a5f 8140452: Internal Error memory/allocation.cpp:179
Use const ref & and avoid copy ctor

Reviewed-by: coleenp
2015-10-26 17:13:40 -04:00
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Goetz Lindenmaier
3b8c97faae 8140482: Various minor code improvements (runtime)
Reviewed-by: dholmes, coleenp, sspitsyn, dsamersoff
2015-10-26 16:21:37 +01:00
Iris Clark
514eb6fd77 Merge 2015-10-25 19:38:20 -07:00
Michail Chernov
25cc742a8f 8139903: G1EvacStats does not split log entries
Added gclog_or_tty->cr() to G1EvacStats to avoid concatenated PLAB log entries.

Reviewed-by: tschatzl, dfazunen
2015-10-23 14:33:19 +03:00
David Holmes
c6b692b946 8134642: ParkEvent::RawThreadIdentity appears to be unused and should be removed
Reviewed-by: dcubed, hseigel
2015-10-25 19:19:55 -04:00
Daniel D. Daugherty
cb0500e51d 8047212: runtime/ParallelClassLoading/bootstrap/random/inner-complex assert(ObjectSynchronizer::verify_objmon_isinpool(inf)) failed: monitor is invalid
Fix race between ObjectMonitor alloc and verification code; teach SA about "static pointer volatile" fields.

Reviewed-by: cvarming, dholmes, sspitsyn, coleenp
2015-10-24 15:44:08 -07:00
Coleen Phillimore
ed82cd0ee8 Merge 2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc 8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters

Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Gerard Ziemski
f84561609b 8129855: "-XX:+IgnoreUnrecognizedVMOptions" hides out of range VM options
Implement strict spec rgarding how IgnoreUnrecognizedVMOptions works, supplied with the corresponding test case.

Reviewed-by: dcubed, ddmitriev
2015-10-23 11:17:23 -05:00
Nils Eliasson
7793175141 8140343: SEGV in DirectivesStack::getMatchingDirective
Could not match JVMCI compiler

Reviewed-by: kvn
2015-10-23 10:57:41 +02:00
Nils Eliasson
efd194d2e3 8140581: Excluding compile messages should only be printed with PrintCompilation
Use PrintCompilation flag instead

Reviewed-by: kvn
2015-10-28 15:44:28 +01:00
Igor Ignatyev
8cb3dad077 Merge 2015-10-28 16:01:45 +00:00
Zoltan Majo
d8c5daffb0 8139907: compiler/intrinsics/montgomerymultiply/MontgomeryMultiplyTest.java fails with timeout
Change MontgomeryMultiplyTest.java test to execute only on platforms on which the tested intrinsics are available.

Reviewed-by: kvn, neliasso
2015-10-28 15:15:59 +01:00
Pavel Punegov
1c3f45d213 8066158: JEP-JDK-8046155: Test task: directive parser
Check directive file parser with correct and incorrect files

Reviewed-by: kvn
2015-10-28 16:38:30 +03:00
Pavel Punegov
c95fc22507 8140453: compiler control test failed with RuntimeException: CompileCommand: nonexistent missing
Replace incorrect check for validity of method pattern with full command check

Reviewed-by: kvn
2015-10-28 16:26:42 +03:00
Pavel Punegov
2abe5caf98 8140350: compiler control tests fail with compiled: true, but should: false on required level: 1
Replace isMethodCompiled with isMethodCompilable with particular level

Reviewed-by: kvn
2015-10-28 16:00:54 +03:00
Ed Nevill
ba17a6c8f8 8140611: aarch64: jtreg test jdk/tools/pack200/UnpackerMemoryTest.java SEGVs
Fix register usage on calling native synchronized methods

Reviewed-by: kvn, adinn
2015-10-27 18:05:20 +00:00
Ed Nevill
037d51d7b0 8140582: aarch64: jvm fails to initialise after 8078556
Jvm fails to initialise on aarch64 systems with pagesize > 4K

Reviewed-by: duke
2015-10-27 10:08:48 +00:00
Dean Long
206767c0a2 Merge 2015-10-27 01:45:01 -04:00
Jan Civlin
0485593fbc 8139340: SuperWord enhancement to support vector conditional move (CMovVD) on Intel AVX cpu
Emit vector conditional moves

Reviewed-by: kvn
2015-10-26 19:33:31 -07:00
Nils Eliasson
1c8b312b4c 8139996: CompileCommand prints quoted ascii strings
Print symbols as utf8

Reviewed-by: kvn
2015-10-26 10:36:54 +01:00
Christian Thalinger
4762c58c08 Merge 2015-10-23 07:18:31 +00:00
Vivek R Deshpande
c07f802b14 8139575: Update for x86 log in the math lib
Add new java.lang.Math() intrinsics from x86

Reviewed-by: kvn, iveresov
2015-10-22 21:39:25 -07:00
Alejandro Murillo
66dd5c3e3f Merge 2015-10-22 16:25:34 -07:00
Christian Thalinger
6bc7725c19 8140091: remove VMStructs cast_uint64_t workaround for GCC 4.1.1 bug
Reviewed-by: erikj, kvn
2015-10-22 13:18:15 -10:00
Christian Thalinger
fb687e4ff4 Merge 2015-10-22 19:03:52 +00:00
Lana Steuck
a107c955e6 Merge 2015-10-22 11:13:08 -07:00
Lana Steuck
309ba90de6 Added tag jdk9-b88 for changeset 9f14b17a8956 2015-10-22 08:47:43 -07:00
Lana Steuck
d8736f33b7 Merge 2015-10-21 18:39:29 -07:00
Christian Thalinger
55bfbb3954 Merge 2015-10-21 21:49:29 +00:00
Nils Eliasson
2ae22fa029 Merge 2015-10-21 21:59:54 +02:00
Christian Thalinger
ebb27ad595 8139935: Bootcycle builds are broken on jdk9/hs due to JVMCI changes
Reviewed-by: erikj
2015-10-21 11:41:07 -07:00
Nils Eliasson
3ee545ab1d 8140240: Missing test files in CompilerControl tests
Add missing files

Reviewed-by: kvn, neliasso
2015-10-21 19:31:23 +02:00
Goetz Lindenmaier
98073abeef 8140239: Fix product build after "8132168: Support IdealGraphVisualizer in optimized build"
Reviewed-by: vlivanov
2015-10-21 18:22:47 +03:00
Eric Caspole
686fb800c8 Merge 2015-10-21 13:46:25 +00:00
Ed Nevill
724a1054af 8140238: Zero fails to build from source
Zero fails to build after 8136421 and 8078554

Reviewed-by: kvn
2015-10-21 12:15:37 +00:00
Dean Long
374baee57f Merge 2015-10-21 18:34:36 -04:00
Dean Long
42c3dcab55 8140267: assert(is_native_ptr || alias_type->adr_type() == TypeOopPtr::BOTTOM || alias_type->field() != __null || alias_type->element() != __null) failed: field, array element or unknown
Back out 8136473

Reviewed-by: twisti
2015-10-21 18:05:45 -04:00
Eric Caspole
f235a51ed0 Merge 2015-10-20 22:35:46 +00:00
Vladimir Ivanov
b7f5ea4aee Merge 2015-10-20 22:03:38 +00:00
Pavel Punegov
169541f4f9 8066166: JEP-JDK-8046155: Test task: dcmd tests
Tests for diagnostic command in CompilerControl

Reviewed-by: kvn
2015-10-20 21:12:25 +03:00
Pavel Punegov
0ea5332014 8066153: JEP-JDK-8046155: Test task: cover existing
Tests for CompilerCommand and CompilerControl's directives

Reviewed-by: kvn
2015-10-20 21:09:57 +03:00
Eric Caspole
4e060cfa31 8060017: G1: Report heap sizing time
Report heap expansion time done on VM thread after collection. Previously this was included in "Other" time.

Reviewed-by: mgerdin, tschatzl
2015-10-20 14:01:49 -04:00
Vladimir Ivanov
deec4ce18c 8132168: Support IdealGraphVisualizer in optimized build
Reviewed-by: kvn
2015-10-20 19:22:56 +03:00
Nils Eliasson
5a5faf94bf 8137167: JEP165: Compiler Control: Implementation task
Compiler Control JEP

Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Roland Westrelin
857b7eb968 Merge 2015-10-20 13:36:20 +00:00
Erik Helin
5b0f38dab7 8138975: G1CollectorPolicy::calculate_young_list_target_length should be const
Reviewed-by: mgerdin, tschatzl
2015-10-20 14:37:59 +02:00
Coleen Phillimore
a4efe9440b Merge 2015-10-22 17:24:17 +00:00
Goetz Lindenmaier
83b3b21342 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Erik Helin
cc35d905ff 8139256: Add Makefile target to run internal VM tests
Reviewed-by: ihse, erikj
2015-10-21 13:41:27 +02:00
David Lindholm
437751031d 8139952: Remove UseCMSAdaptiveFreeLists, UseAsyncConcMarkSweepGC, CMSDictionaryChoice, CMSOverflowEarlyRestoration and CMSTestInFreeList
Reviewed-by: jwilhelm, ecaspole
2015-10-22 08:53:13 +02:00
Bob Vandette
f8b8fb330b Merge 2015-10-21 17:16:02 -04:00
Bob Vandette
d369cdd811 Merge 2015-10-21 16:38:48 -04:00
Christian Tornqvist
1d0e3cd9fd Merge 2015-10-21 19:10:21 +00:00
Christian Tornqvist
de06de1d7b 8140243: [TESTBUG] Exclude compiler/jvmci/compilerToVM/GetConstantPoolTest.java
Reviewed-by: gtriantafill, kvn
2015-10-21 09:47:23 -07:00
Bengt Rutisson
7f319f0c67 8139868: CMSScavengeBeforeRemark broken after JDK-8134953
Reviewed-by: sjohanss, jwilhelm
2015-10-20 14:00:00 +02:00
Erik Joelsson
fc56d44bca 8139657: Incremental build of jdk.vm.ci-gensrc creates repeated entries in services file
Reviewed-by: twisti
2015-10-20 10:24:40 +02:00
Bob Vandette
68118f1a06 Merge 2015-10-19 15:48:13 -04:00
Alejandro Murillo
cfbb592424 Merge 2015-10-19 12:30:17 -07:00
Bob Vandette
d65d34b99d 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:21:37 -04:00
Erik Helin
7bb30f51ab 8139892: Allow G1CollectorPolicy to specify if reference processing should be enabled
Reviewed-by: mgerdin, kbarrett, tbenson
2015-10-19 16:33:12 +02:00
Erik Helin
a97787ba26 Merge 2015-11-26 01:59:34 +00:00
Coleen Phillimore
f3c2ec63b4 Merge 2015-11-26 00:00:25 +00:00
Karen Kinnear
ba90b1c612 Merge 2015-11-25 21:21:30 +00:00
Erik Helin
ae6fc5e37b 8142494: Add extension point to G1EvacuationRootClosures
Reviewed-by: jmasa, mgerdin
2015-11-25 21:54:05 +01:00
Thomas Schatzl
00eb98fb06 Merge 2015-11-25 19:27:38 +00:00
Erik Helin
2623434709 Merge 2015-11-25 17:32:44 +00:00
Coleen Phillimore
a210245805 Merge 2015-11-25 16:13:14 +00:00
Sebastian Sickelmann
4699c70e25 8136978: Much nearly duplicated code for vmError support
Moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly

Reviewed-by: stuefe, coleenp, dholmes
2015-11-25 16:33:28 +01:00
Bengt Rutisson
070065c20d Merge 2015-11-25 14:48:51 +00:00
Karen Kinnear
d63f180edb 8098557: Only init superintf if subclass, not sub interface inits
Must exclude jck lang exec05001m311_rt until fixed.

Reviewed-by: lfoltan, hseigel, dholmes
2015-11-25 09:08:51 -05:00
Thomas Schatzl
986ada18e1 Merge 2015-11-25 13:52:26 +00:00
Thomas Schatzl
352c2060f2 8136679: JFR event for adaptive IHOP
Reviewed-by: tbenson, mgerdin, sangheki, ehelin
2015-11-25 14:43:29 +01:00
David Lindholm
8608ecb702 Merge 2015-11-25 11:45:26 +00:00
Erik Joelsson
c63309f725 Merge 2015-11-25 11:34:16 +01:00
Bengt Rutisson
52d5fa2d0b Merge 2015-11-25 08:42:47 +00:00
Calvin Cheung
bf5cd5827f Merge 2015-11-25 08:18:08 +00:00
Bengt Rutisson
0091d09fd2 8143544: Make CMSCollector::is_cms_reachable() non-product
Reviewed-by: ysr, tschatzl
2015-11-25 08:52:55 +01:00
Coleen Phillimore
294eefe185 Merge 2015-11-25 06:33:28 +00:00
Joseph Provino
a12ebf3b74 Merge 2015-11-25 04:51:32 +00:00
Calvin Cheung
6887844c72 8143963: improve ClassLoader::trace_class_path to accept an additional outputStream* arg
For fixing a truncation problem on the output from -XX:+TraceClassPaths

Reviewed-by: coleenp, jiangli, cjplummer, minqi
2015-11-24 16:58:45 -08:00
Mandy Chung
0c356db16a Merge 2015-11-25 00:47:35 +00:00
Mandy Chung
2b732b223e 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 14:59:17 -08:00
David Holmes
8549d3bb88 Merge 2015-11-24 22:54:30 +00:00
Joseph Provino
5cabf32a93 Merge 2015-11-24 21:40:22 +00:00
Thomas Stuefe
dea766f332 8143233: [windows] Fixes to os::check_heap()
Reviewed-by: dholmes, ctornqvi
2015-11-24 15:58:26 -05:00
Joseph Provino
f85cf9d7be 8139922: Get rid of dead code in ConcurrentMark
ConcurrentMark contains lots of unused code which has been removed.

Reviewed-by: jmasa, tschatzl
2015-11-24 15:13:02 -05:00
Dmitry Dmitriev
7171a533ff Merge 2015-11-24 20:01:45 +00:00
Christian Tornqvist
7fafbf07f9 Merge 2015-11-24 18:32:35 +00:00
Christian Tornqvist
130ba226a1 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:11 -08:00
Rachel Protacio
d2e0eb79a8 8143155: Remove TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls rather than convert to UL
Removed TraceRuntimeCalls, TraceJNICalls, and TraceJVMCalls options because their output is excessive, not useful, and covered in a more useful way by other options.

Reviewed-by: coleenp, dholmes, ddmitriev
2015-11-24 11:40:18 -05:00
Erik Helin
402195fa55 8142495: Move G1ParEvacuateFollowersClosure to header file
Reviewed-by: sjohanss, brutisso
2015-11-24 15:46:45 +01:00
Dmitry Dmitriev
0b12fb83d2 Merge 2015-11-24 13:58:08 +00:00
David Lindholm
f6343b0f69 8143587: G1 crashes with humongous object of size that almost fills a heap region
Reviewed-by: mgerdin, brutisso
2015-11-24 14:03:42 +01:00
Chris Hegarty
e09cadb438 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:49:44 +00:00
Erik Joelsson
5b86ad79e5 8142336: Convert the SA agent build to modular build-infra makefiles
Reviewed-by: ihse, sla, dsamersoff, twisti
2015-11-24 12:18:25 +01:00
Thomas Schatzl
48264e4686 8136678: Implement adaptive sizing algorithm for IHOP
Add adaptive sizing for IHOP that maximizes throughput (starts marking as late as possible). This functionality is enabled using a new -XX:+G1AdaptiveIHOP switch (default: false).

Reviewed-by: mgerdin, jmasa, pliden
2015-11-24 10:35:52 +01:00
Thomas Schatzl
66a728fc27 8136681: Factor out IHOP calculation from G1CollectorPolicy
Move out existing IHOP value calculation into an implementation of a new interface called G1IHOPControl. Prepare for changes to accomodate adaptive IHOP implementation.

Reviewed-by: jmasa, mgerdin, ehelin
2015-11-24 10:22:36 +01:00
Hui Shi
7fe249f6db 8143285: aarch64: Missing load acquire when checking if ConstantPoolCacheEntry is resolved
Reviewed-by: roland, aph
2015-11-24 09:02:26 +00:00
Kim Barrett
fe1c3f905b Merge 2015-11-24 08:29:48 +00:00
Dmitry Dmitriev
7b9d2f1453 8143038: [TESTBUG] TestOptionsWithRanges: allow excluding only a subset of tested values specified for a flag
Reviewed-by: gziemski, ctornqvi
2015-11-24 09:42:05 +03:00
David Holmes
fed841e5af Merge 2015-11-24 06:37:12 +00:00
Coleen Phillimore
99cba80808 Merge 2015-11-24 02:54:54 +00:00
David Holmes
274653d406 8143836: [TESTBUG] runtime/CommandLine/IgnoreUnrecognizedVMOptions fails in jdk9/dev
Reviewed-by: coleenp, hseigel
2015-11-23 21:05:43 -05:00
Jiangli Zhou
4085afc0d2 Merge 2015-11-24 02:43:15 +01:00
Coleen Phillimore
7c0db5008e Merge 2015-11-23 23:29:25 +00:00
Coleen Phillimore
b48eddab1b Merge 2015-11-23 22:53:50 +00:00
Jiangli Zhou
9a9314db0c Merge 2015-11-23 23:42:46 +01:00
Rachel Protacio
c67974cf0f 8143157: Convert TraceVMOperation to Unified Logging
The former -XX:+TraceVMOperation flag is updated to the unified logging framework and is now replaced with -Xlog:vmoperation in product mode.

Reviewed-by: coleenp, dholmes, mockner
2015-11-23 16:16:46 -05:00
Coleen Phillimore
8b93afb3a2 Merge 2015-11-23 21:00:25 +00:00
Mandy Chung
bf9af24b55 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:43 -08:00
Jiangli Zhou
6ca042cb32 Merge 2015-11-23 14:38:20 -05:00
Alexander Harlap
f3ff4f52cc 8141135: Remove G1RemSet::write_ref
Remove unused memembers of G1RemSet

Reviewed-by: kbarrett, tschatzl
2015-11-23 11:43:02 -05:00
Gerard Ziemski
a138de1354 8141706: [TESTBUG] Update tests failing due to changed behavior
Add UnlockDiagnosticVMOptions as appropriate.

Reviewed-by: kvn, dholmes
2015-11-20 11:57:33 -06:00
Marcus Larsson
961fbacd76 8143229: Replace the develop level with develop macros in Unified Logging
Reviewed-by: brutisso, coleenp, dholmes, rprotacio
2015-11-20 12:42:21 +01:00
Jiangli Zhou
4bea0af9ab Merge 2015-11-19 19:26:51 -05:00
Harold Seigel
e33f9ae6a9 Merge 2015-11-19 21:21:15 +00:00
Christian Tornqvist
5bbe1a78d8 Merge 2015-11-19 19:38:54 +00:00
Christian Tornqvist
c02b26ee45 8143324: Backout JDK-8087223
Reviewed-by: coleenp, acorn
2015-11-19 10:34:11 -08:00
Bengt Rutisson
8af1d18e78 8143255: Remove debug logging from SymbolTable::unlink() and SymbolTable::possibly_parallel_unlink()
Reviewed-by: coleenp, tschatzl
2015-11-19 16:14:45 +01:00
Marcus Larsson
dd059bb29f 8142483: Unified logging log instances cause warnings on windows when only static functions are used
Reviewed-by: brutisso, sla
2015-11-11 15:45:17 +01:00
David Lindholm
c3db3bae7b Merge 2015-11-20 19:17:57 +00:00
Dmitry Dmitriev
ae97daa5e1 Merge 2015-11-20 17:16:58 +00:00
David Lindholm
2d7e74703d 8138681: Runtime.getFreeMemory() reports wrong value after humongous allocation
Reviewed-by: tschatzl, mgerdin
2015-11-20 17:32:02 +01:00
Stanislav Smirnov
8d94626bb3 8133416: [TESTBUG] Remove @ignore for closed/runtime/4345157/Prog.java
Rewrote test in Java with a number of improvements and conditional exclusion using make file

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-11-20 09:44:16 -05:00
Erik Helin
aefeb2d442 8142390: Move ScanRSClosure to header file
Reviewed-by: jmasa, tschatzl
2015-10-19 16:21:35 +02:00
Erik Helin
3ee73137fb 8139883: Add virtual destructor G1ParScanThreadState
Reviewed-by: tschatzl, mgerdin, stefank
2015-10-19 15:47:36 +02:00
Bengt Rutisson
0ee0cf9845 8142475: Remove TraceParallelOldGCTasks
Reviewed-by: tschatzl, david
2015-11-12 09:21:16 +01:00
Bengt Rutisson
250efd235c 8142472: Remove debugging code guarded by CMSPrintPromoBlockInfo
Reviewed-by: david, ehelin
2015-11-12 09:19:44 +01:00
Coleen Phillimore
0e66856774 Merge 2015-11-11 23:51:57 -05:00
Joseph Provino
8e6c71d7c2 Merge 2015-11-12 00:38:44 +00:00
Rachel Protacio
5386656677 8142437: SafepointTest.java is occasionally failing in JPRT
A method compilation causing a specific log message to print has been removed because it was not always being compiled.

Reviewed-by: coleenp, dholmes
2015-11-11 18:04:33 -05:00
Ron Durbin
409697a74e 8141068: refactor -XXFlags= code in preparation for removal
Reviewed-by: dcubed, gthornbr, coleenp
2015-11-11 14:57:27 -08:00
Erik Helin
e76add1886 8135078: Refactor InCSetState::is_in_cset_or_humongous
Reviewed-by: tschatzl, jwilhelm
2015-10-19 15:21:01 +02:00
Jesper Wilhelmsson
f21d1afd70 8139772: Cleanups in Generation related code
Reviewed-by: tbenson, mgerdin
2015-10-19 15:03:58 +02:00
Lana Steuck
cd71f22bec Added tag jdk9-b87 for changeset b53b8a1f9285 2015-10-19 00:24:58 -07:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Roland Westrelin
f089f614f6 Merge 2015-10-16 16:09:00 +00:00
Roland Westrelin
096fa934a8 8136473: failed: no mismatched stores, except on raw memory: StoreB StoreI
Mismatched stores on same slice possible with Unsafe.Put*Unaligned methods

Reviewed-by: kvn, thartmann
2015-10-16 16:53:02 +02:00
Roland Westrelin
74f8cc939b 8139750: [BACKOUT] Elide more final field's write memory barrier with escape analysis result
Reviewed-by: kvn
2015-10-16 15:48:18 +02:00
Zoltan Majo
703c1c58d7 8139380: VMError::report_and_die() does not produce replay file
Change VMError::report() to use a correct format string in both JVMCI-enabled builds and builds without JVMCI.

Reviewed-by: roland, kvn
2015-10-16 15:21:37 +02:00
David Lindholm
65e88c8313 8139277: Remove ScavengeWithObjectsInToSpace, ParallelOldGCSplitALot, ParallelOldGCSplitInterval, PSAdjustTenuredGenForMinorPause and PSAdjustYoungGenForMajorPause
Reviewed-by: tschatzl, sjohanss
2015-10-16 14:11:29 +02:00
Kim Barrett
4500c7fac8 8139341: Hide ExtendedOopClosure::_ref_processor
Make ExtendedOopClosure::_ref_processor private.

Reviewed-by: mgerdin, sjohanss
2015-10-16 14:55:09 -04:00
Roland Westrelin
6c269ab6a9 Merge 2015-10-16 11:47:04 +00:00
Martin Doerr
de26bc4347 8139734: ppc: fix build after "8078556: Runtime: implement ranges..."
Reviewed-by: goetz
2015-10-16 10:20:59 +02:00
Lana Steuck
9ccbf5e52a Added tag jdk9-b86 for changeset 7e41230dec76 2015-10-15 15:15:17 -07:00
Ed Nevill
47040f764d 8139674: aarch64: guarantee failure in TestOptionsWithRanges.java
Fix negative overflow in instruction field

Reviewed-by: kvn, roland, adinn, aph
2015-10-15 15:33:54 +00:00
Igor Ignatyev
c1408bb0c8 8139707: [TESTBUG] Quarantine unstable compiler/jvmci tests
Reviewed-by: twisti
2015-10-16 02:05:54 +03:00
Igor Ignatyev
f102784437 8138794: [TESTBUG] ctw tests fail to compile after 8137056
Reviewed-by: dlong, kvn
2015-10-16 01:15:08 +03:00
Zoltan Majo
ab88e9aa93 Merge 2015-10-15 17:40:39 +00:00
Zoltan Majo
34e1545cab 8080650: Enable stubs to use frame pointers correctly
Change MacroAssembler::verified_entry() to set up RBP correctly when generating stub code.

Reviewed-by: kvn
2015-10-15 17:38:41 +02:00
Konstantin Shefov
a4cb6b3eb4 8072369: [TESTBUG] Remove potentially insecure class cast in some hotspot tests
Reviewed-by: twisti, kvn, iignatyev, tpivovarova
2015-10-15 18:00:00 +03:00
Kim Barrett
e7d0e95b08 8139200: Eliminate G1ParClosureSuper::_worker_id
Moved _worker_id from G1ParClosureSuper to G1ParCopyHelper.

Reviewed-by: mgerdin, tschatzl
2015-10-15 10:10:13 -04:00
Coleen Phillimore
e8e182c0e7 Merge 2015-10-16 00:01:49 +00:00
Daniel D. Daugherty
9d0fadc788 Merge 2015-10-15 19:17:08 +00:00
Gerard Ziemski
22838597ea 8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing
JEP 245: implement ranges and constraints for runtime flags.

Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: coleenp, ddmitriev, jiangli, goetz
2015-10-15 13:34:21 -05:00
Daniel D. Daugherty
2559482886 8136552: Last argument wins does not work for special options with "-XX:VMOptionsFile" option
Match_special_option_and_act() should insert_vm_options_file() earlier and process the inserted options right away to honor "last option wins" semantics.

Reviewed-by: dcubed, coleenp
2015-10-15 10:00:30 -07:00
Jaroslav Bachorik
7b389d3533 8135188: RunFinalizationTest.java Exception java.lang.Error: Test failure: Object was not finalized
Reviewed-by: dcubed, martin
2015-10-15 17:35:42 +02:00
Jesper Wilhelmsson
7078962b9c Merge 2015-10-15 13:28:22 +02:00
Igor Ignatyev
888def5147 Merge 2015-10-15 11:20:04 +00:00
Thomas Schatzl
f2b8803873 Merge 2015-10-15 13:00:17 +02:00
Igor Ignatyev
dbdfa81492 Merge 2015-10-15 09:36:13 +00:00
Thomas Schatzl
6abb87fd84 8138752: G1CollectorPolicy::should_should_update_surv_rate_group_predictors() uses wrong predicate
Instead of only updating the survivor rate groups in the young gc after marking and before mixed gc, update them during young gcs outside of marking

Reviewed-by: mgerdin, drwhite
2015-10-15 10:15:08 +02:00
Thomas Schatzl
f292ac2dc2 8138750: Remove dead code in survivor rate group
Reviewed-by: mgerdin, tbenson
2015-10-15 10:13:08 +02:00
Thomas Schatzl
55988baae2 8139583: Fix formatting in survRateGroup.cpp
Reviewed-by: kbarrett, stefank
2015-10-15 10:12:17 +02:00
Thomas Schatzl
b8367b252f 8137082: Factor out G1 prediction code from G1CollectorPolicy and clean up
Factor out G1 prediction code from G1CollectorPolicy into its own class, constify methods of G1CollectorPolicy and move more implementations to the cpp file.

Reviewed-by: jmasa, sangheki, ecaspole, kbarrett
2015-10-15 10:07:28 +02:00
Roland Westrelin
1f94d4ca9e Merge 2015-10-15 07:56:53 +00:00
Hui Shi
d8a864cd68 8138956: Elide more final field's write memory barrier with escape analysis result
Membar for final/stable fields eliminated if possible

Reviewed-by: roland, mdoerr, enevill, aph
2015-10-15 09:40:45 +02:00
Yumin Qi
ebe8b1d7f6 Merge 2015-10-15 00:42:15 +00:00
Dmitrij Pochepko
72de147944 8139438: [TESTBUG] JVMCI test fails with RuntimeException: Has no virtual object before materialization
Reviewed-by: iignatyev, twisti
2015-10-15 02:46:51 +03:00
Tatiana Pivovarova
d3ad64d9d6 8139375: [TESTBUG] compiler/jvmci/SecurityRestrictionsTest checks are too tight
Reviewed-by: twisti, iignatyev
2015-10-15 01:58:28 +03:00
Poonam Bajaj
a25ce80e78 8136577: Make AbortVMOnException available in product builds
Reviewed-by: coleenp
2015-10-14 15:36:41 -07:00
Christian Thalinger
230d811034 8139386: JVMCI test failed with assert(_jvmci._alternate_call_target == 0L) failed: must be
Reviewed-by: kvn
2015-10-14 12:29:18 -10:00
Yumin Qi
5ba14c7523 Merge 2015-10-14 20:59:59 +00:00
Christian Thalinger
fcbdffb48f 8139545: JVMCI : guarantee(heap_end < allocation_end) failed on some sparcv9 hosts
Reviewed-by: iveresov, kvn
2015-10-14 09:22:21 -10:00
Harold Seigel
df9b5759f7 8139069: JVM should throw ClassFormatError for <init> methods in interfaces
If method being parsed is in an interface, throw ClassFormatError if its name is "<init>"

Reviewed-by: acorn, lfoltan
2015-10-14 13:30:47 -04:00
Yumin Qi
93d709dc4b 8135284: Remove Method::_method_size field
Remove Method::_method_size to improve memory footprint after JDK-8135085,which increased 4 bytes for 32 platform. Also removed related unused code in SA.

Reviewed-by: coleenp, hseigel
2015-10-14 08:12:33 -07:00
Mikael Gerdin
86cf323c41 8139149: Split G1 evacuate_collection_set into multiple steps
Reviewed-by: ehelin, tschatzl
2015-10-14 14:51:10 +02:00
Derek White
3133bbb7fa 8138920: Refactor the sampling thread from ConcurrentG1RefineThread
Helps enable running without concurrent refinement threads

Reviewed-by: brutisso, pliden
2015-10-26 12:22:24 -04:00
Chris Hegarty
9a7829e5a6 Merge 2015-10-27 15:09:19 +00:00
Chris Hegarty
ca4787d77b 8139891: Prepare Unsafe for true encapsulation
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Thomas Schatzl
d7363bbd3b 8140583: Without PrintPLAB, there are superfluous newlines in the GC log messages
Conditionalize offending newlines by -XX:+PrintPLAB

Reviewed-by: mgerdin
2015-10-27 11:44:49 +01:00
Mikael Gerdin
425894f2ea 8138762: Refactor setup of evacuation closures in G1
Introduce policy class containing the root scan closures.

Reviewed-by: ehelin, stefank
2015-10-14 14:50:43 +02:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02:00
Christian Thalinger
f1c801e561 8139524: JVMCI cannot be initialized with CMS or Serial GCs
Reviewed-by: iveresov
2015-10-13 09:21:10 -10:00
Andrew Haley
3ceb2dbcc2 8139041: Redundant DMB instructions
Merge consecutive DMB intstructions

Reviewed-by: roland, kvn, twisti
2015-10-13 16:25:50 +00:00
David Lindholm
5659603602 Merge 2015-10-13 17:34:28 +02:00
Igor Ignatyev
815be268ee 8139376: [TESTBUG] ExecuteInstalledCodeTest should be run only on amd64 and sparcv9
Reviewed-by: twisti, kvn
2015-10-13 16:21:25 +03:00
Thomas Schatzl
261e7583ab 8069330: Adjustment of concurrent refinement thresholds does not take hot card cache into account
Measure HCC processing time separately and remove that time from the calculation of the refinement thresholds. HCC processing time is still taken into account for general pause time predictions.

Reviewed-by: tbenson, jmasa
2015-10-13 14:49:13 +02:00
David Lindholm
77021edbd0 8139506: Remove the WaterMark class
Reviewed-by: stefank, mgerdin
2015-10-13 14:07:05 +02:00
Stefan Karlsson
0c74942fe6 8058563: InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries
Reviewed-by: mgerdin, vlivanov
2015-10-13 10:06:46 +02:00
David Lindholm
9e52e67f3c 8139427: Break out YoungList to own class
Reviewed-by: mgerdin, jwilhelm
2015-10-13 08:37:44 +02:00
Bengt Rutisson
30e8dff916 Merge 2015-10-09 20:45:45 +00:00
Martin Doerr
3d2b56d9b3 8138890: C1: Ambiguous operator delete
XlC on AIX rejects to compile LIRGenerator and RangeCheckEliminator::Verification

Reviewed-by: simonis, goetz, twisti
2015-10-09 20:58:25 +02:00
Bengt Rutisson
df8a954b50 8139294: TestGCEventMixedWithCMSConcurrent.java still fails after JDK-8134953
Reviewed-by: jwilhelm, ecaspole
2015-10-09 20:52:59 +02:00
Bengt Rutisson
b266f13f2c 8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953
Reviewed-by: ecaspole, jwilhelm
2015-10-09 20:31:56 +02:00
Kim Barrett
37125920a7 8138659: Speed up InstanceKlass subclass discrimination
Add _misc_kind field and flags, move around predicates.

Reviewed-by: coleenp, stefank
2015-10-09 14:08:15 -04:00
Lana Steuck
f03621f7a6 Merge 2015-10-09 10:22:27 -07:00
Goetz Lindenmaier
4aad17f807 8139116: Fixes for warning "format not a string literal"
Reviewed-by: ddmitriev, david, simonis
2015-10-09 16:39:37 +02:00
Coleen Phillimore
af7bf9a76a Merge 2015-10-26 20:07:50 +01:00
Coleen Phillimore
4995b2efde Merge 2015-10-26 18:27:33 +01:00
Sangheon Kim
468f74a1a8 8139801: Error message from validation check has wrong order on Windows
Added flushing stdout and stderr before exit or abort

Reviewed-by: coleenp, cjplummer
2015-10-26 08:34:25 -07:00
Alexander Harlap
d18f04bb32 8139664: Delete ConcurrentMarkSweepThread::is_ConcurrentGC_thread()
Remove virtual  method with same implementation as on base class

Reviewed-by: pliden, drwhite
2015-10-22 11:33:51 -04:00
Derek White
f44c1ac1ff 8140251: Define the G1 term MMU somewhere in the source code
(MINOR) Simple comment fix to define Minimum Mutator Utilization (MMU)

Reviewed-by: jwilhelm
2015-10-21 14:13:36 -04:00
Erik Helin
aeffdfc249 8138972: G1CollectorPolicy::_max_survivor_regions should be intialized in the initializer list
Reviewed-by: jwilhelm, mgerdin
2015-10-09 15:48:30 +02:00
Chris Hegarty
1a83e59745 8138978: Examine usages of sun.misc.IOUtils
Reviewed-by: alanb, mullan, psandoz, rriggs, weijun
2015-10-09 14:21:33 +01:00
David Lindholm
a9eb4d64cb Merge 2015-10-09 08:46:44 +00:00
David Lindholm
5770f4eb32 8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files

Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Mikael Gerdin
6aec53bd96 8139086: Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp
Reviewed-by: dcubed, kbarrett, coleenp
2015-10-09 09:00:33 +02:00
Lana Steuck
e7f00972c0 Added tag jdk9-b85 for changeset 9a72f98c3066 2015-10-08 22:30:35 -07:00
Alejandro Murillo
cfc752716c Merge 2015-10-08 14:28:55 -07:00
Dean Long
8ecc501677 Merge 2015-10-08 19:16:42 +00:00
Tomasz Wojtowicz
254fe207a8 8139094: Tier1 test java/util/zip/TestCRC32C.java fails due to fixes for JDK-8134553
Match correct intrinsic kind

Reviewed-by: iveresov, kvn
2015-10-08 09:51:12 -07:00
Ed Nevill
a138ebeb52 8139043: aarch64: add support for adler32 intrinsic
Add adler32 support like 8132081 for sparc

Reviewed-by: kvn
2015-10-08 13:14:46 +00:00
Bengt Rutisson
dbdf722879 8138717: TestGCEventMixedWithG1ConcurrentMark.java fails
Reviewed-by: jwilhelm, david
2015-10-08 12:44:12 +02:00
Jesper Wilhelmsson
0ec56658ea Merge 2015-10-08 22:35:20 +02:00
Andrew Dinn
bf99cd983a 8139042: AARCH64: Correct regression introduced by 8080293
Reinstate unsafe volatile optimization broken by JDK-8080293

Reviewed-by: aph, kvn
2015-10-07 06:56:58 -04:00
Lana Steuck
188c32e53c Merge 2015-10-06 08:41:31 -07:00
Iris Clark
20e02506e9 Merge 2015-10-05 20:55:38 -07:00
Lana Steuck
2da00b4c36 Added tag jdk9-b84 for changeset 43c458023730 2015-10-05 20:24:59 -07:00
Vivek R Deshpande
5a633b1cbd 8132207: update for x86 exp in the math lib
Add new java.lang.Math() intrinsics from x86

Reviewed-by: kvn, iveresov
2015-10-05 20:02:40 -07:00
Sangheon Kim
b112b31e5b 8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
Add ranges and constraint functions for GC flags.

Reviewed-by: kbarrett, jmasa, jwilhelm, gziemski, zmajo
2015-10-05 14:56:19 -07:00
Carsten Varming
3f29249aee 8139134: Wrong tenuring threshold in young GC trace event
Reviewed-by: ehelin, jwilhelm
2015-10-08 12:47:17 +02:00
Martin Doerr
bd35ac3342 8138896: C1: NativeGeneralJump is mixed up with NativeCall in C1 patching code
Reviewed-by: twisti, vlivanov
2015-10-05 23:53:59 +02:00
Tobias Hartmann
039050a9f7 8142303: C2 compilation fails with "bad AD file"
Move range checks into intrinsics for String methods.

Reviewed-by: kvn, aph
2015-11-27 09:36:46 +01:00
Hui Shi
b66410f7b7 8143584: Load constant pool tag and class status with load acquire
Reviewed-by: roland, aph
2015-11-26 15:37:04 +00:00
Martin Doerr
f6cb49ba48 8138895: C1: PPC64 Port needs special register for Locks in synchronization code
Reviewed-by: vlivanov, goetz
2015-10-05 23:50:43 +02:00
Martin Doerr
28115bceae 8138892: C1: Improve counter overflow checking
Reviewed-by: iveresov, goetz, twisti, vlivanov
2015-10-21 11:40:05 +02:00
Goetz Lindenmaier
56d0ec1e1a 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
Also fix one problematic format on ppc.

Reviewed-by: david, simonis
2015-10-02 11:46:42 +02:00
Igor Ignatyev
462756ad41 Merge 2015-10-08 01:04:29 +00:00
Daniel D. Daugherty
3a93c5efe8 Merge 2015-10-07 22:54:08 +00:00
Christian Tornqvist
32ece0aa0b Merge 2015-10-07 20:45:15 +00:00