src/os/bsd/vm/perfMemory_bsd.cpp

changeset 9507
7e72702243a4
parent 8210
2d23269a45a0
child 9572
624a0741915c
child 9711
0f2fe7d37d8c
equal deleted inserted replaced
9499:778ff2150570 9507:7e72702243a4
1 /* 1 /*
2 * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
613 } 613 }
614 614
615 // return the name of the user that owns the JVM indicated by the given vmid. 615 // return the name of the user that owns the JVM indicated by the given vmid.
616 // 616 //
617 static char* get_user_name(int vmid, TRAPS) { 617 static char* get_user_name(int vmid, TRAPS) {
618 return get_user_name_slow(vmid, CHECK_NULL); 618 return get_user_name_slow(vmid, THREAD);
619 } 619 }
620 620
621 // return the file name of the backing store file for the named 621 // return the file name of the backing store file for the named
622 // shared memory region for the given user name and vmid. 622 // shared memory region for the given user name and vmid.
623 // 623 //

mercurial