Skip to content

Commit

Permalink
Merge pull request #9289 from ymanton/fix-global-align
Browse files Browse the repository at this point in the history
Get rid of align{Warm,Cold}CodeAlloc
  • Loading branch information
0xdaryl committed Apr 20, 2020
2 parents 787a9a2 + 53693aa commit c7a0b16
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions runtime/compiler/runtime/J9CodeCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ namespace J9 { typedef CodeCache CodeCacheConnector; }
#include "runtime/OMRCodeCache.hpp"
#include "env/IO.hpp"
#include "env/VMJ9.h"
#include "OMR/Bytes.hpp" // Temporary

struct J9MemorySegment;
struct J9ClassLoader;
Expand Down Expand Up @@ -101,10 +100,6 @@ class OMR_EXTENSIBLE CodeCache : public OMR::CodeCacheConnector

OMR::CodeCacheHashEntry * findUnresolvedMethod(void *constPool, int32_t constPoolIndex);

// Temporary
void alignWarmCodeAlloc(uint32_t round) { _warmCodeAlloc = reinterpret_cast<uint8_t *>(OMR::align(reinterpret_cast<size_t>(_warmCodeAlloc), round)); }
void alignColdCodeAlloc(uint32_t round) { _coldCodeAlloc = reinterpret_cast<uint8_t *>(OMR::align(reinterpret_cast<size_t>(_coldCodeAlloc), round)); }

/**
* @brief Restore warmCodeAlloc/coldCodeAlloc and trampoline pointers to their initial positions
*/
Expand Down

0 comments on commit c7a0b16

Please sign in to comment.