mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6834177: Running jsynprog on Solaris Nevada can cause JVM crash
Use CodeCache buffer blob instead of static buffer in AdapterHandlerLibrary. Reviewed-by: never
This commit is contained in:
parent
60e1a19b44
commit
2c4602adb3
3 changed files with 103 additions and 81 deletions
|
@ -557,12 +557,13 @@ class AdapterHandlerEntry : public CHeapObj {
|
|||
|
||||
class AdapterHandlerLibrary: public AllStatic {
|
||||
private:
|
||||
static u_char _buffer[]; // the temporary code buffer
|
||||
static BufferBlob* _buffer; // the temporary code buffer in CodeCache
|
||||
static GrowableArray<uint64_t>* _fingerprints; // the fingerprint collection
|
||||
static GrowableArray<AdapterHandlerEntry*> * _handlers; // the corresponding handlers
|
||||
enum {
|
||||
AbstractMethodHandler = 1 // special handler for abstract methods
|
||||
};
|
||||
static BufferBlob* buffer_blob();
|
||||
static void initialize();
|
||||
static int get_create_adapter_index(methodHandle method);
|
||||
static address get_i2c_entry( int index ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue