mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8166560: [s390] Basic enablement of s390 port
Also fix problem with ARM Elf configuration. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9a793cb30e
commit
7aed968c10
13 changed files with 64 additions and 32 deletions
|
@ -547,7 +547,10 @@ void CodeCache::commit(CodeBlob* cb) {
|
|||
}
|
||||
|
||||
bool CodeCache::contains(void *p) {
|
||||
// It should be ok to call contains without holding a lock
|
||||
// S390 uses contains() in current_frame(), which is used before
|
||||
// code cache initialization if NativeMemoryTracking=detail is set.
|
||||
S390_ONLY(if (_heaps == NULL) return false;)
|
||||
// It should be ok to call contains without holding a lock.
|
||||
FOR_ALL_HEAPS(heap) {
|
||||
if ((*heap)->contains(p)) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue