Commit Graph

4142 Commits

Author SHA1 Message Date
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
Bengt Rutisson
33b7cd7cae 8005972: ParNew should not update the tenuring threshold when promotion failed has occurred
Reviewed-by: ysr, johnc, jwilhelm
2013-01-14 21:30:45 +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
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
Alexander Harlap
5613847626 8005639: Move InlineSynchronizedMethods flag from develop to product
Move InlineSynchronizedMethods flag from develop to product

Reviewed-by: kvn, vladidan
2013-01-14 13:44:49 -05:00
Coleen Phillimore
6972d9ff95 Merge 2013-01-14 08:37:14 -08:00
Vladimir Ivanov
f8b9f3900c 8006095: C1: SIGSEGV w/ -XX:+LogCompilation
Avoid printing inlining decision when compilation fails

Reviewed-by: kvn, roland
2013-01-14 08:22:32 -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
Erik Helin
a3639fdea1 8004018: Remove old initialization flags
Reviewed-by: dholmes, stefank
2013-01-14 09:58:52 +01:00
Christian Thalinger
827930b510 8006127: remove printing code added with 8006031
Reviewed-by: kvn
2013-01-11 20:01:16 -08:00
Roman Kennke
b17ebac5b5 8005820: Shark: enable JSR292 support
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Roman Kennke
ba649f4203 8005818: Shark: fix OSR for non-empty incoming stack
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Roman Kennke
a0a0d0b65e 8005817: Shark: implement deoptimization support
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Roman Kennke
a42478ecf4 8005816: Shark: fix volatile float field access
Reviewed-by: twisti
2013-01-11 16:47:23 -08:00
Christian Thalinger
6c57a4b9f8 8006031: LibraryCallKit::inline_array_copyOf disabled unintentionally with 7172640
Reviewed-by: kvn
2013-01-11 14:07:09 -08:00
Jiangli Zhou
2cbabcea4a 8005895: Inefficient InstanceKlass field packing wasts memory
Pack _misc_has_default_methods into the _misc_flags, move _idnum_allocated_count.

Reviewed-by: coleenp, shade
2013-01-11 16:55:07 -05: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
Alejandro Murillo
d06c06026a 8006034: new hotspot build - hs25-b16
Reviewed-by: jcoomes
2013-01-11 02:02:51 -08:00
Alejandro Murillo
95d6d393e9 Added tag hs25-b15 for changeset 8bac833614e0 2013-01-11 01:43:10 -08:00
Alejandro Murillo
54489e4ba1 Merge 2013-01-11 01:43:09 -08: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
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
Vladimir Kozlov
91c93084cb Merge 2013-01-10 10:00:43 -08:00
David Katleman
0adc452e4f Added tag jdk8-b72 for changeset 371ef2925907 2013-01-10 09:55:30 -08:00
Jon Masamitsu
be38ea68e5 Merge 2013-01-10 07:32:32 -08:00
Dean Long
f1bd82ba8f Merge 2013-01-09 21:18:52 -05:00
Christian Thalinger
a55305503e 8005418: JSR 292: virtual dispatch bug in 292 impl
Reviewed-by: jrose, kvn
2013-01-09 15:37:23 -08:00
Karen Kinnear
9cc0c0af8b Merge 2013-01-09 18:06:34 -05:00
Zhengyu Gu
e6db535078 Merge 2013-01-09 12:10:25 -08:00
Zhengyu Gu
030fa5107d 7152671: RFE: Windows decoder should add some std dirs to the symbol search path
Added JRE/JDK bin directories to decoder's symbol search path

Reviewed-by: dcubed, sla
2013-01-09 14:46:55 -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
Bengt Rutisson
0f2c37ea4a 8005489: VM hangs during GC with ParallelGC and ParallelGCThreads=0
Print an error message and exit the VM if UseParallalGC is combined with ParllelGCThreads==0. Also reviewed by vitalyd@gmail.com.

Reviewed-by: stefank, ehelin
2013-01-09 09:48:58 +01:00
Zhengyu Gu
f4da82981d Merge 2013-01-08 15:47:23 -08:00
Coleen Phillimore
3296803650 Merge 2013-01-08 13:44:10 -08:00
Zhengyu Gu
db4cfa5011 Merge 2013-01-08 11:39:53 -08:00
Vladimir Kozlov
38c81fb411 8005419: Improve intrinsics code performance on x86 by using AVX2
Use 256bit vpxor,vptest instructions in String.compareTo() and equals() intrinsics.

Reviewed-by: twisti
2013-01-08 11:30:51 -08:00
Zhengyu Gu
5c6318e816 8005048: NMT: #loaded classes needs to just show the # defined classes
Count number of instance classes so that it matches class metadata size

Reviewed-by: coleenp, acorn
2013-01-08 14:04:25 -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
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
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
Morris Meyer
b3fe91a803 8004537: replace AbstractAssembler emit_long with emit_int32
Reviewed-by: jrose, kvn, twisti
2013-01-07 14:08:28 -08:00
Harold Seigel
89e575df23 8003705: CDS failed on Windows: can not map in the CDS
Map memory only once to prevent 'already mapped' failures.

Reviewed-by: acorn, zgu
2013-01-07 15:32:51 -05:00
Jon Masamitsu
7fb60025ee 8005672: Clean up some changes to GC logging with GCCause's
Reviewed-by: johnc, ysr
2013-01-04 17:04:46 -08:00
Jon Masamitsu
cca092892b 8000325: Change default for CMSClassUnloadingEnabled to true
Reviewed-by: stefank, ysr
2013-01-04 17:04:25 -08:00
Bengt Rutisson
2574114b01 8003822: Deprecate the incremental mode of CMS
Reviewed-by: johnc, jwilhelm
2013-01-04 21:33:22 +01:00
Bengt Rutisson
2cd5c87cb9 8003820: Deprecate untested and rarely used GC combinations
Log warning messages for DefNew+CMS and ParNew+SerialOld

Reviewed-by: ysr, jwilhelm, jcoomes
2013-01-04 11:10:17 +01:00
Vladimir Kozlov
7b9133b99c 8005544: Use 256bit YMM registers in arraycopy stubs on x86
Use YMM registers in arraycopy and array_fill stubs.

Reviewed-by: roland, twisti
2013-01-03 16:30:47 -08:00
Vladimir Kozlov
cfcd28fd9d 8005522: use fast-string instructions on x86 for zeroing
Use 'rep stosb' instead of 'rep stosq' when fast-string operations are available.

Reviewed-by: twisti, roland
2013-01-03 15:09:55 -08:00
Jon Masamitsu
6f5991fa38 8004895: NPG: JMapPermCore test failure caused by warnings about missing field
Reviewed-by: johnc
2013-01-03 15:03:27 -08:00
David Katleman
54b645a88b Added tag jdk8-b71 for changeset 03dafcea1815 2013-01-03 12:44:39 -08:00
Bill Pittore
782ef982f6 8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow
Assert is triggered when number of register based arguments passed to a java method exceeds 16.

Reviewed-by: roland, vladidan
2013-01-03 15:08:43 -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
Bengt Rutisson
53cdde9124 8005396: Use ParNew with only one thread instead of DefNew as default for CMS on single CPU machines
Reviewed-by: jmasa, jcoomes
2012-12-30 08:47:52 +01:00
John Cuthbertson
15bae865ac 8004816: G1: Kitchensink failures after marking stack changes
Reset the marking state, including the mark stack overflow flag, in the event of a marking stack overflow during serial reference processing.

Reviewed-by: jmasa
2013-01-03 16:28:22 -08:00
David Katleman
ca417aacd2 Added tag jdk8-b70 for changeset fabcdf88c360 2012-12-27 12:14:58 -08: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
73d6d417be 8005071: Incremental inlining for JSR 292
Post parse inlining driven by number of live nodes.

Reviewed-by: twisti, kvn, jrose
2012-12-23 17:08:22 +01:00
John Cuthbertson
2df5f7cc5a 8001424: G1: Rename certain G1-specific flags
Rename G1DefaultMinNewGenPercent, G1DefaultMaxNewGenPercent, and G1OldCSetRegionLiveThresholdPercent to G1NewSizePercent, G1MaxNewSizePercent, and G1MixedGCLiveThresholdPercent respectively. The previous names are no longer accepted.

Reviewed-by: brutisso, ysr
2012-12-21 11:45:34 -08:00
Tao Mao
7cb614b0e5 8004132: SerialGC: ValidateMarkSweep broken when running GCOld
Remove bit-rotten ValidateMarkSweep functionality and flag.

