Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/javaClasses.hpp @ 23802:efe013052465
8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
author | shade |
---|---|
date | Tue, 02 Feb 2016 11:44:20 +0300 |
parents | 7d8724b3c156 |
children | f13e777eb255 |
line wrap: on
line diff
--- a/src/share/vm/classfile/javaClasses.hpp Mon Feb 01 13:19:14 2016 -0800 +++ b/src/share/vm/classfile/javaClasses.hpp Tue Feb 02 11:44:20 2016 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -343,8 +343,8 @@ // Set JavaThread for instance static void set_thread(oop java_thread, JavaThread* thread); // Name - static typeArrayOop name(oop java_thread); - static void set_name(oop java_thread, typeArrayOop name); + static oop name(oop java_thread); + static void set_name(oop java_thread, oop name); // Priority static ThreadPriority priority(oop java_thread); static void set_priority(oop java_thread, ThreadPriority priority);