Mikael Gerdin
c47ec9b4ca
8011802: NPG: init_dependencies in class loader data graph can cause invalid CLD
...
Restructure initialization of ClassLoaderData to not add a new instance if init_dependencies fail
Reviewed-by: stefank, coleenp
2013-04-23 08:39:55 +02:00
Mikael Gerdin
dcedbaa149
Merge
2013-04-22 10:10:09 +02:00
Jon Masamitsu
e1cbb28f3f
8011268: NPG: Free unused VirtualSpaceNodes
...
Reviewed-by: mgerdin, coleenp, johnc
2013-03-01 10:19:29 -08:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Coleen Phillimore
6101f88a80
Merge
2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0
8007475: Memory stomp with UseMallocOnly
...
Fix off-by-one error
Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Eric McCorkle
16990e896a
8006949: Update hotspot for MethodParameters format change
...
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes
Update to Hotspot's processing of MethodParameters attributes in classfiles
Reviewed-by: coleenp, jrose
2013-02-04 13:05:32 -05:00
Karen Kinnear
b28f16c910
Merge
2013-01-28 10:34:07 -05:00
Karen Kinnear
3f92d0764c
Merge
2013-01-27 21:58:34 -05:00
Ioi Lam
93b845e21b
6479360: PrintClassHistogram improvements
...
Jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
2013-01-25 15:06:18 -05: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
Krystal Mo
c06a8276fe
Merge
2013-01-24 09:06:16 -08:00
Krystal Mo
ae1a2f5e3c
8006758: LinkResolver assertion (caused by @Contended changes)
...
Treat anonymous classes as privileged code to restore the special handling for @Compiled during class file parsing
Reviewed-by: jrose, coleenp, kvn, dholmes
2013-01-24 02:03:38 -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
Vladimir Kozlov
9e0c61f822
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
...
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
2013-01-22 15:34:16 -08:00
Dave Dice
98c357abf8
8004902: correctness fixes motivated by contended locking work (6607129)
...
Misc correctness fixes
Reviewed-by: acorn, dholmes, dice, sspitsyn
2013-01-22 05:56:42 -08: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
Jon Masamitsu
59f0209008
8006537: Assert when dumping archive with default methods
...
Reviewed-by: coleenp
2013-01-17 19:04:48 -08: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
Stefan Karlsson
6799149f7d
8006513: Null pointer in DefaultMethods::generate_default_methods when merging annotations
...
Reviewed-by: brutisso, jfranck
2013-01-17 11:39:48 +01: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
Stefan Karlsson
67fc68ea7f
8005590: java_lang_Class injected field resolved_constructor appears unused
...
Reviewed-by: coleenp, dholmes
2013-01-15 13:32:13 +01: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
Alejandro Murillo
54489e4ba1
Merge
2013-01-11 01:43:09 -08:00
Karen Kinnear
472004ca58
7199207: NPG: Crash in PlaceholderTable::verify after StackOverflow
...
Reduce scope of placeholder table entries to improve cleanup
Reviewed-by: dholmes, coleenp
2013-01-10 17:38:20 -05:00
Karen Kinnear
9cc0c0af8b
Merge
2013-01-09 18:06:34 -05:00
Bharadwaj Yadavalli
8762d54e63
8005689: InterfaceAccessFlagsTest failures in Lambda-JDK tests
...
Fix verifier for new interface access flags
Reviewed-by: acorn, kvn
2013-01-09 11:39:30 -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
David Katleman
614dd26d3d
Merge
2012-12-26 14:23:50 -08:00
Yumin Qi
a5fbc1aa4d
Merge
2012-12-24 11:46:38 -08:00
Roland Westrelin
42c79d741b
Merge
2012-12-21 01:39:34 -08:00
David Katleman
5dc630b150
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:51 -08:00
Aleksey Shipilev
fede1f0216
8004330: Add missing Unsafe entry points for addAndGet() family
...
Fix java names for getAndSet intrinsics
Reviewed-by: kvn
2012-12-20 14:17:52 -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
Yumin Qi
ddb2b5d004
Merge
2012-12-19 16:10:19 -08: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
Erik Helin
0ed52d16e2
8004661: Comment and function name java_lang_String::toHash is wrong
...
Renamed to hash_code
Reviewed-by: dholmes, coleenp, brutisso
2012-12-13 10:09:49 +01:00
Stefan Karlsson
47424a5d4d
8005002: Crash because of a raw oop in ClassLoaderData::add_dependency
...
Move the handelization of 'last' to a point before the GC might enter.
Reviewed-by: dholmes, sspitsyn, coleenp
2012-12-12 22:41:13 +01: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
Jon Masamitsu
e8b3b89264
8005082: NPG: Add specialized Metachunk sizes for reflection and anonymous classloaders
...
Reviewed-by: johnc, coleenp
2012-12-03 15:09:39 -08:00
John Cuthbertson
6c0bf79f7a
Merge
2012-11-30 12:01:34 -08:00
Chris Plummer
fdf8ceee2d
Merge
2012-11-29 13:55:49 -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
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
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