Reviewed-by: johnc, jmasa
2013-01-02 11:32:41 -08:00
Jon Masamitsu
86dd796322 8005486: NPG: Incorrect assertion in ChunkManager::list_index()
Reviewed-by: coleenp
2012-12-26 15:05:30 -08:00
Alejandro Murillo
52a0bed8f5 8005382: new hotspot build - hs25-b15
Reviewed-by: jcoomes
2012-12-21 10:27:49 -08:00
Alejandro Murillo
0c6644eb2e Added tag hs25-b14 for changeset 2fb5c8602c9f 2012-12-21 10:17:16 -08:00
Alejandro Murillo
fb6df17a6d Merge 2012-12-21 10:17:15 -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
Morris Meyer
113e9ab39d 8004250: replace AbstractAssembler a_byte/a_long with emit_int8/emit_int32
Reviewed-by: jrose, kvn, twisti
2012-12-20 18:53:44 -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
David Katleman
5f74f40caa Added tag jdk8-b69 for changeset 72008e0da092 2012-12-20 09:17:47 -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
Erik Helin
5bac85fc66 8004691: Add a jtreg test that exercises the ExecuteInternalVMTests flag
Reviewed-by: stefank, brutisso, kvn, ctornqvi
2012-12-20 05:31:40 +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
Yumin Qi
ddb2b5d004 Merge 2012-12-19 16:10:19 -08:00
Vladimir Kozlov
960d969ade 8004835: Improve AES intrinsics on x86
Enable AES intrinsics on non-AVX cpus, group together aes instructions in crypto stubs.

Reviewed-by: roland, twisti
2012-12-19 15:40:35 -08:00
Richard Reingruber
ba0d2572eb 8005033: clear high word for integer pop count on SPARC
Reviewed-by: kvn, twisti
2012-12-19 14:44:00 -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
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
Morris Meyer
52da261983 8004536: replace AbstractAssembler emit_word with emit_int16
Reviewed-by: jrose, kvn, twisti
2012-12-18 10:47:23 -08:00
Vladimir Ivanov
8eb3b25c4f Merge 2012-12-18 08:19:53 -08:00
Vladimir Ivanov
6d08af845e 8003135: HotSpot inlines and hoists the Thread.currentThread().isInterrupted() out of the loop
Make the load of TLS._osthread._interrupted flag in Thread.isInterrupted(Z)Z intrinsic effectively volatile.

Reviewed-by: kvn, jrose
2012-12-18 06:52:00 -08:00
Roland Westrelin
b1c3e5ccc6 8005031: Some cleanup in c2 to prepare for incremental inlining support
Collection of small changes to prepare for incremental inlining.

Reviewed-by: twisti, kvn
2012-12-18 14:55:25 +01:00
Stefan Karlsson
da4c36cdcb 8005108: NPG: MetaspaceAux::used_in_bytes(), capacity_in_bytes() and reserved_in_bytes() return inconsistent numbers
Reverted the changes to these functions from JDK-8000662

Reviewed-by: brutisso, jmasa
2012-12-18 10:40:51 +01:00
Bharadwaj Yadavalli
fb74718339 8004548: remove unused AbstractAssembler::print(Label&)
Reviewed-by: kvn, twisti
2012-12-17 11:00:22 -08:00
Zhengyu Gu
934898a792 Merge 2012-12-17 10:40:52 -08:00
Zhengyu Gu
c75042e28b 8004802: jcmd VM.native_memory baseline=false crashes VM
NMT has to check option's value also to determine which command to execute

Reviewed-by: acorn, coleenp, hseigel
2012-12-17 13:14:02 -05:00
Erik Helin
7fc460bae3 8004845: Catch incorrect usage of new and delete during compile time for value objects and stack objects
Makes the "new" and "delete" operator of _ValueObj and StackObj private

Reviewed-by: dholmes, coleenp
2012-12-17 15:25:26 +01: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
Coleen Phillimore
a7b0cbd4e6 Merge 2012-12-14 16:43:37 -08:00
Alejandro Murillo
b3c9917021 8005036: new hotspot build - hs25-b14
Reviewed-by: jcoomes
2012-12-14 14:27:40 -08:00
Alejandro Murillo
4cb99fc37e Added tag hs25-b13 for changeset a644646e04e5 2012-12-14 14:19:36 -08:00
Alejandro Murillo
e668a7a7a1 Merge 2012-12-14 14:19:35 -08:00
Christian Thalinger
110d953ab2 Merge 2012-12-14 12:11:17 -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
Gary Collins
11605cf755 Merge 2012-12-14 11:45:55 -08:00
Ron Durbin
af7cedec67 7153050: remove crufty '_g' support from HotSpot repo makefiles
Phase 1 is removing '_g' support from the Makefiles.

