Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Aleksey Shipilev
07e2e8803a
8006403: Regression: jstack failed due to the FieldInfo regression in SA
...
Reviewed-by: sla, dholmes
2013-01-16 16:30:04 +01:00
Mikael Vidstedt
b4546eb428
8005592: ClassLoaderDataGraph::_unloading incorrectly defined as nonstatic in vmStructs
...
Added assertion to catch problem earlier and removed the unused field
Reviewed-by: dholmes, acorn
2013-01-14 11:00:56 -08:00
Coleen Phillimore
6972d9ff95
Merge
2013-01-14 08:37:14 -08:00
Eric Mccorkle
be0c8e9f08
8006005: Fix constant pool index validation and alignment trap for method parameter reflection
...
This patch addresses an alignment trap due to the storage format of method parameters data in constMethod. It also adds code to validate constant pool indexes for method parameters data.
Reviewed-by: jrose, dholmes
2013-01-14 11:01:39 -05:00
Aleksey Shipilev
0614ed6542
8003985: Support @Contended Annotation - JEP 142
...
HotSpot changes to support @Contended annotation.
Reviewed-by: coleenp, kvn, jrose
2013-01-14 15:17:47 +01:00
Zhengyu Gu
ae35dfeeec
Merge
2013-01-11 09:53:24 -08:00
Zhengyu Gu
93d2366337
8005936: PrintNMTStatistics doesn't work for normal JVM exit
...
Moved NMT shutdown code to JVM exit handler to ensure NMT statistics is printed when PrintNMTStatistics is enabled
Reviewed-by: acorn, dholmes, coleenp
2013-01-11 12:30:54 -05:00
Jeremy Manson
cac8a55fb2
8005921: Memory leaks in vmStructs.cpp
...
Reviewed-by: dholmes, mikael, rasbold
2013-01-10 21:00:11 -05:00
Mikael Vidstedt
e7e6443c6d
8004747: Remove last_entry from VM_STRUCT macros
...
Instead of passing in last_entry to all the VM_ macros just expand it in the main vmStructs.cpp file.
Reviewed-by: dholmes, sspitsyn, minqi
2013-01-10 17:06:26 -08:00
Coleen Phillimore
3296803650
Merge
2013-01-08 13:44:10 -08:00
Eric Mccorkle
be968245ec
8004728: Add hotspot support for parameter reflection
...
Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Harold Seigel
cfea76669a
8005076: Creating a CDS archive with one alignment and running another causes a crash
...
Save the alignment when writing the CDS and compare it when reading the CDS.
Reviewed-by: kvn, coleenp
2013-01-08 13:38:11 -05:00
Coleen Phillimore
64499d9494
8005494: SIGSEGV in Rewriter::relocate_and_link() when testing Weblogic with CompressedOops and KlassPtrs
...
Relocate functions with jsr's when rewriting so not repeated after reading shared archive
Reviewed-by: twisti, jrose
2013-01-02 20:28:09 -05:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Jesper Wilhelmsson
917282a86d
Merge
2012-12-21 16:33:22 +01:00
Roland Westrelin
42c79d741b
Merge
2012-12-21 01:39:34 -08:00
Joel Borggren-Franck
6ed6cb5375
8004823: Add VM support for type annotation reflection
...
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Vladimir Kozlov
e508acf372
8004741: Missing compiled exception handle table entry for multidimensional array allocation
...
Added missing exception path for multidimensional array allocation and use Throwable type instead of OutOfMemoryError for allocation's exception.
Reviewed-by: twisti
2012-12-19 19:21:15 -08:00
Ron Durbin
9c761152db
8005044: remove crufty '_g' support from HS runtime code
...
Phase 2 is removing '_g' support from the Runtime code.
Reviewed-by: dcubed, coleenp, hseigel
2012-12-19 10:35:08 -08:00
Bengt Rutisson
a3355065be
7173959: Jvm crashed during coherence exabus (tmb) testing
...
Mapping of aligned memory needs to be MT safe. Also reviewed by: vitalyd@gmail.com
Reviewed-by: dholmes, coleenp, zgu
2012-12-17 08:49:20 +01:00
Gary Collins
11605cf755
Merge
2012-12-14 11:45:55 -08:00
John Cuthbertson
73843e1140
8001028: Improve GC option handling
...
If there are not enough native resources to create the ReferenceHandler or Finalizer Java threads, the VM will attempt to throw an OOME before the java.lang.Class class has been initialized. This can result in assertion failures and other crashes. Move the initialization of the java.lang.Class class to just before the initialization of the java.lang.ref.Finalizer class.
Reviewed-by: jwilhelm, dholmes, coleenp
2012-12-12 12:07:32 -08:00
Jiangli Zhou
511a9d8982
8004076: Move _max_locals and _size_of_parameters to ConstMethod for better sharing
...
Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Reviewed-by: coleenp, minqi, jrose
2012-12-11 12:41:31 -05:00
John Cuthbertson
1dff0005b9
Merge
2012-12-07 16:08:05 -08:00
Jesper Wilhelmsson
6c64f0223c
Merge
2012-12-07 07:36:51 -08:00
Roland Westrelin
d8921b191a
Merge
2012-12-07 01:09:03 -08:00
Chris Plummer
fdf8ceee2d
Merge
2012-11-29 13:55:49 -08:00
John Cuthbertson
defec7ae16
Merge
2012-11-29 11:23:15 -08:00
John Cuthbertson
4e43b88153
8004170: G1: Verbose GC output is not getting flushed to log file using JDK 8
...
Add flushes to G1CollectedHeap::log_gc_footer() and TraceCPUTime destructor.
Reviewed-by: jwilhelm, azeemj, brutisso
2012-11-30 11:46:17 -08:00
Jiangli Zhou
10f71a3f72
8003848: Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod
...
Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod.
Reviewed-by: bdelsart, sspitsyn, coleenp
2012-11-27 17:03:56 -05:00
Mikael Vidstedt
8c32bcb315
8003879: Duplicate definitions in vmStructs
...
Removed duplicate entries
Reviewed-by: dholmes, sspitsyn
2012-11-27 07:57:57 -08:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
Christian Thalinger
2c2c007448
8003240: x86: move MacroAssembler into separate file
...
Reviewed-by: kvn
2012-11-30 15:23:16 -08:00
Roman Kennke
96562be9e5
8003868: fix shark for latest HotSpot and LLVM
...
Reviewed-by: twisti
2012-11-27 12:48:52 -08:00
David Holmes
8b54df7773
8003591: Abstract_VM_Version::internal_vm_info_string needs to stringify FLOAT_ARCH for ease of use
...
Reviewed-by: coleenp, kvn
2012-11-21 20:07:52 -05:00
Vladimir Ivanov
7f0d3fe5e7
8001538: hs_err file does not list anymore compiled methods in compilation events
...
Fixed message buffer size calculation.
Reviewed-by: kvn, twisti
2012-11-21 05:57:12 -08:00
Erik Helin
7e892709bd
7198334: UseNUMA modifies system parameters on non-NUMA system
...
The flags MinHeapDeltaBytes and UseNUMAInterleaving must be adjusted after the OS have adjusted the UseNUMA flag in the method os::init_2.
Reviewed-by: dholmes, brutisso
2012-11-20 11:40:11 +01:00
Coleen Phillimore
ddec2a3aed
Merge
2012-11-16 09:19:12 -05:00
Nils Eliasson
d055fd81db
Merge
2012-11-16 09:59:08 +01:00
Coleen Phillimore
033786fbf0
Merge
2012-11-13 15:14:27 -05:00
Yumin Qi
f712e12f98
6830717: replay of compilations would help with debugging
...
When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method.
Reviewed-by: kvn, twisti, sspitsyn
2012-11-12 14:03:53 -08:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Harold Seigel
a28380d97e
7122219: Passed StringTableSize value not verified
...
Check that the values specified for -XX:StringTableSize are within a certain range.
Reviewed-by: dholmes, coleenp
2012-11-12 15:58:11 -05:00
Chris Plummer
77c6d4fa5f
Merge
2012-11-09 09:45:00 -08:00
Bill Pittore
dd5c8eb660
8001185: parsing of sun.boot.library.path in os::dll_build_name somewhat broken
...
Dll_dir can contain multiple paths, need to parse them correctly when loading agents
Reviewed-by: dholmes, dlong
2012-11-07 17:53:02 -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
Alejandro Murillo
d03b95a6e8
Merge
2012-11-02 07:35:41 -07:00
Alejandro Murillo
7747f370a5
Merge
2012-11-02 04:06:00 -07:00