Commit Graph

506 Commits

Author SHA1 Message Date
Daniel D. Daugherty
8aebf28301 6567360: 3/4 SIGBUS in jvmti RawMonitor magic check for unaligned bad monitor pointer
Change JvmtiEnvBase::is_valid() and JvmtiRawMonitor::is_valid() to fetch the _magic fields via Bytes::get_native_u[248]().

Reviewed-by: coleenp, swamyv
2009-03-02 14:05:07 -07:00
Daniel D. Daugherty
da3f81559f 6805864: 4/3 Problem with jvmti->redefineClasses: some methods don't get redefined
Remove incorrect optimization in klassItable::adjust_method_entries(). Add RedefineClasses() tracing support for obsolete method entry.

Reviewed-by: acorn, swamyv
2009-03-02 14:03:03 -07:00
Daniel D. Daugherty
56fe18e375 6800721: 3/4 JavaThread::jvmti_thread_state() and JvmtiThreadState::state_for() robustness
Check for NULL return values from jvmti_thread_state() and state_for() and return a JVM TI error code as appropriate.

Reviewed-by: coleenp, swamyv
2009-03-02 14:00:23 -07:00
Daniel D. Daugherty
74a99e1e82 6700114: 3/4 Assertion (_thread->get_interp_only_mode() == 1,"leaving interp only when mode not one")
Don't create JvmtiThreadState for an exiting JavaThread.

Reviewed-by: coleenp, swamyv
2009-03-02 13:57:17 -07:00
Erik Trimble
b5743bd6e9 6787832: Bump Hotspot build number to 08
Update the HS14 build number to 08

Reviewed-by: jcoomes
2008-12-20 09:59:01 -08:00
Erik Trimble
ac1f463988 Merge 2008-12-20 09:58:36 -08:00
Erik Trimble
efd43c045a Merge 2008-12-20 09:57:03 -08:00
Xiaobin Lu
34c4172bfe Merge 2008-12-20 00:45:18 -08:00
Xiaobin Lu
74d9cf0fb8 6784100: getTimeNanos - CAS reduction
Get rid of the CAS loop in getTimeNanos to reduce coherence traffic on Solaris.

Reviewed-by: acorn, kvn, ysr
2008-12-19 14:40:28 -08:00
Jon Masamitsu
91caa3b23f Merge 2008-12-19 12:15:34 -08:00
Xiomara Jayasena
22a73d8b7d Added tag jdk7-b42 for changeset a0dd9009e992 2008-12-18 21:34:02 -08:00
Poonam Bajaj
0f5687c1eb 6786340: hs14b09a pit: a lot of tests failed in "-server -Xcomp" on solaris-amd64 using fastdebug bits
Fixes the nsk-jdi PIT failures introduced by fix for 6739363

Reviewed-by: kvn, coleenp
2008-12-18 17:28:41 -08:00
Vladimir Kozlov
dc2957bef6 Merge 2008-12-18 13:59:59 -08:00
Vladimir Kozlov
744c80add4 6787050: assert(n->in(0) == 0L,"no control") with UseCompressedOops on sparcv9
Relax the assert for Sparc.

Reviewed-by: never
2008-12-18 11:26:22 -08:00
John Coomes
f3c34ce9b6 6786188: par compact - "SplitALot" stress mode should fill to_space
Reviewed-by: jmasa, tonyp
2008-12-18 10:54:01 -08:00
John Coomes
f90394b6fb 6784849: par compact - can fail when to_space is non-empty
Reviewed-by: jmasa, tonyp
2008-12-18 10:53:35 -08:00
John Coomes
a88e734cac 6786195: many nsk.monitoring tests fail with -server -Xcomp
Remove Universe::_fillerArrayKlassObj and associated code

Reviewed-by: jmasa, tonyp
2008-12-18 01:27:04 -08:00
Vladimir Kozlov
4d2c491b2b Merge 2008-12-17 14:09:39 -08:00
Vladimir Kozlov
29488f1216 6782820: Server VM fails with "unhandled implicit exception in compiled code"
Restore the code which sets a control edge for a klass load node.

Reviewed-by: never
2008-12-16 12:23:39 -08:00
Xiomara Jayasena
99f0eac1a2 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:11 -08:00
Swamy Venkataramanappa
06e37c03fb 6653214: MemoryPoolMXBean.setUsageThreshold() does not support large heap sizes
Reviewed-by: ysr, mchung
2008-12-15 13:58:57 -08:00
Tom Rodriguez
baa4663714 6758234: if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs
Reviewed-by: kvn, jrose
2008-12-12 19:55:26 -08:00
Tom Rodriguez
40a81c63b8 6757316: load_constant() produces a wrong long constant, with high a low words swapped
Reviewed-by: rasbold, jrose, kvn
2008-12-12 19:54:46 -08:00
Tom Rodriguez
552c37000d 6767587: missing call to make_not_entrant after deoptimizing for patching volatiles
Reviewed-by: rasbold, kvn
2008-12-12 19:53:25 -08:00
Jon Masamitsu
31308ae8e4 Merge 2008-12-12 15:37:46 -08:00
Lev Serebryakov
0d7bfcafab Merge 2008-12-12 10:19:39 -08:00
Vladimir Kozlov
6483f9c7f8 Merge 2008-12-11 17:20:10 -08:00
John Coomes
8fc946854c 6765954: par compact - stress mode for splitting young gen spaces
Reviewed-by: jmasa
2008-12-11 12:05:21 -08:00
John Coomes
7a9585170d 6765745: par compact - allow young gen spaces to be split
Reviewed-by: jmasa
2008-12-11 12:05:14 -08:00
John Coomes
000b184507 6578152: fill_region_with_object has usability and safety issues
Reviewed-by: apetrusenko, ysr
2008-12-11 12:05:08 -08:00
Lev Serebryakov
92ea783f35 6639341: sometimes contended-exit event comes after contended-entered on another thread
DTrace probe "contended-exit" should be fired before unparking object, or context could be lost. Probe firing was moved to proper place.