Reviewed-by: dcubed, sspitsyn, coleenp, tbell
2012-12-14 10:06:52 -08:00
Stefan Karlsson
9d5b19ab0a Merge 2012-12-13 09:06:38 -08:00
David Katleman
7b0930ff0e Added tag jdk8-b68 for changeset 9e5f94da743d 2012-12-13 09:05:20 -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
Volker Simonis
2b3c2f2603 8004674: Add necessary .inline.hpp files to fix non-PCH build
Reviewed-by: stefank, coleenp
2012-12-13 09:28:14 +01:00
Roman Kennke
9032aa3391 8004898: library_call.cpp build error after 7172640 with GCC 4.7.2
Fix opto/library_call.cpp compilation errors

Reviewed-by: twisti, coleenp
2012-12-12 21:40:04 -05: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
Paul Nauman
0d7c6381b3 8004713: Stackoverflowerror thrown when thread stack straddles 0x80000000
Use unsigned comparison when checking for stack overflow

Reviewed-by: kvn, twisti
2012-12-13 17:27: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
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
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
Bharadwaj Yadavalli
04fee0b792 8004668: Build failure for Zero target
Fixed build failure for Zero target

Reviewed-by: twisti, kvn
2012-12-07 18:13:23 -08:00
John Cuthbertson
1dff0005b9 Merge 2012-12-07 16:08:05 -08:00
Alejandro Murillo
ba2a5a260d 8004724: new hotspot build - hs25-b13
Reviewed-by: jcoomes
2012-12-07 10:55:16 -08:00
Alejandro Murillo
0d262db9b4 Added tag hs25-b12 for changeset 31453af433e7 2012-12-07 10:46:54 -08:00
Alejandro Murillo
b059fdfdb3 Merge 2012-12-07 10:46:53 -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
David Katleman
d337116170 Added tag jdk8-b67 for changeset af8f87762e23 2012-12-06 12:04:17 -08:00
Christian Thalinger
cd08acf8ea Merge 2012-12-06 11:05:33 -08:00
Christian Thalinger
34733bb83c 8003250: SPARC: move MacroAssembler into separate file
Reviewed-by: jrose, kvn
2012-12-06 09:57:41 -08:00
Nils Eliasson
c44c5e64ed Merge 2012-12-06 14:33:52 +01:00
Nils Eliasson
7cd4aaa02d 8003934: Fix generation of malformed options to Projectcreator
Makefile produces unmatched quotes due to nmake bug

Reviewed-by: jwilhelm, brutisso
2012-12-06 09:50:08 +01:00
Christian Thalinger
c5240e7c53 8004319: test/gc/7168848/HumongousAlloc.java fails after 7172640
Reviewed-by: kvn, johnc
2012-12-03 15:48:49 -08: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
Alejandro Murillo
6a66f24366 8004248: new hotspot build - hs25-b12
Reviewed-by: jcoomes
2012-11-30 17:00:32 -08:00
Alejandro Murillo
1944119a77 Added tag hs25-b11 for changeset 7236115a66ae 2012-11-30 16:45:27 -08:00
Alejandro Murillo
654d3dcd3e Merge 2012-11-30 16:45:26 -08:00
Christian Thalinger
2c2c007448 8003240: x86: move MacroAssembler into separate file
Reviewed-by: kvn
2012-11-30 15:23:16 -08:00
John Cuthbertson
6c0bf79f7a Merge 2012-11-30 12:01:34 -08:00
Bharadwaj Yadavalli
a533392684 8003195: AbstractAssembler should not store code pointers but use the CodeSection directly
Reviewed-by: twisti, kvn
2012-11-30 11:44:05 -08:00
Stefan Karlsson
98abf6fb1c 8004199: Change the ASM package for Test8003720
Reviewed-by: kvn, jrose
2012-11-29 23:02:52 +01: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
David Katleman
d926f93877 Added tag jdk8-b66 for changeset fe1a7da1f85c 2012-11-29 11:30:04 -08:00
John Cuthbertson
defec7ae16 Merge 2012-11-29 11:23:15 -08:00
Jon Masamitsu
e74d551608 8003554: NPG: move Metablock and Metachunk code out of metaspace.cpp
Reviewed-by: coleenp
2012-11-29 10:09:04 -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
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
Coleen Phillimore
696ef20cb4 Merge 2012-11-28 08:43:26 -08:00
Zhengyu Gu
052a8eade3 Merge 2012-11-28 06:42:03 -08:00
Zhengyu Gu
408c9d46f3 8003689: MemTracker::init_tracking_options() reads outside array if commandline argument is empty
Fixed potential buffer overrun when giving empty option to NativeMemoryTracking commandline option

