28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 ■ Setting Up Your <strong>Java</strong> 8 IDE: An Introduction to NetBeans 8.0<br />

Unblocking the <strong>Java</strong> 8 Platform Binary via the Windows Firewall<br />

If you get the dreaded Blocked Features network dialog, presented in Figure 2-16, select the Allow <strong>Java</strong> Platform SE<br />

binary to communicate on Private networks, such as my home or work network check box, and then click the Allow<br />

access button, which will allow the <strong>Java</strong> 8 platform SE binary to communicate through the Windows firewall.<br />

Figure 2-16. Allow <strong>Java</strong> features to be used by clicking Allow access<br />

After you allow access to the <strong>Java</strong> 8 platform SE binary, the NetBeans 8.0 profiling tool can (and will) run and<br />

will generate basic profiling telemetry results. You will take a closer look at these in the following sections, which<br />

deal how to analyze profiling results and what they reveal in terms of how your application uses memory and CPU<br />

resources.<br />

Analyzing the NetBeans IDE 8.0 Game Project CPU Profiling Tool Results<br />

The NetBeans Profiler essentially looks at memory usage and the CPU time used to execute your code. The less<br />

memory used, and the faster the CPU times (which equates to fewer CPU processing cycles required to execute code),<br />

the better optimized your application is. The Profiler also looks at code- (software-) related things, such as method<br />

calls and thread states, which you will be learning about over the course of this book.<br />

www.it-ebooks.info<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!