Avoiding getfield opcode

В классе Java String метод trim содержит следующее:

int off = offset;      /* avoid getfield opcode */
char[] val = value;    /* avoid getfield opcode */

Я немного озадачен в комментарии «Избегайте кода операции getfield» ...

Что это значит? (Я так понимаю, это позволяет избежать использования getfield в байт-коде, но почему это хорошо Thing [TM]?)

Чтобы предотвратить создание объекта, если trim не работает » The "remote" machine is on the same Ethernet segment, ...

How can I configure Visual Studio remote debugging when:

  1. My developer machine is a member of an AD domain, and my username is "DevelopersName".
  2. The "remote" machine is on the same Ethernet segment, but is not part of the domain.
  3. The "remote" machine must run software under "RemoteUserName".

Most documentation I can find suggests that you need have both machines in the same domain and with identical usernames. That's not possible here.

I could possibly add my username to "remote", but the software still needs to run under "RemoteUserName.

If it helps, I could add 2nd network card to my developer machine and directly connect the "remote" machine.

Using VS2008, but will be moving soon to VS2010.

Thank you.

6
задан nonot1 21 January 2011 в 17:15
поделиться