Christian Tornqvist
2195d1d5e4
Merge
2013-02-02 07:24:29 +01:00
Christian Tornqvist
111ddcc827
8005012: Add WB APIs to better support NMT testing
...
Add WB API functions to enable better NMT testing
Reviewed-by: dholmes, zgu
2013-02-01 23:48:08 +01:00
Serguei Spitsyn
932c29e08e
8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic
...
The invokedynamic bytecode ref to a CP entry needs to be checked and fixed as well.
Reviewed-by: coleenp, twisti
2013-01-31 20:11:14 -08:00
Serguei Spitsyn
823c749bd1
8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds
...
Need a support for invokedynamic entry kinds when new and old constant pools are merged.
Reviewed-by: coleenp, twisti
2013-01-31 20:07:18 -08:00
Bharadwaj Yadavelli
cb255a0269
8004967: Default method cause VerifyError: Illegal use of nonvirtual
...
Recognize VM generated method in old verifier
Reviewed-by: acorn, coleenp
2013-01-28 10:55:30 -05:00
Yumin Qi
fe8363948e
Merge
2013-01-25 13:47:52 -08:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Serguei Spitsyn
020fe75e67
8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to
...
When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before.
Reviewed-by: coleenp, twisti
2013-01-24 22:13:32 -08:00
Coleen Phillimore
99039568f9
8006040: NPG: on_stack processing wastes space in ConstantPool
...
Added on_stack bit to flags. Also MetadataMarkOnStack is used for more than JVMTI so had to be moved.
Reviewed-by: dholmes, stefank
2013-01-23 10:34:29 -05:00
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Bengt Rutisson
f3576a18a9
Merge
2013-01-18 11:03:15 +01:00
Coleen Phillimore
e508ba9b0b
7174978: NPG: Fix bactrace builder for class redefinition
...
Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers. Removed old Merlin API with duplicate code.
Reviewed-by: dholmes, sspitsyn
2013-01-17 13:40:31 -05:00
Karen Kinnear
4ce43bafa5
Merge
2013-01-16 18:23:37 -05:00
Stefan Karlsson
9d65c6d24f
8005994: Method annotations are allocated unnecessarily during class file parsing
...
Also reviewed by: vitalyd@gmail.com
Reviewed-by: coleenp, acorn
2013-01-15 10:09:45 +01: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
Dean Long
f1bd82ba8f
Merge
2013-01-09 21:18:52 -05: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
Jiangli Zhou
8d91f983e0
8001341: SIGSEGV in methodOopDesc::fast_exception_handler_bci_for(KlassHandle,int,Thread*)+0x3e9
...
Use methodHandle.
Reviewed-by: coleenp, acorn, twisti, sspitsyn
2013-01-08 13:01:19 -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
Joel Borggren-Franck
6ed6cb5375
8004823: Add VM support for type annotation reflection
...
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Aleksey Shipilev
4c293ebcd6
8004318: JEP-171: Support Unsafe fences intrinsics
...
Add three memory-ordering intrinsics to the sun.misc.Unsafe class.
Reviewed-by: twisti, kvn
2012-12-18 17:37:44 -08:00
Christian Thalinger
40a871f3e9
8003238: JSR 292: intermittent exception failure with java/lang/invoke/CallSiteTest.java
...
Reviewed-by: jrose, kvn
2012-12-14 12:06:42 -08:00
John Cuthbertson
6c0bf79f7a
Merge
2012-11-30 12:01:34 -08: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
John Cuthbertson
defec7ae16
Merge
2012-11-29 11:23:15 -08:00
Coleen Phillimore
6538c5134b
8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
...
Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer.
Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
2012-11-28 17:50:21 -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
Mikael Vidstedt
5791b1f1c3
8003690: Example code in JVMTI GetStackTrace documentation is broken
...
Fixed to minor errors in example code
Reviewed-by: sspitsyn, dholmes
2012-11-21 09:02:13 -08: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
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
Chris Plummer
77c6d4fa5f
Merge
2012-11-09 09:45:00 -08:00
Yumin Qi
1c4dbc48e5
Merge
2012-11-08 16:48:01 -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
Coleen Phillimore
3b8016772d
Merge
2012-11-01 11:57:53 -04:00
Serguei Spitsyn
80cc4706a6
7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge
...
Use verifier_max_size instead of max_size to get code attribute max stack size.
Reviewed-by: dcubed, minqi
2012-10-31 16:20:03 -07:00
Serguei Spitsyn
cb6de38554
6533010: SPEC: A few broken links in jvmti.html
...
Fix the incorrect links in jvmti.html reported by the LinkCheck tool
Reviewed-by: jjh, dholmes
2012-10-29 11:35:20 -07:00
Vladimir Kozlov
b8abfa016c
Merge
2012-10-26 12:06:55 -07:00
Vladimir Kozlov
247b39e010
8001071: Add simple range check into VM implemenation of Unsafe access methods
...
Add simple check in debug version of VM.
Reviewed-by: twisti, johnc
2012-10-18 07:06:31 -07:00
Gary Collins
3a32124e5c
Merge
2012-10-12 11:31:27 -07:00
Gary Collins
ad3844358d
Merge
2012-10-12 10:49:39 -07:00
Vladimir Kozlov
5f132a5ec3
Merge
2012-10-12 09:22:52 -07:00
Christian Thalinger
222b2457ed
8000740: remove LinkWellKnownClasses
...
Reviewed-by: kvn, jrose
2012-10-11 14:46:20 -07:00
Jiangli Zhou
7757ae0cbf
8000459: assert(java_lang_String::is_instance(entry)) failure with various mlvm tests
...
Remove unneeded assert.
Reviewed-by: sspitsyn, coleenp
2012-10-11 14:36:46 -04:00
Joseph Provino
c5eaaaa070
7189254: Change makefiles for more flexibility to override defaults
...
Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00