Reviewed-by: ctornqvi, hseigel, kvn
2012-11-28 09:19:38 -05:00
Harold Seigel
ef28e7a277 6924920: Class Data Sharing limit on the java version string can create failures
Truncate the java version string and add a hash value if it is too long.

Reviewed-by: dholmes, coleenp
2012-11-28 08:17:59 -05:00
Goetz Lindenmaier
8e00acca17 8003850: add support for constants in stub code
Remember the code section and switch back to the proper one when adding constants.

Reviewed-by: twisti, kvn
2012-11-27 17:41:38 -08:00
Bharadwaj Yadavalli
2d2532e740 7092905: C2: Keep track of the number of dead nodes
Keep an (almost) accurate running count of the reachable (live) flow graph nodes.

Reviewed-by: kvn, twisti, jrose, vlivanov
2012-11-27 17:24:15 -08:00
John Cuthbertson
c00c803b89 7194633: G1: Assertion and guarantee failures in block offset table
Add detailed error messages to assertions and guarantees in G1's block offset table.

Reviewed-by: ysr, brutisso
2012-11-27 14:11:37 -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
Roman Kennke
96562be9e5 8003868: fix shark for latest HotSpot and LLVM
Reviewed-by: twisti
2012-11-27 12:48:52 -08: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
31411dbc32 7172640: C2: instrinsic implementations in LibraryCallKit should use argument() instead of pop()
Reviewed-by: kvn, jrose
2012-11-26 17:25:11 -08:00
Gilles Duboscq
2e2b69e96b 8003722: More gcc 4.7 compilation errors
Add a few more this->qualifications.

Reviewed-by: coleenp, dholmes
2012-11-26 12:31:03 -05:00
Nils Eliasson
42c0192ee6 8003983: LogCompilation tool is broken since c1 support
Fixed emitting and parsing

Reviewed-by: jrose, kvn
2012-11-26 15:11:55 +01:00
David Holmes
68137e4136 Merge 2012-11-21 21:26:12 -05: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
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
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
Coleen Phillimore
274b3df2dc Merge 2012-11-20 20:27:40 -05: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
David Chase
fea11c53eb 7146636: compiler/6865265/StackOverflowBug.java fails due to changed stack minimum
Increase the stack size in the run parameters.

Reviewed-by: kvn
2012-11-16 15:49:46 -08:00
Alejandro Murillo
a054222634 8003541: new hotspot build - hs25-b11
Reviewed-by: jcoomes
2012-11-16 09:43:43 -08:00
Alejandro Murillo
03311b147c Added tag hs25-b10 for changeset 6d791db85d73 2012-11-16 09:36:41 -08:00
Alejandro Murillo
f3a0849e39 Merge 2012-11-16 09:36:40 -08:00
Coleen Phillimore
ddec2a3aed Merge 2012-11-16 09:19:12 -05:00
Zhengyu Gu
2cb72bf989 8003487: NMT: incorrect assertion in VMMemPointerIterator::remove_released_region method (memSnapshot.cpp)
The assertion is applied to only the region to be released, also performs region integrity checking

Reviewed-by: acorn, coleenp
2012-11-16 09:05:19 -05:00
Nils Eliasson
d055fd81db Merge 2012-11-16 09:59:08 +01:00
David Katleman
64bb3ed664 Added tag jdk8-b65 for changeset bbff420f1248 2012-11-15 15:39:02 -08:00
John Cuthbertson
41ba9aeef2 Merge 2012-11-15 14:29:28 -08:00
Bharadwaj Yadavalli
4b288c8976 8001077: remove ciMethod::will_link
Removed will_link and changed all calls to is_loaded().

Reviewed-by: kvn
2012-11-15 10:42:06 -08:00
Peter Levart
bbe12c2488 8003259: NPG: Build with gcc 4.7.2 broken by 7045397
Qualify calls with this pointers to make gcc accept this code.

