Commit Graph

5721 Commits

Author SHA1 Message Date
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Igor Veresov
073409c543 Merge 2013-10-23 16:25:48 -07:00
Christian Thalinger
be1ae599ee 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms
Reviewed-by: iveresov, jrose
2013-10-23 15:44:12 -07:00
Igor Veresov
1c047b640d 8026495: JVM Crashes when started with -XX:+DTraceMethodProbes on Solaris x86_64
Fix wrong calling convention in LIR_Assembler::emit_unwind_handler(), T_METADATA support in calling convention generator, C1 register allocator

Reviewed-by: twisti, jrose
2013-10-23 11:15:24 -07:00
Karen Kinnear
72e7308263 8026299: invokespecial gets ICCE when it should get AME
Reviewed-by: ccheung, coleenp
2013-10-14 21:52:42 -04:00
Stefan Johansson
3e9df3ecf1 8025661: Ill-formed -Xminf and -Xmaxf options values interpreted as 0
Using strtod() instead of atof() when parsing -Xminf and -Xmaxf.

Reviewed-by: brutisso, pliden
2013-10-14 14:21:34 +02:00
Chris Hegarty
fafe7da1e5 Merge 2013-10-13 21:14:04 +01:00
Harold Seigel
7476c45011 8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
Check if data is in shared spaces before deallocating it.

Reviewed-by: coleenp, dcubed
2013-10-12 15:39:16 -04:00
Gerard Ziemski
db171c7b5d 8025942: os::Bsd::available_memory() needs implementation
Implement using the host_statistics64() api.

Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
2013-10-12 13:09:18 -04:00
Calvin Cheung
6e756e193c Merge 2013-10-11 22:22:19 -04:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
Jesper Wilhelmsson
588c91b042 8023643: G1 assert failed when NewSize was specified greater than MaxNewSize
Exit with an error if incompatible NewSize and MaxNeSize are set

Reviewed-by: brutisso, tschatzl
2013-10-12 00:49:19 +02:00
Jesper Wilhelmsson
354de63fbf Merge 2013-10-12 05:08:42 +00:00
Harold Seigel
f185cdb61e Merge 2013-10-11 17:08:22 -04:00
Alejandro Murillo
7b9107d173 8026265: new hotspot build - hs25-b55
Reviewed-by: jcoomes
2013-10-11 13:14:48 -07:00
Alejandro Murillo
a613a8bf3e Added tag hs25-b54 for changeset aa8bcabd9d44 2013-10-11 13:00:40 -07:00
Alejandro Murillo
87614bfc70 Merge 2013-10-11 13:00:40 -07:00
Lois Foltan
27c290a969 8026041: JVM crashes with assert "assert(is_updated()) failed: must not be clear" with -XX:+PrintGCApplicationConcurrentTime in -Xcomp mode
Prior to printing the time interval in RuntimeService::record_safepoint_begin(), check first that VM initialization is complete.

Reviewed-by: coleenp, dholmes, sla, ctornqvi
2013-10-11 15:33:08 -04:00
Coleen Phillimore
65286ffc39 Merge 2013-10-11 15:04:53 -04:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Coleen Phillimore
fa72ad21f9 8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError

Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Staffan Larsen
779f946d6b Merge 2013-10-11 14:57:27 +00:00
Jesper Wilhelmsson
d04b304568 8024776: Max/MinHeapFreeRatio descriptions should be more precise
Descriptions for Max/MinHeapFreeRatio updated

Reviewed-by: ehelin, jmasa
2013-10-11 16:18:27 +02:00
Fredrik Arvidsson
7f0264f548 8024425: VM_HeapDumper doesn't put anonymous classes in the heap dump
Switched from using SystemDictionary to using ClassLoaderDataGraph to get the anonymous classes included.

Reviewed-by: sla, sspitsyn
2013-10-11 14:08:02 +02:00
Fredrik Arvidsson
44c3da1ed0 8026199: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java Compilation failed
Fixed a compilation failure due to changed method name

Reviewed-by: sla, jbachorik
2013-10-11 13:48:02 +02:00
Rickard Bäckman
0e8081e57b 8025657: compiler/intrinsics/mathexact/ConstantTest.java fails on assert in lcm.cpp on solaris x64
Reviewed-by: kvn, twisti
2013-10-11 12:06:14 +02:00
Vladimir Kozlov
9cac113087 Merge 2013-10-15 17:47:46 -07:00
Staffan Friberg
83e635a090 8026293: Schedule part of G1 pre-barrier late
Move rare executed part of G1 write barrier from hot path.

Reviewed-by: kvn, twisti, roland
2013-10-15 12:14:00 -07:00
Christian Thalinger
d03157f2cf 8026376: assert(false) failed: DEBUG MESSAGE: exception pc already set
Reviewed-by: kvn
2013-10-14 19:30:05 -07:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
David Chase
b1d7228bff 8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
Catch problem case, assert it matches valid input, new test

Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Roland Westrelin
c8bfc7e7d7 8026054: New type profiling points: type of return values at calls
X86 interpreter and c1 type profiling for return values at calls

