Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer m…
…emory with ShenandoahGC

Reviewed-by: rbackman, kvn
  • Loading branch information
DamonFool committed Jun 17, 2021
1 parent 9f7851b commit 112ddb7633d8794d5c85e1b2cf0369ee2e0e349a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/cpu/x86/universalUpcallHandler_x86_64.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* 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
const ABIDescriptor abi = ForeignGlobals::parse_abi_descriptor(jabi);
const CallRegs conv = ForeignGlobals::parse_call_regs(jconv);
assert(conv._rets_length <= 1, "no multi reg returns");
CodeBuffer buffer("upcall_stub_linkToNative", /* code_size = */ 1024, /* locs_size = */ 1024);
CodeBuffer buffer("upcall_stub_linkToNative", /* code_size = */ 2048, /* locs_size = */ 1024);

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

1 comment on commit 112ddb7

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 112ddb7 Jun 17, 2021

Please sign in to comment.