Commit Graph

8062 Commits

Author SHA1 Message Date
Stefan Karlsson
97d34dd67a 8152104: G1 StringTable cleaning incorrectly logs with the stringdedup tag
Reviewed-by: mgerdin, jwilhelm, sjohanss
2016-03-18 09:01:51 +01:00
Stefan Karlsson
a15383123d 8152100: Rework and unify the GC phase logging
Reviewed-by: sjohanss, jwilhelm
2016-03-18 08:59:07 +01:00
Stefan Karlsson
9682b4de13 8152086: Remove SpaceMangler::mangle_region logging
Reviewed-by: brutisso, tschatzl
2016-03-18 08:57:57 +01:00
Stefan Karlsson
566df4a912 Merge 2016-03-18 03:46:02 +01:00
Sangheon Kim
beb72fff33 Merge 2016-03-18 01:14:39 +00:00
Jon Masamitsu
e779c07cfb 8151845: Comment in globals.hpp for MetaspaceSize is incorrect
Reviewed-by: drwhite, stefank
2016-03-17 15:50:31 -07:00
Stefan Karlsson
0da92f92e5 8152007: Add the thread to the GCPhase trace events
Reviewed-by: tschatzl, brutisso
2016-03-17 21:04:45 +01:00
Stefan Karlsson
35058d4038 8027423: Parallel compact GC class unloading measurement includes symbol and string table time
Reviewed-by: mgerdin, jmasa
2016-03-17 21:01:59 +01:00
Stefan Karlsson
7c87080ac1 8026720: Remove the unused SpaceManager::mangle_freed_chunks
Reviewed-by: mgerdin, tschatzl, vlivanov
2016-03-17 21:00:51 +01:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Sangheon Kim
9f63ca85a7 8151085: Change G1 concurrent timer and tracer measuring time
Change measuring time for G1 concurrent phases and reporting heap summary

Reviewed-by: brutisso, sjohanss
2016-03-17 11:18:52 -07:00
Rachel Protacio
f74e57df15 Merge 2016-03-17 18:54:32 +01:00
Rachel Protacio
95129b2a5e 8151560: Safepoint logging has mismatch between command line level and printed level
Corrected mistaken "debug" level to "trace"

Reviewed-by: hseigel, jiangli, dholmes
2016-03-17 12:02:24 -04:00
Zoltan Majo
a7f8d170bf Merge 2016-03-17 13:48:11 +01:00
Thomas Schatzl
2e126f0610 Merge 2016-03-17 10:04:39 +01:00
Thomas Schatzl
0588ecf584 8151920: Region liveness printing is broken
Remove obsolete code that causes an assert.

Reviewed-by: drwhite, brutisso
2016-03-17 09:36:04 +01:00
Per Lidén
da5ca5c5d5 8151601: Cleanup locking of the Reference pending list
Reviewed-by: brutisso, stefank
2016-03-17 08:07:53 +01:00
Filipp Zhinkin
591784c35a 8152004: CTW crashes with failed assertion after 8150646 integration
Reviewed-by: kvn, neliasso
2016-03-17 09:50:00 +03:00
Christian Thalinger
4036d37a8f 8152134: [JVMCI] printing compile queues always prints C2 regardless of UseJVMCICompiler
Reviewed-by: dnsimon
2016-03-17 16:10:58 -10:00
Christian Thalinger
565799b797 8151723: [JVMCI] JVMCIRuntime::treat_as_trivial: Don't limit trivial prefixes to boot class path
Reviewed-by: dnsimon
2016-03-17 16:10:09 -10:00
Christian Thalinger
99a06be405 8151829: [JVMCI] incorrect documentation about jvmci.compiler property
Reviewed-by: kvn
2016-03-17 10:55:15 -10:00
Tobias Hartmann
ba7e4da495 8023191: OSR nmethods should be flushed to free space in CodeCache
Treat OSR nmethods like normal nmethods and flush them if they are cold/unused.

Reviewed-by: kvn
2016-03-18 09:32:29 +01:00
Tom Rodriguez
2b48dbfd93 8151874: [JVMCI] canInlineMethod should check is_not_compilable for correct CompLevel
Reviewed-by: twisti
2016-03-17 12:04:04 -07:00
Andrew Haley
dab7ef569b Merge 2016-03-17 17:03:20 +00:00
Tobias Hartmann
42ba4188b0 8151882: -XX:+Verbose prints messages even if no other flag is set
We should only print messages if PrintOpto && WizardMode is set.

Reviewed-by: kvn, neliasso
2016-03-17 09:41:46 +01:00
Jon Masamitsu
37370fa733 8060463: ParNew: SurvivorAlignmentInBytes greater then YoungPLABSize cause assert(obj != NULL || plab->words_remaining() < word_sz) failed: Else should have been able to allocate
Reviewed-by: sangheki, tschatzl, mchernov
2016-03-16 14:47:55 -07:00
Bengt Rutisson
9d3140761b Merge 2016-03-16 16:21:36 +00:00
Thomas Schatzl
d8cced4256 Merge 2016-03-16 16:42:30 +01:00
Bengt Rutisson
612282e8ec Merge 2016-03-16 14:58:19 +00:00
Thomas Schatzl
009d00da5f Merge 2016-03-16 15:36:42 +01:00
Bengt Rutisson
55d9ccc5a1 8151912: guarantee(GCPauseIntervalMillis >= 1) failed: Constraint for GCPauseIntervalMillis should guarantee that value is >= 1
Reviewed-by: tbenson, tschatzl
2016-03-16 15:16:50 +01:00
Jesper Wilhelmsson
7b7aad5481 Merge 2016-03-16 14:31:33 +01:00
Bengt Rutisson
faf397968c Merge 2016-03-16 13:28:07 +00:00
Bengt Rutisson
242546248e 8151336: Root region scanning should be cancelled and disabled when the ConcurrentMarkThread::run_service() exits
Reviewed-by: pliden, tschatzl
2016-03-16 13:38:54 +01:00
Kevin Walls
84f4127651 Merge 2016-03-16 12:08:29 +00:00
Thomas Schatzl
ec207fe815 8151614: Improve logging in concurrent mark code
Move detailed concurrent mark phase logging to "gc, marking" tags and add a summary "Concurrent Cycle" log message when only using "gc" logging.

Reviewed-by: sangheki, brutisso
2016-03-16 12:23:13 +01:00
Thomas Schatzl
a3b16ac9eb 8151126: Clean up duplicate code for clearing the mark bitmaps
Merge the code to clear the mark bitmap concurrently and in the STW pause.

Reviewed-by: jmasa, tbenson
2016-03-16 12:21:18 +01:00
Kevin Walls
d55d5e2440 Merge 2016-03-16 11:13:37 +00:00
Erik Joelsson
88b04ef2ea Merge 2016-03-16 10:28:57 +01:00
David Holmes
34cb2d6854 Merge 2016-03-16 05:46:41 +00:00
Kim Barrett
7d20f78a49 8151781: DirtyCardQueue::apply_closure is unused
Remove dead code, followup cleanups.

Reviewed-by: brutisso, pliden
2016-03-16 00:28:33 -04:00
Tom Rodriguez
3e246411ae 8151871: [JVMCI] missing HAS_PENDING_EXCEPTION check
Reviewed-by: kvn
2016-03-15 14:19:24 -07:00
Coleen Phillimore
69e1552338 Merge 2016-03-15 20:37:35 +00:00
Rachel Protacio
45b1e8d5e9 8150085: Convert TraceClearedExceptions to Unified Loggin
Converted -XX:+TraceClearedExceptions to -Xlog:exceptions=debug

Reviewed-by: mockner, dholmes, coleenp
2016-03-15 15:43:04 -04:00
Marcus Larsson
81a071a8c6 Merge 2016-03-15 20:07:15 +01:00
Tobias Hartmann
23a62fdfca 8150804: C2 Compilation fails with assert(_base >= OopPtr && _base <= AryPtr) failed: Not a Java pointer
Wait with removing casts from inputs in PhiNode::ideal() until after parsing for the type information to propagate.

Reviewed-by: kvn
2016-03-15 17:42:28 +01:00
Stefan Karlsson
3d04448c1f Merge 2016-03-15 15:29:42 +01:00
Robbin Ehn
28b1a5e7f4 8150015: Integrate TraceTime with Unified Logging more seamlessly
Reviewed-by: coleenp, dholmes
2016-03-15 14:41:07 +01:00
Erik Joelsson
a26980cfa7 8151653: Hotspot build does not respect --enable-openjdk-only
Reviewed-by: tbell, dholmes
2016-03-15 13:55:23 +01:00
Per Lidén
46da2cd7f3 Merge 2016-03-15 13:46:48 +01:00
Nils Eliasson
372ff0a016 Merge 2016-03-15 12:34:41 +01:00
Dmitry Samersoff
3efc664ab0 Merge 2016-03-15 10:56:32 +00:00
Nils Eliasson
d2078b7e23 8151795: compiler/compilercontrol/parser/DirectiveParserTest.java fails with "assert failed: 0 != 0"
Treat zero added directives as fail

Reviewed-by: twisti, kvn
2016-03-15 11:17:06 +01:00
Konstantin Shefov
f2880e341a 8150850: [JVMCI] NPE when executing HotSpotConstantReflectionProvider.readStableFieldValue
Reviewed-by: twisti, dnsimon
2016-03-15 13:00:43 +03:00
Bengt Rutisson
f102be585a Merge 2016-03-15 09:18:19 +00:00
David Holmes
a11d34c819 Merge 2016-03-15 09:16:45 +00:00
Stefan Karlsson
673bfac8ba 8151539: Remove duplicate AlwaysTrueClosures
Reviewed-by: tschatzl, mgerdin, kbarrett, drwhite
2016-03-15 10:11:02 +01:00
Bengt Rutisson
4083eb4389 8151842: Local variables have wrong names after JDK-8148736
Reviewed-by: kbarrett, jprovino, tschatzl
2016-03-15 08:19:24 +01:00
Per Lidén
e313c8214f 8062506: Java GCCause enum is out of sync with C++ GCCause enum
Reviewed-by: stefank, tschatzl
2016-03-15 08:01:50 +01:00
David Holmes
7f66b2839b 8137165: Tests fail in SR_Handler because thread is not VMThread or JavaThread
Reviewed-by: kbarrett
2016-03-15 03:00:32 -04:00
Yasumasa Suenaga
d472ac3c4a 8151709: jhsdb should show help message in SALauncher
Reviewed-by: dsamersoff
2016-03-15 12:27:15 +09:00
Max Ockner
32165d2889 Merge 2016-03-14 20:20:18 +01:00
Max Ockner
5f9883ad73 8149995: TraceClassLoadingPreorder has been converted to Unified Logging
TraceClassLoadingPreorder has been converted to Unified Logging. Logging alias table now has extra columns to support multi-tag configurations.

