Mercurial > hg > graal-jvmci-8
comparison src/share/vm/shark/sharkMemoryManager.hpp @ 7195:2cd5e15048e6
8003868: fix shark for latest HotSpot and LLVM
Reviewed-by: twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Tue, 27 Nov 2012 12:48:52 -0800 |
parents | f95d63e2154a |
children | 81ccf2c854c7 81d7a4b28dc5 |
comparison
equal
deleted
inserted
replaced
7194:beebba0acc11 | 7195:2cd5e15048e6 |
---|---|
73 uintptr_t& ActualSize); | 73 uintptr_t& ActualSize); |
74 void endExceptionTable(const llvm::Function* F, | 74 void endExceptionTable(const llvm::Function* F, |
75 unsigned char* TableStart, | 75 unsigned char* TableStart, |
76 unsigned char* TableEnd, | 76 unsigned char* TableEnd, |
77 unsigned char* FrameRegister); | 77 unsigned char* FrameRegister); |
78 #if SHARK_LLVM_VERSION < 27 | 78 void *getPointerToNamedFunction(const std::string &Name, bool AbortOnFailure = true); |
79 void* getDlsymTable() const; | 79 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID); |
80 void SetDlsymTable(void *ptr); | 80 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID); |
81 #endif | |
82 void setPoisonMemory(bool); | 81 void setPoisonMemory(bool); |
83 uint8_t* allocateGlobal(uintptr_t, unsigned int); | 82 uint8_t* allocateGlobal(uintptr_t, unsigned int); |
84 void setMemoryWritable(); | 83 void setMemoryWritable(); |
85 void setMemoryExecutable(); | 84 void setMemoryExecutable(); |
86 #if SHARK_LLVM_VERSION >= 27 | |
87 void deallocateExceptionTable(void *ptr); | 85 void deallocateExceptionTable(void *ptr); |
88 void deallocateFunctionBody(void *ptr); | 86 void deallocateFunctionBody(void *ptr); |
89 #else | |
90 void deallocateMemForFunction(const llvm::Function* F); | |
91 #endif | |
92 unsigned char *allocateSpace(intptr_t Size, | 87 unsigned char *allocateSpace(intptr_t Size, |
93 unsigned int Alignment); | 88 unsigned int Alignment); |
94 }; | 89 }; |
95 | 90 |
96 #endif // SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP | 91 #endif // SHARE_VM_SHARK_SHARKMEMORYMANAGER_HPP |