Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 112ddb7

Browse files
committed
8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC
Reviewed-by: rbackman, kvn
1 parent 9f7851b commit 112ddb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/x86/universalUpcallHandler_x86_64.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -585,7 +585,7 @@ address ProgrammableUpcallHandler::generate_optimized_upcall_stub(jobject receiv
585585
const ABIDescriptor abi = ForeignGlobals::parse_abi_descriptor(jabi);
586586
const CallRegs conv = ForeignGlobals::parse_call_regs(jconv);
587587
assert(conv._rets_length <= 1, "no multi reg returns");
588-
CodeBuffer buffer("upcall_stub_linkToNative", /* code_size = */ 1024, /* locs_size = */ 1024);
588+
CodeBuffer buffer("upcall_stub_linkToNative", /* code_size = */ 2048, /* locs_size = */ 1024);
589589

590590
int register_size = sizeof(uintptr_t);
591591
int buffer_alignment = xmm_reg_size;

0 commit comments

Comments
 (0)