Reviewed-by: iklam, coleenp
2016-03-14 15:06:49 -04:00
Coleen Phillimore
b7e4cea45d Merge 2016-03-14 13:20:14 +00:00
Cheleswer Sahu
84e9e953a4 8151509: In check_addr0() function pointer is not updated correctly
Reviewed-by: dholmes, ddmitriev, stuefe
2016-03-14 18:05:37 +05:30
Dmitry Samersoff
37bdc65ffc Merge 2016-03-14 11:53:13 +00:00
Per Lidén
3c29499a8c Merge 2016-03-14 11:55:51 +01:00
Vladimir Ivanov
6ea5772a9b 8143407: C1: @Stable array support
Reviewed-by: twisti
2016-03-14 12:35:52 +03:00
Vladimir Ivanov
ffdd79f89c 8141420: Compiler runtime entries don't hold Klass* from being GCed
Reviewed-by: kvn, coleenp
2016-03-14 12:35:48 +03:00
Vladimir Ivanov
28cf824b60 8150320: C1: Illegal bci in debug info for MH::linkTo* methods
Reviewed-by: kvn, dlong
2016-03-14 12:35:48 +03:00
Vladimir Ivanov
b4e4244a32 8139247: Improper locking of MethodData::_extra_data_lock
Reviewed-by: dholmes, roland, dcubed
2016-03-14 12:35:44 +03:00
Dmitry Samersoff
cb39f52a3a Merge 2016-03-14 09:07:34 +00:00
Yuji Kubota
c5eaaffcca 8151368: SA: Unexpected ArithmeticException in CompactHashTable
Add missed null check

Reviewed-by: iklam, dsamersoff
2016-03-14 11:45:15 +03:00
Per Lidén
a93ebd8e89 8067768: Check for too small values for -Xmx
Reviewed-by: jwilhelm, dfazunen
2016-03-14 09:42:17 +01:00
Stefan Johansson
44995d664d 8151696: Print all regions on trace level to get same behavior as old PrintHeapAtGCExtended
Reviewed-by: brutisso, jwilhelm
2016-03-14 09:11:21 +01:00
Stefan Johansson
2066a727e7 8151693: Move print_heap_before/after_gc to debug level
Reviewed-by: brutisso, jwilhelm
2016-03-14 09:10:42 +01:00
Coleen Phillimore
33db96b04e Merge 2016-03-13 19:41:11 +00:00
Coleen Phillimore
f582dd7616 8151728: jni test crashes JVM assert(_handle != __null) failed: resolving NULL handle
New assert needs to check for null.

Reviewed-by: hseigel, gtriantafill
2016-03-12 07:23:20 -05:00
Thomas Stuefe
3487b38cc4 8148425: strerror() function is not thread-safe
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Derek White
f6810526ab 8140257: Add support for "gc service threads" to ConcurrentGCThread
Push up the common run() and stop() methods from subclasses to ConcurrentGCThread, as well as declaration iof run_service() stop_service().

Reviewed-by: kbarrett, pliden
2016-03-11 16:59:58 -05:00
Bengt Rutisson
8c894a92ef 8151604: Rely on options range checking rather than explict checks
Reviewed-by: jwilhelm, drwhite, sangheki
2016-03-13 13:26:47 +01:00
Max Ockner
edd3f7ca77 Merge 2016-03-11 17:02:04 +01:00
Matthias Baesken
f90ee56f23 8151593: Cleanup definition/usage of INLINE/NOINLINE macros and add xlC support
Reviewed-by: coleenp, stuefe
2016-03-11 16:39:38 +01:00
Marcus Larsson
d5c900b4ac Merge 2016-03-11 14:55:17 +01:00
Dmitry Dmitriev
6b5b94aa1d 8151304: Remove unused develop options(ClearInterpreterLocals and others)
Reviewed-by: coleenp, jwilhelm
2016-03-11 15:34:48 +03:00
Bengt Rutisson
d1c99d7509 Merge 2016-03-11 12:17:35 +01:00
Bengt Rutisson
c4916d0f05 8151605: Change warning() to log_warning(gc) in the GC code
Reviewed-by: jwilhelm, jmasa
2016-03-11 11:34:22 +01:00
Mikael Gerdin
1e047e54c0 8152101: Move G1 concurrent refinement adjustment code out of G1CollectorPolicy
Reviewed-by: jmasa, jwilhelm, kbarrett
2016-03-11 11:22:56 +01:00
Mikael Gerdin
cd911039ce 8151808: Factor G1 heap sizing code out of the G1CollectorPolicy
Reviewed-by: tbenson, jwilhelm
2016-03-11 11:22:56 +01:00
Mikael Gerdin
a3481da3a5 8151637: Move CollectionSetChooser rebuild code into CollectionSetChooser
Reviewed-by: jmasa, tschatzl
2016-03-11 11:22:56 +01:00
Bengt Rutisson
608079eed1 8151602: Remove logging from refillLinearAllocBlockIfNeeded()
Reviewed-by: tschatzl, sjohanss
2016-03-11 10:30:23 +01:00
Bengt Rutisson
4549d85d87 8151603: Use error stream instead of tty for logging before ShouldNotReachHere()
Reviewed-by: mgerdin, sjohanss
2016-03-11 10:27:45 +01:00
Mikael Gerdin
1158bcdf9a 8151633: Don't keep copies of the survivor lists and counts in the G1CollectorPolicy
Reviewed-by: tbenson, tschatzl
2016-03-11 10:18:11 +01:00
Thomas Schatzl
7aaa74dca3 Merge 2016-03-11 10:06:30 +01:00
Thomas Schatzl
d2f32995dd 8150952: Net PLAB size is clipped to max PLAB size as a whole, not on a per thread basis
Bound PLAB size when handing out PLAB sizes, not before.

Reviewed-by: drwhite, jwilhelm
2016-03-11 09:50:23 +01:00
Per Lidén
75412035e3 8134749: SoftReferences declared dead too early
Reviewed-by: jmasa, tbenson
2016-03-11 09:09:52 +01:00
Kim Barrett
9539f68b3e Merge 2016-03-10 21:57:27 +00:00
Kim Barrett
4b39057a46 8150676: Use BufferNode index
Maintain index and use it, removing extra checks for or stores of NULL.

