Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
8229254: solaris_x64 build fails after JDK-8191278
Backport-of: 9e633ae
  • Loading branch information
Sergey Nazarkin authored and Yuri Nesterenko committed Aug 20, 2021
1 parent 9fe8588 commit 2ce2565
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/hotspot/os/solaris/os_solaris.cpp
Expand Up @@ -1578,6 +1578,10 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
char* name; // String representation
} arch_t;

#ifndef EM_AARCH64
#define EM_AARCH64 183 /* ARM AARCH64 */
#endif

static const arch_t arch_array[]={
{EM_386, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
{EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
Expand Up @@ -541,7 +541,7 @@ JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
if (cb != NULL) {
CompiledMethod* nm = cb->as_compiled_method_or_null();
bool is_unsafe_arraycopy = thread->doing_unsafe_access() && UnsafeCopyMemory::contains_pc(pc);
if ((nm != NULL && nm->has_unsafe_access()) || is_unsafe_arraycopy)) {
if ((nm != NULL && nm->has_unsafe_access()) || is_unsafe_arraycopy) {
address next_pc = Assembler::locate_next_instruction(pc);
if (is_unsafe_arraycopy) {
next_pc = UnsafeCopyMemory::page_error_continue_pc(pc);
Expand Down

1 comment on commit 2ce2565

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.