< prev index next >

src/hotspot/share/jfr/utilities/jfrBigEndian.hpp

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2012, 2020, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2012, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 100,11 ***
  }
  
  inline bool JfrBigEndian::platform_supports_unaligned_reads(void) {
  #if defined(IA32) || defined(AMD64) || defined(PPC) || defined(S390)
    return true;
! #elif defined(ARM) || defined(AARCH64)
    return false;
  #else
    #warning "Unconfigured platform"
    return false;
  #endif
--- 100,11 ---
  }
  
  inline bool JfrBigEndian::platform_supports_unaligned_reads(void) {
  #if defined(IA32) || defined(AMD64) || defined(PPC) || defined(S390)
    return true;
! #elif defined(ARM) || defined(AARCH64) || defined(RISCV)
    return false;
  #else
    #warning "Unconfigured platform"
    return false;
  #endif
< prev index next >