Reviewed-by: jmasa, tschatzl
2016-03-10 16:21:46 -05:00
Max Ockner
155a64deb4 8146551: The output from classresolve tag has been shortened and moved to debug level
The output from classresolve tag has been shortened and moved to debug level.

Reviewed-by: coleenp, rprotacio
2016-03-10 15:52:56 -05:00
Coleen Phillimore
4a05d83db0 8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: shade, mchung, dholmes, hseigel
2016-03-10 13:43:47 -05:00
Stefan Karlsson
5821ebce57 Merge 2016-03-10 10:17:34 +01:00
Bengt Rutisson
df20815bbb 8151514: Remove the noisy NOISY debugging code from parCardTableModRefBS.cpp
Reviewed-by: tschatzl, pliden
2016-03-10 08:54:43 +01:00
Sangheon Kim
a8672f2267 8145312: CMS: There is insufficient memory with CMSSamplingGrain=1
Change minimum range and add constraint function for CMSSamplingGrain flag

Reviewed-by: jmasa, ddmitriev
2016-03-09 15:37:33 -08:00
Kim Barrett
6e0466f618 Merge 2016-03-09 20:37:04 +00:00
Sangheon Kim
7679cbc134 8150362: G1 base elapsed time prediction is wrong because rs_length prediction is wrong
Change rs_length prediction used from G1 base elapsed time prediction

Reviewed-by: mgerdin, tschatzl
2016-03-09 11:08:49 -08:00
Kim Barrett
8b6631e5a2 8150688: Fix os_windows siglabel
Change types to eliminate implicit narrowing, and other cleanups.

Reviewed-by: dholmes, tbenson
2016-03-09 11:03:45 -05:00
Stefan Karlsson
3fa2f0cd11 8151534: Refactor ArrayAllocator for easier reuse
Reviewed-by: tschatzl, brutisso
2016-03-09 17:03:04 +01:00
Jesper Wilhelmsson
90586a424c Merge 2016-03-09 14:18:12 +01:00
Bengt Rutisson
cc0120e872 8151513: Remove debugging code from BarrierSet
Reviewed-by: pliden, stefank
2016-03-09 14:05:50 +01:00
Stefan Karlsson
dd34e9b751 8151440: Move BitMap verfication inline functions out from bitMap.hpp
Reviewed-by: tschatzl, pliden, kbarrett
2016-03-09 12:45:44 +01:00
Stefan Karlsson
48813d4d84 8151439: Inline the BitMap constructor
Reviewed-by: tschatzl, pliden, kbarrett
2016-03-09 12:44:49 +01:00
Stefan Karlsson
7419b91e7e 8151436: Leaner ArrayAllocator and BitMaps
Reviewed-by: tschatzl, pliden, kbarrett
2016-03-09 12:44:12 +01:00
Thomas Schatzl
94c75d0f00 8151414: os::pretouch_memory should take void* instead of char*
Change parameters and remove associated casts.

Reviewed-by: pliden, stefank
2016-03-09 09:56:10 +01:00
Antonios Printezis
00a657d109 8146991: Introduce per-worker preserved mark stacks in ParallelGC
Reviewed-by: tschatzl, ysr
2016-03-09 09:45:47 +01:00
Christian Thalinger
54ca53c593 8151266: HotSpotResolvedJavaFieldImpl::isStable() does not work as expected
Reviewed-by: never, twisti
2016-03-08 15:10:02 -08:00
Rachel Protacio
22f2f6ff95 8150083: Convert VerboseVerification to Unified Logging
Converted -XX:+VerboseVerfication to -Xlog:verboseverification=info

Reviewed-by: hseigel, dholmes
2016-03-08 15:19:53 -05:00
Rachel Protacio
b2f40c5a16 8149991: Convert TraceSafepointCleanupTime to Unified Logging
Converted TraceSafepointCleanupTime to -Xlog:safepointcleanup=info

Reviewed-by: hseigel, mockner, ddmitriev, dholmes, coleenp
2016-03-08 12:57:44 -05:00
Erik Helin
bc0cccce38 Merge 2016-03-08 14:54:02 +01:00
Mikael Gerdin
50b0262b13 8151711: Move G1 number sequences out of the G1 collector policy
Reviewed-by: tbenson, ehelin
2016-03-08 13:17:30 +01:00
Robbin Ehn
9500b02eae 8151265: Add a way to extend UL tags
Reviewed-by: dholmes, kbarrett
2016-03-08 13:05:21 +01:00
Cheleswer Sahu
ca8482e568 8146683: check_addr0 should be more efficient
Reviewed-by: dsamersoff, kevinw, dholmes
2016-03-08 14:37:43 +05:30
Robbin Ehn
c75117cf29 8151264: Add a notification mechanism for UL configuration changes
Reviewed-by: dholmes, mlarsson
2016-03-08 08:54:05 +01:00
Jon Masamitsu
c5a4113326 Merge 2016-03-07 23:06:34 +00:00
Sangheon Kim
60d1119f78 Merge 2016-03-07 21:40:10 +00:00
Dmitry Samersoff
7e6bd74172 Merge 2016-03-07 20:33:26 +00:00
Carsten Varming
f913f3be69 8150013: ParNew: Prune nmethods scavengable list
Speed up ParNew collections by pruning the list of scavengable nmethods.