Reviewed-by: kvn, twisti
2013-10-12 12:12:59 +02:00
Christian Thalinger
0fa4a576fd Merge 2013-10-11 19:51:31 -07:00
Niclas Adlertz
b1bfc48aaa Merge 2013-10-12 01:29:27 +00:00
Niclas Adlertz
55780c0bbd Merge 2013-10-11 19:16:52 +00:00
Christian Thalinger
7f46feeee2 8005173: assert(false) failed: DEBUG MESSAGE: exception oop must be empty (macroAssembler_x86.cpp:625)
Reviewed-by: kvn, iveresov
2013-10-11 10:14:02 -07:00
Niclas Adlertz
9215790d61 8011415: CTW on Sparc: assert(lrg.lo_degree()) failed:
Increased the LRG AllStack mask size since the previous size was not big enough when compiling huge methods (60k+ nodes)

Reviewed-by: kvn, roland, twisti
2013-10-11 13:10:22 +02:00
Calvin Cheung
3b62cc2221 Merge 2013-10-10 13:25:51 -07:00
Christine Lu
373c634bbb Added tag jdk8-b111 for changeset 269723de7103 2013-10-10 10:08:55 -07:00
Albert Noll
aef0d74e96 8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Ensure ensure correct initialization of compiler runtime

Reviewed-by: kvn, twisti
2013-10-10 15:44:12 +02:00
Coleen Phillimore
24118e5deb Merge 2013-10-09 22:01:59 -04:00
Coleen Phillimore
62fc4be9cb 8025185: MethodHandleInError and MethodTypeInError not handled in ConstantPool::compare_entry_to and copy_entry_to
Add missing cases.

Reviewed-by: sspitsyn, dcubed
2013-10-09 21:45:28 -04:00
Karen Kinnear
1514de31eb 8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed
Missed initialization. Thanks Coleen.

Reviewed-by: coleenp, minqi
2013-10-09 17:57:17 -04:00
Christian Thalinger
b90addac58 8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
2013-10-09 11:05:17 -07:00
Roland Westrelin
cbd0e9bf96 8023657: New type profiling points: arguments to call
X86 interpreter and c1 type profiling for arguments at calls

Reviewed-by: kvn, twisti
2013-10-09 16:32:21 +02:00
Niclas Adlertz
e9dbb39270 Merge 2013-10-09 05:03:34 -07:00
Niclas Adlertz
9c471c0dc0 8013830: [parfait] Uninitialised pointer 'Reachblock' may be used as argument
Replace uninitialised pointer with NULL at argument.

Reviewed-by: kvn, roland, twisti
2013-10-09 13:00:20 +02:00
Christian Thalinger
3fc4c7060d 8007923: Tests on references fails
Reviewed-by: kvn, iveresov
2013-10-08 19:57:28 -07:00
Karen Kinnear
920880a243 8026022: Verifier: allow anon classes to invokespecial host class/intf methods
Reviewed-by: coleenp, bharadwaj
2013-10-08 16:58:23 -04:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00
Kevin Walls
615cf8aecf Merge 2013-10-08 11:37:54 +02:00
Kevin Walls
c3d0e64506 8019375: Internal symbol table size should be tunable
Reviewed-by: coleenp, kamg
2013-10-08 09:33:51 +01:00
Mandy Chung
f9f9dd164a 8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Karen Kinnear
088ded71f9 8009130: Lambda: Fix access controls, loader constraints
New default methods list with inherited superinterface methods

Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Stefan Karlsson
2cbd654963 8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Stefan Karlsson
55cbe80300 8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
Reviewed-by: brutisso, jmasa, coleenp
2013-10-07 15:51:08 +02:00
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
Mikhailo Seledtsov
2b82651ec0 8023796: [TESTBUG] Add -XX:-TransmitErrorReport to runtime/6888954/vmerrors.sh
Added -XX:-TransmitErrorReport to the test

Reviewed-by: stefank, ctornqvi
2013-10-06 16:13:50 +02:00
Staffan Larsen
ca828c9bb8 Merge 2013-10-05 10:56:46 -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
Alejandro Murillo
52267389a1 8025859: new hotspot build - hs25-b54
Reviewed-by: jcoomes
2013-10-04 14:19:56 -07:00
Alejandro Murillo
91b6c6cb5f Added tag hs25-b53 for changeset 2e003ae41242 2013-10-04 14:10:09 -07:00
Alejandro Murillo
e244a49e78 Merge 2013-10-04 14:10:08 -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
Fredrik Arvidsson
d3094c0e8c 6313383: SA: Update jmap to support HPROF binary format "JAVA PROFILE 1.0.2"
Adds support for large(>4G) heap dumps in hprof format. Adds tests and updates testlibrary.

Reviewed-by: sla, allwin
2013-10-04 13:44:49 +02: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
Fredrik Arvidsson
738af149a2 8016845: SA is unable to use hsdis on windows
Added sadis.c to the build to provide missing symbols in sawindbg.dll. Added code to use the correct hsdisXXX.dll filename on different windows platforms.

