Albert Noll
707b1d16b4
Merge
2014-06-23 04:44:02 +00:00
Albert Noll
43d50245b7
8046286: assert: Do not add task if compilation is turned off forever
...
Remove the unnecessary and missleading assert
Reviewed-by: iveresov
2014-06-23 08:40:31 +02:00
Albert Noll
1319cf1a68
8043158: Crash in CodeSweeperSweepNoFlushTest in CompileQueue::free_all()
...
Acquire lock before calling notify()
Reviewed-by: twisti, thartmann
2014-06-20 09:25:13 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Harold Seigel
7ec22758dc
8030763: Validate global memory allocation
...
Add length checks where necessary
Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
Vladimir Ivanov
38d80b03c4
8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
...
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Albert Noll
3073f25b0d
8042570: Excessive number of tests timing out on nightly testing due to fix for 8040798
...
Remove unnecessary lock in CompileBroker::mark_on_stack() that causes the deadlock
Reviewed-by: kvn, dcubed
2014-05-07 22:06:42 +02:00
Albert Noll
4eb39cef62
8042428: CompileQueue::free_all() code is incorrect
...
Free task after getting next pointer of freelist.
Reviewed-by: kvn, adlertz
2014-05-06 09:52:38 +02:00
Albert Noll
dab05a3040
8040798: compiler/startup/SmallCodeCacheStartup.java timed out in RT_Baseline
...
Fixes broken memory freeing of compile queue tasks and makes sure that blocking compiles do not hang the VM if compilation gets disabled due to a full code cache.
Reviewed-by: kvn, iveresov
2014-04-29 07:59:22 +02:00
Staffan Larsen
43b711ea78
8034080: Remove the USDT1 dtrace code from Hotspot
...
Reviewed-by: dholmes, coleenp
2014-02-18 09:15:40 +01:00
Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Staffan Larsen
b35fb5f8c0
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Albert Noll
42afc756f5
8022494: Make compilation IDs sequential
...
Use atomic operations to provide sequential compilation IDs
Reviewed-by: kvn, twisti
2014-01-10 06:36:18 +01:00
Albert Noll
18ca4cc301
8027593: performance drop with constrained codecache starting with hs25 b111
...
Fixed proper sweeping of small code cache sizes
Reviewed-by: kvn, iveresov
2013-11-12 09:32:50 +01:00
Albert Noll
87fe2fdf42
8026949: -Xint flag prints wrong warning: Initialization of C1 thread failed (no space to run compilers)
...
Exit compiler threads early during startup so that wrong error message is not printed
Reviewed-by: iveresov, twisti
2013-10-25 22:57:13 +02:00
Albert Noll
ceb177b16f
8026407: VM crashes on linux-ppc and linux-i586 when there is not enough ReservedCodeCacheSize specified
...
Ensure currently required generation of AdapterHandlerLibrary::create_native_wrapper()
Reviewed-by: roland, iveresov
2013-10-23 10:00:39 +02:00
Albert Noll
aef0d74e96
8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
...
Ensure ensure correct initialization of compiler runtime
Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Albert Noll
4f459e644f
8025656: compiler/8013496/Test8013496.sh fails on assert
...
Ensure the thread is in correct state; rewrote test in Java
Reviewed-by: kvn, twisti
2013-10-04 09:19:13 +02:00
Albert Noll
0dee555ead
8020151: PSR:PERF Large performance regressions when code cache is filled
...
Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02:00
Vladimir Kozlov
ccfb92c6a9
8012972: Incremental Inlining should support scalar replaced object in debug info
...
Store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value
Reviewed-by: roland, twisti
2013-08-23 11:41:37 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Albert Noll
d6efb99686
8013329: File leak in hotspot/src/share/vm/compiler/compileBroker.cpp
...
Added calling of the destructor of CompileLog so that files are closed. Added/moved memory allocation/deallocation of the string that contains the name of the log file to class CompileLog.
Reviewed-by: kvn, roland
2013-06-03 08:52:20 +02:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Albert Noll
317f9c229e
8013532: Remove unused parameter "compiler" from DTRACE_METHOD_COMPILE* macros
...
Remove unused parameter in dtrace macros
Reviewed-by: kvn, roland
2013-05-02 10:27:15 +02:00
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02:00
Igor Ignatyev
0a434e425b
8011675: adding compilation level to replay data
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:09:24 -07:00
Nils Eliasson
92ef5fe748
8006952: Slow VM due to excessive code cache freelist iteration
...
Remove continous free block requirement
Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Morris Meyer
7e6a92e08b
8008663: [parfait] Null pointer deference in hotspot/src/share/vm/compiler/compileBroker.cpp
...
Add NULL checks for compiler name
Reviewed-by: twisti, kvn
2013-03-19 07:23:29 -07:00
Nils Eliasson
bcbdbf9996
8005772: Stubs report compile id -1 in phase events
...
Use 0 to indicate id is NA, -1 for error or uninitalized
Reviewed-by: kvn, twisti
2013-02-13 10:25:09 +01:00
Igor Ignatyev
014d9489bb
8006613: adding reason to made_not_compilable
...
Reviewed-by: kvn, vlivanov
2013-02-05 08:25:51 -08:00
Vladimir Kozlov
3eb6582f4b
Merge
2013-01-17 18:47:36 -08:00
Alexander Harlap
95cbed6639
8005204: Code Cache Reduction: command line options implementation
...
Adding more detailed output on CodeCache usage
Reviewed-by: kvn, vladidan
2013-01-14 13:52:08 -05:00
Roman Kennke
b17ebac5b5
8005820: Shark: enable JSR292 support
...
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Coleen Phillimore
54bbf614e8
8004883: NPG: clean up anonymous class fix
...
Add klass_holder() to return either mirror or class_loader depending on if the class is anonymous or not.
Reviewed-by: stefank, jrose
2012-12-12 11:39:29 -05:00
Coleen Phillimore
7aa43fc5d8
8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap
...
Add ClassLoaderData object for each anonymous class with metaspaces to allocate in.
Reviewed-by: twisti, jrose, stefank
2012-11-29 16:50:29 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05:00
Vladimir Ivanov
822deb6ee6
7177003: C1: LogCompilation support
...
Add LogCompilation support in C1 - both client and tiered mode.
Reviewed-by: twisti, kvn
2012-10-05 18:57:10 -07:00
Christian Thalinger
0bae010a3b
7200001: failed C1 OSR compile doesn't get recompiled with C2
...
Reviewed-by: kvn
2012-09-24 17:59:24 -07:00
Coleen Phillimore
12b9a4edbb
7195833: NPG: Rename instanceClassLoaderKlass, instanceRefKlass and instanceMirrorKlass
...
Simple renaming to be consistent with instanceKlass->InstanceKlass renaming
Reviewed-by: stefank, jmasa
2012-09-07 12:04:16 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
12901d0e5b
7023639: JSR 292 method handle invocation needs a fast path for compiled code
...
6984705: JSR 292 method handle creation should not go through JNI
Remove assembly code for JDK 7 chained method handles
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, kvn, mhaupt
2012-07-24 10:51:00 -07:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Tom Rodriguez
520f6fcc87
7145537: minor tweaks to LogEvents
...
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
John Coomes
140e8ff0d9
Merge
2012-02-03 12:08:55 -08:00
Tom Rodriguez
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Keith McGuigan
1e318cc920
Merge
2012-01-27 10:42:36 -05:00
Paul Hohensee
09e21afaaa
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
...
Add CriticalPriority == MaxPriority+1 and enable scheduling class as well as thread priority to change on Solaris.
Reviewed-by: dholmes, dcubed
2012-01-26 20:06:06 -05:00