Reviewed-by: jmasa, tonyp, twisti
2016-03-07 14:41:31 -05:00
Gerard Ziemski
e9ed133190 Merge 2016-03-07 19:29:47 +00:00
Jon Masamitsu
09a7ae4e60 8149343: assert(rp->num_q() == no_of_gc_workers) failed: sanity
Reviewed-by: tschatzl, kbarrett
2016-03-07 11:28:06 -08:00
Sangheon Kim
400246c87d Merge 2016-03-07 18:56:02 +00:00
Jesper Wilhelmsson
eadcb3b145 Merge 2016-03-07 19:17:35 +01:00
Dmitry Samersoff
3610546cb0 Merge 2016-03-07 18:05:27 +00:00
Sharath Ballal
1df8126210 8147456: Parsing of argument for -agentpath can write outside of allocated memory
Reviewed-by: sspitsyn, dholmes
2016-03-07 20:58:09 +03:00
Gerard Ziemski
0d4da45ca7 8146850: Remove TraceHandleAllocation rather than converting to UL
8149850: Remove HandleAllocationLimit and TotalHandleAllocationLimit when removing TraceHandleAllocation

Removed TraceHandleAllocation, HandleAllocationLimit and TotalHandleAllocationLimit flags

Reviewed-by: coleenp, dholmes
2016-03-07 10:39:24 -06:00
Mikael Gerdin
b7486d2544 8151178: Move the collection set out of the G1 collector policy
Create a G1CollectionSet class

Reviewed-by: jwilhelm, tbenson, tschatzl
2016-03-07 17:23:59 +01:00
Thomas Schatzl
9780abb978 Merge 2016-03-07 12:49:35 +01:00
Sangheon Kim
5e641bdf7a 8149834: gc/shared/gcTimer.cpp:88 assert(_is_concurrent_phase_active) failed: A concurrent phase is not active
Compare-and-exchange for concurrent gc timer related flag at G1CollectedHeap

Reviewed-by: jmasa, drwhite
2016-03-07 02:11:47 -08:00
Sangheon Kim
ede7f9c222 Merge 2016-03-07 10:01:38 +00:00
Thomas Schatzl
595f1f01e4 8142484: Let IHOP follow the current capacity, not the maximum capacity
Instead of following the current heap capacity, let all IHOP calculations follow the maximum capacity.

Reviewed-by: brutisso, jmasa
2016-03-07 10:56:06 +01:00
Erik Helin
695349306e 8151365: Move G1YoungGenSizer to a separate file
Reviewed-by: mgerdin, tschatzl
2016-03-07 10:36:22 +01:00
Sangheon Kim
74cc38ff12 8145204: JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used
Changed the max value of ParGCArrayScanChunk to max_jint/3

Reviewed-by: jwilhelm, drwhite
2016-03-07 01:20:12 -08:00
Dmitry Dmitriev
34effca3ac 8149973: Optimize object alignment check in debug builds
Reviewed-by: coleenp, tschatzl
2016-03-07 10:36:50 +03:00
Thomas Stuefe
6b037d45a6 8150843: [windows] os::getTimesSecs() returns negative values for kernel, user times
Reviewed-by: dholmes
2016-03-06 19:07:57 -05:00
Goetz Lindenmaier
8a70bcf857 8149557: Resource mark breaks printing to string stream
Reviewed-by: stuefe, dholmes
2016-03-06 15:50:13 -05:00
Alejandro Murillo
2da4580684 Merge 2016-03-05 20:46:42 -08:00
Felix Yang
7181a2dcb1 8151340: aarch64: prefetch the destination word for write prior to ldxr/stxr loops
Aarch64: add prefetch for write prior to ldxr/stxr loops.

Reviewed-by: aph
2016-03-05 22:22:37 +08:00
Jesper Wilhelmsson
f6609ea3d2 Merge 2016-03-05 10:10:23 +01:00
Yasumasa Suenaga
c25179f250 8151181: Add JSnap to jhsdb
Reviewed-by: dsamersoff
2016-03-04 18:12:41 +09:00
Richard Reingruber
3fcf821982 8151101: Improve UseParallelGC parallelization of object array processing
Reviewed-by: tschatzl, shade
2016-03-03 11:36:25 -08:00
Joseph Provino
750d6c1bb6 Merge 2016-03-03 17:33:13 +00:00
Joseph Provino
7c23a31489 8150984: Invalid VM argument causes crash -XX:G1ConcRefinementServiceIntervalMillis=2147483648
Change maximum range so it can't be negative

Reviewed-by: kbarrett, sangheki
2016-03-03 12:20:22 -05:00
Volker Simonis
173a62a8d6 8150646: Add support for blocking compiles though whitebox API
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Reviewed-by: kvn, ppunegov, simonis, neliasso
2016-03-03 16:21:16 +01:00
Ed Nevill
59193ab336 8151502: optimize pd_disjoint_words and pd_conjoint_words
Optimize copy routines using inline assembler

Reviewed-by: aph
2016-03-10 14:53:09 +00:00
Christian Thalinger
9ecc7cc928 8151470: [JVMCI] remove up-call to HotSpotJVMCICompilerConfig.selectCompiler
Reviewed-by: dnsimon, vlivanov
2016-03-10 13:04:43 -08:00
Chris Hegarty
932077c03b 8150162: Move sun.misc.Version to a truly internal package
Reviewed-by: alanb, dholmes, iris, mchung, rriggs
2016-03-03 12:59:21 +00:00
Tobias Hartmann
2c4627b399 8151130: [BACKOUT] Remove Method::_method_data for C1
Backing out the fix for JDK-8147978 because it fails and blocks integration.

Reviewed-by: vlivanov, zmajo
2016-03-03 13:18:53 +01:00
Yasumasa Suenaga
2cfacfc3a4 8150723: HSDB toolbar icons are missing
Reviewed-by: erikj, dsamersoff
2016-03-03 11:28:48 +03:00
Gerard Ziemski
0e3b444b13 Merge 2016-03-03 00:49:02 +00:00
Harold Seigel
36df22f672 Merge 2016-03-02 23:48:41 +00:00
Gerard Ziemski
311e77373d 8146849: Remove TraceJNIHandleAllocation rather than converting to UL
Removed TraceJNIHandleAllocation