Reviewed-by: sla, mgerdin
2013-10-04 13:01:07 +02:00
Erik Joelsson
1afb02e222 8007446: Add /MP to cl.exe speeds up windows builds of OpenJDK
Reviewed-by: sla, ctornqvi
2013-10-04 12:45:39 +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
ae3d003298 Merge 2013-10-03 04:42:57 +02:00
Dmitry Samersoff
d71ad98145 Merge 2013-10-03 01:12:27 +02:00
David Katleman
360b472d7f Added tag jdk8-b110 for changeset 5feed41054de 2013-10-02 13:26:31 -07:00
Coleen Phillimore
eb84a65af0 Merge 2013-10-02 15:06:38 -04:00
Dmitry Samersoff
5a67ff2d74 8025250: SA: Sync linux and bsd versions of ps_core file
Linux/ps_core.c and bsd/ps_core.c share most of code, but it has different formatting, comments etc.

Reviewed-by: sla, minqi
2013-10-02 22:27:23 +04:00
Lois Foltan
cc862a249a 8025569: -XX:+CheckUnhandledOops crashes on Windows
Disable CHECK_UNHANDLED_OOPS in fastdebug builds for JDK 8 on WIndows 32 & 64 bit machines

Reviewed-by: coleenp, ctornqvi, zgu
2013-10-02 13:02:40 -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
Erik Helin
ac15ca0d6a Merge 2013-10-02 18:24:58 +02: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
Mikhailo Seledtsov
a97a2ad3c6 8025671: Test name changed, test list not updated. Test6878713.sh
Removed the obsolete test from the test group file

Reviewed-by: sla, ctornqvi, dholmes
2013-10-02 15:17:20 +02: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
Mikael Gerdin
9204842093 8012525: gc/metaspace/G1AddMetaspaceDependency.java Test fails a safepoint timeout assertion or hangs
Reviewed-by: brutisso, tschatzl
2013-10-02 14:33:32 +02: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
Erik Helin
2722c5d966 8025226: TestPerfCountersAndMemoryPools.java fails with -Xmixed or -Xcomp
Reviewed-by: brutisso, mgerdin
2013-09-30 11:39:07 +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
Igor Ignatyev
30874d35f1 8023452: TestCase$Helper(java.lang.Object) must be osr_compiled
Reviewed-by: kvn
2013-09-28 12:32:10 +04:00
Igor Ignatyev
74b0d053ee 8024678: Java source files in hotspot/test/testlibrary should not use @author tag in JavaDoc
Reviewed-by: twisti
2013-09-28 12:32:09 +04:00
Niclas Adlertz
f9b1731815 Merge 2013-09-27 15:43:03 -07:00
Niclas Adlertz
562ce20154 Merge 2013-09-27 12:43:51 -07:00
Albert Noll
0dee555ead 8020151: PSR:PERF Large performance regressions when code cache is filled
Code cache sweeping based on method hotness; removed speculatively disconnect

Reviewed-by: kvn, iveresov
2013-09-27 10:50:55 +02:00
Rickard Bäckman
441f1d74cf 8024924: Intrinsify java.lang.Math.addExact
Reviewed-by: kvn, twisti
2013-09-27 08:39:19 +02:00
Alejandro Murillo
a47169e435 8025536: new hotspot build - hs25-b53
Reviewed-by: jcoomes
2013-09-26 13:41:34 -07:00
Alejandro Murillo
66672ae1e2 Added tag hs25-b52 for changeset 54bdf1f141cb 2013-09-26 13:33:02 -07:00
Alejandro Murillo
af2833b77e Merge 2013-09-26 13:33:01 -07:00
Christian Thalinger
cd7bfac363 8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Christine Lu
8f4a717c02 Added tag jdk8-b109 for changeset fbc092143b0b 2013-09-26 10:43:15 -07:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Thomas Schatzl
dac5a0401a Merge 2013-09-26 06:34:10 -07:00
Bertrand Delsart
bc89e6b93f Merge 2013-09-26 04:00:09 -07:00
Thomas Schatzl
4abf168208 Merge 2013-09-26 12:18:21 +02:00
Bertrand Delsart
4cbb893adf Merge 2013-09-26 01:30:01 -07:00
Niclas Adlertz
3554ed5490 Merge 2013-09-26 08:48:15 +02:00
Tim Bell
f07a2ff3cb 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:23:10 -07:00
Zhengyu Gu
8aadcd5b28 Merge 2013-09-25 13:03:21 -04:00
Christian Tornqvist
18550f7774 8024492: [TESTBUG] Test library class Platform.java needs to include methods for missing OS's and architectures
Added methods for 32bit, arm, ppc, x64 and x86

Reviewed-by: zgu, hseigel, mseledtsov
2013-09-25 17:47:51 +02:00
Christian Tornqvist
81505a6a57 8024677: [TESTBUG] Move tests for classes in /testlibrary
Moved the tests to /testlibrary_tests and updated TEST.groups

Reviewed-by: dholmes, sla
2013-09-25 17:47:22 +02:00
Bengt Rutisson
dc5131c84d 8025228: assert(new_entry->reserved_words() == vs_word_size) fails in nightly
Reviewed-by: mgerdin, tschatzl, jmasa
2013-09-25 17:23:41 +02:00
David Simms
d5157be0e8 8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL)
Execute some code at a high virtual address value, and keep mapped

Reviewed-by: coleenp, zgu
2013-09-25 13:58:13 +02:00
Thomas Schatzl
ab5637182c 7163191: G1: introduce a "heap spanning table" abstraction
Add G1BiasedArray<T> that is an array where each element represents a fixed-sized subdivision of the heap. Use this abstraction to refactor the HeapRegionSeq class.

