8072483: AARCH64: aarch64.ad uses the wrong operand class for some operations
Summary: Use iReg<X>NoSp registers operands where required.
Reviewed-by: kvn, adinn, enevill
'\" t.\" Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved..\" Title: tnameserv.\" Language: English.\" Date: 2013ǯ11��21��.\" SectDesc: Java IDL�����RMI-IIOP�ġ���.\" Software: JDK 8.\" Arch: ����.\".\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER..\".\" This code is free software; you can redistribute it and/or modify it.\" under the terms of the GNU General Public License version 2 only, as.\" published by the Free Software Foundation..\".\" This code is distributed in the hope that it will be useful, but WITHOUT.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License.\" version 2 for more details (a copy is included in the LICENSE file that.\" accompanied this code)..\".\" You should have received a copy of the GNU General Public License version.\" 2 along with this work; if not, write to the Free Software Foundation,.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA..\".\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.\" or visit www.oracle.com if you need additional information or have any.\" questions..\".pl 99999.TH "tnameserv" "1" "2013ǯ11��21��" "JDK 8" "Java IDL�����RMI-IIOP�ġ���".\" -----------------------------------------------------------------.\" * Define some portability stuff.\" -----------------------------------------------------------------.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.\" http://bugs.debian.org/507673.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.ie \n(.g .ds Aq \(aq.el .ds Aq '.\" -----------------------------------------------------------------.\" * set default formatting.\" -----------------------------------------------------------------.\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.\" -----------------------------------------------------------------.\" * MAIN CONTENT STARTS HERE *.\" -----------------------------------------------------------------.SH "NAME"tnameserv \- ���ե������������(IDL)��.SH "����".sp.if n \{\.RS 4.\}.nf\fItnameserve\fR \fI\-ORBInitialPort\fR [ \fInameserverport\fR ].fi.if n \{\.RE.\}.PP\-ORBInitialPort \fInameserverport\fR.RS 4�͡��ߥ������ӥ���ORB��\fIresolve_initial_references\fR��åɤ�\fIlist_initial_references\fR��åɤμ����˻��Ѥ���֡��ȥ��ȥ�åס��ץ��ȥ����ꥹ�˥������ݡ��ȤǤ���.RE.SH "����".PPJava IDL�ˤϡ�Object Request Broker Daemon (ORBD)���ޤޤ�ޤ���ORBD�ϡ��֡��ȥ��ȥ�åס������ӥ�������͡��ߥ������ӥ�����³�͡��ߥ������ӥ�����ӥ����С����ޥ͡������ޤ�ǡ���ץ������Ǥ���Java IDL�Τ��٤ƤΥ��塼�ȥꥢ��Ǥ�ORBD����Ѥ��Ƥ��ޤ���������͡��ߥ������ӥ�����Ѥ�����Ǥϡ�\fIorbd\fR�Τ�����\fItnameserv\fR����ѤǤ��ޤ���.PPhttp://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.html�ˤ���orbd(1)�ޤ��ϡ�Naming Service�פȤ��Ƥ���������.PPCORBA��COS (Common Object Services)�͡��ߥ������ӥ��ϡ��ե����롦�����ƥब�ե�������Ф��ƥǥ��쥯�ȥ깽¤�����Ƥ���Τ�Ʊ���褦�ˡ����֥������Ȼ��Ȥ��Ф��ƥĥ��¤�Υǥ��쥯�ȥ�����ޤ���Java IDL�ΰ���͡��ࡦ�����ӥ��Ǥ���\fItnameserv\fR�ϡ�COS�͡��ࡦ�����ӥ��λ��ͤ�ñ��ʷ��Ǽ���������ΤǤ���.PP���֥������Ȼ��Ȥϥ͡��ॹ�ڡ�����̾���dz�Ǽ���졢���֥������Ȼ��Ȥ�̾���Υڥ��ϡ����줾��͡��ࡦ�Х���ǥ��ȸƤФ�ޤ����͡��ࡦ�Х���ǥ��ϥ͡��ߥ�����ƥ����Ȥ��Ȥ߹��ळ�Ȥ��Ǥ��ޤ����͡��ߥ�����ƥ����Ȥϥ͡��ࡦ�Х���ǥ��Ǥ��ꡢ�ե����롦�����ƥ�Υ��֥ǥ��쥯�ȥ��Ʊ��������ǽ������ޤ������٤ƤΥХ���ǥ��Ͻ���͡��ߥ�����ƥ����Ȥβ��˳�Ǽ����ޤ�������͡��ߥ�����ƥ����Ȥϡ��͡��ॹ�ڡ�����ͣ��α�³�Х���ǥ��Ǥ���Java IDL�͡��ߥ������ӥ����ץ���������ߤ��ƺƵ�ư����ȡ��Ĥ�Υ͡��ॹ�ڡ����ϼ����ޤ���.PP���ץ�åȤޤ��ϥ��ץꥱ�������COS�͡��ߥ������ӥ�����Ѥ��뤿��ˤϡ�����ORB���͡��ߥ������ӥ���ư��Ƥ���ۥ��ȤΥݡ��Ȥ��ΤäƤ��뤫�����Υ͡��ߥ������ӥ��ν���͡��ߥ�����ƥ�����ʸ����˥��������Ǥ���ɬ�פ�����ޤ����͡��ࡦ�����ӥ��ϡ�Java IDL�Υ͡��ࡦ�����ӥ��Ǥ⤽��¾��COS���Υ͡��ࡦ�����ӥ��Ǥ⤫�ޤ��ޤ���.SS "�͡��ߥ������ӥ��ε�ư".PPJava IDL�͡��ࡦ�����ӥ��ϡ��͡��ࡦ�����ӥ�����Ѥ��륢�ץꥱ�������ޤ��ϥ��ץ�åȤ�����˵�ư���Ƥ���ɬ�פ�����ޤ���Java IDL���ʤȡ��뤹��ȡ�Java IDL�͡��ߥ������ӥ���ư���륹����ץ�(Oracle Solaris:\fItnameserv\fR)�ޤ��ϼ¹Բ�ǽ�ե�����(Windows:\fItnameserv\&.exe\fR)����������ޤ����Хå����饦��ɤ�ư���褦�ˡ��͡��ࡦ�����ӥ���ư���Ƥ���������.PP�ä˻��ꤷ�ʤ���硢Java IDL�͡��ߥ������ӥ��ϡ�ORB��\fIresolve_initial_references\fR��åɤ�\fIlist_initial_references methods\fR��åɤμ����˻��Ѥ���֡��ȥ��ȥ�åס��ץ��ȥ�����Ф��ƥݡ���900�ǥꥹ�˥��ޤ���.sp.if n \{\.RS 4.\}.nftnameserv \-ORBInitialPort nameserverport&.fi.if n \{\.RE.\}.PP�͡��ࡦ�����С����ݡ��Ȥ���ꤷ�ʤ���硢�ǥե���Ȥǥݡ���900�����Ѥ���ޤ���Oracle Solaris���եȥ������μ¹Ի���1024��꾮�����ݡ��Ȥǥץ������Ϥ�����ϡ�root�桼�����ˤʤ�ɬ�פ�����ޤ������Τ��ᡢ1024�ʾ�Υݡ����ֹ����Ѥ��뤳�Ȥ����ᤷ�ޤ���1050�Τ褦���̤Υݡ��Ȥ���ꤷ���͡��ࡦ�����ӥ���Хå����饦��ɤǼ¹Ԥ���ˤϡ�UNIX���ޥ�ɡ�������Ǽ��Τ褦�����Ϥ��ޤ���.sp.if n \{\.RS 4.\}.nftnameserv \-ORBInitialPort 1050&.fi.if n \{\.RE.\}.PPWindows��MS\-DOS�����ƥࡦ�ץ���ץȤǤϡ����Τ褦�����Ϥ��ޤ���.sp.if n \{\.RS 4.\}.nfstart tnameserv \-ORBInitialPort 1050.fi.if n \{\.RE.\}.PP�͡��ࡦ�����С��Υ��饤����Ȥˤϡ��������ݡ����ֹ���Τ餻��ɬ�פ�����ޤ��������Ԥ��ˤϡ�ORB���֥������Ȥκ�������\fIorg\&.omg\&.CORBA\&.ORBInitialPort\fR�ץ��ѥƥ��˿������ݡ����ֹ�����ꤷ�ޤ���.SS "�ۤʤ�ۥ��Ⱦ�ǤΥ����С��ȥ��饤����Ȥμ¹�".PPJava IDL��RMI\-IIOP�ΤۤȤ�ɤΥ��塼�ȥꥢ��Ǥϡ��͡��ߥ������ӥ��������С�����ӥ��饤����ȤϤ��٤Ƴ�ȯ�ѤΥޥ����Ǽ¹Ԥ���ޤ����ºݤ˥ǥץ������Ȥ�����ˤϡ����饤����Ȥȥ����С��͡��ߥ������ӥ��Ȥϰۤʤ�ۥ��ȡ��ޥ����Ǽ¹Ԥ��뤳�Ȥ�¿���ʤ�ޤ���.PP���饤����Ȥȥ����С����͡��ࡦ�����ӥ��Ĥ���ˤϡ����饤����Ȥȥ����С������͡��ࡦ�����ӥ����¹Ԥ���Ƥ���ݡ��Ȥ��ֹ�ȥۥ��Ȥ�ǧ�����Ƥ���ɬ�פ�����ޤ������Τ���ˤϡ����饤����Ȥȥ����С��Υե��������\fIorg\&.omg\&.CORBA\&.ORBInitialPort\fR�ץ��ѥƥ���\fIorg\&.omg\&.CORBA\&.ORBInitialHost\fR�ץ��ѥƥ���͡��ࡦ�����ӥ����¹Ԥ���Ƥ���ݡ��Ȥ��ֹ�ȥޥ����̾�������ꤷ�ޤ���������ϡ���Getting Started Using RMI\-IIOP��(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/rmi\-iiop/rmiiiopexample\&.html)�˼�����Ƥ��ޤ�.PP���ޥ�ɥ饤���ץ����\fI\-ORBInitialPort nameserverport#\fR��\fI\-ORBInitialHost nameserverhostname\fR����Ѥ��ơ����饤����Ȥȥ����С����Ф��ƥ͡��ߥ������ӥ���õ��������ꤹ�뤳�Ȥ�Ǥ��ޤ������ޥ�ɥ饤���ץ�������Ѥ��Ƥ����Ԥ���ˡ��1�Ĥ���ϡ�http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/tutorial/jidl2machines\&.html�Ρ�Java IDL: The Hello World Example on Two Machines���Ȥ��Ƥ�������.PP���Ȥ��С�����͡��ࡦ�����ӥ�\fItnameserv\fR�����ۥ���\fInameserverhost\fR�Υݡ���1050��Ǽ¹Ԥ���Ƥ���Ȥ��ޤ�������ˡ����饤����Ȥ��ۥ���\fIclienthost\fR��Ǽ¹Ԥ��졢�����С��ϥۥ���\fIserverhost\fR��Ǽ¹Ԥ���Ƥ���Ȥ��ޤ���.PP�ۥ���\fInameserverhost\fR���\fItnameserv\fR��ư���ޤ���.sp.if n \{\.RS 4.\}.nftnameserv \-ORBInitialPort 1050.fi.if n \{\.RE.\}.PP\fIserverhost\fR��ǥ����С���ư���ޤ���.sp.if n \{\.RS 4.\}.nfjava Server \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost.fi.if n \{\.RE.\}.PP\fIclienthost\fR��ǥ��饤����Ȥ�ư���ޤ���.sp.if n \{\.RS 4.\}.nfjava Client \-ORBInitialPort 1050 \-ORBInitialHost nameserverhost.fi.if n \{\.RE.\}.SS "�͡��ߥ������ӥ������".PPJava IDL�͡��ߥ������ӥ�����ߤ���ˤϡ�Unix�ξ��ϡ�\fIkill\fR�ʤɤΥ��ڥ졼�ƥ��������ƥ�Υ��ޥ�ɤ���Ѥ���Windows�ξ��ϡ�\fI[Ctrl]+[C]\fR��������Ѥ��ޤ����͡��ߥ������ӥ�������Ū����ߤ���ޤǤϡ��ƽФ��Ե����֤�³���ޤ��������ӥ���λ������ȡ�Java IDL�͡��ࡦ�����ӥ�����Ͽ����Ƥ���̾���ϼ����ޤ���.SH "���ץ����".PP\-J\fIoption\fR.RS 4Java���ۥޥ����\fIoption\fR���Ϥ��ޤ���\fIoption\fR�ˤϡ�Java���ץꥱ�������ư�ġ���Υ�ե�����ڡ����˵��ܤ���Ƥ��륪�ץ�����1�Ļ��ꤷ�ޤ������Ȥ��С�\fI\-J\-Xms48m\fR�Ȼ��ꤹ��ȡ��������ȥ��åס������48MB�����ꤵ��ޤ���java(1)�Ȥ��Ƥ���������.RE.SH "��".SS "�͡��ॹ�ڡ����ؤΥ��֥������Ȥ��ɲ�".PP������Ǥϡ��͡��ॹ�ڡ�����̾�����ɲä�����ˡ���ޤ������Υ���ץ롦�ץ������ϡ����Τޤޤξ��֤Ǵ�����ư������͡��ࡦ�����ӥ������饤����Ȥǡ����Τ褦��ñ��ʥĥ����������ΤǤ���.sp.if n \{\.RS 4.\}.nfInitial Naming Context plans Personal calendar schedule.fi.if n \{\.RE.\}.PP������ǡ�\fIplans\fR�ϥ��֥������Ȼ��ȡ�\fIPersonal\fR��\fIcalendar\fR��\fIschedule\fR��2�ĤΥ��֥������Ȼ��Ȥ�ޤ�͡��ߥ�����ƥ����ȤǤ���.sp.if n \{\.RS 4.\}.nfimport java\&.util\&.Properties;import org\&.omg\&.CORBA\&.*;import org\&.omg\&.CosNaming\&.*;public class NameClient { public static void main(String args[]) { try {.fi.if n \{\.RE.\}.PP�͡��ߥ������ӥ��ε�ư�ǡ�\fInameserver\fR�ϥݡ���1050�ǵ�ư����ޤ��������Υ����ɤǡ����Υݡ����ֹ�饤����ȡ������ƥ���Τ餻�ޤ���.sp.if n \{\.RS 4.\}.nf Properties props = new Properties(); props\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050"); ORB orb = ORB\&.init(args, props);.fi.if n \{\.RE.\}.PP���Υ����ɤǤϡ�����͡��ߥ�����ƥ����Ȥ�������������\fIctx\fR���������ޤ���2���ܤǤϡ�\fIctx\fR����ߡ��Υ��֥������Ȼ���\fIobjref\fR�˥��ԡ����ޤ�������objref�ˤϡ����Ȥ��͡���̾���������Ƥƥ͡��ॹ�ڡ������ɲä��ޤ���.sp.if n \{\.RS 4.\}.nf NamingContext ctx = NamingContextHelper\&.narrow( orb\&.resolve_initial_references("NameService")); NamingContext objref = ctx;.fi.if n \{\.RE.\}.PP���Υ����ɤǤϡ�\fItext\fR�����פ�̾��\fIplans\fR����������������ߡ��Υ��֥������Ȼ��Ȥ˥Х���ɤ��ޤ������θ塢\fIrebind\fR��åɤ���Ѥ��ƽ���͡��ߥ�����ƥ����Ȥβ���\fIplans\fR���ɲä��Ƥ��ޤ���\fIrebind\fR��åɤ���Ѥ���С�\fIbind\fR��åɤ���Ѥ�������ȯ�������㳰��ȯ���������ˡ����Υץ��������٤ⷫ�֤��¹ԤǤ��ޤ���.sp.if n \{\.RS 4.\}.nf NameComponent nc1 = new NameComponent("plans", "text"); NameComponent[] name1 = {nc1}; ctx\&.rebind(name1, objref); System\&.out\&.println("plans rebind successful!");.fi.if n \{\.RE.\}.PP���Υ����ɤǤϡ�\fIdirectory\fR�����פ�\fIPersonal\fR�Ȥ����͡��ߥ�����ƥ����Ȥ�������ޤ������η�������륪�֥������Ȼ���\fIctx2\fR��\fIname\fR�˥Х���ɤ�������͡��ߥ�����ƥ����Ȥ��ɲä��ޤ���.sp.if n \{\.RS 4.\}.nf NameComponent nc2 = new NameComponent("Personal", "directory"); NameComponent[] name2 = {nc2}; NamingContext ctx2 = ctx\&.bind_new_context(name2); System\&.out\&.println("new naming context added\&.\&.");.fi.if n \{\.RE.\}.PP�Ĥ�Υ����ɤǤϡ����ߡ��Υ��֥������Ȼ��Ȥ�\fIschedule\fR��\fIcalendar\fR�Ȥ���̾���ǥ͡��ߥ�����ƥ�����\fIPersonal\fR(\fIctx2\fR)�˥Х���ɤ��ޤ���.sp.if n \{\.RS 4.\}.nf NameComponent nc3 = new NameComponent("schedule", "text"); NameComponent[] name3 = {nc3}; ctx2\&.rebind(name3, objref); System\&.out\&.println("schedule rebind successful!"); NameComponent nc4 = new NameComponent("calender", "text"); NameComponent[] name4 = {nc4}; ctx2\&.rebind(name4, objref); System\&.out\&.println("calender rebind successful!"); } catch (Exception e) { e\&.printStackTrace(System\&.err); } }}.fi.if n \{\.RE.\}.SS "�͡��ॹ�ڡ����λ���".PP���Υ���ץ롦�ץ������Ǥϡ��͡��ॹ�ڡ�����֥饦��������ˡ���ޤ���.sp.if n \{\.RS 4.\}.nfimport java\&.util\&.Properties;import org\&.omg\&.CORBA\&.*;import org\&.omg\&.CosNaming\&.*;public class NameClientList { public static void main(String args[]) { try {.fi.if n \{\.RE.\}.PP�͡��ߥ������ӥ��ε�ư�ǡ�\fInameserver\fR�ϥݡ���1050�ǵ�ư����ޤ��������Υ����ɤǡ����Υݡ����ֹ�饤����ȡ������ƥ���Τ餻�ޤ���.sp.if n \{\.RS 4.\}.nf Properties props = new Properties(); props\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050"); ORB orb = ORB\&.init(args, props);.fi.if n \{\.RE.\}.PP���Υ����ɤǤϡ�����͡��ߥ�����ƥ����Ȥ�������Ƥ��ޤ���.sp.if n \{\.RS 4.\}.nf NamingContext nc = NamingContextHelper\&.narrow( orb\&.resolve_initial_references("NameService"));.fi.if n \{\.RE.\}.PP\fIlist\fR��åɤϡ��͡��ߥ�����ƥ����ȤΥХ���ǥ���ꥹ�Ȥ��ޤ������ξ�硢����1000�ĤޤǤΥХ���ǥ�������͡��ߥ�����ƥ����Ȥ���\fIBindingListHolder\fR���֤���ޤ����Ĥ�ΥХ���ǥ��ϡ�\fIBindingIteratorHolder\fR���֤���ޤ���.sp.if n \{\.RS 4.\}.nf BindingListHolder bl = new BindingListHolder(); BindingIteratorHolder blIt= new BindingIteratorHolder(); nc\&.list(1000, bl, blIt);.fi.if n \{\.RE.\}.PP���Υ����ɤǤϡ��֤��줿\fIBindingListHolder\fR����Х���ǥ��������������ޤ����Х���ǥ����ʤ����ϡ��ץ�����ब��λ���ޤ���.sp.if n \{\.RS 4.\}.nf Binding bindings[] = bl\&.value; if (bindings\&.length == 0) return;.fi.if n \{\.RE.\}.PP�Ĥ�Υ����ɤǤϡ��Х���ǥ����Ф��ƥ롼������Ԥ���̾������Ϥ��ޤ���.sp.if n \{\.RS 4.\}.nf for (int i=0; i < bindings\&.length; i++) { // get the object reference for each binding org\&.omg\&.CORBA\&.Object obj = nc\&.resolve(bindings[i]\&.binding_name); String objStr = orb\&.object_to_string(obj); int lastIx = bindings[i]\&.binding_name\&.length\-1; // check to see if this is a naming context if (bindings[i]\&.binding_type == BindingType\&.ncontext) { System\&.out\&.println("Context: " + bindings[i]\&.binding_name[lastIx]\&.id); } else { System\&.out\&.println("Object: " + bindings[i]\&.binding_name[lastIx]\&.id); } } } catch (Exception e) { e\&.printStackTrace(System\&.err) } }}.fi.if n \{\.RE.\}.SH "��Ϣ����".sp.RS 4.ie n \{\\h'-04'\(bu\h'+03'\c.\}.el \{\.sp -1.IP \(bu 2.3.\}orbd(1).RE.br'pl 8.5i'bp