Reviewed-by: coleenp, dholmes
2016-03-02 14:36:55 -06:00
Rachel Protacio
b7658ef0b7 8145098: JNI GetVersion should return JNI_VERSION_9
Updated JNI_VERSION for current version to be JNI_VERSION_9

Reviewed-by: hseigel, gtriantafill, dholmes, alanb
2016-03-02 15:10:38 -05:00
Poonam Bajaj
6a120465e7 Merge 2016-03-02 19:15:35 +00:00
Coleen Phillimore
b437ee835e Merge 2016-03-02 17:09:32 +00:00
Rachel Protacio
1c5a7710e3 8150746: runtime/logging/ItablesTest.java fails with: java.lang.RuntimeException: 'Resolving: klass: ' missing from stdout/stderr
Deleted logging line from code and test because unnecessary

Reviewed-by: twisti, coleenp
2016-03-02 10:59:25 -05:00
Thomas Schatzl
619ec3dd6f 8141141: Young and Old gen PLAB stats are similar in output with -XX:+PrintPLAB
Improve PLAB statistic by adding generation, output values are now in bytes, including units, and split it into multiple messages.

Reviewed-by: brutisso, sjohanss
2016-03-02 15:57:48 +01:00
Thomas Schatzl
a07ffdd31d 8147121: Evacuation failure allocation statistics added too late
Move adding evacuation failure statistics to after free_collection_set.

Reviewed-by: brutisso, drwhite
2016-03-02 15:55:47 +01:00
Bengt Rutisson
75b02a64c6 8058944: Unify the reporting strings for the GC debug level logging in G1
Reviewed-by: sjohanss, tschatzl
2016-03-02 08:41:02 +01:00
Markus Grönlund
64f55fb267 8147442: Event-based tracing to allow for tracing Klass creation
Reviewed-by: jbachorik, egahlin
2016-03-01 23:48:46 +01:00
Markus Grönlund
1593edaf59 8066814: Reduce accessibility in TraceEvent
Reviewed-by: egahlin, jbachorik
2016-03-01 23:47:30 +01:00
Markus Grönlund
0e44e963d2 8143226: Minor updates to Event Based tracing
Reviewed-by: jbachorik, egahlin
2016-03-01 23:46:09 +01:00
Igor Veresov
e9473320de Merge 2016-03-01 21:56:02 +00:00
Igor Veresov
fbca99beb2 8134119: Use new API to get cache line sizes
Using new sysconf and sysinfo API on Solaris 12, avoid using libpicl and libkstat.

Reviewed-by: kvn
2016-03-01 12:35:21 -08:00
Christian Thalinger
30ee713e36 Merge 2016-03-01 18:29:20 +00:00
Vladimir Ivanov
a1b61d2827 8150933: System::arraycopy intrinsic doesn't mark mismatched loads
Reviewed-by: kvn, shade
2016-03-01 20:06:47 +03:00
Max Ockner
5fc22fbb9a Merge 2016-03-01 02:15:31 +00:00
David Holmes
2539656e16 Merge 2016-02-29 23:35:33 +00:00
Max Ockner
5a873632f3 8149064: TraceProtectionDomainVerification has been converted to Unified Logging
TraceProtectionDomainVerification has been converted to Unified Logging with tag protectiondomain.

Reviewed-by: coleenp, iklam
2016-02-29 16:58:09 -05:00
Derek White
dbaa70361f 8140600: Convert unnecessarily malloc'd Monitors to value members
Change a malloc'd monitor into an embedded monitor.

Reviewed-by: tschatzl, kbarrett
2016-02-29 11:32:12 -05:00
Jesper Wilhelmsson
6068abeb00 6787054: Par compact - remove code that clears source_region
Reviewed-by: mgerdin, tschatzl
2016-02-29 15:47:41 +01:00
Thomas Stuefe
31f86a2308 8150619: Improve thread based logging introduced with 8149036
Reviewed-by: coleenp, dholmes
2016-02-29 08:50:57 +01:00
Chris Plummer
6d7d3228e7 8147978: Remove Method::_method_data for C1
Method::_method_data field removed when not using C2 or JVMCI

Reviewed-by: dholmes, kvn
2016-02-26 09:13:22 -08:00
Andreas Eriksson
62c5bdbe9d 8144732: VM_HeapDumper hits assert with bad dump_len
Reviewed-by: dsamersoff
2016-02-26 16:28:42 +01:00
Bengt Rutisson
190c092900 8150068: Log the main G1 phases at info level
Reviewed-by: sjohanss, tschatzl
2016-02-29 13:06:03 +01:00
Kim Barrett
234373ff31 8150421: Delete experimental G1UseConcMarkReferenceProcessing
Removed the option and supporting code.

Reviewed-by: jmasa, tamao
2016-02-28 12:22:05 -05:00
Joseph Provino
e87c6f1b09 Merge 2016-02-27 00:07:03 +00:00
Joseph Provino
41c0116f6e 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
Ints need to be changed to size_t

Reviewed-by: kbarrett, tbenson
2016-02-26 14:02:39 -05:00
Thomas Schatzl
a9f10173e7 Merge 2016-02-26 17:55:05 +01:00
Benoit Daloze
8cc9a5146b 8150727: [JVMCI] add LoadLoad to the implicit memory barriers on AMD64
Reviewed-by: rschatz, twisti
2016-02-26 13:21:28 +01:00
Thomas Schatzl
d090b74744 8150629: Initializing all ParScanThreadStates causes significant unaccounted "Other" times
Lazily allocate ParScanThreadStates within the worker threads instead of doing this work upfront serially.