Reviewed-by: brutisso
2013-09-25 13:25:24 +02:00
Vladimir Kozlov
0ccb2841ea 8022585: VM crashes when ran with -XX:+PrintInlining
Use adr_at() to access inline info structures in growableArray. Add ability to specify print inlining per method.

Reviewed-by: twisti
2013-09-24 16:08:00 -07:00
Albert Noll
a2889becd9 7009641: Don't fail VM when CodeCache is full
Allocation in the code cache returns NULL instead of failing the entire VM

Reviewed-by: kvn, iveresov
2013-09-24 15:56:25 +02:00
Mikael Gerdin
b8363e6615 8025305: Cleanup CardTableModRefBS usage in G1
Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS.

Reviewed-by: brutisso, tschatzl, ehelin
2013-09-24 14:46:29 +02:00
Thomas Schatzl
b23e1e15a3 Merge 2013-09-27 13:41:07 +02:00
Thomas Schatzl
9149bde0f3 Merge 2013-09-27 11:18:26 +02:00
Mikael Gerdin
27565b7f5d 8025279: metaspace/flags/maxMetaspaceSize throws OOM: out of Compressed Klass space
Only put "Compressed class space" as OOM cause if actually using Compressed class space

Reviewed-by: jwilhelm, stefank, ehelin, coleenp
2013-09-27 10:23:12 +02:00
Thomas Schatzl
bd9ffce267 8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis.

Reviewed-by: brutisso
2013-09-26 12:49:45 +02:00
Thomas Schatzl
83ed895a75 Merge 2013-09-24 10:14:02 +02:00
Ioi Lam
522051490c 8025088: Missing cases for JVM_CONSTANT_MethodHandleInError cause crash if debugger steps into error-tagged method handle
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: coleenp, sspitsyn
2013-09-23 08:56:19 -07:00
Dmitry Samersoff
401160ea8a Merge 2013-09-22 18:07:43 +02:00
Dmitry Samersoff
4d6a0655f9 7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not
Replace PT_LOAD segment with library segment when necessary

Reviewed-by: dholmes, sla
2013-09-22 18:49:09 +04:00
Yasumasa Suenaga
5bc8cd08aa 6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions"
Reviewed-by: sla, dsamersoff
2013-09-22 06:31:43 -07:00
Stefan Karlsson
22272f5043 8025096: Move the ChunkManager instances out of the VirtualSpaceLists
Reviewed-by: coleenp, mgerdin, jmasa
2013-09-21 10:09:42 +02:00
Jiangli Zhou
624cd5b34a Merge 2013-09-20 20:19:52 -07:00
Daniel D. Daugherty
80b2573b1c Merge 2013-09-20 18:19:07 -07:00
Coleen Phillimore
8b0c5e2524 Merge 2013-09-21 01:45:29 +02:00
Coleen Phillimore
42589e0f11 8014956: nashorn/api/javaaccess/MethodAccessTest.java test fails on sparc-solaris 64
Reference_map[] array had uninitialized junk that was causing a bogus bootstrap method to be found.

Reviewed-by: hseigel, dcubed, sspitsyn
2013-09-20 18:34:00 -04:00
Daniel D. Daugherty
156b06d897 Merge 2013-09-20 12:58:35 -07:00
Bill Pittore
3f2082ef80 8014911: Should use SUPPORTS_NATIVE_CX8 define to help C/C++ compiler elide blocks of code
If SUPPORTS_NATIVE_CX8 true then supports_cx8() function hard coded to return 'true'

Reviewed-by: kvn, twisti, dholmes
2013-09-20 15:06:23 -04:00
Alejandro Murillo
c368a33bf7 8025127: new hotspot build - hs25-b52
Reviewed-by: jcoomes
2013-09-20 11:17:04 -07:00
Alejandro Murillo
0f9d70232f Added tag hs25-b51 for changeset e446e24611f9 2013-09-20 11:09:26 -07:00
Alejandro Murillo
86ccbd229c Merge 2013-09-20 11:09:25 -07:00
Mikael Gerdin
04f41894db Merge 2013-09-20 10:34:41 -07:00
Coleen Phillimore
ffb0a9d569 Merge 2013-09-20 09:44:04 -04:00
Coleen Phillimore
ec5e07f810 8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
Need to refetch each method from InstanceKlass after all safepoints.  Removed leaky PreviousVersionInfo code.

Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
Stefan Karlsson
bbb009b580 8025059: Metspace::should_expand mixes bytes and words in check against MaxMetaspaceSize
Reviewed-by: coleenp, brutisso, mgerdin, jmasa
2013-09-20 11:00:38 +02:00
Per Liden
de71bd1049 8024974: Incorrect use of GC_locker::is_active()
SymbolTable and StringTable can make calls to GC_locker::is_active() outside a safepoint. This isn't safe because the GC_locker active state (lock count) is only updated at a safepoint and only remains valid as long as _needs_gc is true. However, outside a safepoint_needs_gc can change to false at any time, which makes it impossible to do a correct call to is_active() in that context. In this case these calls can just be removed since the input argument to basic_add() should never be on the heap and so there's no need to check the GC_locker state. This change also adjusts the assert() in is_active() to makes sure all calls to this function are always done under a safepoint.