Reviewed-by: coleenp, kamg
2008-12-11 03:22:04 -08:00
Y. Srinivas Ramakrishna
26f6b1692a 6782457: CMS: Livelock in CompactibleFreeListSpace::block_size()
6736295: SIGSEGV in product jvm, assertion "these are the only valid states during a mark sweep" in fastdebug

Restructured the code in the perm gen allocation retry loop so as to avoid "safepoint-blocking" on locks, in this case the Heap_lock, while holding uninitialized allocated heap storage.

Reviewed-by: apetrusenko, iveresov, jcoomes, jmasa, poonam
2008-12-10 23:46:10 -08:00
Coleen Phillimore
e0d2bfab81 6727377: VM stack guard pages on Windows should PAGE_READWRITE not PAGE_EXECUTE_READWRITE
Make reguard_stack change access to RW, not execute and use os::protect_memory with the new parameter when change needed to X.

Reviewed-by: acorn, jcoomes
2008-12-10 15:14:29 -08:00
John R Rose
67464baa7a 6771309: debugging AD files is difficult without #line directives in generated code
More and better #line and #define directives in the generated code; ADLC itself accepts #line directives

Reviewed-by: never, kvn
2008-12-09 12:41:26 -08:00
Coleen Phillimore
36f5b8dd54 6689685: Hotspot crash error message should include libraries version
Print out JDK/JRE version that hotspot knows about.

Reviewed-by: kamg, blacklion, acorn, alanb
2008-12-09 09:55:39 -05:00
John R Rose
e50f766540 6779339: turn off LinkWellKnownClasses by default pending further testing
Temporarily turn off LinkWellKnownClasses optimization

Reviewed-by: never, kvn
2008-12-08 17:15:02 -08:00
Coleen Phillimore
c07de94ae3 6773838: There is no calling stack for Compiler thread in hs_err file on x86
On solaris, the inline assembly wasn't being processed.  Added volatile to il file fixed it.

Reviewed-by: phh, kvn
2008-12-08 15:50:55 -05:00
Erik Trimble
ec343fa4bc 6781742: Bump HS14 build number to 09
Update Hotspot 14 build number to b09

Reviewed-by: jcoomes
2008-12-05 15:45:24 -08:00
Erik Trimble
349adae76a Merge 2008-12-05 15:32:59 -08:00
Lev Serebryakov
1d59997abe Merge 2008-12-05 15:06:37 -05:00
Poonam Bajaj
9330807714 Merge 2008-12-04 17:48:02 -08:00
Poonam Bajaj
eddda26255 6739363: Xcheck jni doesn't check native function arguments
Fix adds support for verifying arguments with -Xcheck:jni.

Reviewed-by: coleenp
2008-12-04 17:29:56 -08:00
Jon Masamitsu
dd80e77a74 Merge 2008-12-04 13:21:16 -08:00
Xiomara Jayasena
868fd3b043 Added tag jdk7-b41 for changeset 49f1a8464e11 2008-12-04 11:10:13 -08:00
Jon Masamitsu
7231a4ca3b Merge 2008-12-04 09:04:46 -08:00
Vladimir Kozlov
d9c6682945 Merge 2008-12-04 08:55:34 -08:00
Jon Masamitsu
0320ba0b9e Merge 2008-12-03 14:44:48 -08:00
Igor Veresov
af509dd90d 6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
In os::Linux::rebuild_cpu_to_node_map() fix the size of the CPU bitmap. Fixed arithmetic in MutableNUMASpace::adaptive_chunk_size() that could cause overflows and underflows of the chunk_size variable.

Reviewed-by: apetrusenko
2008-12-03 14:18:57 -08:00
Vladimir Kozlov
f2f18a01e5 6775880: EA +DeoptimizeALot: assert(mon_info->owner()->is_locked(),"object must be locked now")
Create new "eliminated" BoxLock node for monitor debug info when corresponding locks are eliminated.

Reviewed-by: never
2008-12-03 13:41:37 -08:00
Y. Srinivas Ramakrishna
16aa57cb4b 6778647: snap(), snap_policy() should be renamed setup(), setup_policy()
Renamed Reference{Policy,Pocessor} methods from snap{,_policy}() to setup{,_policy}()

Reviewed-by: apetrusenko
2008-12-01 23:25:24 -08:00