Reviewed-by: mgerdin, jmasa
2016-02-26 13:02:30 +01:00
Thomas Schatzl
6fe8d6e7de 8150630: Add logging for ParScanThreadState merge phase
Improve visibility of the per-thread scan state merge phase by adding appropriate logging.

Reviewed-by: jmasa, tbenson
2016-02-26 13:02:30 +01:00
Thomas Schatzl
d00c7378d6 8076463: Add logging for the preserve CM referents task
Add logging and do minor refactoring to CM referents handling task.

Reviewed-by: jmasa
2016-02-26 13:02:30 +01:00
Thomas Schatzl
917dc3b87c 8140777: Make Adaptive IHOP logging information the same as JFR logging
Reviewed-by: tbenson, jmasa
2016-02-26 13:02:30 +01:00
Robbin Ehn
64f428726b 8150026: Add the ability to log with variable log level
Reviewed-by: brutisso, mlarsson
2016-02-26 10:51:01 +01:00
Max Ockner
4f6dba1568 8150103: Convert TraceClassPaths to Unified Logging
TraceClassPaths has been reimplemented with Unified Logging

Reviewed-by: coleenp, dholmes, iklam
2016-02-25 13:09:17 -05:00
Andrew Haley
986f3b0afd 8150652: Remove unused code in AArch64 back end
Reviewed-by: kvn
2016-02-25 14:59:44 +00:00
Andrew Haley
98d969d374 Merge 2016-02-25 14:47:08 +00:00
Aleksey Shipilev
4a8c4fc074 8150534: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: vlivanov, thartmann
2016-02-25 15:10:16 +03:00
Stefan Karlsson
d15936bdc0 8150617: nth_bit and friends are broken
Reviewed-by: shade, tschatzl, vlivanov
2016-02-25 13:08:19 +01:00
Mikael Gerdin
167ce92545 8150390: Move rs length sampling data to the sampling thread
Reviewed-by: drwhite, jwilhelm
2016-02-25 11:20:03 +01:00
Nils Eliasson
1e758f661b Merge 2016-02-25 11:17:33 +01:00
Nils Eliasson
607365df56 8149789: SIGSEGV in CompileTask::print
Print tasks from active compile threads requires safepoint

Reviewed-by: kvn
2016-02-25 10:44:19 +01:00
Nils Eliasson
e09bb29c2d 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Add whitebox for checking available compilers

Reviewed-by: kvn
2016-02-25 10:42:42 +01:00
Tobias Hartmann
52c7cb7221 8150441: CompileTask::print_impl() is broken after JDK-8146905
Timestamps should be explicitly initialized.

Reviewed-by: dholmes
2016-02-25 08:47:57 +01:00
Shafi Ahmad
a9a432a1a1 8150002: Check for the validity of oop before printing it in verify_remembered_set
Adding missing check for valid oop.

Reviewed-by: dcubed
2016-02-25 11:27:13 +05:30
Roland Westrelin
7c3120b3da Merge 2016-02-24 20:18:04 +00:00
Aleksey Shipilev
6e26b67678 8150514: C1 crashes in Canonicalizer::do_ArrayLength() after fix for JDK-8150102
Reviewed-by: thartmann, vlivanov
2016-02-24 18:43:51 +03:00
Andrew Haley
087b888832 Merge 2016-02-24 12:38:50 +00:00
Derek White
8961912c74 8134992: vm/gc/compact/Compact_InternedStrings_Strings failed due to a malloc() failure
Reviewed-by: mgerdin, brutisso
2016-02-24 09:25:39 +01:00
Christian Tornqvist
ba20c3bc65 Merge 2016-02-25 01:55:45 +00:00
Kim Barrett
0173fa4300 Merge 2016-02-25 01:23:10 +01:00
David Holmes
f90ee1a167 Merge 2016-02-24 22:22:41 +00:00
Christian Tornqvist
c25e32cc70 8150490: Update OS detection code to recognize Windows Server 2016
Reviewed-by: mgronlun, alanb, dholmes
2016-02-24 16:34:25 -05:00
David Holmes
453c5ef375 8150506: Remove unused locks
Reviewed-by: mgronlun, tschatzl, mgerdin, coleenp
2016-02-24 16:04:51 -05:00
Coleen Phillimore
1907077efd Merge 2016-02-24 21:55:26 +01:00
Kim Barrett
5d5113046a 8150419: Cleanup BufferNode API
Fewer public functions, cleanup allocation.

Reviewed-by: tschatzl, drwhite
2016-02-24 13:18:54 -05:00
Thomas Stuefe
3634fb9df2 8149036: Add tracing for thread related events at os level
Reviewed-by: coleenp, mlarsson, dholmes
2016-02-24 18:06:34 +01:00
Thomas Stuefe
ad6d8685e4 8150379: [windows] Fix Leaks in perfMemory_windows.cpp
Reviewed-by: clanger, dholmes, gthornbr
2016-02-23 19:10:01 -05:00
Timo Kinnunen
44c03b15e2 8150426: Wrong cast in metadata_at_put
Fix cast.

Reviewed-by: dholmes, coleenp, jprovino
2016-02-23 18:58:36 -05:00
Aleksey Shipilev
0c43809cfe 8148146: Integrate new internal Unsafe entry points, and basic intrinsic support for VarHandles
Reviewed-by: psandoz, kvn, jrose, adinn, simonis, coleenp
2016-02-23 22:09:41 +03:00
Roland Westrelin
449c65bf50 8007986: GrowableArray should implement binary search
Binary search method for GrowableArray

