4146 Commits

Author SHA1 Message Date
Thomas Schatzl
30ed89669a 8003420: NPG: make new GC root for pd_set
Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam).

Reviewed-by: coleenp, iklam
2013-10-09 10:57:01 +02:00
Tao Mao
2d75de8b05 8010506: Typos and errors in descriptions of vm options in globals.hpp
Fix typos and errors in descriptions of vm options in globals.hpp

Reviewed-by: jmasa, jwilhelm
2013-10-09 11:18:53 -07:00
Mikael Gerdin
7f3b537807 8014555: G1: Memory ordering problem with Conc refinement and card marking
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com

Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Vladimir Ivanov
bb528dd1d5 8025845: Default methods are unnecessarily marked w/ force_inline directive in some situations
Reviewed-by: acorn, kvn
2013-10-07 14:13:28 +04:00
Vladimir Ivanov
0059da4a6d 8024774: assert(_con < t->is_tuple()->cnt()) failed: ProjNode::_con must be in range
Reviewed-by: iveresov, roland, kvn, twisti
2013-10-07 14:12:23 +04:00
Vladimir Ivanov
9edb09d8fb 8024943: ciReplay: fails to dump replay data during safepointing
Reviewed-by: kvn, twisti
2013-10-07 14:11:49 +04:00
Vladimir Ivanov
9cb5f396ae 8025849: Redundant "pid" in VM log file name (e.g. hotspot_pidpid12345.log)
Reviewed-by: twisti, azeemj
2013-10-07 14:10:29 +04:00
Staffan Larsen
dcbbb4d37b 8025922: JNI access to Strings need to check if the value field is non-null
Reviewed-by: dholmes, dcubed
2013-10-05 15:18:57 +02:00
Christian Thalinger
d45a887dca Merge 2013-10-04 19:05:32 -07:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Christian Thalinger
bfc53b6607 8011138: C2: stack overflow in compiler thread because of recursive inlining of lambda form methods
Reviewed-by: kvn, roland
2013-10-04 10:11:48 -07:00
Mikael Gerdin
2a3f1d56d3 8025526: VirtualSpace should support per-instance disabling of large pages
Add a new initialization function to VirtualSpace which allows the caller to override the max commit granularity.

Reviewed-by: stefank, ehelin, tschatzl
2013-10-04 13:33:02 +02:00
Stefan Karlsson
ab6f813d49 Merge 2013-10-05 08:01:36 -07:00
Stefan Karlsson
3b34e78d20 8024838: Significant slowdown due to transparent huge pages
Don't turn on transparent huge pages (-XX:+UseTransparentHugePages) unless explicitly specified on the command line. This has the effect that large pages are never turned on Linux unless the user has explicitly enabled any of the large pages flags: -XX:+UseLargePages, -XX:+UseTransparentHugePages, -XX:+UseHugeTLBFS, and -XX:+UseSHM.

Reviewed-by: jwilhelm, tschatzl, brutisso
2013-10-05 10:14:58 +02:00
Jesper Wilhelmsson
829ad9332b 8025854: Use "young gen" instead of "eden"
Changed a few descriptions and variable names to young gen.

Reviewed-by: tschatzl, jcoomes
2013-10-04 22:08:37 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Coleen Phillimore
afd39d536b Merge 2013-10-05 03:14:53 +02:00
Coleen Phillimore
916c31fb47 Merge 2013-10-05 00:58:43 +02:00
Coleen Phillimore
7527f79e6d Merge 2013-10-05 00:53:02 +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
Coleen Phillimore
b08778e139 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Lois Foltan
e2466c1507 8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries
Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue

Reviewed-by: coleenp, dcubed
2013-10-03 18:50:58 -04:00
Jesper Wilhelmsson
582aa55e4d 8025852: Remove unnecessary setters in collector policy classes
Use instance variables directly within the collector policy classes and remove unused setters.

Reviewed-by: tschatzl, jcoomes
2013-10-03 21:36:29 +02:00
Vladimir Danushevsky
09f1f55883 Merge 2013-10-03 10:35:32 -07:00
Jesper Wilhelmsson
11da59e506 8025853: Remove unnecessary uses of GenerationSizer
Removed stray includes and some minor cleanup of GenerationSizer