Reviewed-by: coleenp, andrew
2012-11-14 22:37:38 -05:00
Chris Plummer
6da2c235bd Merge 2012-11-14 10:13:51 -08: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
Zhengyu Gu
a988fc0968 Merge 2012-11-09 22:22:53 -08:00
Zhengyu Gu
07b3c477fe Merge 2012-11-09 16:45:20 -08:00
Zhengyu Gu
f47de1cb41 8001592: NMT: assertion failed: assert(_amount >= amt) failed: Just check: memBaseline.hpp:180
Fixed NMT that miscounted arena memory when it is used as value or stack object.

Reviewed-by: acorn, coleenp
2012-11-09 19:24:31 -05:00
Zhengyu Gu
ba0e500048 Merge 2012-11-09 11:47:28 -08:00
Chris Plummer
77c6d4fa5f Merge 2012-11-09 09:45:00 -08:00
Alejandro Murillo
8735609a8c 8003231: new hotspot build - hs25-b10
Reviewed-by: jcoomes
2012-11-09 08:36:17 -08:00
Alejandro Murillo
99eb0a7607 Added tag hs25-b09 for changeset f2d39eb04e60 2012-11-09 08:20:04 -08:00
Alejandro Murillo
9a902f6733 Merge 2012-11-09 08:20:03 -08:00
Zhengyu Gu
1abc21c310 8002273: NMT to report JNI memory leaks when -Xcheck:jni is on
Allows NMT to report that JNI thread failed to detach from JVM before exiting, which leaks the JavaThread object when check:jni option is on.

Reviewed-by: acorn, dholmes, coleenp, ctornqvi
2012-11-09 11:04:06 -05:00
Yumin Qi
1c4dbc48e5 Merge 2012-11-08 16:48:01 -08:00
Mikael Gerdin
14d6692461 7200229: NPG: possible performance issue exposed by closed/runtime/6559877/Test6559877.java
Reduce the amount of calls to ChunkManager verification code

Reviewed-by: jmasa, coleenp
2012-11-09 00:38:31 +01:00
Nils Eliasson
98a91e2ab3 Merge 2012-11-08 22:39:08 +01:00
David Katleman
25248f528e Added tag jdk8-b64 for changeset 529fffb2ec02 2012-11-08 11:51:00 -08:00
Coleen Phillimore
2472fa3bc5 Merge 2012-11-07 16:09:20 -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
Vladimir Kozlov
1ebf7b9116 8002069: Assert failed in C2: assert(field->edge_count() > 0) failed: sanity
Added missed type check of initializing store in ConnectionGraph::find_init_values().

Reviewed-by: roland, twisti, vlivanov
2012-11-06 15:16:32 -08: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 Kozlov
c9321f0b08 8002294: assert(VM_Version::supports_ssse3()) failed
Add missing UseSSE check for AES intrinsics.

Reviewed-by: roland, twisti
2012-11-06 09:22:55 -08:00
David Holmes
40d5fa156c 8002034: Allow Full Debug Symbols when cross-compiling
8001756: Hotspot makefiles report missing OBJCOPY command in the wrong circumstances

Reviewed-by: dcubed, dsamersoff, erikj, collins
2012-11-05 19:33:44 -05:00
Zhengyu Gu
61a5a58cb1 Merge 2012-11-05 13:55:31 -08:00
Zhengyu Gu
c1df1d9659 8001591: NMT: assertion failed: assert(rec->addr() + rec->size() <= cur->base()) failed: Can not overlap in memSnapshot.cpp
NMT should allow overlapping committed regions as long as they belong to the same reserved region

Reviewed-by: dholmes, coleenp
2012-11-05 15:30:22 -05:00
Keith McGuigan
386e4009f3 Merge 2012-11-02 17:18:16 -07:00
Keith McGuigan
41961c75f6 Merge 2012-11-02 16:09:50 -07:00
Yumin Qi
a9c40e9df4 8000489: older builds of hsdis don't work anymore after 6879063
The old function not defined properly, need a definition for export in dll. Also changes made to let new jvm work with old hsdis.

Reviewed-by: jrose, sspitsyn, kmo
2012-11-02 13:30:47 -07:00
Bharadwaj Yadavalli
642c6b415a 8001658: No need to pass resolved_references as argument to ConstantPoolCacheEntry::set_method_handle_common
Reviewed-by: twisti
2012-11-02 12:30:46 -07:00