Reviewed-by: vlivanov, jrose
2016-02-23 17:59:27 +01:00
Roland Westrelin
744d73a67f 8148353: [linux-sparc] Crash in libawt.so on Linux SPARC
Gcc expects clean 32 bit int in 64 bit register on function entry

Reviewed-by: kvn, dlong
2016-02-23 17:18:31 +01:00
Aleksey Shipilev
0e31a18fd1 8150180: String.value contents should be trusted
Reviewed-by: vlivanov, redestad, jrose, twisti
2016-02-23 17:55:20 +03:00
Thomas Schatzl
02c98c814f Merge 2016-02-23 14:14:29 +01:00
Antonios Printezis
861dc13645 8146989: Introduce per-worker preserved mark stacks in ParNew
Unify and provide per-worker preserved mark stack handling in ParNew

Reviewed-by: tschatzl, ysr
2016-02-23 10:44:05 +01:00
Bengt Rutisson
e020d2f477 8150367: Add back information about the number of GC workers
Reviewed-by: sjohanss, tschatzl
2016-02-23 09:52:46 +01:00
Jamsheed Mohammed C M
36e011b2f0 8145333: -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:-EnableJVMCI makes JVM crash
JVMCI Flags are checked for consistency after parse.

Reviewed-by: twisti
2016-02-22 23:37:29 -08:00
Jesper Wilhelmsson
8c7980f33a Merge 2016-02-22 19:25:32 +00:00
Jesper Wilhelmsson
e76fbbafb5 Merge 2016-02-22 19:46:37 +01:00
Jon Masamitsu
0c28c2ee37 8150302: Reference processing logging prints the "from list" incorrectly
Reviewed-by: tamao, brutisso
2016-02-22 09:41:56 -08:00
Ed Nevill
5f3739f293 8150313: aarch64: optimise array copy using SIMD instructions
Reviewed-by: aph
2016-02-20 15:15:35 +00:00
Ed Nevill
af0f23a617 8150082: aarch64: optimise small array copy
Reviewed-by: aph
2016-02-20 15:11:42 +00:00
Ed Nevill
f4b4c5d7b0 8150394: aarch64: add support for 8.1 LSE CAS instructions
Co-authored-by: Ananth Jasty <ananth.jasty@caviumnetworks.com>
Reviewed-by: aph
2016-03-08 14:39:50 +00:00
Mikael Vidstedt
d4b4dca194 8151002: Make Assembler methods vextract and vinsert match actual instructions
Reviewed-by: kvn, vlivanov, mcberg
2016-03-07 15:03:48 -08:00
Gustavo Romero
1c2427a182 8150353: PPC64LE: Support RTM on linux
Reviewed-by: mdoerr, kvn
2016-03-07 10:03:06 -03:00
Zoltan Majo
77c73b6d4f Merge 2016-03-07 09:34:29 +01:00
Tobias Hartmann
ab85038e4a Merge 2016-03-04 13:16:50 +00:00
Rahul Raghavan
29b4b2182c 8140721: ProfilerNumberOf*Methods flags should be diagnostic
Converted four ProfilerNumberOf*Methods flags from develop to diagnostic.

Reviewed-by: twisti
2016-03-04 01:18:08 -08:00
Zoltan Majo
d30d687178 8150839: Adjust the number of compiler threads for 32-bit platforms
Set the number of compiler threads to 3 on 32-bit platforms.

Reviewed-by: iveresov
2016-03-04 08:53:59 +01:00
Vivek Deshpande
40fe96de0d 8150767: Enables SHA Extensions on x86
Add x86 intrinsics for SHA-1 and SHA-256.

Co-authored-by: Shravya Rukmannagari <shravya.rukmannagari@intel.com>
Reviewed-by: kvn, twisti
2016-03-03 22:02:13 -08:00
Aleksey Shipilev
103aff334f 8146801: Allocating short arrays of non-constant size is slow
Reviewed-by: kvn, twisti, vlivanov
2016-03-04 01:30:11 +03:00
Aleksey Shipilev
548530cf08 8150465: Unsafe methods to produce uninitialized arrays
Reviewed-by: jrose, kvn, psandoz, aph, twisti, flar
2016-03-03 23:57:29 +03:00
Aleksey Shipilev
890f94d7e6 8150669: C1 intrinsic for Class.isPrimitive
Reviewed-by: twisti, vlivanov, redestad
2016-03-03 22:17:38 +03:00
Mikael Vidstedt
c40e7bc21f 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Christoph Langer
5d04cc8e61 8150232: AIX cleanup: Integrate changes of 7178026 and others
Reviewed-by: simonis
2016-02-19 10:44:54 +01:00
Kim Barrett
390295caf1 8150134: Simplify concurrent refinement thread deactivation
Remove explicit deactivation and use green stop_at value.

Reviewed-by: jmasa, tschatzl
2016-02-19 15:14:59 -05:00
Mikael Gerdin
732441b231 Merge 2016-02-19 14:15:13 +01:00
Mikael Gerdin
a43f54134a Merge 2016-02-19 13:08:38 +01:00
Dmitry Dmitriev
0c1c39bbee Merge 2016-02-19 12:47:16 +01:00
Dmitry Dmitriev
04d2edfca3 8146187: Print develop and nonproduct flags by -XX:+PrintFlags* options in debug build
Reviewed-by: gtriantafill, gziemski, dholmes
2016-02-19 13:24:21 +03:00
Felix Yang
d466ce4948 8150229: aarch64: pipeline class for several instructions is not set correctly
Aarch64: c2 fix pipeline class for several instructions.

Reviewed-by: aph
2016-02-19 17:12:14 +08:00
Aleksey Shipilev
1e654fe813 8150102: C1 should fold arraylength for constant/trusted arrays
Reviewed-by: vlivanov, kvn
2016-02-19 11:16:38 +03:00