8166560: [s390] Basic enablement of s390 port

Also fix problem with ARM Elf configuration.

Reviewed-by: dholmes, coleenp
This commit is contained in:
Goetz Lindenmaier 2016-09-22 18:23:15 +02:00
parent 9a793cb30e
commit 7aed968c10
13 changed files with 64 additions and 32 deletions

View file

@ -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;