Commit Graph

10891 Commits

Author SHA1 Message Date
Yasumasa Suenaga
7e964d8697 8151674: STW phases at Concurrent GC should count in PerfCounter
Reviewed-by: jmasa, sla, tschatzl
2016-03-30 21:05:13 +09:00
Tobias Hartmann
b256715d77 Merge 2016-03-30 12:34:08 +02:00
Tobias Hartmann
6a65ad52d6 8152861: VM crash on assert: locked methods shouldn't be flushed
Check if nmethod is locked by JVMTI before flushing.

Reviewed-by: kvn
2016-03-30 08:04:59 +02:00
Tobias Hartmann
c3ebf37e24 8152947: VM crash with assert(!removed || is_in_use()) failed: unused osr nmethod should be invalidated
Check OSR invalidation after nmethod state transition.

Reviewed-by: ddmitriev, vlivanov
2016-03-30 08:00:51 +02:00
Christian Thalinger
58c9c16e11 Merge 2016-03-29 22:39:17 +00:00
Igor Ignatyev
9723b912e9 8152636: TestHasNegatives.java fails after Jigsaw changes were integrated
Reviewed-by: kvn
2016-03-30 00:25:39 +03:00
Kim Barrett
3af6c14332 8152916: ostream has unnecessary dependency on GCId
Removed unneeded #includes and forward class declaration.

Reviewed-by: pliden, rehn, brutisso, mgerdin
2016-03-29 16:21:16 -04:00
Max Ockner
0ce26421c4 Merge 2016-03-29 21:44:06 +02:00
Max Ockner
e721b555eb Merge 2016-03-29 20:51:59 +02:00
Max Ockner
45b8dc27fe 8150084: Convert TraceMonitorMismatch to Unified Logging
TraceMonitorMismatch has been converted to Unified Logging.

Reviewed-by: coleenp, rprotacio
2016-03-29 14:37:07 -04:00
Vladimir Ivanov
d39c84770b 8152972: C2 crashes with SIGSEGV in LoadNode::make
Reviewed-by: kvn
2016-03-29 21:33:26 +03:00
Vladimir Ivanov
03d9887e1c 8152945: TestStableU* tests aren't Jigsaw-ready
Reviewed-by: kvn, thartmann
2016-03-29 21:33:22 +03:00
Vladimir Ivanov
79c80f1282 8152857: [TESTBUG] UnsafeGetConstantField.testUnsafeGetFieldUnaligned fails w/ -XX:-UseUnalignedAccesses in -Xcomp mode
Reviewed-by: kvn, thartmann
2016-03-29 21:33:16 +03:00
Max Ockner
aa9da340e0 8149996: TraceLoaderConstraints has been converted to Unified Logging
TraceLoaderConstraints has been converted to Unified Logging.

Reviewed-by: coleenp, dholmes, rprotacio
2016-03-29 13:02:16 -04:00
Michael Berg
06465d42a5 8152496: Blended code generation
Reviewed-by: kvn, shade
2016-03-29 09:53:50 -07:00
Zoltan Majo
19565dea46 Merge 2016-03-29 13:43:28 +02:00
Marcus Larsson
3db2c8085b 8151993: Remove inclusion of inline.hpp in log.hpp
Reviewed-by: kbarrett, stefank
2016-03-29 09:43:05 +02:00
Marcus Larsson
f4a1f4ef6b 8151438: UL instantiates duplicate tag sets
Reviewed-by: brutisso, stefank
2016-03-29 09:36:43 +02:00
Per Lidén
0fb3d6a52e 8068579: Running with -XX:-UseParallelGC does not turn ParalleGC off
Reviewed-by: jmasa, dfazunen, brutisso
2016-03-29 08:42:22 +02:00
Rahul Raghavan
34f5c263b6 8152730: File Leak in CompileBroker::init_compiler_thread_log of compileBroker.cpp:1665
Added missing code to close file pointer.

Reviewed-by: kvn
2016-03-28 20:38:05 -07:00
Fei Yang
755b6af36e 8152840: aarch64: improve _unsafe_arraycopy stub routine
Aarch64: improve StubRoutines::_unsafe_arraycopy stub routine

Reviewed-by: aph
2016-03-28 21:21:41 +08:00
Rahul Raghavan
9acc5ad3ce 8145348: Make intrinsics flags diagnostic
Converted product or develop intrinsics flags to diagnostic.

Reviewed-by: kvn
2016-03-28 01:08:02 -07:00
Vladimir Ivanov
f7d4d8b94d 8025962: JSR 292: NoSuchMethodError and NoSuchFieldError in MHN_resolve_Mem
Reviewed-by: acorn, kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
ee1caca2a6 8148175: C1: G1 barriers don't preserve FP registers
Reviewed-by: kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
661796fe3f 8152179: C2: Folding of unsigned loads is broken w/ @Stable
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
3d03610bf4 8152773: C2: LoadNode properties aren't preserved when converting between signed/unsigned variants
Reviewed-by: jrose, kvn
2016-03-28 13:49:34 +03:00
Vladimir Ivanov
9cf0dc3015 8151623: Zap freed Metaspace chunks in non-product binaries
Reviewed-by: stefank, jmasa
2016-03-28 13:49:34 +03:00
Aleksey Shipilev
0a8f970d76 Merge 2016-03-25 13:15:41 +00:00
Aleksey Shipilev
d8f23ea33b 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz
2016-03-25 15:34:30 +03:00
Konstantin Shefov
ec1e7dbde1 8152344: JVMCI test task: Unit tests for ConstantReflectionProvider
Reviewed-by: twisti, dpochepk, tpivovarova
2016-03-25 14:46:09 +03:00
Roland Schatz
49558c8d6e 8152634: generalize exception throwing routines in JVMCIRuntime
Reviewed-by: twisti
2016-03-25 12:43:23 +01:00
Alejandro Murillo
08cd7e16d7 Merge 2016-03-24 15:53:19 -07:00
Vivek Deshpande
752d1b46bb 8152354: Update for x86 AES CBC Decryption
4 way parallel version for key sizes 192 and 256 for 64 bit and for key sizes 128, 192 and 256 for 32 bit.

Reviewed-by: kvn
2016-03-24 11:48:37 -07:00
Zoltan Majo
fd69c51425 Merge 2016-03-24 17:52:39 +00:00
Zoltan Majo
720f99dec9 Merge 2016-03-24 16:21:18 +01:00
Harold Seigel
cd3f80324f Merge 2016-03-24 15:19:06 +00:00
Dmitry Fazunenko
743c9c4cdb Merge 2016-03-24 13:09:16 +00:00
Harold Seigel
ff8f7e4a2b 8140665: SIGSEGV when a primitive type's class is used as the host class in a call to DefineAnonymousClass call
Instead of assertng, throw an exception

Reviewed-by: acorn, coleenp
2016-03-24 08:13:28 -04:00
Dmitry Fazunenko
0f687b0bd5 Merge 2016-03-24 15:51:31 +04:00
Tobias Hartmann
d9fd1b40d7 Merge 2016-03-24 11:50:51 +00:00
Tobias Hartmann
1f41cbe573 8150821: Crash with assert(!((nmethod*)_cb)->is_deopt_pc(_pc)) failed: invariant broken
Use different constructor on SPARC to fully initialize frame.

Reviewed-by: kvn
2016-03-24 12:19:50 +01:00
Zoltan Majo
c47b3aee01 8152640: Quarantine compiler/intrinsics/string/TestHasNegatives.java
Quarantine test

Reviewed-by: thartmann
2016-03-24 11:44:12 +01:00
Paul Sandoz
ab69113c5e 8149644: Integrate VarHandles
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Stefan Johansson
d30aeec30c 8151460: Metaspace counters can have inconsistent values
Reviewed-by: jmasa, pliden
2016-03-24 10:49:08 +01:00
Thomas Schatzl
49d6460189 8152400: Enabling TASK_STATS_ONLY filters out just enabled messages anyway
If TASK_STATS_ONLY is enabled, do not require a develop build to print messages.

Reviewed-by: pliden, tbenson
2016-03-24 10:40:23 +01:00
Tobias Hartmann
ce350e07fa 8136458: Remove "marked for reclamation" nmethod state
Removed "marked for reclamation" nmethod state because only sweeper sets nmethods to zombie.

Reviewed-by: kvn, neliasso
2016-03-24 09:09:52 +01:00
Lana Steuck
d214f75dd3 Merge 2016-03-23 21:44:35 -07:00
Lana Steuck
5115e00a71 Added tag jdk-9+111 for changeset 5f9eee6b383b 2016-03-23 19:33:34 -07:00
Jesper Wilhelmsson
b7ca1e57ee Merge 2016-03-23 23:36:29 +01:00
Martin Doerr
9dff846b30 8151818: C1: LIRGenerator::move_to_phi can't deal with illegal phi
Reviewed-by: iveresov, kvn
2016-03-23 15:35:38 -07:00
Dmitry Samersoff
249cb4de93 Merge 2016-03-23 17:36:18 +00:00
Ioi Lam
ae4cc4b56a 8152380: Shared symbol table should never use alternate hashcode
Reviewed-by: coleenp, jiangli
2016-03-23 09:00:22 -07:00
Kim Barrett
cb72aacabb 8151670: Unexpected concurrent refinement deactivation and reactivation
Refinement threads now use SuspendibleThreadSet::yield.

Reviewed-by: jmasa, mgerdin
2016-03-25 15:50:31 -04:00
Eric Mccorkle
6bf9194f41 8078112: [TESTBUG] Integrate Selection/Resolution test suite into jtreg tests
Reviewed-by: ctornqvi, acorn
2016-03-25 15:54:18 +03:00
Dmitry Samersoff
a02f8f2d30 8151991: jvmti diagnostics commands requires INCLUDE_SERVICES
Guard jvmti diagnostic commands by appropriate defines

Reviewed-by: sspitsyn, dholmes, gadams
2016-03-25 12:54:16 +03:00
Sangheon Kim
d676c6233e 8152160: SIGFPE in CompactibleFreeListSpaceLAB::compute_desired_plab_size
Rephrase the calculation with CMSOldPLABNumRefills to avoid an overflow

Reviewed-by: pliden, jmasa
2016-03-24 23:07:06 -07:00
Jon Masamitsu
d7e8dc2fef Merge 2016-03-25 03:53:18 +00:00
Rachel Protacio
f50eeb2649 Merge 2016-03-25 01:20:14 +00:00
Kim Barrett
dcb3e3b3c4 Merge 2016-03-24 23:42:46 +00:00
Coleen Phillimore
66f6116b43 Merge 2016-03-24 20:17:07 +00:00
Rachel Protacio
0f7f8e05ab 8146947: Remove PrintOopAddress rather than converting to UL
Deprecated PrintOopAddress and made functionality default

Reviewed-by: coleenp, stefank
2016-03-24 13:25:10 -04:00
Coleen Phillimore
1d25ca2a9e 8143269: Refactor code in universe_post_init that sets up methods to upcall
Deferred code review cleanups

Reviewed-by: dholmes, hseigel
2016-03-24 10:19:31 -04:00
Zoltan Majo
3edb7b95ba Merge 2016-03-23 15:01:42 +01:00
Michail Chernov
cd1a1d139c 8149662: Refactor hotspot/test/gc/g1/plab/lib/LogParser.java
Reviewed-by: tschatzl, dfazunen
2016-03-23 15:48:25 +03:00
Fei Yang
586f496119 8152537: aarch64: Make use of CBZ and CBNZ when comparing unsigned values with zero
Aarch64: c2 make use of CBZ and CBNZ when comparing unsigned values with zero.

Reviewed-by: aph
2016-03-23 18:00:46 +08:00
Ed Nevill
2199ec0857 8151775: aarch64: add support for 8.1 LSE atomic operations
Reviewed-by: aph
2016-03-29 10:07:54 +00:00
David Simms
7294935e3e 8149023: Event based tracing should cover safepoint begin and end
Add events to safepoint begin and end

Reviewed-by: dholmes, mgronlun, egahlin
2016-03-23 10:52:35 +01:00
Markus Grönlund
a3b37b6372 8152119: Event-based tracing to allow for tracing Klass definition
Reviewed-by: dholmes, egahlin
2016-03-23 10:31:46 +01:00
Yasumasa Suenaga
cdbfbb48aa 8148659: Add all option to JSnap
Reviewed-by: dsamersoff
2016-03-23 12:26:14 +09:00
Max Ockner
4ddc4feb07 Merge 2016-03-23 03:33:22 +01:00
Alejandro Murillo
1bd14828a0 8152483: Fix a couple of tests that are being incorrectly run on C1 after jigsaw M3
Reviewed-by: ctornqvi, kvn
2016-03-22 18:41:09 -07:00
Kim Barrett
5f25c82c48 8152196: SuspendibleThreadSet::yield scales poorly
Use semaphore to wake up VM thread on last suspendible leave/yield.

Reviewed-by: mgerdin, drwhite
2016-03-22 20:32:48 -04:00
Max Ockner
dca64ad62d 8146632: Add descriptive error messages for removed non-product logging flags
Added table with removed non-product flags and error messages.

Reviewed-by: dholmes, coleenp, hseigel
2016-03-22 15:03:07 -04:00
Coleen Phillimore
ff04be3cf5 8144940: Broken hash in string table entry in closed/runtime/7158800/BadUtf8.java
Fix code broken with compact Strings.