Reviewed-by: brutisso, dcubed
2013-09-20 10:53:28 +02:00
Christine Lu
6e53556fac Added tag jdk8-b108 for changeset be8d551c4d00 2013-09-19 09:36:51 -07:00
Niclas Adlertz
afef481831 Merge 2013-09-19 18:01:39 +02:00
Harold Seigel
a1f3a95880 8024517: runtime/CDSCompressedKPtrs/XShareAuto.java failed with RuntimeException
Make sure CDS is off by default when running server compiler.

Reviewed-by: dholmes, coleenp
2013-09-19 11:04:23 -04:00
Thomas Schatzl
0a1b832ae0 Merge 2013-09-19 09:34:20 +02:00
Thomas Schatzl
9005953c71 Merge 2013-09-19 09:26:08 +02:00
Kevin Walls
d2b68f0d0f Merge 2013-09-19 08:47:46 +02:00
Bertrand Delsart
765632873a Merge 2013-09-18 21:47:51 -07:00
Mike Duigou
82705bda51 8024826: (s) : Remove alt-rt.jar, used by +AggressiveOps
Reviewed-by: alanb, chegar, dholmes, ksrini
2013-09-18 20:08:00 -04:00
Igor Veresov
f99391ee6f 8023542: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running
Move null check before klass reference materialization in checkcast

Reviewed-by: kvn, roland
2013-09-18 14:10:21 -07:00
Kevin Walls
191f6c346d Merge 2013-09-18 19:50:44 +02:00
Zhengyu Gu
513743fb82 Merge 2013-09-18 12:52:15 -04:00
Daniel D. Daugherty
41bce440a4 8019835: Strings interned in different threads equal but does not ==
Add -XX:+VerifyStringTableAtExit option and code to verify StringTable invariants.

Reviewed-by: rdurbin, sspitsyn, coleenp
2013-09-18 07:02:10 -07:00
Thomas Schatzl
3111ab9115 Merge 2013-09-18 15:59:41 +02:00
Sergey Gabdurakhmanov
c5c705217b 8022836: JVM crashes in JVMTIENVBASE::GET_CURRENT_CONTENDED_MONITOR and GET_OWNED_MONITOR
Check that the _java_thread parameter is valid when it is possible that the JavaThread has exited after the initial checks were made in generated/jvmtifiles/jvmtiEnter.cpp: jvmti_GetCurrentContendedMonitor()

Reviewed-by: dcubed, dsamersoff
2013-09-18 16:48:49 +04:00
Thomas Schatzl
f6e98b8181 8024669: Native OOME when allocating after changes to maximum heap supporting Coops sizing on sparcv9
After changes in 8010722 the ergonomics for calculating the size of the heap that supports zero based compressed oops changed. This lead to the VM actually using zero based compressed oops. Due to low default HeapBaseMinAddress, the OS mapping in the application image at the same address, and limitations of the malloc implementation on Solaris this resulted in very little C heap available for the VM. So the VM immediately gives a native OOME when the machine has lots of physical memory (>=32G). The solution is to increase the HeapBaseMinAddress so that the VM has enough C heap.

Reviewed-by: kvn, brutisso
2013-09-18 13:18:52 +02:00
Thomas Schatzl
3e4a59f797 8024662: gc/arguments/TestUseCompressedOopsErgo.java does not compile
Fix compilation error and use of an outdated VM option in the test

Reviewed-by: stefank, jwilhelm
2013-09-18 10:02:19 +02:00
Rickard Bäckman
0f418a050c Merge 2013-09-18 09:31:01 +02:00
Albert Noll
73fa617082 8022883: Assertion failed: sweptCount >= flushedCount + markedCount + zombifiedCount
Provide correct number of visited nmethods to Tracing

Reviewed-by: kvn, iveresov
2013-09-18 07:22:20 +02:00
John R Rose
d0ad8f875c Merge 2013-09-17 20:48:42 -07:00
Jesper Wilhelmsson
c00f905a5f Merge 2013-09-18 00:08:00 +00:00
Niclas Adlertz
aadc88fb53 Merge 2013-09-17 16:07:37 -07:00
Christian Tornqvist
98d8f57603 Merge 2013-09-17 23:12:27 +02:00
Erik Helin
2cab7ea037 8024718: Metaspace performance counters and memory pools should report the same data
Reviewed-by: stefank, dholmes, coleenp
2013-09-17 20:59:07 +02:00
Mikhailo Seledtsov
876967ae1f 7149464: [TESTBUG] Test runtime/7020373/Test7020373.sh failed to clean up files after test
Re-wrote in Java, this also eliminated temporary result file; set upper limit on malloc'd memory

Reviewed-by: dcubed, dholmes, ccheung
2013-09-17 20:20:03 +02:00
Mikhailo Seledtsov
a19b450d56 8016029: test runtime/6878713/Test6878713.sh failed
Rewrote test in Java; updated the test condition to reflect latest changes in the source

Reviewed-by: dholmes, ctornqvi
2013-09-17 20:09:32 +02:00
Peter Allwin
86d8a77b06 7196151: ParserTest SEGv on solaris
Reviewed-by: sla, coleenp, ctornqvi, dsamersoff
2013-09-17 17:16:28 +02:00
Christian Tornqvist
0051ace82a 8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk
Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk

Reviewed-by: dholmes, hseigel
2013-09-17 16:55:53 +02:00
Niclas Adlertz
c2ed47a76e Merge 2013-09-17 05:30:19 -07:00
Jesper Wilhelmsson
e6c8a775ed 8024884: Test name changed, test list not updated
Updated the test list with the new test name.

Reviewed-by: brutisso, ehelin
2013-09-17 14:02:53 +02:00
Dan Horak
7e77954221 8024914: Swapped usage of idx_t and bm_word_t types in bitMap.inline.hpp
Incorrect usage of idx_t where bm_word_t is appropriate.

Reviewed-by: tschatzl, brutisso
2013-09-17 12:04:11 +02:00
Albert Noll
d11f6f252b 8024128: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Increase interpreter size for x86 template interpreter

Reviewed-by: kvn, iveresov
2013-09-17 08:39:20 +02:00
Yumin Qi
81760af364 Merge 2013-09-16 18:39:53 -07:00
Yumin Qi
0cd7bc2cde 7164841: Improvements to the GC log file rotation
Made changes to easily identify current log file in rotation. Parameterize the input with %t for time replacement in file name.

Reviewed-by: ccheung, tschatzl, tamao, zgu
2013-09-16 15:35:04 -07:00
Karen Kinnear
9fb6519ce0 Merge 2013-09-16 15:24:11 -07:00
Karen Kinnear
9505ddf1e2 8024647: Default method resolution with private superclass method
Reviewed-by: kamg, minqi
2013-09-16 17:57:56 -04:00
Gerald Thornbrugh
dffefd9ecf 6986195: correctly identify Ubuntu as the operating system in crash report instead of "Debian"
Cleanup and document how various Linux release info files are used by print_distro_info().

Reviewed-by: dcubed, dsamersoff, coleenp, iklam, omajid
2013-09-16 12:43:34 -07:00
David Holmes
139c3e6621 6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock
Associate CLOCK_MONOTONIC with the pthread_cond_t objects used for relative timed waits

Reviewed-by: dcubed, shade
2013-09-16 07:38:13 -04:00
Thomas Schatzl
05929860a5 Merge 2013-09-16 13:32:44 +02:00
Thomas Schatzl
3184042cd1 8024396: VM crashing with assert(!UseLargePages || UseParallelOldGC || use_large_pages) failed: Wrong alignment to use large pages
Loosen wrong assert for UseParallelOldGC to UseParallelGC

Reviewed-by: stefank, brutisso
2013-09-16 10:20:45 +02:00
Thomas Schatzl
b4e927d2a9 Merge 2013-09-16 09:41:03 +02:00
David Chase
222c735458 8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Enhance method resolution and resulting data structures, plus some refactoring.

Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
David Holmes
7b2ffab30e 8024505: [TESTBUG] update test groups for additional tests that can't run on the minimal VM
Reviewed-by: coleenp, hseigel
2013-09-13 21:36:27 -04:00
Serguei Spitsyn
59a89ae1e1 Merge 2013-09-13 16:56:58 -07:00
Christian Thalinger
4fa99b3fc5 8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
2013-09-13 16:55:44 -07:00
Serguei Spitsyn
2823ae6943 8024346: ~CautiouslyPreserveExceptionMark - assert(!_thread->has_pending_exception()) failed: unexpected exception generated
Pending exceptions must be handled properly after a call to the JVMTI merge_cp_and_rewrite

Reviewed-by: coleenp, dholmes
2013-09-13 12:48:50 -07:00
Serguei Spitsyn
47e8234251 8024345: 'assert(_value != NULL) failed: resolving NULL _value' from VM_RedefineClasses::set_new_constant_pool
The OOME's in the JVMTI merge_cp_and_rewrite and set_new_constant_pool must be handled correctly

Reviewed-by: coleenp, dholmes
2013-09-13 12:47:44 -07:00
Serguei Spitsyn
5c11ecebfb 8017230: Internal Error (jvmtiRedefineClasses.cpp:1662): guarantee(false) failed: insert_space_at() failed
Handle pending exceptions instead of firing a guarantee()

Reviewed-by: coleenp, dholmes
2013-09-13 12:46:40 -07:00
Markus Grönlund
0b0de232e8 Merge 2013-09-13 19:20:59 +02:00
Markus Grönlund
dc42cb136d 8021353: Event based tracing is missing thread exit
Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin
2013-09-13 17:47:00 +02:00
Bertrand Delsart
7d5c2653c3 Merge 2013-09-13 07:47:26 -07:00
Zhengyu Gu
9e8f860fec Merge 2013-09-13 10:34:15 -04:00
Vladimir Ivanov
13d322d70f 8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
Reviewed-by: twisti, kvn, sla
2013-09-13 04:16:54 -07:00
Alejandro Murillo
4bc9598f85 8024764: new hotspot build - hs25-b51
Reviewed-by: jcoomes
2013-09-13 00:43:01 -07:00
Alejandro Murillo
f8f4e382cf Added tag hs25-b50 for changeset 8292c62817e4 2013-09-13 00:25:19 -07:00
Alejandro Murillo
7e64d2607d Merge 2013-09-13 00:25:18 -07:00
Aleksey Shipilev
403a37663a 8024671: G1 generates assert error messages in product builds
Reviewed-by: brutisso, tschatzl
2013-09-13 07:57:13 +02:00
Stefan Karlsson
4d3c6221b7 8024752: Log TraceMetadata* output to gclog_or_tty instead of tty
Reviewed-by: brutisso, mgerdin, coleenp
2013-09-13 22:25:27 +02:00
Stefan Karlsson
9784317e8a 8024751: Fix bugs in TraceMetadata
Reviewed-by: jmasa, brutisso
2013-09-13 22:23:48 +02:00
Stefan Karlsson
860b5dcec7 8024650: Don't adjust MaxMetaspaceSize up to MetaspaceSize
Reviewed-by: jwilhelm, brutisso, tschatzl
2013-09-13 22:22:14 +02:00
Stefan Karlsson
d2d4036f85 8024651: Remove the incorrect usage of Metablock::overhead()
Reviewed-by: brutisso, mgerdin, coleenp, jmasa
2013-09-13 22:21:06 +02:00
Christian Thalinger
f2a19eaddb Merge 2013-09-12 18:13:28 -07:00
Christian Thalinger
bfe7c0bfc2 8024275: During CTW: assert(sig_bt[member_arg_pos] == T_OBJECT) failed: dispatch argument must be an object
Reviewed-by: kvn, vlivanov
2013-09-12 14:53:44 -07:00
Niclas Adlertz
350906807b 8024646: Remove LRG_List container, replace it with GrowableArray
We already have GrowableArray, use it instead of LRG_List

Reviewed-by: kvn
2013-09-12 23:13:45 +02:00
Christine Lu
32856d517b Added tag jdk8-b107 for changeset c86a71fcceaf 2013-09-12 11:08:59 -07:00
Dmitry Samersoff
dc7c7c5e13 8022617: Openjdk hotspot build is broken on BSD platforms using gcc
Enforce of preprocessing of all assembly sources by assembler-with-cpp

Reviewed-by: dholmes, erikj
2013-09-12 15:53:49 +04:00
Stefan Karlsson
8a515de48c 8024638: Count and expose the amount of committed memory in the metaspaces
Reviewed-by: brutisso, ehelin
2013-09-12 10:15:54 +02:00
Erik Helin
dfd2d9a574 8023476: Metaspace capacity > reserved
Reviewed-by: stefank, hseigel, mgerdin
2013-09-12 10:15:30 +02:00
Niclas Adlertz
1a3fb4c38a Merge 2013-09-12 09:10:14 +02:00
David Holmes
57674dba8e Merge 2013-09-11 23:49:35 -04:00
Bill Pittore
091edb47c5 8024007: Misc. cleanup of static agent code
Minor cleanup of static agent code from 8014135

Reviewed-by: dcubed, sspitsyn
2013-09-11 20:03:34 -04:00
Thomas Schatzl
2317db6d5a Merge 2013-09-11 18:47:54 +02:00
Thomas Schatzl
962008f22b 8010722: assert: failed: heap size is too big for compressed oops
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.

Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Mikael Gerdin
a127c69d0d Merge 2013-09-11 06:15:31 -07:00
Dmitry Samersoff
eaa4cfd4a7 8024056: runtime/InitialThreadOverflow/testme.sh fails
On some macines gcc not able to link cxx program

Reviewed-by: dholmes
2013-09-11 14:30:17 +04:00
Thomas Schatzl
6b12e05140 Merge 2013-09-11 12:03:41 +02:00
Thomas Schatzl
87a98b7267 8021823: G1: Concurrent marking crashes with -XX:ObjectAlignmentInBytes>=32 in 64bit VMs
Correctly calculate the initialization value for the shift between object start and bitmap bit in the G1 mark bitmaps.

Reviewed-by: tonyp
2013-09-11 10:19:16 +02:00
Thomas Schatzl
a136d05739 8016825: Large pages for the heap broken on Windows for compressed oops
Correctly pass the requested base address for the heap to the OS function to reserve memory.

Reviewed-by: brutisso, stefank
2013-09-11 10:14:32 +02:00
Mikael Gerdin
1d97871624 8009561: NPG: Metaspace fragmentation when retiring a Metachunk
Use best-fit block-splitting freelist allocation from the block freelist.

Reviewed-by: jmasa, stefank
2013-09-11 09:37:14 +02:00
Niclas Adlertz
bcdf7e7a4d 8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
Lowered the MinJumpTableSize for each platform

Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Stefan Johansson
86624d96d7 8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47
The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past.

Reviewed-by: sla, jmasa
2013-09-11 08:57:02 +02:00
David Holmes
ce469f1922 8024256: Minimal VM build is broken with PCH disabled
Reviewed-by: coleenp, twisti
2013-09-11 00:38:18 -04:00
Vladimir Ivanov
3d840abcc2 Merge 2013-09-10 15:28:44 -07:00
Vladimir Ivanov
f0e77ac67f 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Albert Noll
4d99afea08 8024473: Remove unused macro: IRT_ENTRY_FOR_NMETHOD
Removed unused macro

Reviewed-by: kvn, adlertz
2013-09-10 07:51:37 +02:00
Harold Seigel
76033b1a37 8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures
Add checks for duplicates and issue errors when detected.

Reviewed-by: coleenp, zgu
2013-09-09 14:44:37 -04:00
Niclas Adlertz
19d50345e1 Merge 2013-09-09 19:53:28 +02:00
Kevin Walls
972efc6f0a 8023478: Test fails with HS crash in GCNotifier
Reviewed-by: sla
2013-09-09 10:01:09 +01:00
Alejandro Murillo
7e04c1775c 8024258: new hotspot build - hs25-b50
Reviewed-by: jcoomes
2013-09-06 11:11:19 -07:00
Alejandro Murillo
eb65e048f9 Added tag hs25-b49 for changeset 20a700f38686 2013-09-06 11:04:00 -07:00
Alejandro Murillo
3825e8cfae Merge 2013-09-06 11:04:00 -07:00
Ioi Lam
1c2a7eea85 8022335: Native stack walk while generating hs_err does not work on Windows x64
Use WinDbg API StackWalk64()

Reviewed-by: zgu, dholmes
2013-09-06 08:42:42 -07:00
Igor Ignatyev
c73d393947 8012447: Java CTW implementation
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Thomas Schatzl
066b624223 Merge 2013-09-05 14:15:54 +02:00
Christine Lu
250f98771a Added tag jdk8-b106 for changeset a9ef5fb72167 2013-09-05 02:45:38 -07:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Jon Masamitsu
5eb2a3e96d Merge 2013-09-04 12:56:03 -07:00
Jon Masamitsu
451ff188a0 8013938: Native OOME on fastdebug VM on Solaris
Reviewed-by: azeemj, brutisso, kvn, tschatzl
2013-09-04 11:41:17 -07:00
Zhengyu Gu
34d47bd672 8022798: "assert(seq > 0) failed: counter overflow" in Kitchensink
Removed incorrect assertion, sequence number can overflow

Reviewed-by: dholmes, kamg
2013-09-04 08:55:08 -04:00
Niclas Adlertz
547f4dea7b 8024095: Missing brackets in local scheduling code
Added brackets for if-statement

Reviewed-by: kvn, roland
2013-09-02 22:44:57 +02:00
Rickard Bäckman
44a46005b8 Merge 2013-09-02 13:13:45 +02:00
Niclas Adlertz
adf7b53bfc Merge 2013-09-01 19:52:02 +02:00
Niclas Adlertz
900acf0c44 8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG)
Moved local scheduling code from class Block to class PhaseCFG

Reviewed-by: kvn, roland
2013-09-01 19:21:05 +02:00
Harold Seigel
a320f6a566 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00
Karen Kinnear
dac29a1204 Merge 2013-08-30 15:42:01 -07:00
Harold Seigel
9422277fb6 Merge 2013-08-30 15:57:06 -04:00
Karen Kinnear
d61425d2f1 Merge 2013-08-30 12:56:58 -07:00
Karen Kinnear
fdf2c975ed 8023872: Verification error in generated lambda classes
Skip verification for generated lambda classes

Reviewed-by: kamg, dholmes
2013-08-30 15:15:56 -04:00
Harold Seigel
2842b72e34 Merge 2013-08-30 15:15:22 -04:00
Lois Foltan
0f6bcbe0b5 8024050: Incorrect optimization level and comment specified for unsafe.cpp
Fix comments and optimization level.

Reviewed-by: rdurbin, coleenp, hseigel
2013-08-30 15:07:23 -04:00
Zhengyu Gu
0dee23ad80 Merge 2013-08-30 13:38:45 -04:00
Zhengyu Gu
38fac8c706 Merge 2013-08-30 12:22:02 -04:00
Zhengyu Gu
c4d7122a7f 6991327: using -Xprof trigger native memory leak
Fixed a memory leak in FlatProfiler::record_thread_tick() method

Reviewed-by: dholmes, ccheung
2013-08-30 11:54:14 -04:00
Daniel D. Daugherty
379674be8f Merge 2013-08-30 07:04:42 -07:00
Alejandro Murillo
7ba96712a8 8024022: new hotspot build - hs25-b49
Reviewed-by: jcoomes
2013-08-30 00:29:52 -07:00
Alejandro Murillo
aa34aa0bcf Added tag hs25-b48 for changeset 137826043047 2013-08-30 00:19:43 -07:00
Alejandro Murillo
861ce92334 Merge 2013-08-30 00:19:42 -07:00
Bengt Rutisson
6d7626dba4 8019902: G1: Use the average heap size rather than the minimum heap size to calculate the region size
Reviewed-by: tonyp, tschatzl, sjohanss
2013-08-30 07:31:47 +02:00
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Dmitry Samersoff
399a8b8d3f Merge 2013-08-29 21:46:09 +02:00
Vladimir Ivanov
a92cdcd010 8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check
Reviewed-by: kvn, twisti
2013-08-29 22:44:19 +04:00
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
Lois Foltan
02440bce37 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.

Reviewed-by: coleenp, twisti, dholmes
2013-08-29 13:44:07 -04:00
Christine Lu
12275d364e Added tag jdk8-b105 for changeset 14a09ddd8d8b 2013-08-29 09:41:51 -07:00
Harold Seigel
1ff22f2ed9 8016764: JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v 52.0
Check cfv before allowing invokespecial call to default method.

Reviewed-by: kamg, acorn, dholmes
2013-08-29 10:33:13 -04:00
Jon Masamitsu
728a40bcdc Merge 2013-08-29 06:53:16 -07:00