8141134: Remove unnecessary pragma warning(disable:4355) from GC code

Reviewed-by: ehelin, simonis, stuefe
This commit is contained in:
Thomas Schatzl 2015-11-04 17:36:29 +01:00
parent 7ac4628585
commit a6231d3f70
7 changed files with 3 additions and 40 deletions

View file

@ -680,10 +680,6 @@ nmethod* nmethod::new_nmethod(const methodHandle& method,
return nm;
}
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4355) // warning C4355: 'this' : used in base member initializer list
#endif
// For native wrappers
nmethod::nmethod(
Method* method,
@ -773,10 +769,6 @@ nmethod::nmethod(
}
}
#ifdef _MSC_VER
#pragma warning(pop)
#endif
void* nmethod::operator new(size_t size, int nmethod_size, int comp_level) throw () {
return CodeCache::allocate(nmethod_size, CodeCache::get_code_blob_type(comp_level));
}