Reviewed-by: iklam, thartmann, hseigel, jiangli
2016-03-22 13:32:18 -04:00
Severin Gehwolf
aa55cc6846 8152440: Zero build fails after JDK-8146801
Define InitArrayShortSize macro for Zero as well.

Reviewed-by: aph
2016-03-22 18:23:39 +01:00
Chris Hegarty
9978f9b065 Merge 2016-03-22 17:04:25 +00:00
Bengt Rutisson
d444e55969 8152300: Convert G1_ALLOC_REGION_TRACING to unified logging
Reviewed-by: sjohanss, stefank
2016-03-22 13:41:52 +01:00
Chris Hegarty
5af2dcd643 Merge 2016-03-22 10:43:58 +00:00
Tom Benson
dc360cad53 8142935: Adding old gen regions does not consider available free space
Track live data size as added to cset during mixed GCs

Reviewed-by: kbarrett, drwhite
2016-03-21 15:59:58 -04:00
Sangheon Kim
fd827daa57 Merge 2016-03-22 01:52:23 +01:00
Chris Plummer
6e4fd7f938 Merge 2016-03-21 20:19:46 +00:00
Chris Plummer
4cc14cb17e 8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
Added ShrinkHeapInSteps option.

Reviewed-by: jmasa, tbenson
2016-03-21 13:14:31 -07:00
Sangheon Kim
b5a940227e 8152120: TLAB compute_size() should not allow any size larger than max_size
Limit TLAB compute_size() to be less than or equal to TLAB max

Reviewed-by: sjohanss, jmasa
2016-03-21 13:04:10 -07:00
Thomas Schatzl
ec9925fbe9 Merge 2016-03-21 12:52:24 +01:00
Marcus Larsson
85ba16be9d Merge 2016-03-21 11:42:47 +01:00
Bengt Rutisson
a1901aecc9 Merge 2016-03-21 10:44:30 +01:00
Nils Eliasson
f058b201f6 8152169: LockCompilationTest.java fails due method present in the compiler queue
Too many compiles waiting, wait time not enough

Reviewed-by: twisti
2016-03-18 15:54:47 +01:00
Zoltan Majo
1c19fa8c18 Merge 2016-03-21 11:21:07 +01:00
Zoltan Majo
5751808a6c 8148754: C2 loop unrolling fails due to unexpected graph shape
Check if graph shape is appropriate for optimization, bail out optimization if not.

Reviewed-by: kvn, twisti, shade, dnsimon
2016-03-21 09:51:20 +01:00
Guy Delamarter
579f0ea8ec 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:20 +01:00
Hiroshi H Horii
0e8c60f68f 8152172: PPC64: Support AES intrinsics
Reviewed-by: kvn, mdoerr, simonis
2016-03-18 12:50:17 +01:00
Bengt Rutisson
85c97dc404 8148759: G1AllocRegion::_count inconsistently used if more than one context is active
Reviewed-by: sjohanss, jwilhelm, tschatzl
2016-03-18 10:51:29 +01:00
Sangheon Kim
ed7472e0dd 8152118: MinTLABSize should be less than TLAB max
Add a constraint for MinTLABSize to be less than or equal to TLAB max

Reviewed-by: brutisso, drwhite, jmasa
2016-03-18 21:01:28 -07:00
Jesper Wilhelmsson
884837e21c Merge 2016-03-19 02:44:27 +00:00
Jesper Wilhelmsson
132e217524 Merge 2016-03-19 01:23:46 +01:00
Coleen Phillimore
2482b77829 Merge 2016-03-18 23:12:49 +00:00
Coleen Phillimore
539958f76c Merge 2016-03-18 22:27:19 +00:00
Coleen Phillimore
1954276b28 8152065: TraceBytecodes breaks the interpreter expression stack
Move trace_bytecode to InterpreterRuntime and make trace_bytecode an IRT_LEAF so that safepoints are not allowed.

