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 * Copyright 2012, 2013 SAP AG. All rights reserved. |
3 * Copyright 2012, 2013 SAP AG. All rights reserved. |
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 |
704 } |
704 } |
705 |
705 |
706 // return the name of the user that owns the JVM indicated by the given vmid. |
706 // return the name of the user that owns the JVM indicated by the given vmid. |
707 // |
707 // |
708 static char* get_user_name(int vmid, TRAPS) { |
708 static char* get_user_name(int vmid, TRAPS) { |
709 return get_user_name_slow(vmid, CHECK_NULL); |
709 return get_user_name_slow(vmid, THREAD); |
710 } |
710 } |
711 |
711 |
712 // return the file name of the backing store file for the named |
712 // return the file name of the backing store file for the named |
713 // shared memory region for the given user name and vmid. |
713 // shared memory region for the given user name and vmid. |
714 // |
714 // |