hotspot/src/cpu/zero/vm/vm_version_zero.cpp
changeset 30209 8ea30dc99369
parent 25468 5331df506290
child 33750 6f5873dfa67f
child 33461 4f430ebdf117
equal deleted inserted replaced
30208:ed11124f18e1 30209:8ea30dc99369
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2009 Red Hat, Inc.
     3  * Copyright 2009 Red Hat, Inc.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
    28 #include "memory/resourceArea.hpp"
    28 #include "memory/resourceArea.hpp"
    29 #include "runtime/java.hpp"
    29 #include "runtime/java.hpp"
    30 #include "runtime/stubCodeGenerator.hpp"
    30 #include "runtime/stubCodeGenerator.hpp"
    31 #include "vm_version_zero.hpp"
    31 #include "vm_version_zero.hpp"
    32 
    32 
    33 // This file is intentionally empty
    33 
       
    34 void VM_Version::initialize() {
       
    35   // This machine does not allow unaligned memory accesses
       
    36   if (! FLAG_IS_DEFAULT(UseUnalignedAccesses)) {
       
    37     warning("Unaligned memory access is not available on this CPU");
       
    38     FLAG_SET_DEFAULT(UseUnalignedAccesses, false);
       
    39   }
       
    40 }