Reviewed-by: jiangli, dholmes, dcubed
2016-03-18 15:14:22 -04:00
Per Lidén
1402ff0f5d 8152185: ReferencePendingListLocker incorrectly assumes that the lock is never taken recursively
Reviewed-by: stefank, sjohanss
2016-03-18 15:54:04 +01:00
Stefan Johansson
77de5508e9 8152113: Remove _last_ditch_collection GC-cause and avoid expanding heap on Metaspace OOM
Reviewed-by: brutisso, jwilhelm
2016-03-18 13:18:58 +01:00
Stefan Karlsson
0fed01a8ec Merge 2016-03-18 11:42:32 +01:00
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
Alejandro Murillo
b1991afdf4 Merge 2016-03-17 11:25:10 -07: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
Michail Chernov
ce4315d21c 8150648: Re-enable TestPLABResize.java after JDK-8150183 is fixed
Reviewed-by: tschatzl
2016-03-17 17:07:09 +03:00
Zoltan Majo
a7f8d170bf Merge 2016-03-17 13:48:11 +01:00
Erik Joelsson
691b95d838 Merge 2016-03-17 11:15:44 +01:00
Thomas Schatzl
2e126f0610 Merge 2016-03-17 10:04:39 +01:00
Erik Joelsson
0ca6aea1fd 8151656: Minor tweaks to old Hotspot build to ease comparison with new
Reviewed-by: dholmes, twisti
2016-03-17 09:53:18 +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
66afd81176 Merge 2016-03-18 09:27:07 +00: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
Nils Eliasson
338ff211b4 8152090: Code missing from JDK-8150054 causing many test failures
Add missing method

Reviewed-by: kvn
2016-03-17 21:55:55 +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
Nils Eliasson
a7d116c1f3 8150054: Make compilercontrol test ignore xcomp
Add -Xmixed and use jtreg driver

Reviewed-by: kvn
2016-03-16 10:45:43 +01: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
Lana Steuck
a6fc28fb09 Merge 2016-03-15 14:48:45 -07:00
Tom Rodriguez
3e246411ae 8151871: [JVMCI] missing HAS_PENDING_EXCEPTION check
Reviewed-by: kvn
2016-03-15 14:19:24 -07:00
Lana Steuck
007b0fa3db Added tag jdk-9+110 for changeset 8045e63439dd 2016-03-15 13:48:21 -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
Pavel Punegov
616744c4c9 8150955: RandomValidCommandsTest.java fails with UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives
Replace invalid command with a valid one

Reviewed-by: kvn
2016-03-15 16:23:31 +03: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
a20ceb80f4 8151796: compiler/whitebox/BlockingCompilation.java fails due to method not compiled
Make test more robust

Reviewed-by: simonis
2016-03-15 11:17:22 +01: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
d10cb8912d 8148239: TestSelectDefaultGC.java incorrectly expects G1 on non-server class machines
Reviewed-by: brutisso, kzhaldyb
2016-03-15 08:02:17 +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
Alejandro Murillo
b72ca6d010 Merge 2016-03-14 14:28:53 -07: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
Kirill Zhaldybin
0e76458fca 8144073: Refactor hotspot/test/gc/g1/humongousObjects/TestHumongousThreshold.java
Reviewed-by: tschatzl, dfazunen
2016-03-14 20:00:57 +03:00
Zoltan Majo
3153dc3941 Merge 2016-03-14 17:51:25 +01: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
Erik Joelsson
1dd9cf1dda 8151619: genSocketOptionRegistry.exe always relinked on Windows
Reviewed-by: tbell
2016-03-14 12:03:31 +01: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
Nils Eliasson
e34f88b0a6 Merge 2016-03-11 21:02:09 +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
Alejandro Murillo
b6ac98452d Merge 2016-03-10 16:08:17 -08:00
Doug Simon
b87feb324c 8151664: [JVMCI] add missing test in 8151266 integration
Reviewed-by: never, twisti
2016-03-10 14:06:21 -08: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
Lana Steuck
d4d0320553 Merge 2016-03-10 09:50:18 -08:00
Lana Steuck
e9a96608e0 Added tag jdk-9+109 for changeset 9ea881b5873b 2016-03-10 09:28:10 -08: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
Igor Ignatyev
fc407c943e Merge 2016-03-10 14:15:15 +01: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
Nils Eliasson
b01a1a42e3 8066770: EnqueueMethodForCompilationTest.java fails to compile method
Make compiles blocking and always check queue

Reviewed-by: kvn
2016-03-09 21:20:43 +01:00
Nils Eliasson
9e21021abb 8073793: serviceability/dcmd/compiler/CodelistTest.java fails with ClassNotFoundException trying to load VM anonymous class
Make test less fragile using whitebox API

Reviewed-by: kvn
2016-03-09 21:19:13 +01: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
3179ca3b0a Merge 2016-03-09 14:54:18 +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
Staffan Larsen
8af208885a 8151196: Several tests fail due to test library not found
Reviewed-by: ctornqvi, brutisso
2016-03-09 12:30:39 +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