FMC reserve fuel
really depends on the operators management and their FOM as to what they wish to apply, however the value would normally be Altn (for Destination) + Hold only. The assumption is that you may use up the variable reserve enroute so it is not expected to be available on arrival.
This is irrespective of being refile or not.
For a refile, the company policy may change details from the basic criteria, but the case will normally be that the flight may not proceed past refile unless it either has suitable weather such as not to require an alternate, and has adequate fuel reserves from that point to destination, being variable, and holding, or has adequate fuel reserves including variable, alternate flight fuel and hold to proceed to a suitable alternate airport. Your fuel policy would provide the information needed. In almost all cases, the onwards (to destination) case will require the higher amount of fuel, and is the value entered into the FMC reserve field. The only real change on the B777 from earlier products is the FMC assumes a descent to the destination, even if there is no arrival loaded, whereas the B744/767 did not. When you add an arrival, do note that the fuel calculation required to complete the arrival as loaded may not reflect the legal criteria of the company policy, dependent on wording, and may give an "insufficient fuel" message that is not really valid in relation to the fuel policy requirements.
Garbage in- garbage out.
expanding on that, there are occasions where the legal fuel is patently inadequate, and where a diversion may occur would result in marginal fuel available; ie a go around from LAX to the west, with an alternate at LAS, will result in not achieving a climb after GA, not achieving cruise altitude, and extended track miles before getting on course. Same case for JFK, dependent on which alternate is selected. (terrain may also result in additional track miles but should be accounted for by the flight navigation department in assessing alternates).