src/share/vm/classfile/altHashing.cpp

changeset 4962
6f817ce50129
parent 4037
da91efe96a93
child 4967
5a9fa2ba85f0
     1.1 --- a/src/share/vm/classfile/altHashing.cpp	Thu Apr 18 14:03:37 2013 -0400
     1.2 +++ b/src/share/vm/classfile/altHashing.cpp	Fri Apr 19 11:08:52 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -242,8 +242,8 @@
    1.11  void AltHashing::testMurmur3_32_ByteArray() {
    1.12    // printf("testMurmur3_32_ByteArray\n");
    1.13  
    1.14 -  jbyte* vector = new jbyte[256];
    1.15 -  jbyte* hashes = new jbyte[4 * 256];
    1.16 +  jbyte vector[256];
    1.17 +  jbyte hashes[4 * 256];
    1.18  
    1.19    for (int i = 0; i < 256; i++) {
    1.20      vector[i] = (jbyte) i;

mercurial