4272 Commits

Author SHA1 Message Date
Harold Seigel
b4be5da833 Merge 2014-02-15 14:41:04 -05:00
Coleen Phillimore
4ab0b2732c 8027146: Class loading verification failure if GC occurs in Universe::flush_dependents_on
Remove search in system dictionary and hacks, replace with verifying in CLD::_klasses list.

Reviewed-by: dcubed, acorn
2014-02-15 13:03:38 -05:00
Calvin Cheung
297485c528 8034860: Fatal error due to incorrect thread state during nightly testing
Use the HAS_PENDING_EXCEPTION and CLEAR_PENDING_EXCEPTION macros

Reviewed-by: dholmes, coleenp, dcubed
2014-02-14 09:50:17 -08:00
Erik Helin
c5ef624e7c Merge 2014-02-13 17:57:27 +01:00
Stefan Johansson
b1cfdfafe2 8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline
Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed.

Reviewed-by: coleenp, pliden
2014-02-13 10:05:03 +01:00
Stefan Karlsson
a8f01c3f99 8038630: Remove ExtendedOopClosure::prefetch_style()
Reviewed-by: coleenp, jmasa
2014-03-28 14:15:03 +01:00
Stefan Karlsson
f2de069dc2 8038628: Remove unused Closure::abort()
Reviewed-by: coleenp, jmasa
2014-03-28 14:03:11 +01:00
Mikael Gerdin
1fdc7cd78f 8038405: Clean up some virtual fucntions in Space class hierarchy
Get rid of some duplicated implementations and change nonsense implementations to pure virtuals

Reviewed-by: stefank, jmasa
2014-03-12 15:25:35 +01:00
Mikael Gerdin
c62c16f94a 8038412: Move object_iterate_careful down from Space to ContigousSpace and CFLSpace
Only declare the functions where they are actually needed.

Reviewed-by: tschatzl, stefank
2014-03-12 17:13:48 +01:00
Mikael Gerdin
e72dd1b433 8038404: Move object_iterate_mem from Space to CMS since it is only ever used by CMS
Reviewed-by: brutisso, tschatzl, stefank
2014-03-12 15:22:45 +01:00
Calvin Cheung
afe8f1c904 8028785: [parfait] warnings from b116 for hotspot.src.share.vm.prims: JNI exception pending
Added JNI exception pending check in several files under src/share/vm/prims directory

Reviewed-by: coleenp, minqi
2014-02-12 12:01:45 -08:00
Henry Jen
a752b0b503 8033215: clang: node.cpp:284 IDX_INIT macro use uninitialized field _out
Reviewed-by: twisti, kvn
2014-02-11 21:32:19 -08:00
Ioi Lam
d0baa9304f Merge 2014-02-11 10:05:02 -08:00
Ioi Lam
7f138c5502 7182040: volano29 limited by os resource on Linux - need better diagnostic message
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"

Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Nils Eliasson
cde5c5862b 8034188: OSR methods may not be recompiled at proper compilation level
Remove_osr_nmethod doesn't check that it is the correct method

Reviewed-by: kvn, iveresov
2014-02-11 13:29:53 +01:00
Matthias Baesken
2b8f41202a 8034171: Remove use of template template parameters from binaryTreeDictionary
Reviewed-by: mgerdin, jmasa
2014-02-11 09:34:50 +01:00
Stefan Karlsson
2a5c51998d 8034764: Use process_strong_roots to adjust the StringTable
Reviewed-by: tschatzl, brutisso
2014-02-14 09:29:56 +01:00
Stefan Karlsson
2a866afcdb 8034761: Remove the do_code_roots parameter from process_strong_roots
Reviewed-by: tschatzl, mgerdin, jmasa
2014-02-13 17:44:39 +01:00
Yumin Qi
a90e842e0c 8033792: AltHashing used jint for imprecise bit shifting
AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix  by change _seed defined as juint.