Reviewed-by: tschatzl, jcoomes
2013-10-03 17:16:23 +02:00
Joseph Provino
a1c9c2fe6f Merge 2013-10-03 10:25:54 -04:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Jesper Wilhelmsson
ed022aded1 8025855: Simplify GenRemSet code slightly
Remove a few redundant switch-statements

Reviewed-by: jcoomes, tschatzl
2013-10-03 13:19:19 +02:00
Roland Westrelin
59adc04ee5 8024067: Missing replace_in_map() calls following null checks
Add replace_in_map() calls following some null checks in type checks

Reviewed-by: kvn
2013-10-03 10:55:07 +02:00
Christian Thalinger
619948a8f1 8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method
Reviewed-by: kvn
2013-10-07 10:41:56 -07:00
Dmitry Samersoff
13b13b1aed 8022616: u4 should not be used as a type for thread_id
Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer

Reviewed-by: sla, sspitsyn, minqi
2013-10-03 12:39:58 +04:00
Dmitry Samersoff
259468dd26 8025283: Nits in os_bsd file breaks compilation of open hotspot
Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms

Reviewed-by: sla, sspitsyn
2013-10-02 20:58:44 +04:00
Mikael Vidstedt
a9927a8ee9 8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
The two functions were used to support JDK 1.3 but are no longer in use

Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Vladimir Ivanov
02e57a0152 8025233: Move sun.invoke.Stable into java.lang.invoke package
Reviewed-by: twisti, iveresov
2013-10-02 06:17:10 -07:00
Coleen Phillimore
6281e9bd76 Merge 2013-10-01 15:41:39 -04:00
Lois Foltan
67639e0b1a 8025570: Naked oop in test/serviceability/ParserTest
Fix for two naked objArrayOop(s) oops causing test failure

Reviewed-by: coleenp, ctornqvi
2013-10-01 14:23:07 -04:00
Zhengyu Gu
876ecd9acf Merge 2013-10-01 11:06:35 -04:00
Zhengyu Gu
81d4345cb8 Merge 2013-10-01 09:21:43 -04:00
Erik Helin
ce8f16808b 8025313: MetaspaceMemoryPool incorrectly reports undefined size for max
Reviewed-by: stefank, tschatzl
2013-10-01 15:21:14 +02:00
Zhengyu Gu
fb39220608 8022187: Missing ResourceMark crash when assertion using FormatBufferResource fails
Uses stack for the format buffer instead of resource memory

Reviewed-by: kvn, coleenp
2013-10-01 08:54:05 -04:00
Karen Kinnear
71a3a55630 8011311: Private interface methods. Default conflicts:ICCE. no erased_super_default
Reviewed-by: coleenp, bharadwaj, minqi
2013-10-01 08:10:42 -04:00
Bengt Rutisson
ac3d344514 8025605: G1: Heap expansion logging misleading for fully expanded heap
Reviewed-by: tschatzl, jwilhelm, jmasa
2013-10-01 07:52:52 +02:00
Thomas Schatzl
f144f37f49 8025441: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads
The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads.

Reviewed-by: brutisso
2013-09-30 12:43:59 +02:00
Jiangli Zhou
b49de4da48 Merge 2013-09-27 13:53:43 -04:00
Jiangli Zhou
b364358afe 8024990: JT_JDK: 11 failures with SIGSEGV on arm-sflt platforms in nightly fastdebug build
Enable patching for load_appendix_id.

Reviewed-by: kvn, dlong, bdelsart
2013-09-27 13:49:57 -04:00
David Chase
02f6818d8f 8025260: Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)
Copied null-checks from templateInterpreter_CPU into methodHandles_CPU

Reviewed-by: jrose, twisti
2013-09-27 13:36:25 -04:00
Axel Siebenborn
0c588fa80b 8025599: Missing store barrier with OptimizeStringConcat
Reviewed-by: kvn, twisti
2013-09-30 15:42:39 -07:00
Zhengyu Gu
bfafab7b47 Merge 2013-09-27 10:08:56 -04:00
Aleksey Shipilev
84fd9150e2 8014447: Object.hashCode intrinsic breaks inline caches
Try to inline as normal method first, then fall back to intrinsic.

Reviewed-by: kvn, twisti
2013-09-27 11:52:24 +04:00
Christian Thalinger
9376d94e6c 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00