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
8226878: zero crashes after JDK-8191278
Backport-of: 302b8d0
  • Loading branch information
Sergey Nazarkin authored and Yuri Nesterenko committed Jul 29, 2021
1 parent 82ef189 commit 44980ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/hotspot/cpu/zero/stubGenerator_zero.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright 2007, 2008, 2010, 2015 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -156,9 +156,11 @@ class StubGenerator: public StubCodeGenerator {
StubRoutines::_oop_arraycopy = ShouldNotCallThisStub();

StubRoutines::_checkcast_arraycopy = ShouldNotCallThisStub();
StubRoutines::_unsafe_arraycopy = ShouldNotCallThisStub();
StubRoutines::_generic_arraycopy = ShouldNotCallThisStub();

// Shared code tests for "NULL" to discover the stub is not generated.
StubRoutines::_unsafe_arraycopy = NULL;

// We don't generate specialized code for HeapWord-aligned source
// arrays, so just use the code we've already generated
StubRoutines::_arrayof_jbyte_disjoint_arraycopy =
Expand Down

1 comment on commit 44980ee

@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.