Reviewed-by: coleenp, ccheung
2014-02-10 21:29:14 -08:00
Daniel D. Daugherty
cf5c3370a3 8028073: race condition in ObjectMonitor implementation causing deadlocks
Move redo of ParkEvent.unpark() after JVMTI_EVENT_MONITOR_WAITED event handler is called.

Reviewed-by: dholmes, sspitsyn, dice, acorn
2014-02-10 12:48:54 -08:00
Christian Tornqvist
dd25d6fed0 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Coleen Phillimore
2759eb10ae 8033528: assert(0 <= i && i < length()) failed: index out of bounds
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.

Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Bill Pittore
b6c95dcb56 Merge 2014-02-07 14:47:04 -05:00
Oleg Mazurov
50b13833fa 8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
Generate correct "vtable stub" dynamic code notifications

Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
Frederic Parain
41edfa7107 8030808: dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
Reviewed-by: sspitsyn, dcubed, kamg, dholmes
2014-02-06 17:59:35 +00:00
Henry Jen
aae536aad7 8033289: clang: clean up unused function warning
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Calvin Cheung
a3c78aac2f 8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution

Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Stefan Johansson
05e4dd3c74 8033426: Scale initial NewSize using NewRatio if not set on command line
Now using NewRatio to size initial NewSize if not specified on commandline.

Reviewed-by: jmasa, jwilhelm
2014-02-05 11:05:13 +01:00
Serguei Spitsyn
465cfd7c01 8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
It is better to calculate frame count for suspended threads at a safepoint

Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Staffan Larsen
731320a7fd 8033126: Can't call default methods from JNI
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Staffan Larsen
eaac73cf84 8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Harold Seigel
f8cf8b295d Merge 2014-02-02 15:31:40 -05:00
Jesper Wilhelmsson
4dde43fa62 8023899: Typo in TraceCPUTime message
Removed the comma

Reviewed-by: pliden, tschatzl
2014-01-31 13:38:01 +01:00
Ron Durbin
97d55c801e 8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher.  Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.

Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Goetz Lindenmaier
4c4b46e490 8033168: PPC64: gcc 4.8 warning in output_c.cpp
Fix warnings

Reviewed-by: kvn
2014-01-30 14:30:01 +01:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Harold Seigel
b7100718e8 Merge 2014-01-29 19:54:44 -05:00
Jesper Wilhelmsson
5301534dc3 8028391: Make the Min/MaxHeapFreeRatio flags manageable
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.

Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Vladimir Kozlov
7d92dc4d79 Merge 2014-01-28 12:28:17 -08:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Albert Noll
7722b3d097 8035946: Use ResourceHashtable for dependency checking
Use ResourceHashtable for dependency checking and delete GenericHashtable

Reviewed-by: kvn, coleenp
2014-03-03 08:04:14 +01:00
Coleen Phillimore
305d2f27f1 8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.

Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Vladimir Kozlov
6e8540ca72 Merge 2014-01-24 09:04:24 -08:00
Niclas Adlertz
970a35292b 8031498: Cleanup and re-factorize PhaseChaitin::build_ifg_physical
Created sub-functions, added data structures, improved naming and removed unnecessary code

Reviewed-by: kvn, roland, rbackman
2014-01-24 13:06:52 +01:00
Vladimir Kozlov
e42f245870 Merge 2014-01-24 13:30:55 -08:00
Aleksey Shipilev
fbff3b73a4 8032490: Remove -XX:+-UseOldInlining
Move the option to obsolete options list, purge the redundant compiler code.

Reviewed-by: kvn, jrose
2014-01-24 15:26:56 +04:00
Goetz Lindenmaier
6eddc19daf 8032634: Add #ifdef PPC64 around OrderAccess operations on _thread_state
Reviewed-by: dholmes, kvn
2014-01-24 10:23:34 +01:00
Roland Westrelin
c19a7e0fa3 8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed
Type methods shouldn't always operate on speculative part

Reviewed-by: kvn, twisti
2014-01-24 09:31:53 +01:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -08:00
Rickard Bäckman
0b85ee832e 8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
2014-01-23 12:08:28 +01:00