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. |
625 } |
625 } |
626 |
626 |
627 // return the name of the user that owns the JVM indicated by the given vmid. |
627 // return the name of the user that owns the JVM indicated by the given vmid. |
628 // |
628 // |
629 static char* get_user_name(int vmid, TRAPS) { |
629 static char* get_user_name(int vmid, TRAPS) { |
630 return get_user_name_slow(vmid, CHECK_NULL); |
630 return get_user_name_slow(vmid, THREAD); |
631 } |
631 } |
632 |
632 |
633 // return the file name of the backing store file for the named |
633 // return the file name of the backing store file for the named |
634 // shared memory region for the given user name and vmid. |
634 // shared memory region for the given user name and vmid. |
635 // |
635 // |