src/share/vm/shark/sharkMemoryManager.hpp
Print this page
rev 3850 : [mq]: shark.patch
*** 73,96 ****
uintptr_t& ActualSize);
void endExceptionTable(const llvm::Function* F,
unsigned char* TableStart,
unsigned char* TableEnd,
unsigned char* FrameRegister);
! #if SHARK_LLVM_VERSION < 27
! void* getDlsymTable() const;
! void SetDlsymTable(void *ptr);
! #endif
void setPoisonMemory(bool);
uint8_t* allocateGlobal(uintptr_t, unsigned int);
void setMemoryWritable();
void setMemoryExecutable();
- #if SHARK_LLVM_VERSION >= 27
void deallocateExceptionTable(void *ptr);
void deallocateFunctionBody(void *ptr);
- #else
- void deallocateMemForFunction(const llvm::Function* F);
- #endif
unsigned char *allocateSpace(intptr_t Size,
unsigned int Alignment);
};
#endif // SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP
--- 73,91 ----
uintptr_t& ActualSize);
void endExceptionTable(const llvm::Function* F,
unsigned char* TableStart,
unsigned char* TableEnd,
unsigned char* FrameRegister);
! void *getPointerToNamedFunction(const std::string &Name, bool AbortOnFailure = true);
! uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID);
! uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID);
void setPoisonMemory(bool);
uint8_t* allocateGlobal(uintptr_t, unsigned int);
void setMemoryWritable();
void setMemoryExecutable();
void deallocateExceptionTable(void *ptr);
void deallocateFunctionBody(void *ptr);
unsigned char *allocateSpace(intptr_t Size,
unsigned int Alignment);
};
#endif // SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP