Skip to content

Commit f9113a3

Browse files
authored
Merge pull request #24253 from pshipton/codecache32
Revert: Restore 32-bit Coded Restrictions to CodeCache Page Sizes on P
2 parents 4e96366 + eaafe15 commit f9113a3

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

runtime/compiler/runtime/J9CodeCacheManager.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,16 +271,7 @@ TR::CodeCacheMemorySegment *J9::CodeCacheManager::allocateCodeCacheSegment(size_
271271
if (config.largeCodePageSize() > pageSizes[0])
272272
largeCodePageSize = config.largeCodePageSize();
273273

274-
#if defined(TR_TARGET_POWER) && defined(TR_HOST_POWER) && !defined(TR_HOST_64BIT)
275-
/* Use largeCodePageSize on PPC only if its 16M.
276-
If we pass in any pagesize other than the default page size, the port library picks the shared memory api to
277-
allocate which wastes memory */
278-
size_t sixteenMegs = 16 * 1024 * 1024;
279-
if (largeCodePageSize == sixteenMegs)
280-
#else
281-
if (largeCodePageSize > 0)
282-
#endif
283-
{
274+
if (largeCodePageSize > 0) {
284275
vmemParams.pageSize = largeCodePageSize;
285276
vmemParams.pageFlags = config.largeCodePageFlags();
286277

0 commit comments

Comments
 (0)